Files
WebDrop/web/src/features/channel/ChannelSettingsSheet.module.css
T
justme ba0b6c258a
ci/woodpecker/push/web-build Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/dev-image Pipeline was successful
feat(web): space avatars with GIF support and live space list sync [CI]
2026-10-17 13:44:16 +08:00

183 lines
2.9 KiB
CSS

.member {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-2);
}
.member input {
min-width: 0;
flex: 1;
padding: var(--space-2);
border: 1px solid var(--line-strong);
border-radius: var(--radius-sm);
background: var(--surface);
color: var(--text);
}
.layout {
display: grid;
grid-template-columns: 148px minmax(0, 1fr);
gap: var(--space-6);
height: min(360px, 70dvh);
}
/* 身份组页内容多:加高,列表在滚动时固定在左边 */
.tall {
height: min(760px, 84dvh);
}
.tabs {
display: flex;
flex-direction: column;
align-self: start;
gap: var(--space-1);
}
.tabs button {
display: flex;
align-items: center;
gap: var(--space-3);
min-height: 40px;
padding: 0 var(--space-3);
border: 0;
border-radius: var(--radius-md);
background: transparent;
color: var(--text-dim);
font: inherit;
font-size: 14px;
text-align: left;
cursor: pointer;
}
.tabs button:hover {
background: var(--accent-soft);
color: var(--text);
}
.tabs button[aria-selected='true'] {
background: var(--accent-soft);
color: var(--text);
font-weight: 600;
}
.content {
display: flex;
flex-direction: column;
gap: var(--space-3);
min-width: 0;
min-height: 0;
}
.pane {
display: flex;
flex: 1;
flex-direction: column;
gap: var(--space-4);
overflow-y: auto;
}
.check {
display: flex;
align-items: center;
gap: var(--space-2);
min-height: 36px;
}
.check input {
accent-color: var(--accent);
}
.field {
display: flex;
flex-direction: column;
gap: var(--space-2);
color: var(--text-dim);
font-size: 13px;
}
.field input,
.field select {
width: 100%;
min-height: 42px;
padding: var(--space-2) var(--space-3);
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: var(--surface-2);
color: var(--text);
font: inherit;
}
.field input:disabled,
.field select:disabled {
opacity: 0.7;
}
.footer {
display: flex;
align-items: center;
justify-content: flex-end;
gap: var(--space-3);
padding-top: var(--space-3);
border-top: 1px solid var(--line);
}
@media (width <= 720px) {
.layout {
grid-template-columns: minmax(0, 1fr);
gap: var(--space-4);
height: auto;
}
.tabs {
flex-direction: row;
overflow-x: auto;
}
}
.note {
margin: calc(-1 * var(--space-2)) 0 0;
color: var(--text-dim);
font-size: 12px;
}
.error {
margin: 0;
color: var(--danger);
font-size: 13px;
}
.avatarRow {
display: flex;
align-items: center;
gap: var(--space-3);
}
.avatar {
display: grid;
flex: 0 0 64px;
place-items: center;
width: 64px;
height: 64px;
border-radius: var(--radius-lg);
background: var(--surface-2);
object-fit: cover;
}
.avatarFallback {
color: var(--text);
font-size: 24px;
font-weight: 600;
}
.avatarSide {
display: flex;
flex-direction: column;
gap: var(--space-1);
}
.avatarButtons {
display: flex;
gap: var(--space-2);
}