поправил вид сетки и прочие баги
This commit is contained in:
@@ -194,10 +194,6 @@
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.department-workload-list {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.department-comment-list {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
@@ -262,6 +258,8 @@
|
||||
|
||||
.schedule-slots-panel {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1.25rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.schedule-slots-list {
|
||||
@@ -269,6 +267,7 @@
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
margin-top: 0.75rem;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.schedule-slot-row {
|
||||
@@ -282,10 +281,19 @@
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.schedule-slot-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.schedule-slot-row.has-subgroup {
|
||||
grid-template-columns: repeat(8, minmax(125px, 1fr)) auto;
|
||||
}
|
||||
|
||||
.schedule-rule-actions {
|
||||
margin-top: 0.25rem;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.slot-subgroup-multi .select-text {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -780,11 +788,15 @@
|
||||
align-items: stretch;
|
||||
gap: 0.65rem;
|
||||
padding: 0.65rem;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.calendar-semester-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
border: 1px solid var(--bg-card-border);
|
||||
@@ -830,9 +842,14 @@
|
||||
}
|
||||
|
||||
.calendar-semester-table {
|
||||
width: max-content;
|
||||
min-width: 100%;
|
||||
--calendar-day-head-width: 32px;
|
||||
--calendar-day-cell-size: 22px;
|
||||
--calendar-min-table-width: 538px;
|
||||
width: 100%;
|
||||
min-width: var(--calendar-min-table-width);
|
||||
max-width: none;
|
||||
min-height: 100%;
|
||||
flex: 1 1 auto;
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
font-size: 0.62rem;
|
||||
@@ -841,32 +858,43 @@
|
||||
|
||||
.calendar-semester-table th,
|
||||
.calendar-semester-table td {
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--bg-card-border);
|
||||
}
|
||||
|
||||
.calendar-semester-table tbody tr {
|
||||
height: 19px;
|
||||
height: var(--calendar-day-cell-size);
|
||||
}
|
||||
|
||||
.calendar-day-head-col {
|
||||
width: var(--calendar-day-head-width);
|
||||
}
|
||||
|
||||
.calendar-week-col {
|
||||
width: calc((100% - var(--calendar-day-head-width)) / var(--calendar-week-columns, 1));
|
||||
}
|
||||
|
||||
.calendar-semester-table thead th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
height: 18px;
|
||||
min-width: 18px;
|
||||
padding: 0 0.12rem;
|
||||
height: var(--calendar-day-cell-size);
|
||||
padding: 0;
|
||||
background: var(--bg-input);
|
||||
color: var(--text-secondary);
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-semester-table .calendar-day-head {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
width: 30px;
|
||||
min-width: 30px;
|
||||
width: var(--calendar-day-head-width);
|
||||
min-width: var(--calendar-day-head-width);
|
||||
max-width: var(--calendar-day-head-width);
|
||||
background: var(--bg-input);
|
||||
color: var(--text-secondary);
|
||||
font-weight: 700;
|
||||
@@ -875,10 +903,8 @@
|
||||
|
||||
.calendar-day {
|
||||
position: relative;
|
||||
width: 18px;
|
||||
min-width: 18px;
|
||||
height: 19px;
|
||||
min-height: 19px;
|
||||
height: var(--calendar-day-cell-size);
|
||||
min-height: var(--calendar-day-cell-size);
|
||||
padding: 0;
|
||||
background: color-mix(in srgb, var(--activity-color, var(--accent)) 12%, var(--bg-card));
|
||||
border-color: color-mix(in srgb, var(--activity-color, var(--accent)) 28%, var(--bg-card-border));
|
||||
@@ -986,30 +1012,36 @@
|
||||
}
|
||||
|
||||
.calendar-day-tooltip-code {
|
||||
width: 34px;
|
||||
min-width: 34px;
|
||||
height: 34px;
|
||||
box-sizing: border-box;
|
||||
width: 34px;
|
||||
min-width: 34px;
|
||||
height: 34px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 8px;
|
||||
background: color-mix(in srgb, var(--activity-color, var(--accent)) 24%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--activity-color, var(--accent)) 56%, transparent);
|
||||
color: var(--text-primary);
|
||||
font-size: 0.86rem;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
|
||||
border-radius: 8px;
|
||||
background: color-mix(in srgb, var(--activity-color, var(--accent)) 24%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--activity-color, var(--accent)) 56%, transparent);
|
||||
color: var(--text-primary);
|
||||
|
||||
font-size: 0.86rem;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
.calendar-day-tooltip-head .calendar-day-tooltip-code {
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.calendar-day-tooltip-code span {
|
||||
display: block;
|
||||
transform: translateY(2px);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
line-height: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.calendar-day-tooltip-body {
|
||||
@@ -1019,12 +1051,14 @@
|
||||
}
|
||||
|
||||
.calendar-empty-day {
|
||||
width: 18px;
|
||||
min-width: 18px;
|
||||
height: 19px;
|
||||
height: var(--calendar-day-cell-size);
|
||||
background: color-mix(in srgb, var(--bg-input) 65%, transparent);
|
||||
}
|
||||
|
||||
.calendar-week-placeholder {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.calendar-empty-semester {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
@@ -1198,6 +1232,8 @@
|
||||
.calendar-semesters-grid {
|
||||
grid-template-columns: 1fr;
|
||||
grid-auto-rows: auto;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.calendar-semester-block {
|
||||
|
||||
Reference in New Issue
Block a user