Много разных изменений
This commit is contained in:
@@ -630,7 +630,7 @@
|
||||
}
|
||||
|
||||
.schedule-view-extra-grid {
|
||||
grid-template-columns: repeat(4, minmax(180px, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
|
||||
margin-top: 0.9rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -689,6 +689,58 @@
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.schedule-initial-state {
|
||||
display: flex;
|
||||
min-height: 220px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.7rem;
|
||||
border: 1px solid var(--bg-card-border);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--bg-card);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.schedule-initial-content {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.schedule-initial-state[hidden],
|
||||
.schedule-initial-content.is-loading {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.schedule-initial-content .card,
|
||||
#schedule-table tbody tr {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
#schedule-table {
|
||||
min-width: 1180px;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
#schedule-table .schedule-rule-col-id { width: 5%; }
|
||||
#schedule-table .schedule-rule-col-subject { width: 16%; }
|
||||
#schedule-table .schedule-rule-col-semester { width: 13%; }
|
||||
#schedule-table .schedule-rule-col-groups { width: 16%; }
|
||||
#schedule-table .schedule-rule-col-load { width: 14%; }
|
||||
#schedule-table .schedule-rule-col-slots { width: 20%; }
|
||||
#schedule-table .schedule-rule-col-actions { width: 16%; }
|
||||
|
||||
#schedule-table th,
|
||||
#schedule-table td {
|
||||
overflow-wrap: anywhere;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#schedule-table thead th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.schedule-group-select {
|
||||
max-width: 520px;
|
||||
}
|
||||
@@ -703,6 +755,23 @@
|
||||
max-height: 220px;
|
||||
}
|
||||
|
||||
.schedule-group-search {
|
||||
width: calc(100% - 1rem);
|
||||
min-height: 38px;
|
||||
margin: 0.5rem;
|
||||
padding: 0 0.75rem;
|
||||
border: 1px solid var(--bg-card-border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--bg-input);
|
||||
color: var(--text-primary);
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.schedule-group-search:focus {
|
||||
border-color: var(--accent);
|
||||
outline: 3px solid var(--accent-glow);
|
||||
}
|
||||
|
||||
.schedule-hours-panel {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
@@ -3920,3 +3989,193 @@ tbody tr:hover {
|
||||
white-space: nowrap;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.registry-toolbar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: end;
|
||||
gap: 0.75rem;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.registry-toolbar .form-group {
|
||||
min-width: min(260px, 100%);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.registry-search {
|
||||
width: min(420px, 100%);
|
||||
}
|
||||
|
||||
.pagination {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.pagination-actions,
|
||||
.pagination-size {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.65rem;
|
||||
}
|
||||
|
||||
.pagination-summary,
|
||||
.pagination-page,
|
||||
.pagination-size span {
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
|
||||
.pagination-size select {
|
||||
min-height: 36px;
|
||||
padding: 0.25rem 1.75rem 0.25rem 0.55rem;
|
||||
color: var(--text-primary);
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--bg-card-border);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.state-spinner {
|
||||
display: inline-block;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
margin-right: 0.55rem;
|
||||
vertical-align: -2px;
|
||||
border: 2px solid color-mix(in srgb, var(--accent) 22%, transparent);
|
||||
border-top-color: var(--accent);
|
||||
border-radius: 50%;
|
||||
animation: state-spin 0.75s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes state-spin { to { transform: rotate(360deg); } }
|
||||
|
||||
.view-state-error {
|
||||
color: var(--danger, #dc2626);
|
||||
}
|
||||
|
||||
.view-state-error .btn {
|
||||
margin-left: 0.75rem;
|
||||
}
|
||||
|
||||
.async-combobox {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.async-combobox-control {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.async-combobox-control input {
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
padding-right: 2.5rem;
|
||||
}
|
||||
|
||||
.async-combobox-clear {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0.45rem;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
transform: translateY(-50%);
|
||||
color: var(--text-secondary);
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.async-combobox-clear:hover { background: var(--bg-hover); color: var(--text-primary); }
|
||||
|
||||
.async-combobox-menu {
|
||||
position: absolute;
|
||||
z-index: 1200;
|
||||
top: calc(100% + 0.35rem);
|
||||
left: 0;
|
||||
right: 0;
|
||||
max-height: 320px;
|
||||
overflow: auto;
|
||||
padding: 0.35rem;
|
||||
border: 1px solid var(--bg-card-border);
|
||||
border-radius: 12px;
|
||||
background: rgba(10, 10, 15, 0.96);
|
||||
backdrop-filter: blur(20px) saturate(135%);
|
||||
-webkit-backdrop-filter: blur(20px) saturate(135%);
|
||||
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
|
||||
}
|
||||
|
||||
[data-theme="light"] .async-combobox-menu {
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.04) inset;
|
||||
}
|
||||
|
||||
.async-combobox-option {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
gap: 0.2rem;
|
||||
padding: 0.7rem 0.75rem;
|
||||
color: var(--text-primary);
|
||||
text-align: left;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: 9px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.async-combobox-option:hover,
|
||||
.async-combobox-option:focus,
|
||||
.async-combobox-option[aria-selected="true"] {
|
||||
outline: none;
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.async-combobox-option small,
|
||||
.async-combobox-state {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.async-combobox-state {
|
||||
padding: 0.8rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.async-combobox-state.is-error { color: var(--danger, #dc2626); }
|
||||
|
||||
.project-dialog-backdrop {
|
||||
position: fixed;
|
||||
z-index: 4000;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 1rem;
|
||||
background: rgba(15, 23, 42, 0.48);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
.project-dialog {
|
||||
width: min(520px, 100%);
|
||||
padding: 1.25rem;
|
||||
border: 1px solid var(--bg-card-border);
|
||||
border-radius: 18px;
|
||||
color: var(--text-primary);
|
||||
background: var(--bg-card);
|
||||
box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
|
||||
}
|
||||
|
||||
.project-dialog header,
|
||||
.project-dialog footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.project-dialog header h2 { margin: 0; }
|
||||
.project-dialog footer { justify-content: flex-end; margin-top: 1rem; }
|
||||
.project-dialog-field { display: grid; gap: 0.4rem; margin-top: 1rem; }
|
||||
.project-dialog-field textarea { width: 100%; resize: vertical; }
|
||||
.project-dialog-error { min-height: 1.3rem; margin-top: 0.35rem; color: var(--danger, #dc2626); font-size: 0.85rem; }
|
||||
|
||||
@@ -79,6 +79,8 @@
|
||||
}
|
||||
|
||||
.version-hero-controls label {
|
||||
display: block;
|
||||
margin-bottom: .35rem;
|
||||
color: rgba(255, 255, 255, .62);
|
||||
font-size: .7rem;
|
||||
font-weight: 800;
|
||||
@@ -98,6 +100,12 @@
|
||||
|
||||
.version-hero-controls option { color: #152536; background: #f7f4ed; }
|
||||
|
||||
.version-hero-period-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: .65rem;
|
||||
}
|
||||
|
||||
.version-status {
|
||||
min-height: 2.8rem;
|
||||
padding: .8rem 1rem;
|
||||
@@ -130,9 +138,13 @@
|
||||
}
|
||||
.version-constructor-bar h2 { margin: 0; color: var(--text-primary); font-family: Georgia, serif; font-size: 1.55rem; }
|
||||
.version-constructor-bar p { margin: .35rem 0 0; color: var(--text-secondary); font-size: .82rem; }
|
||||
.version-constructor-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .55rem; align-items: end; }
|
||||
.version-constructor-controls label { grid-column: 1 / -1; color: var(--text-secondary); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
|
||||
.version-constructor-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; align-items: end; }
|
||||
.version-constructor-field { min-width: 0; }
|
||||
.version-constructor-field-wide { grid-column: 1 / -1; }
|
||||
.version-constructor-controls label { display: block; margin-bottom: .35rem; color: var(--text-secondary); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
|
||||
.version-constructor-controls select { min-height: 38px; padding: .45rem .65rem; color: var(--text-primary); background: var(--bg-input); border: 1px solid var(--bg-card-border); border-radius: var(--radius-sm); }
|
||||
.version-constructor-field select { width: 100%; }
|
||||
.version-constructor-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: .55rem; }
|
||||
|
||||
.version-current {
|
||||
display: grid;
|
||||
@@ -304,5 +316,7 @@
|
||||
.version-diff-score { grid-template-columns: 1fr; }
|
||||
.version-history-row { grid-template-columns: 1fr; gap: .25rem; }
|
||||
.version-constructor-controls { grid-template-columns: 1fr; }
|
||||
.version-constructor-controls label { grid-column: auto; }
|
||||
.version-constructor-field-wide { grid-column: auto; }
|
||||
.version-constructor-actions { grid-column: auto; flex-direction: column; }
|
||||
.version-hero-period-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
@@ -89,6 +89,15 @@
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.absence-create-card {
|
||||
z-index: 20;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.absence-create-card:focus-within {
|
||||
z-index: 30;
|
||||
}
|
||||
|
||||
.absence-create-card .card-header-row > div:first-child,
|
||||
.absence-registry-head > div:first-child {
|
||||
display: flex;
|
||||
@@ -526,13 +535,64 @@ body.absence-wizard-open {
|
||||
|
||||
.teacher-dialogue-toolbar {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
gap: .55rem;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar select {
|
||||
.teacher-dialogue-toolbar > select,
|
||||
.teacher-dialogue-toolbar .custom-select-wrapper {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
flex: 1 1 0;
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar > select {
|
||||
min-height: 44px;
|
||||
padding: 0.65rem 2.15rem 0.65rem 0.8rem;
|
||||
border: 1px solid color-mix(in srgb, #f59e0b 24%, var(--bg-card-border));
|
||||
border-radius: 11px;
|
||||
background: var(--bg-input);
|
||||
color: var(--text-primary);
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar .custom-select-trigger {
|
||||
min-height: 44px;
|
||||
border-color: color-mix(in srgb, #f59e0b 24%, var(--bg-card-border));
|
||||
border-radius: 11px;
|
||||
background: color-mix(in srgb, var(--bg-input) 88%, #f59e0b 4%);
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar .custom-select-trigger:hover,
|
||||
.teacher-dialogue-toolbar .custom-select-wrapper.open .custom-select-trigger {
|
||||
border-color: color-mix(in srgb, #f59e0b 62%, var(--bg-card-border));
|
||||
background: color-mix(in srgb, var(--bg-hover) 90%, #f59e0b 6%);
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar .custom-select-wrapper.open .custom-select-trigger,
|
||||
.teacher-dialogue-toolbar .custom-select-trigger:focus {
|
||||
box-shadow: 0 0 0 4px color-mix(in srgb, #f59e0b 20%, transparent);
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar .custom-select-menu {
|
||||
border-color: color-mix(in srgb, #f59e0b 25%, var(--bg-card-border));
|
||||
background: rgba(10, 10, 15, 0.96);
|
||||
backdrop-filter: blur(20px) saturate(135%);
|
||||
-webkit-backdrop-filter: blur(20px) saturate(135%);
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar .custom-select-item:hover:not(.disabled) {
|
||||
background: color-mix(in srgb, #f59e0b 10%, var(--bg-hover));
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar .custom-select-item.selected {
|
||||
background: color-mix(in srgb, #f59e0b 18%, var(--bg-input));
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
[data-theme="light"] .teacher-dialogue-toolbar .custom-select-menu {
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.04) inset;
|
||||
}
|
||||
|
||||
.teacher-dialogue-list {
|
||||
@@ -669,6 +729,16 @@ body.absence-wizard-open {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar .custom-select-wrapper,
|
||||
.teacher-dialogue-toolbar > select,
|
||||
.teacher-dialogue-toolbar > .btn {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
|
||||
.absence-command-stats {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user