3 Задача

This commit is contained in:
dipatrik10
2026-08-11 01:55:02 +03:00
parent 5276729a69
commit 519864b962
42 changed files with 4083 additions and 21 deletions

View File

@@ -470,6 +470,167 @@ body.absence-wizard-open {
gap: 0.65rem;
}
.teacher-dialogue-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
.teacher-dialogue-card {
min-width: 0;
border-radius: var(--radius-lg);
}
.teacher-dialogue-head {
display: flex;
align-items: start;
justify-content: space-between;
gap: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--bg-card-border);
}
.teacher-dialogue-head h2 {
margin: .25rem 0;
font-size: 1.25rem;
}
.teacher-dialogue-head p {
max-width: 560px;
margin: 0;
color: var(--text-secondary);
font-size: .8rem;
line-height: 1.5;
}
.teacher-dialogue-counter {
display: grid;
min-width: 78px;
min-height: 70px;
place-items: center;
padding: .55rem;
border: 1px solid color-mix(in srgb, #f59e0b 28%, var(--bg-card-border));
border-radius: 14px;
background: color-mix(in srgb, #f59e0b 8%, var(--bg-input));
}
.teacher-dialogue-counter strong {
font-size: 1.5rem;
line-height: 1;
}
.teacher-dialogue-counter span {
color: var(--text-secondary);
font-size: .67rem;
}
.teacher-dialogue-toolbar {
display: flex;
gap: .55rem;
margin: 1rem 0;
}
.teacher-dialogue-toolbar select {
min-width: 0;
flex: 1;
}
.teacher-dialogue-list {
display: grid;
gap: .65rem;
max-height: 680px;
overflow-y: auto;
}
.teacher-dialogue-item {
display: grid;
grid-template-columns: 7px minmax(0, 1fr) minmax(180px, .42fr);
gap: .85rem;
padding: .85rem;
border: 1px solid var(--bg-card-border);
border-radius: 13px;
background: color-mix(in srgb, var(--bg-input) 68%, transparent);
}
.teacher-dialogue-mark {
border-radius: 99px;
background: #94a3b8;
}
.teacher-dialogue-mark.preference-hard_unavailable { background: #fb7185; }
.teacher-dialogue-mark.preference-soft_preferred { background: #34d399; }
.teacher-dialogue-mark.preference-soft_unwanted { background: #f59e0b; }
.teacher-dialogue-mark.preference-consecutive,
.teacher-dialogue-mark.preference-no_gaps { background: #60a5fa; }
.teacher-dialogue-mark.change-move { background: #60a5fa; }
.teacher-dialogue-mark.change-change_classroom { background: #a78bfa; }
.teacher-dialogue-mark.change-cancel { background: #fb7185; }
.teacher-dialogue-copy small {
color: var(--text-secondary);
font-size: .68rem;
}
.teacher-dialogue-copy h3 {
margin: .22rem 0;
font-size: .92rem;
}
.teacher-dialogue-copy p {
margin: 0;
color: var(--text-secondary);
font-size: .77rem;
}
.teacher-dialogue-copy blockquote {
margin: .6rem 0 0;
padding: .5rem .65rem;
border-left: 2px solid #f59e0b;
background: color-mix(in srgb, #f59e0b 6%, transparent);
color: var(--text-primary);
font-size: .76rem;
}
.teacher-dialogue-review {
display: block;
margin-top: .55rem;
color: #34d399;
font-size: .72rem;
}
.teacher-dialogue-copy details {
margin-top: .55rem;
color: var(--text-secondary);
font-size: .7rem;
}
.teacher-dialogue-copy summary { cursor: pointer; }
.teacher-dialogue-copy ol { display: grid; gap: .3rem; padding-left: 1.15rem; }
.teacher-dialogue-action {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: .55rem;
}
.teacher-dialogue-action > div {
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
gap: .35rem;
}
.teacher-dialogue-comment {
width: 100%;
min-height: 36px;
padding: 0 .65rem;
border: 1px solid var(--bg-card-border);
border-radius: 8px;
background: var(--bg-input);
color: var(--text-primary);
}
@media (max-width: 1100px) {
.absence-command-card,
.absence-form-grid {
@@ -494,6 +655,10 @@ body.absence-wizard-open {
justify-content: flex-start;
max-width: none;
}
.teacher-dialogue-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 760px) {
@@ -553,4 +718,19 @@ body.absence-wizard-open {
min-height: 100vh;
border-radius: 0;
}
.teacher-dialogue-toolbar,
.teacher-dialogue-head {
align-items: stretch;
flex-direction: column;
}
.teacher-dialogue-item {
grid-template-columns: 7px minmax(0, 1fr);
}
.teacher-dialogue-action {
grid-column: 2;
align-items: flex-start;
}
}