-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.css
More file actions
246 lines (229 loc) · 7.95 KB
/
options.css
File metadata and controls
246 lines (229 loc) · 7.95 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
:root{
--bg: #0b0b0c;
--panel: #131316;
--panel-2: #1c1c20;
--text: #e9e9ea;
--muted: #b4b4b6;
--brand: #7f5af0;
--brand-2: #6a46e5;
--ok: #21c67a;
--warn: #f2a33c;
--err: #ff5d5d;
--border: #2a2a31;
--radius: 12px;
--shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 40px rgba(0,0,0,0.35);
--gap: 16px;
--gap-lg: 24px;
--maxw: 1400px;
--aside: 280px;
font-synthesis-weight: none;
}
*{ box-sizing: border-box; }
html,body{ height:100%; }
html{ color-scheme: dark; }
body{
margin:0;
font: 14px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
background: var(--bg);
color: var(--text);
}
/* App bar */
.appbar{
position: sticky;
top:0;
z-index:10;
display:flex;
align-items:center;
justify-content:space-between;
gap: 16px;
padding: 16px clamp(16px, 4vw, 32px);
background: linear-gradient(180deg, rgba(19,19,22,0.96), rgba(19,19,22,0.86));
border-bottom: 1px solid var(--border);
backdrop-filter: blur(6px);
}
.appbar__left{ display:flex; align-items:baseline; gap:12px; }
.appbar__title{ margin:0; font-size:18px; font-weight:650; letter-spacing:0.2px; }
.appbar__subtitle{ color:var(--muted); font-size:13px; }
.appbar__right{ display:flex; align-items:center; gap:12px; }
.progress-indicator{ color:var(--muted); background:var(--panel-2); border:1px solid var(--border); padding:6px 10px; border-radius:999px; }
.progress-indicator #progressCount{ color:var(--text); font-weight:600; }
/* Layout */
.layout{
width:100%;
max-width: var(--maxw);
margin: 0 auto;
display:grid;
grid-template-columns: minmax(240px, var(--aside)) 1fr;
gap: clamp(16px, 2.4vw, 28px);
padding: 20px clamp(16px, 4vw, 32px) 48px;
}
.sidenav{
position: sticky;
top: 72px;
align-self:start;
background: var(--panel);
border:1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 14px;
}
.sidenav nav{ display:flex; flex-direction:column; gap:6px; }
.sidenav__link{
display:block;
padding: 10px 12px;
border-radius: 8px;
color: var(--text);
text-decoration: none;
outline: none;
border: 1px solid transparent;
}
.sidenav__link:hover{ background: var(--panel-2); border-color: var(--border); }
.sidenav__meta{ margin-top:10px; color:var(--muted); font-size:12px; border-top:1px dashed var(--border); padding-top:10px; }
/* Content */
.content{ display:flex; flex-direction:column; gap: 20px; }
.card{
background: var(--panel);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
}
.card--sub{ background: var(--panel-2); }
.card__header{ padding: 16px 18px; border-bottom: 1px solid var(--border); }
.card__header--row{ display:block; padding: 10px 12px; border-bottom:1px solid var(--border); }
.card__body{ padding: 16px 18px; }
.muted{ color: var(--muted); }
/* Checklist */
.checklist{ list-style: none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.checklist__item{ display:flex; align-items:center; gap:10px; }
.checklist__item input{ transform: scale(1.15); }
/* Provider */
.provider{ display:flex; flex-direction:column; gap:12px; border:0; margin:0; padding:0; }
.provider__row{
display:grid;
grid-template-columns: 28px 1fr;
gap:12px;
padding: 12px;
border:1px solid var(--border);
border-radius: 12px;
background: var(--panel-2);
cursor:pointer;
}
.provider__row input{ margin-top: 4px; }
.provider__title{ font-weight:600; }
.provider__desc{ color:var(--muted); font-size: 13px; margin-top:2px; }
.provider__actions{ display:flex; align-items:center; gap:8px; margin-top:10px; }
.provider__grid{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items:end; }
.badge{ display:inline-block; background:#202027; border:1px solid var(--border); border-radius:999px; padding:4px 8px; color:var(--muted); font-size:12px; }
.badge--ok{ background: rgba(33,198,122,0.12); color:#a9f5d2; border-color: rgba(33,198,122,0.3); }
.badge--err{ background: rgba(255,93,93,0.12); color:#ffc2c2; border-color: rgba(255,93,93,0.3); }
/* Upload / parse area */
.u-flex{ display:flex; align-items:flex-start; }
.u-gap{ gap: 16px; }
.upload.drop{
flex:1;
min-height: 132px;
background: var(--panel-2);
border: 1px dashed var(--border);
border-radius: 12px;
display:grid;
place-items:center;
position:relative;
padding: 16px;
text-align:center;
}
.upload input[type=file]{
position:absolute; inset:0; opacity:0; cursor:pointer;
}
.drop__title{ font-weight:600; margin-bottom:4px; }
.drop__sub{ color:var(--muted); font-size:13px; }
.parse-actions{ width: 240px; display:flex; flex-direction:column; gap:10px; }
.divider{ border:0; border-top:1px solid var(--border); margin: 18px 0; }
/* Form */
.form-grid{ display:flex; flex-direction:column; gap: 18px; }
.form-grid__section{ border:1px solid var(--border); border-radius:12px; padding:12px; background: var(--panel-2); }
.form-grid__section legend{ padding: 0 6px; font-weight:600; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field__label{ color: var(--muted); font-size: 13px; }
.field__input{
width:100%;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid var(--border);
background: #131318;
color: var(--text);
}
.form-actions{ display:flex; justify-content:flex-end; gap:10px; padding-top: 6px; }
/* Responsive grid span utility */
.form-grid .span-12{ width:100%; }
@media (min-width: 900px){
.form-grid__section{
display:grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: 12px;
}
.span-6{ grid-column: span 6; }
.span-12{ grid-column: span 12; }
}
/* Gate */
.gate{
display:flex;
align-items:center;
justify-content:center;
min-height:180px;
border:1px dashed var(--border);
border-radius:12px;
background: repeating-linear-gradient( 45deg, rgba(127,90,240,0.08), rgba(127,90,240,0.08) 10px, transparent 10px, transparent 20px);
}
.gate__content{ text-align:center; display:grid; gap:8px; }
.hidden{ display:none !important; }
/* Controls */
.btn{
border: 1px solid var(--border);
background: #1a1a1f;
color: var(--text);
padding: 9px 12px;
border-radius: 10px;
cursor: pointer;
}
.btn:hover{ background: #1f1f25; }
.btn:disabled{ opacity:.6; cursor:not-allowed; }
.btn--primary{ background: var(--brand); border-color: var(--brand-2); color: #fff; }
.btn--primary:hover{ background: var(--brand-2); }
.btn--small{ padding: 7px 10px; font-size: 13px; }
.btn--link{ background: transparent; border-color: transparent; color: var(--brand); text-decoration: underline; padding: 0 4px; }
.switch{ display:flex; align-items:center; gap:10px; }
.switch input{ appearance:none; width:42px; height:24px; border-radius:999px; background:#24242a; border:1px solid var(--border); position:relative; }
.switch input:checked{ background: #2a2340; border-color: var(--brand); }
.switch input::after{ content:""; position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:50%; background:#eaeaf1; transition: transform .15s ease; }
.switch input:checked::after{ transform: translateX(18px); background:#fff; }
.switch__label{ color: var(--text); }
.radio, .check{ display:flex; align-items:center; gap:10px; }
/* Toasts */
.toasts{
position: fixed;
right: 16px;
top: 68px;
display: grid;
gap: 10px;
z-index: 100;
}
.toast{
background: #141418;
border: 1px solid var(--border);
border-left: 4px solid var(--brand);
color: var(--text);
border-radius: 10px;
padding: 10px 12px;
min-width: 260px;
box-shadow: var(--shadow);
}
.toast--ok{ border-left-color: var(--ok); }
.toast--err{ border-left-color: var(--err); }
.toast__close{ float:right; border:0; background:transparent; color:var(--muted); cursor:pointer; }
/* Utility */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* Mobile */
@media (max-width: 920px){
.layout{ grid-template-columns: 1fr; }
.sidenav{ position: static; order:2; }
}