2026-05-14 09:57:41 +08:00

155 lines
2.7 KiB
CSS

.identity {
display: flex;
min-width: 0;
align-items: center;
gap: var(--space-3);
}
.thumb {
display: inline-flex;
width: 36px;
height: 36px;
flex: 0 0 auto;
align-items: center;
justify-content: center;
overflow: hidden;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--bg-card-strong);
color: var(--text-secondary);
}
.thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.operatorAvatar {
display: inline-flex;
width: 34px;
height: 34px;
flex: 0 0 auto;
align-items: center;
justify-content: center;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 50%;
background: var(--bg-card-strong);
color: var(--text-secondary);
}
.operatorAvatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.identityText,
.stack {
display: grid;
min-width: 0;
gap: 2px;
}
.name {
overflow: hidden;
color: var(--text-primary);
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
.meta {
overflow: hidden;
color: var(--text-tertiary);
font-size: var(--admin-font-size);
text-overflow: ellipsis;
white-space: nowrap;
}
.dateTimeField {
width: 100%;
}
.giftSwitch {
min-height: var(--control-height);
}
.datePopover {
display: grid;
width: 320px;
gap: var(--space-3);
padding: var(--space-3);
}
.calendarHeader {
display: grid;
grid-template-columns: var(--control-height) 1fr var(--control-height);
align-items: center;
gap: var(--space-2);
}
.calendarTitle {
color: var(--text-primary);
font-weight: 700;
text-align: center;
}
.calendarGrid {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
gap: 4px;
}
.weekday {
color: var(--text-tertiary);
font-size: 12px;
font-weight: 650;
line-height: 24px;
text-align: center;
}
.dayButton {
display: inline-flex;
height: 34px;
align-items: center;
justify-content: center;
border: 1px solid transparent;
border-radius: var(--radius-sm);
background: transparent;
color: var(--text-primary);
cursor: pointer;
font: inherit;
line-height: 1;
}
.dayButton:hover {
border-color: var(--primary-border);
background: var(--primary-surface);
color: var(--primary);
}
.dayOutside {
color: var(--text-tertiary);
}
.daySelected,
.daySelected:hover {
border-color: var(--primary);
background: var(--primary);
color: var(--primary-contrast);
}
.timeGrid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--space-2);
}
.popoverActions {
display: flex;
justify-content: flex-end;
gap: var(--space-2);
}