🎨 neutralize decorative metric-card borders on exam detail
Browse files at this commit109b1e41d0b64c2a519a853efeaa03dd5af66dcdParent: ae4184f- style
- 🎨 neutralize decorative metric-card borders on exam detail
1 changed file +11 -11
- src/pages/exam-detail-page.tsx +11 -11
src/pages/exam-detail-page.tsxmodified+11 -11
| @@ -393,7 +393,7 @@ function ExamDetailContent() { | ||
| 393 | 393 | <PageHeader |
| 394 | 394 | title={ex().title} |
| 395 | 395 | description={ex().description || "—"} |
| 396 | - class="border-rose-500/30 shadow-sm" | |
| 396 | + class="border-border/70" | |
| 397 | 397 | actions={ |
| 398 | 398 | <div class="flex flex-wrap items-center gap-2"> |
| 399 | 399 | <Show when={isStudent() && !isDraft() && isSittable()}> |
| @@ -452,14 +452,14 @@ function ExamDetailContent() { | ||
| 452 | 452 | <span class="mr-1.5 inline-block h-1.5 w-1.5 rounded-full bg-muted-foreground" /> |
| 453 | 453 | {detailStatusLabel()} |
| 454 | 454 | </Badge> |
| 455 | - <Badge variant="outline" class="rounded-full border-rose-500/30"> | |
| 455 | + <Badge variant="outline" class="rounded-full"> | |
| 456 | 456 | {examKindLabel(String(ex().kind), t)} |
| 457 | 457 | </Badge> |
| 458 | 458 | </div> |
| 459 | 459 | </PageHeader> |
| 460 | 460 | </div> |
| 461 | 461 | <div class="grid gap-2 sm:grid-cols-2 xl:grid-cols-4"> |
| 462 | - <div class="flex min-w-0 items-center gap-3 rounded-lg border border-sky-500/30 bg-card p-3.5"> | |
| 462 | + <div class="flex min-w-0 items-center gap-3 rounded-lg border border-border/70 bg-card p-3.5"> | |
| 463 | 463 | <span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-muted text-muted-foreground"> |
| 464 | 464 | <IconExam class="h-4 w-4" /> |
| 465 | 465 | </span> |
| @@ -468,7 +468,7 @@ function ExamDetailContent() { | ||
| 468 | 468 | <p class="truncate text-sm font-semibold">{examModeLabel(ex().mode)}</p> |
| 469 | 469 | </div> |
| 470 | 470 | </div> |
| 471 | - <div class="flex min-w-0 items-center gap-3 rounded-lg border border-violet-500/30 bg-card p-3.5"> | |
| 471 | + <div class="flex min-w-0 items-center gap-3 rounded-lg border border-border/70 bg-card p-3.5"> | |
| 472 | 472 | <span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-muted text-muted-foreground"> |
| 473 | 473 | <IconRefresh class="h-4 w-4" /> |
| 474 | 474 | </span> |
| @@ -484,7 +484,7 @@ function ExamDetailContent() { | ||
| 484 | 484 | </Show> |
| 485 | 485 | </div> |
| 486 | 486 | </div> |
| 487 | - <div class="flex min-w-0 items-center gap-3 rounded-lg border border-rose-500/30 bg-card p-3.5"> | |
| 487 | + <div class="flex min-w-0 items-center gap-3 rounded-lg border border-border/70 bg-card p-3.5"> | |
| 488 | 488 | <span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-muted text-muted-foreground"> |
| 489 | 489 | <IconCalendarDays class="h-4 w-4" /> |
| 490 | 490 | </span> |
| @@ -498,7 +498,7 @@ function ExamDetailContent() { | ||
| 498 | 498 | </Show> |
| 499 | 499 | </div> |
| 500 | 500 | </div> |
| 501 | - <div class="flex min-w-0 items-center gap-3 rounded-lg border border-amber-500/30 bg-card p-3.5"> | |
| 501 | + <div class="flex min-w-0 items-center gap-3 rounded-lg border border-border/70 bg-card p-3.5"> | |
| 502 | 502 | <span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-muted text-muted-foreground"> |
| 503 | 503 | <IconClock class="h-4 w-4" /> |
| 504 | 504 | </span> |
| @@ -618,7 +618,7 @@ function ExamDetailContent() { | ||
| 618 | 618 | |
| 619 | 619 | <Show when={isStudent() && ownResult()}> |
| 620 | 620 | {(result) => ( |
| 621 | - <section class="space-y-4 rounded-lg border border-emerald-500/30 bg-card p-4" aria-labelledby="own-exam-result"> | |
| 621 | + <section class="space-y-4 rounded-lg border border-border/70 bg-card p-4" aria-labelledby="own-exam-result"> | |
| 622 | 622 | <div class="flex flex-wrap items-center gap-3"> |
| 623 | 623 | <span class="flex h-9 w-9 items-center justify-center rounded-xl bg-muted text-muted-foreground"> |
| 624 | 624 | <IconClipboardCheck class="h-4 w-4" /> |
| @@ -646,19 +646,19 @@ function ExamDetailContent() { | ||
| 646 | 646 | <Show when={stats()}> |
| 647 | 647 | {(s) => ( |
| 648 | 648 | <div class="grid gap-2 text-sm sm:grid-cols-2 lg:grid-cols-4"> |
| 649 | - <div class="rounded-xl border border-violet-500/30 bg-card p-4"> | |
| 649 | + <div class="rounded-xl border border-border/70 bg-card p-4"> | |
| 650 | 650 | <p class="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">{t("exams.graded")}</p> |
| 651 | 651 | <p class="mono mt-1 text-2xl font-semibold tabular-nums">{s().graded}</p> |
| 652 | 652 | </div> |
| 653 | - <div class="rounded-xl border border-sky-500/30 bg-card p-4"> | |
| 653 | + <div class="rounded-xl border border-border/70 bg-card p-4"> | |
| 654 | 654 | <p class="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">{t("exams.average")}</p> |
| 655 | 655 | <p class="mono mt-1 text-2xl font-semibold tabular-nums">{s().average == null ? "—" : s().average}</p> |
| 656 | 656 | </div> |
| 657 | - <div class="rounded-xl border border-amber-500/30 bg-card p-4"> | |
| 657 | + <div class="rounded-xl border border-border/70 bg-card p-4"> | |
| 658 | 658 | <p class="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">{t("exams.min")}</p> |
| 659 | 659 | <p class="mono mt-1 text-2xl font-semibold tabular-nums">{s().min == null ? "—" : s().min}</p> |
| 660 | 660 | </div> |
| 661 | - <div class="rounded-xl border border-emerald-500/30 bg-card p-4"> | |
| 661 | + <div class="rounded-xl border border-border/70 bg-card p-4"> | |
| 662 | 662 | <p class="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">{t("exams.max")}</p> |
| 663 | 663 | <p class="mono mt-1 text-2xl font-semibold tabular-nums">{s().max == null ? "—" : s().max}</p> |
| 664 | 664 | </div> |