forge
Explore
Log in

Don't you dare go Hollow

forge

Clone
★ 0

0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits

_fail_first.scss77 lines, 1.4 KiBHistoryRawDownload
1// The failure block at the top of a failed run's page (pages/ci_fail.rs). Failure red is fixed; the
2// block uses the page's own tokens and stays neutral apart from the first error line.
3
4.fail-first {
5 display: flex;
6 flex-direction: column;
7 gap: 6px;
8 margin: 12px 0;
9 padding: 12px 14px;
10 border-radius: var(--radius-md);
11 background: var(--surface);
12 border-left: 3px solid var(--bad);
13}
14
15.fail-first-head {
16 margin: 0;
17 font-weight: 600;
18}
19
20.fail-first-tag {
21 color: var(--bad);
22 margin-right: 4px;
23}
24
25.fail-first-msg {
26 margin: 0;
27 font-family: var(--mono);
28 font-size: 0.85rem;
29 color: var(--bad);
30 white-space: pre-wrap;
31 word-break: break-word;
32}
33
34.fail-first-log {
35 max-height: 22rem;
36 overflow: auto;
37 margin-top: 4px;
38 border-radius: var(--radius-md);
39 background: var(--bg);
40 font-family: var(--mono);
41 font-size: 0.8rem;
42 line-height: 1.5;
43}
44
45.fail-first-ln {
46 display: grid;
47 grid-template-columns: 4.5em 1fr;
48 white-space: pre;
49 overflow-x: auto;
50
51 > i {
52 font-style: normal;
53 text-align: right;
54 padding-right: 1em;
55 opacity: 0.6;
56 user-select: none;
57 }
58}
59
60.fail-first-hit {
61 background: color-mix(in srgb, var(--bad) 16%, transparent);
62}
63
64@media (prefers-reduced-motion: no-preference) {
65 .fail-first {
66 animation: fail-first-in 180ms ease-out both;
67 }
68}
69
70@keyframes fail-first-in {
71 from {
72 opacity: 0;
73 }
74 to {
75 opacity: 1;
76 }
77}