Поправил шрифты и некоторые визуальные косяки
This commit is contained in:
@@ -219,6 +219,13 @@
|
||||
align-content: flex-start;
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.25rem;
|
||||
height: 180px;
|
||||
min-height: 180px;
|
||||
max-height: 180px;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
scrollbar-gutter: stable;
|
||||
padding-right: 0.25rem;
|
||||
}
|
||||
|
||||
.dashboard-actions {
|
||||
|
||||
@@ -67,7 +67,7 @@ html {
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: var(--ui-font-sans, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
min-height: 100vh;
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
.quality-hero h2 {
|
||||
max-width: 790px;
|
||||
margin: 0;
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: clamp(2rem, 4.5vw, 4.4rem);
|
||||
font-weight: 500;
|
||||
letter-spacing: -0.045em;
|
||||
@@ -229,7 +229,7 @@
|
||||
|
||||
.quality-score-inner strong {
|
||||
color: var(--text-primary);
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: 3.2rem;
|
||||
font-weight: 500;
|
||||
line-height: 0.95;
|
||||
@@ -271,7 +271,7 @@
|
||||
.quality-score-copy h3 {
|
||||
margin: 0.55rem 0 0;
|
||||
color: var(--text-primary);
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: clamp(1.6rem, 3vw, 2.5rem);
|
||||
font-weight: 500;
|
||||
}
|
||||
@@ -338,7 +338,7 @@
|
||||
|
||||
.quality-metric-index {
|
||||
color: color-mix(in srgb, var(--text-secondary) 65%, transparent);
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
display: block;
|
||||
margin-top: 1.25rem;
|
||||
color: var(--text-primary);
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: 2rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
@@ -402,7 +402,7 @@
|
||||
.quality-recommendations h3 {
|
||||
margin: 0;
|
||||
color: var(--text-primary);
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: 1.65rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
@@ -537,7 +537,7 @@
|
||||
|
||||
.quality-penalty {
|
||||
color: var(--quality-red);
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
|
||||
@@ -583,7 +583,7 @@
|
||||
background: color-mix(in srgb, var(--quality-cyan) 10%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--quality-cyan) 35%, transparent);
|
||||
border-radius: 50%;
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
right: -1.5rem;
|
||||
bottom: 1.2rem;
|
||||
color: rgba(255, 255, 255, .055);
|
||||
font-family: Georgia, serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: clamp(4rem, 10vw, 9rem);
|
||||
letter-spacing: -.08em;
|
||||
pointer-events: none;
|
||||
@@ -53,7 +53,7 @@
|
||||
.version-hero h2 {
|
||||
max-width: 760px;
|
||||
margin: 0;
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: clamp(2rem, 4.5vw, 4.5rem);
|
||||
font-weight: 500;
|
||||
letter-spacing: -.05em;
|
||||
@@ -136,7 +136,7 @@
|
||||
background: linear-gradient(105deg, color-mix(in srgb, var(--version-copper) 10%, var(--bg-card)), var(--bg-card));
|
||||
border-color: color-mix(in srgb, var(--version-copper) 35%, var(--bg-card-border));
|
||||
}
|
||||
.version-constructor-bar h2 { margin: 0; color: var(--text-primary); font-family: Georgia, serif; font-size: 1.55rem; }
|
||||
.version-constructor-bar h2 { margin: 0; color: var(--text-primary); font-family: var(--ui-font-display); 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: repeat(2, minmax(0, 1fr)); gap: .65rem; align-items: end; }
|
||||
.version-constructor-field { min-width: 0; }
|
||||
@@ -219,7 +219,7 @@
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.version-section-head > span { color: var(--version-copper); font-family: Georgia, serif; font-size: 2rem; }
|
||||
.version-section-head > span { color: var(--version-copper); font-family: var(--ui-font-display); font-size: 2rem; }
|
||||
.version-draft-list { display: grid; gap: .8rem; }
|
||||
|
||||
.version-card {
|
||||
@@ -237,7 +237,7 @@
|
||||
right: .5rem;
|
||||
top: -.8rem;
|
||||
color: color-mix(in srgb, var(--version-copper) 12%, transparent);
|
||||
font-family: Georgia, serif;
|
||||
font-family: var(--ui-font-display);
|
||||
font-size: 5rem;
|
||||
}
|
||||
|
||||
@@ -252,7 +252,7 @@
|
||||
place-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
.version-empty > span { color: var(--version-copper); font-family: Georgia, serif; font-size: 4rem; }
|
||||
.version-empty > span { color: var(--version-copper); font-family: var(--ui-font-display); font-size: 4rem; }
|
||||
.version-empty p { max-width: 360px; }
|
||||
|
||||
.version-diff-score {
|
||||
@@ -262,7 +262,7 @@
|
||||
margin: 1rem 0;
|
||||
}
|
||||
.version-diff-score div { padding: .75rem; background: var(--bg-input); border-radius: var(--radius-sm); text-align: center; }
|
||||
.version-diff-score strong { display: block; color: var(--text-primary); font-family: Georgia, serif; font-size: 1.75rem; }
|
||||
.version-diff-score strong { display: block; color: var(--text-primary); font-family: var(--ui-font-display); font-size: 1.75rem; }
|
||||
.version-diff-score span { color: var(--text-secondary); font-size: .68rem; text-transform: uppercase; }
|
||||
|
||||
.version-change-list { display: grid; gap: .55rem; max-height: 390px; overflow: auto; }
|
||||
@@ -292,7 +292,7 @@
|
||||
}
|
||||
.version-modal[hidden] { display: none; }
|
||||
.version-modal-card { position: relative; width: min(560px, 100%); padding: 1.6rem; background: var(--bg-primary); border: 1px solid var(--bg-card-border); border-radius: var(--radius-lg, 20px); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
|
||||
.version-modal-card h3 { margin: 0; color: var(--text-primary); font-family: Georgia, serif; font-size: 2rem; }
|
||||
.version-modal-card h3 { margin: 0; color: var(--text-primary); font-family: var(--ui-font-display); font-size: 2rem; }
|
||||
.version-modal-card > p { margin: .6rem 0 1rem; color: var(--text-secondary); line-height: 1.55; }
|
||||
.version-modal-card form { display: grid; gap: .65rem; }
|
||||
.version-modal-card label { color: var(--text-secondary); font-size: .75rem; font-weight: 700; }
|
||||
|
||||
@@ -187,6 +187,7 @@
|
||||
}
|
||||
|
||||
.absence-registry-title {
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
}
|
||||
@@ -220,21 +221,31 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 28px;
|
||||
padding: 0 0.65rem;
|
||||
padding: 0.25rem 0.65rem;
|
||||
flex: 0 0 auto;
|
||||
align-self: flex-start;
|
||||
max-width: 100%;
|
||||
line-height: 1.4;
|
||||
border: 1px solid currentColor;
|
||||
border-radius: 999px;
|
||||
font-size: 0.69rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.03em;
|
||||
white-space: nowrap;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.absence-status.is-pending { color: #f59e0b; }
|
||||
.absence-status.is-approved { color: #fb7185; }
|
||||
.absence-status.is-approved { color: #34d399; }
|
||||
.absence-status.is-resolved { color: #34d399; }
|
||||
.absence-status.is-rejected,
|
||||
.absence-status.is-cancelled { color: var(--text-secondary); }
|
||||
|
||||
[data-theme="light"] .absence-status.is-pending { color: #92400e; }
|
||||
[data-theme="light"] .absence-status.is-approved,
|
||||
[data-theme="light"] .absence-status.is-resolved { color: #047857; }
|
||||
.absence-status.is-rejected { color: #fb7185; }
|
||||
[data-theme="light"] .absence-status.is-rejected { color: #be123c; }
|
||||
|
||||
.absence-registry-buttons {
|
||||
justify-content: flex-end;
|
||||
flex-wrap: wrap;
|
||||
@@ -481,7 +492,7 @@ body.absence-wizard-open {
|
||||
|
||||
.teacher-dialogue-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
@@ -604,7 +615,7 @@ body.absence-wizard-open {
|
||||
|
||||
.teacher-dialogue-item {
|
||||
display: grid;
|
||||
grid-template-columns: 7px minmax(0, 1fr) minmax(180px, .42fr);
|
||||
grid-template-columns: 7px minmax(0, 1fr);
|
||||
gap: .85rem;
|
||||
padding: .85rem;
|
||||
border: 1px solid var(--bg-card-border);
|
||||
@@ -613,6 +624,7 @@ body.absence-wizard-open {
|
||||
}
|
||||
|
||||
.teacher-dialogue-mark {
|
||||
grid-row: 1 / 3;
|
||||
border-radius: 99px;
|
||||
background: #94a3b8;
|
||||
}
|
||||
@@ -631,6 +643,11 @@ body.absence-wizard-open {
|
||||
font-size: .68rem;
|
||||
}
|
||||
|
||||
.teacher-dialogue-copy {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.teacher-dialogue-copy h3 {
|
||||
margin: .22rem 0;
|
||||
font-size: .92rem;
|
||||
@@ -668,17 +685,32 @@ body.absence-wizard-open {
|
||||
.teacher-dialogue-copy ol { display: grid; gap: .3rem; padding-left: 1.15rem; }
|
||||
|
||||
.teacher-dialogue-action {
|
||||
grid-column: 2;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
align-items: stretch;
|
||||
gap: .55rem;
|
||||
}
|
||||
|
||||
.teacher-dialogue-action > div {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
gap: .35rem;
|
||||
gap: .5rem;
|
||||
}
|
||||
|
||||
.teacher-dialogue-action > div > .btn {
|
||||
flex: 1 1 120px;
|
||||
min-width: 0;
|
||||
white-space: normal;
|
||||
line-height: 1.35;
|
||||
padding-block: 0.4rem;
|
||||
}
|
||||
|
||||
.teacher-dialogue-toolbar > .btn {
|
||||
align-self: center;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.teacher-dialogue-comment {
|
||||
@@ -801,6 +833,6 @@ body.absence-wizard-open {
|
||||
|
||||
.teacher-dialogue-action {
|
||||
grid-column: 2;
|
||||
align-items: flex-start;
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user