Repository navigation
Expand file tree
/
Copy pathoptions.css
More file actions
104 lines (95 loc) · 4.06 KB
/
Copy pathoptions.css
File metadata and controls
104 lines (95 loc) · 4.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
:root {
color-scheme: light;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
background: #d7d1b6;
color: #1a1c15;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 360px; }
button, input { font: inherit; }
.shell {
width: min(760px, calc(100% - 32px));
margin: 48px auto 80px;
}
header { border-bottom: 4px solid #3d422d; padding-bottom: 24px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #596040; }
h1 { margin: 0; font-size: clamp(38px, 8vw, 76px); line-height: .92; letter-spacing: -.06em; color: #222519; }
.lede { margin: 18px 0 0; max-width: 56ch; color: #343826; }
.status-panel {
display: flex;
justify-content: space-between;
align-items: baseline;
margin: 24px 0;
padding: 16px;
border: 3px solid #3d422d;
background: #3d422d;
color: #efe7c9;
}
.status-panel span { font-size: 12px; }
.status-panel strong { font-size: 24px; letter-spacing: .08em; }
form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; font-weight: 800; }
.field > span, legend { text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
input[type="url"], input[type="number"], input[type="time"] {
width: 100%; padding: 13px; border: 2px solid #4a4f35; border-radius: 0; background: #f1ecd8; color: #1a1c15;
}
input[type="url"]::placeholder { color: #6b7055; }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
fieldset { margin: 0; padding: 16px; border: 2px solid #4a4f35; background: rgba(255,255,255,0.18); }
legend { padding: 0 8px; font-weight: 800; }
.hint { margin: 0 0 14px; font-size: 12px; line-height: 1.5; color: #343826; }
#excluded-ranges, #allowed-urls { display: grid; gap: 10px; margin-bottom: 12px; }
.range-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.url-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.range-row label, .url-row label { display: grid; gap: 5px; font-size: 11px; text-transform: uppercase; }
.weekday-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.weekday-grid label { display: grid; place-items: center; gap: 6px; padding: 10px 4px; border: 2px solid #6b714d; background: #e6e0c6; font-size: 11px; font-weight: 900; cursor: pointer; }
.weekday-grid input { width: 18px; height: 18px; accent-color: #4c5337; }
.toggle-row { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.toggle-row input { width: 20px; height: 20px; accent-color: #4c5337; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
button { border: 2px solid #3d422d; padding: 11px 14px; background: #3d422d; color: #efe7c9; cursor: pointer; font-weight: 900; }
button.secondary { background: transparent; color: #2e321f; }
button.danger { background: transparent; color: #2e321f; padding: 12px 10px; font-size: 11px; }
button:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #596040; }
.message { min-height: 1.4em; margin: 0; font-weight: 800; }
.message.error { text-decoration: underline; }
@media (max-width: 620px) {
.shell { margin-top: 24px; }
.grid-two, .range-row, .url-row { grid-template-columns: 1fr; }
.weekday-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.range-row .danger, .url-row .danger { justify-self: start; }
}
.field-manual {
margin-top: 34px;
padding: 18px;
border: 2px solid #6d7350;
background: rgba(255,255,255,0.2);
color: #3f442e;
font-size: 12px;
line-height: 1.6;
}
.field-manual strong {
display: block;
margin-bottom: 8px;
color: #2e321f;
letter-spacing: .09em;
}
.field-manual ol { margin: 0; padding-left: 22px; }
.field-manual li + li { margin-top: 5px; }
.safety-note {
margin-top: 36px;
padding-top: 16px;
border-top: 1px solid #6d7350;
color: #50563a;
font-size: 11px;
line-height: 1.55;
}
.safety-note strong {
display: block;
margin-bottom: 5px;
color: #383d29;
letter-spacing: .09em;
}
.safety-note p { margin: 0; max-width: 64ch; }
.safety-note a { color: inherit; text-underline-offset: 2px; }