forge
Explore
Log in

Don't you dare go Hollow

forge

Clone
★ 0

0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits

_account_admin.scss100 lines, 1.7 KiBHistoryRawDownload
1// Site banner, admin user detail and the health page.
2
3.site-banner {
4 display: flex;
5 align-items: center;
6 justify-content: space-between;
7 gap: 12px;
8 margin-bottom: 16px;
9 padding: 8px 40px;
10 background: var(--surface-2);
11color: var(--text);
12 border-bottom: 1px solid var(--border);
13
14 p {
15 margin: 0;
16 min-width: 0;
17 overflow-wrap: anywhere;
18 }
19
20 form {
21 margin: 0;
22 flex: none;
23 }
24
25 &.warning {
26 background: var(--alert-bg);
27 color: var(--alert-text);
28 border-bottom-color: var(--warn);
29 }
30}
31
32.kv-grid {
33 display: grid;
34 grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
35 gap: 12px 20px;
36 margin: 0;
37
38 div {
39 min-width: 0;
40 }
41
42 dt {
43 color: var(--muted);
44 font-size: 0.8125rem;
45 margin-bottom: 2px;
46 }
47
48 dd {
49 margin: 0;
50 font-weight: 600;
51 overflow-wrap: anywhere;
52 }
53}
54
55@media (max-width: 600px) {
56
57}
58
59.reset-link {
60 display: block;
61 padding: 8px 10px;
62 border: 1px solid var(--border);
63 border-radius: var(--radius-md);
64 background: var(--surface-2);
65 font-family: var(--mono);
66 font-size: 0.8125rem;
67 overflow-wrap: anywhere;
68 user-select: all;
69}
70
71// A status dot: the summary's, and each service row's.
72.health-dot {
73 display: inline-block;
74 flex: none;
75 width: 8px;
76 height: 8px;
77 border-radius: var(--radius-full);
78 background: var(--muted);
79
80 &.ok {
81 background: var(--ok);
82 }
83
84 &.bad {
85 background: var(--bad);
86 }
87
88 &.off {
89 box-sizing: border-box;
90 background: transparent;
91 border: 1.5px solid var(--border-strong);
92 }
93}
94
95// The data directory's usage bar: 8px tall, the fill turns red at 90%.
96.health-path {
97 margin-top: 4px;
98 overflow-wrap: anywhere;
99}
100