сделал настройку временных слотов
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
min-width: 150px;
|
||||
height: 80px;
|
||||
height: 86px;
|
||||
}
|
||||
|
||||
.workload-table th {
|
||||
@@ -37,29 +37,85 @@
|
||||
box-shadow: 0 1px 0 var(--bg-card-border);
|
||||
}
|
||||
|
||||
.workload-table th strong,
|
||||
.workload-table th span,
|
||||
.workload-table th small {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.workload-table th strong {
|
||||
color: var(--text-primary);
|
||||
font-size: 0.82rem;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.workload-table th span {
|
||||
margin-top: 0.2rem;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.76rem;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.workload-table th small {
|
||||
width: fit-content;
|
||||
margin: 0.35rem auto 0;
|
||||
padding: 0.1rem 0.35rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(139, 92, 246, 0.16);
|
||||
color: var(--accent-hover);
|
||||
font-size: 0.68rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.workload-table .time-cell,
|
||||
.workload-table .axis-cell {
|
||||
background: var(--bg-input);
|
||||
color: var(--text-secondary);
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
color: var(--text-primary);
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
width: 120px;
|
||||
min-width: 120px;
|
||||
width: 140px;
|
||||
min-width: 140px;
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 5;
|
||||
box-shadow: 1px 0 0 var(--bg-card-border);
|
||||
}
|
||||
|
||||
.workload-table .axis-cell strong,
|
||||
.workload-table .axis-cell span,
|
||||
.workload-table .axis-cell small {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.workload-table .axis-cell strong {
|
||||
color: var(--text-primary);
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.workload-table .axis-cell span,
|
||||
.workload-table .axis-cell small {
|
||||
margin-top: 0.2rem;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.72rem;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.workload-table .axis-cell.room-unavailable {
|
||||
color: var(--error);
|
||||
background: color-mix(in srgb, var(--error) 8%, var(--bg-input));
|
||||
}
|
||||
|
||||
.workload-table .top-left-cell {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 20;
|
||||
background: var(--bg-input);
|
||||
min-width: 120px;
|
||||
width: 120px;
|
||||
min-width: 140px;
|
||||
width: 140px;
|
||||
box-shadow: 1px 1px 0 var(--bg-card-border);
|
||||
}
|
||||
|
||||
@@ -96,6 +152,36 @@
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.workload-summary {
|
||||
margin: -0.75rem 0 1rem;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
|
||||
.workload-filter-empty {
|
||||
padding: 0.75rem;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
|
||||
.workload-busy-cell {
|
||||
background: color-mix(in srgb, var(--accent) 5%, var(--bg-primary));
|
||||
}
|
||||
|
||||
.workload-free-cell {
|
||||
background: color-mix(in srgb, var(--success) 4%, var(--bg-primary));
|
||||
}
|
||||
|
||||
.free-slot {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
min-height: 58px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
/* Карточки занятий внутри ячеек сетки */
|
||||
.lesson-card {
|
||||
background: var(--bg-card);
|
||||
@@ -138,6 +224,13 @@
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
margin-top: 0.25rem;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.72rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
/* Настройка scrollbar для контейнера сетки */
|
||||
.workload-grid-container::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
|
||||
Reference in New Issue
Block a user