Lab page: per-variant create/edit modals, rendered conditions, inline lab edit; student page: compact code field, big score, defense wording, header highlight; toasts tinted; p margin
This commit is contained in:
@@ -96,6 +96,12 @@ a:not(.btn):hover { color: var(--c-text-link-hover); }
|
||||
.user { display: flex; align-items: center; gap: 0.75rem; font-size: 0.84375rem; margin-left: auto; }
|
||||
.nav-user { font-weight: 500; color: var(--c-text); }
|
||||
.nav-user:hover { color: var(--c-accent); }
|
||||
.nav-user.defense-active { color: var(--c-accent); }
|
||||
.nav-user.defense-active::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--c-accent); margin-right: 0.4rem; vertical-align: middle; }
|
||||
.score-big { display: inline-block; margin-left: 0.5rem; font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--c-tone-pos); font-variant-numeric: tabular-nums; vertical-align: middle; }
|
||||
.variant-name { font-weight: 600; }
|
||||
.variant-name b { font-variant-numeric: tabular-nums; }
|
||||
p { margin-top: 0; }
|
||||
.theme-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.3rem 0.5rem; }
|
||||
.theme-icon { width: 1.05rem; height: 1.05rem; display: block; }
|
||||
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
|
||||
@@ -274,9 +280,9 @@ tr:last-child td { border-bottom: none; }
|
||||
}
|
||||
.toast-item .toast-text { flex: 1 1 auto; min-width: 0; white-space: pre-line; overflow-wrap: anywhere; }
|
||||
.toast-item .toast-text .code { margin: 0 0.1rem; }
|
||||
.toast-item.toast-success { border-left-color: var(--c-tone-pos); }
|
||||
.toast-item.toast-error { border-left-color: var(--c-tone-neg); }
|
||||
.toast-item.toast-warning { border-left-color: var(--c-badge-warn-text); }
|
||||
.toast-item.toast-success { border-left-color: var(--c-tone-pos); background: var(--c-badge-ok-bg); }
|
||||
.toast-item.toast-error { border-left-color: var(--c-accent); background: var(--c-accent-soft); }
|
||||
.toast-item.toast-warning { border-left-color: var(--c-badge-warn-border); background: var(--c-badge-warn-bg); }
|
||||
.toast-close {
|
||||
flex: 0 0 auto; border: none; background: none; cursor: pointer;
|
||||
color: var(--c-text-muted); font-size: 1rem; line-height: 1; padding: 0 0.1rem;
|
||||
|
||||
Reference in New Issue
Block a user