active_analytics 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +53 -0
  4. data/Rakefile +18 -0
  5. data/app/assets/config/active_analytics_manifest.js +1 -0
  6. data/app/assets/javascripts/active_analytics/application.js +3 -0
  7. data/app/assets/javascripts/active_analytics/ariato.js +746 -0
  8. data/app/assets/stylesheets/active_analytics/application.css +33 -0
  9. data/app/assets/stylesheets/active_analytics/ariato.css +3548 -0
  10. data/app/assets/stylesheets/active_analytics/charts.css +2606 -0
  11. data/app/controllers/active_analytics/application_controller.rb +4 -0
  12. data/app/controllers/active_analytics/pages_controller.rb +22 -0
  13. data/app/controllers/active_analytics/referrers_controller.rb +18 -0
  14. data/app/controllers/active_analytics/sites_controller.rb +16 -0
  15. data/app/helpers/active_analytics/application_helper.rb +4 -0
  16. data/app/helpers/active_analytics/pages_helper.rb +15 -0
  17. data/app/helpers/active_analytics/referrers_helper.rb +4 -0
  18. data/app/helpers/active_analytics/sites_helper.rb +4 -0
  19. data/app/jobs/active_analytics/application_job.rb +4 -0
  20. data/app/mailers/active_analytics/application_mailer.rb +6 -0
  21. data/app/models/active_analytics/application_record.rb +5 -0
  22. data/app/models/active_analytics/views_per_day.rb +100 -0
  23. data/app/views/active_analytics/pages/_table.html.erb +21 -0
  24. data/app/views/active_analytics/pages/index.html.erb +12 -0
  25. data/app/views/active_analytics/pages/show.html.erb +23 -0
  26. data/app/views/active_analytics/referrers/_table.html.erb +14 -0
  27. data/app/views/active_analytics/referrers/index.html.erb +8 -0
  28. data/app/views/active_analytics/referrers/show.html.erb +14 -0
  29. data/app/views/active_analytics/sites/_histogram.html.erb +19 -0
  30. data/app/views/active_analytics/sites/index.html.erb +7 -0
  31. data/app/views/active_analytics/sites/show.html.erb +16 -0
  32. data/app/views/layouts/active_analytics/_footer.html.erb +6 -0
  33. data/app/views/layouts/active_analytics/_header.html.erb +25 -0
  34. data/app/views/layouts/active_analytics/application.html.erb +19 -0
  35. data/config/routes.rb +13 -0
  36. data/db/migrate/20210303094108_create_active_analytics_views_per_days.rb +20 -0
  37. data/lib/active_analytics.rb +22 -0
  38. data/lib/active_analytics/engine.rb +5 -0
  39. data/lib/active_analytics/version.rb +3 -0
  40. data/lib/tasks/active_analytics_tasks.rake +4 -0
  41. metadata +100 -0
@@ -0,0 +1,33 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
+ * files in this directory. Styles in this file should be added after the last require_* statement.
11
+ * It is generally better to create a new file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
16
+
17
+ body {
18
+ max-width: var(--screen-s);
19
+ margin: auto;
20
+ }
21
+
22
+ header {
23
+ padding-top: var(--space-4x);
24
+ }
25
+
26
+ main {
27
+ padding-top: var(--space-4x);
28
+ margin-bottom: var(--space-8x);
29
+ }
30
+
31
+ section {
32
+ margin-bottom: var(--space-4x);
33
+ }
@@ -0,0 +1,3548 @@
1
+ /*******************************************/
2
+ /* ariato css */
3
+ /* https://github.com/BaseSecrete/ariato */
4
+ /*******************************************/
5
+
6
+ /* design_tokens */
7
+
8
+ /* design_tokens/color.css */
9
+
10
+ :root,
11
+ .theme-light {
12
+ /* rgb values to be able to use like this: rgba(var(--color-grey-00), 0.5); */
13
+ --color-blue-00: 255,255,255;
14
+ --color-blue-20: 249,250,253;
15
+ --color-blue-35: 245,246,251;
16
+ --color-blue-50: 239,241,249;
17
+ --color-blue-100: 219,225,241;
18
+ --color-blue-200: 176,189,225;
19
+ --color-blue-300: 115,144,203;
20
+ --color-blue-400: 67,116,188;
21
+ --color-blue-500: 0,97,178;
22
+ --color-blue-600: 2,82,161;
23
+ --color-blue-700: 3,65,142;
24
+ --color-blue-800: 3,49,124;
25
+ --color-blue-900: 2,34,106;
26
+ --color-red-00: 255,255,255;
27
+ --color-red-20: 253,249,248;
28
+ --color-red-35: 252,245,244;
29
+ --color-red-50: 250,239,237;
30
+ --color-red-100: 243,219,215;
31
+ --color-red-200: 226,176,169;
32
+ --color-red-300: 200,122,112;
33
+ --color-red-400: 181,87,78;
34
+ --color-red-500: 166,61,54;
35
+ --color-red-600: 146,47,44;
36
+ --color-red-700: 125,35,35;
37
+ --color-red-800: 107,25,28;
38
+ --color-red-900: 89,15,21;
39
+ --color-green-00: 255,255,255;
40
+ --color-green-20: 248,250,248;
41
+ --color-green-35: 243,247,244;
42
+ --color-green-50: 236,243,237;
43
+ --color-green-100: 213,228,216;
44
+ --color-green-200: 164,197,170;
45
+ --color-green-300: 101,156,114;
46
+ --color-green-400: 55,129,78;
47
+ --color-green-500: 7,111,53;
48
+ --color-green-600: 6,95,43;
49
+ --color-green-700: 9,78,34;
50
+ --color-green-800: 10,63,27;
51
+ --color-green-900: 9,48,19;
52
+ --color-yellow-00: 255,255,255;
53
+ --color-yellow-20: 251,250,247;
54
+ --color-yellow-35: 248,246,242;
55
+ --color-yellow-50: 244,241,234;
56
+ --color-yellow-100: 231,224,208;
57
+ --color-yellow-200: 200,187,154;
58
+ --color-yellow-300: 162,144,90;
59
+ --color-yellow-400: 133,114,45;
60
+ --color-yellow-500: 113,95,7;
61
+ --color-yellow-600: 104,74,4;
62
+ --color-yellow-700: 94,54,10;
63
+ --color-yellow-800: 80,38,13;
64
+ --color-yellow-900: 63,24,12;
65
+ --color-cyan-500: 1,105,130;
66
+ --color-orange-500: 145,79,17;
67
+ --color-fushia-500: 148,64,135;
68
+ --color-purple-500: 99,83,167;
69
+ --color-grey-00: 255,255,255;
70
+ --color-grey-20: 249,250,250;
71
+ --color-grey-35: 246,246,247;
72
+ --color-grey-50: 240,241,243;
73
+ --color-grey-100: 223,224,228;
74
+ --color-grey-200: 185,188,195;
75
+ --color-grey-300: 139,145,156;
76
+ --color-grey-400: 108,116,130;
77
+ --color-grey-500: 88,96,112;
78
+ --color-grey-600: 71,78,94;
79
+ --color-grey-700: 55,61,76;
80
+ --color-grey-800: 41,46,60;
81
+ --color-grey-900: 28,32,45;
82
+ --color-black: 0,0.6353307795189879,20.78828237830061;
83
+
84
+ --color-bg: var(--color-grey-20);
85
+ --color-body: var(--color-grey-500);
86
+ }
87
+
88
+ .theme-dark {
89
+ /* dark theme */
90
+ --color-blue-00: 19,28,41;
91
+ --color-blue-20: 22,32,47;
92
+ --color-blue-35: 24,36,53;
93
+ --color-blue-50: 26,39,58;
94
+ --color-blue-100: 33,51,75;
95
+ --color-blue-200: 47,76,113;
96
+ --color-blue-300: 65,108,161;
97
+ --color-blue-400: 80,138,205;
98
+ --color-blue-500: 92,160,238;
99
+ --color-blue-600: 133,178,242;
100
+ --color-blue-700: 166,196,245;
101
+ --color-blue-800: 197,216,249;
102
+ --color-blue-900: 227,235,252;
103
+ --color-red-00: 40,23,20;
104
+ --color-red-20: 47,27,24;
105
+ --color-red-35: 52,29,26;
106
+ --color-red-50: 57,32,29;
107
+ --color-red-100: 74,42,37;
108
+ --color-red-200: 110,62,55;
109
+ --color-red-300: 156,87,78;
110
+ --color-red-400: 199,110,99;
111
+ --color-red-500: 231,127,115;
112
+ --color-red-600: 239,153,141;
113
+ --color-red-700: 246,178,169;
114
+ --color-red-800: 251,204,197;
115
+ --color-red-900: 254,229,226;
116
+ --color-green-00: 16,31,21;
117
+ --color-green-20: 19,35,24;
118
+ --color-green-35: 21,39,27;
119
+ --color-green-50: 23,43,29;
120
+ --color-green-100: 29,56,38;
121
+ --color-green-200: 42,83,56;
122
+ --color-green-300: 58,118,80;
123
+ --color-green-400: 72,150,101;
124
+ --color-green-500: 83,174,117;
125
+ --color-green-600: 120,191,143;
126
+ --color-green-700: 155,207,170;
127
+ --color-green-800: 188,223,198;
128
+ --color-green-900: 222,239,226;
129
+ --color-yellow-00: 32,27,12;
130
+ --color-yellow-20: 37,32,15;
131
+ --color-yellow-35: 40,35,17;
132
+ --color-yellow-50: 44,38,19;
133
+ --color-yellow-100: 57,50,25;
134
+ --color-yellow-200: 85,74,36;
135
+ --color-yellow-300: 121,105,50;
136
+ --color-yellow-400: 154,134,63;
137
+ --color-yellow-500: 178,155,72;
138
+ --color-yellow-600: 195,174,108;
139
+ --color-yellow-700: 212,194,144;
140
+ --color-yellow-800: 227,214,180;
141
+ --color-yellow-900: 241,234,217;
142
+
143
+ --color-orange-500: 211,141,84;
144
+ --color-purple-500: 164,144,225;
145
+ --color-fushia-500: 210,130,195;
146
+ --color-cyan-500: 1,173,195;
147
+
148
+ --color-grey-00: 19,28,41;
149
+ --color-grey-20: 24,32,45;
150
+ --color-grey-35: 27,36,49;
151
+ --color-grey-50: 30,39,53;
152
+ --color-grey-100: 42,51,65;
153
+ --color-grey-200: 67,75,90;
154
+ --color-grey-300: 98,107,123;
155
+ --color-grey-400: 127,135,152;
156
+ --color-grey-500: 148,157,174;
157
+ --color-grey-600: 169,176,190;
158
+ --color-grey-700: 190,195,206;
159
+ --color-grey-800: 211,215,222;
160
+ --color-grey-900: 233,235,238;
161
+ --color-black: 0,0,0;
162
+
163
+ --color-bg: var(--color-grey-20);
164
+ --color-body: var(--color-grey-500);
165
+ }
166
+
167
+ @media (prefers-color-scheme: dark) {
168
+ :root:not(.theme-light) {
169
+ /* dark theme */
170
+ --color-blue-00: 19,28,41;
171
+ --color-blue-20: 22,32,47;
172
+ --color-blue-35: 24,36,53;
173
+ --color-blue-50: 26,39,58;
174
+ --color-blue-100: 33,51,75;
175
+ --color-blue-200: 47,76,113;
176
+ --color-blue-300: 65,108,161;
177
+ --color-blue-400: 80,138,205;
178
+ --color-blue-500: 92,160,238;
179
+ --color-blue-600: 133,178,242;
180
+ --color-blue-700: 166,196,245;
181
+ --color-blue-800: 197,216,249;
182
+ --color-blue-900: 227,235,252;
183
+ --color-red-00: 40,23,20;
184
+ --color-red-20: 47,27,24;
185
+ --color-red-35: 52,29,26;
186
+ --color-red-50: 57,32,29;
187
+ --color-red-100: 74,42,37;
188
+ --color-red-200: 110,62,55;
189
+ --color-red-300: 156,87,78;
190
+ --color-red-400: 199,110,99;
191
+ --color-red-500: 231,127,115;
192
+ --color-red-600: 239,153,141;
193
+ --color-red-700: 246,178,169;
194
+ --color-red-800: 251,204,197;
195
+ --color-red-900: 254,229,226;
196
+ --color-green-00: 16,31,21;
197
+ --color-green-20: 19,35,24;
198
+ --color-green-35: 21,39,27;
199
+ --color-green-50: 23,43,29;
200
+ --color-green-100: 29,56,38;
201
+ --color-green-200: 42,83,56;
202
+ --color-green-300: 58,118,80;
203
+ --color-green-400: 72,150,101;
204
+ --color-green-500: 83,174,117;
205
+ --color-green-600: 120,191,143;
206
+ --color-green-700: 155,207,170;
207
+ --color-green-800: 188,223,198;
208
+ --color-green-900: 222,239,226;
209
+ --color-yellow-00: 32,27,12;
210
+ --color-yellow-20: 37,32,15;
211
+ --color-yellow-35: 40,35,17;
212
+ --color-yellow-50: 44,38,19;
213
+ --color-yellow-100: 57,50,25;
214
+ --color-yellow-200: 85,74,36;
215
+ --color-yellow-300: 121,105,50;
216
+ --color-yellow-400: 154,134,63;
217
+ --color-yellow-500: 178,155,72;
218
+ --color-yellow-600: 195,174,108;
219
+ --color-yellow-700: 212,194,144;
220
+ --color-yellow-800: 227,214,180;
221
+ --color-yellow-900: 241,234,217;
222
+
223
+ --color-orange-500: 211,141,84;
224
+ --color-purple-500: 164,144,225;
225
+ --color-fushia-500: 210,130,195;
226
+ --color-cyan-500: 1,173,195;
227
+
228
+ --color-grey-00: 19,28,41;
229
+ --color-grey-20: 24,32,45;
230
+ --color-grey-35: 27,36,49;
231
+ --color-grey-50: 30,39,53;
232
+ --color-grey-100: 42,51,65;
233
+ --color-grey-200: 67,75,90;
234
+ --color-grey-300: 98,107,123;
235
+ --color-grey-400: 127,135,152;
236
+ --color-grey-500: 148,157,174;
237
+ --color-grey-600: 169,176,190;
238
+ --color-grey-700: 190,195,206;
239
+ --color-grey-800: 211,215,222;
240
+ --color-grey-900: 233,235,238;
241
+ --color-black: 0,0,0;
242
+ }
243
+ }
244
+
245
+ body {
246
+ background: rgba(var(--color-bg), 1);
247
+ color: rgba(var(--color-body), 1);
248
+ }
249
+
250
+ :focus {
251
+ outline: 2px solid rgba(var(--color-blue-200), 1);
252
+ }
253
+
254
+ /* design_tokens/font.css */
255
+
256
+ :root {
257
+ --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
258
+ --font-serif: Athelas, Cambria, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
259
+ --font-mono: SF Mono, Menlo, Consolas, DejaVu Sans Mono, monospace;
260
+
261
+ --base-font-size: var(--space-2x);
262
+
263
+ /****************/
264
+ /* font-weight */
265
+
266
+ /*--font-weight-100: 100; */
267
+ /*--font-weight-200: 200; */
268
+ /*--font-weight-300: 300; */
269
+ --font-weight-400: 400;
270
+ /*--font-weight-500: 500; */
271
+ /*--font-weight-600: 600; */
272
+ --font-weight-700: 700;
273
+
274
+ /****************/
275
+ /* modular scale */
276
+
277
+ --ratio: 1.2;
278
+ --font-size-10: calc(var(--base-font-size) / var(--ratio) / var(--ratio) / var(--ratio) / var(--ratio)); /* -4 */
279
+ --font-size-20: calc(var(--base-font-size) / var(--ratio) / var(--ratio) / var(--ratio)); /* -3 */
280
+ --font-size-30: calc(var(--base-font-size) / var(--ratio) / var(--ratio)); /* -2 */
281
+ --font-size-40: calc(var(--base-font-size) / var(--ratio)); /* -1 */
282
+ --font-size-50: var(--base-font-size);
283
+ --font-size-60: calc(var(--base-font-size) * var(--ratio)); /* +1 */
284
+ --font-size-70: calc(var(--base-font-size) * var(--ratio) * var(--ratio)); /* +2 */
285
+ --font-size-80: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio)); /* +4 */
286
+ --font-size-90: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio)); /* +5 */
287
+ --font-size-100: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio)); /* +6 */
288
+ --font-size-110: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio)); /* +7 */
289
+ --font-size-120: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio)); /* +8 */
290
+ --font-size-130: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio)); /* +9 */
291
+ --font-size-140: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio)); /* +10 */
292
+ }
293
+
294
+ html,
295
+ body {
296
+ font-size: var(--base-font-size);
297
+ }
298
+
299
+ body {
300
+ font-family: var(--font-sans);
301
+ font-weight: var(--font-weight-400);
302
+ line-height: var(--space-3x);
303
+ }
304
+ /* design_tokens/gradient.css */
305
+
306
+ :root,
307
+ :root.theme-light {
308
+ --gradient-bottom-grey-40: linear-gradient(0deg, rgba(var(--color-grey-300), 1), rgba(var(--color-grey-400), 1));
309
+ --gradient-bottom-green-40: linear-gradient(0deg, rgba(var(--color-green-300), 1), rgba(var(--color-green-400), 1));
310
+
311
+ --gradient-top-grey-10: linear-gradient(180deg, rgba(var(--color-grey-35), 1), rgba(var(--color-grey-50), 1));
312
+ --gradient-top-grey-20: linear-gradient(180deg, rgba(var(--color-grey-50), 1), rgba(var(--color-grey-100), 1));
313
+ --gradient-top-grey-30: linear-gradient(180deg, rgba(var(--color-grey-100), 1), rgba(var(--color-grey-200), 1));
314
+
315
+ --gradient-top-grey-50: linear-gradient(180deg, rgba(var(--color-grey-500), 1), rgba(var(--color-grey-600), 1));
316
+ --gradient-top-grey-60: linear-gradient(180deg, rgba(var(--color-grey-600), 1), rgba(var(--color-grey-700), 1));
317
+ --gradient-top-grey-70: linear-gradient(180deg, rgba(var(--color-grey-700), 1), rgba(var(--color-grey-800), 1));
318
+ --gradient-top-grey-80: linear-gradient(180deg, rgba(var(--color-grey-800), 1), rgba(var(--color-grey-900), 1));
319
+
320
+ --gradient-top-primary-50: linear-gradient(180deg, rgba(var(--color-blue-500), 1), rgba(var(--color-blue-600), 1));
321
+ --gradient-top-primary-60: linear-gradient(180deg, rgba(var(--color-blue-600), 1), rgba(var(--color-blue-700), 1));
322
+ }
323
+
324
+ :root.theme-dark {
325
+ /* invert angle */
326
+ --gradient-bottom-grey-40: linear-gradient(0deg, rgba(var(--color-grey-400), 1), rgba(var(--color-grey-300), 1));
327
+ --gradient-bottom-green-40: linear-gradient(0deg, rgba(var(--color-green-400), 1), rgba(var(--color-green-300), 1));
328
+
329
+ --gradient-top-grey-10: linear-gradient(180deg, rgba(var(--color-grey-50), 1), rgba(var(--color-grey-35), 1));
330
+ --gradient-top-grey-20: linear-gradient(180deg, rgba(var(--color-grey-100), 1), rgba(var(--color-grey-50), 1));
331
+ --gradient-top-grey-30: linear-gradient(180deg, rgba(var(--color-grey-200), 1), rgba(var(--color-grey-100), 1));
332
+
333
+ --gradient-top-grey-50: linear-gradient(180deg, rgba(var(--color-grey-500), 1), rgba(var(--color-grey-400), 1));
334
+ --gradient-top-grey-60: linear-gradient(180deg, rgba(var(--color-grey-600), 1), rgba(var(--color-grey-500), 1));
335
+ --gradient-top-grey-70: linear-gradient(180deg, rgba(var(--color-grey-800), 1), rgba(var(--color-grey-700), 1));
336
+ --gradient-top-grey-80: linear-gradient(180deg, rgba(var(--color-grey-900), 1), rgba(var(--color-grey-800), 1));
337
+
338
+ --gradient-top-primary-50: linear-gradient(180deg, rgba(var(--color-blue-500), 1), rgba(var(--color-blue-400), 1));
339
+ --gradient-top-primary-60: linear-gradient(180deg, rgba(var(--color-blue-600), 1), rgba(var(--color-blue-500), 1));
340
+ }
341
+
342
+ @media (prefers-color-scheme: dark) {
343
+ :root:not(.theme-light) {
344
+ /* dark */
345
+ --gradient-bottom-grey-40: linear-gradient(0deg, rgba(var(--color-grey-400), 1), rgba(var(--color-grey-300), 1));
346
+ --gradient-bottom-green-40: linear-gradient(0deg, rgba(var(--color-green-400), 1), rgba(var(--color-green-300), 1));
347
+
348
+ --gradient-top-grey-10: linear-gradient(180deg, rgba(var(--color-grey-50), 1), rgba(var(--color-grey-35), 1));
349
+ --gradient-top-grey-20: linear-gradient(180deg, rgba(var(--color-grey-100), 1), rgba(var(--color-grey-50), 1));
350
+ --gradient-top-grey-30: linear-gradient(180deg, rgba(var(--color-grey-200), 1), rgba(var(--color-grey-100), 1));
351
+
352
+ --gradient-top-grey-50: linear-gradient(180deg, rgba(var(--color-grey-500), 1), rgba(var(--color-grey-400), 1));
353
+ --gradient-top-grey-60: linear-gradient(180deg, rgba(var(--color-grey-600), 1), rgba(var(--color-grey-500), 1));
354
+ --gradient-top-grey-70: linear-gradient(180deg, rgba(var(--color-grey-800), 1), rgba(var(--color-grey-700), 1));
355
+ --gradient-top-grey-80: linear-gradient(180deg, rgba(var(--color-grey-900), 1), rgba(var(--color-grey-800), 1));
356
+
357
+ --gradient-top-primary-50: linear-gradient(180deg, rgba(var(--color-blue-500), 1), rgba(var(--color-blue-400), 1));
358
+ --gradient-top-primary-60: linear-gradient(180deg, rgba(var(--color-blue-600), 1), rgba(var(--color-blue-500), 1));
359
+ }
360
+ }
361
+ /* design_tokens/shadow.css */
362
+
363
+ :root {
364
+ /* box-shadow */
365
+ --box-shadow-s:
366
+ 0 1px 1px 0 rgba(var(--color-black), 0.05),
367
+ 0 1px 2px 0 rgba(var(--color-black), 0.05);
368
+ --box-shadow-m:
369
+ 0 1px 1px 0 rgba(var(--color-black), 0.05),
370
+ 0 1px 2px 0 rgba(var(--color-black), 0.05),
371
+ 0 2px 4px -1px rgba(var(--color-black), 0.05),
372
+ 0 4px 8px -2px rgba(var(--color-black), 0.05);
373
+ --box-shadow-l:
374
+ 0 0px 2px 0 rgba(var(--color-black), 0.05),
375
+ 0 1px 2px 0 rgba(var(--color-black), 0.05),
376
+ 0 2px 4px -1px rgba(var(--color-black), 0.05),
377
+ 0 4px 8px -2px rgba(var(--color-black), 0.05),
378
+ 0 8px 16px -4px rgba(var(--color-black), 0.05),
379
+ 0 16px 32px -8px rgba(var(--color-black), 0.05);
380
+
381
+ /* inset box shadow */
382
+ --box-inset-shadow-s: 0 1px 1px 0 rgba(var(--color-black), 0.05) inset;
383
+ --box-inset-shadow-m: 0 1px 1px 0px rgba(var(--color-black), 0.05) inset,
384
+ 0 2px 2px 1px rgba(var(--color-black), 0.05) inset;
385
+ --box-inset-shadow-l: 0 1px 1px 0px rgba(var(--color-black), 0.05) inset,
386
+ 0 2px 2px 1px rgba(var(--color-black), 0.05) inset,
387
+ 0 2px 8px 2px rgba(var(--color-black), 0.05) inset;
388
+
389
+ /* text shadow */
390
+ --text-shadow-s: 0 1px 1px rgba(var(--color-black), 0.05);
391
+ --text-shadow-m: 0 1px 1px rgba(var(--color-black), 0.05),
392
+ 0 2px 2px rgba(var(--color-black), 0.05);
393
+ --text-shadow-l: 0 1px 1px rgba(var(--color-black), 0.05),
394
+ 0 2px 2px rgba(var(--color-black), 0.05),
395
+ 0 4px 4px rgba(var(--color-black), 0.05);
396
+ }
397
+ /* design_tokens/shape.css */
398
+
399
+ :root {
400
+ /* border radius */
401
+ --border-radius-s: calc(var(--space) * 0.25);
402
+ --border-radius-m: var(--space-1-2);
403
+ --border-radius-l: calc(var(--space) * 1);
404
+
405
+ /* aspect ratio */
406
+ }
407
+ /* design_tokens/space.css */
408
+
409
+ *,
410
+ *::before,
411
+ *::after {
412
+ box-sizing: border-box;
413
+ }
414
+
415
+ :root {
416
+ --space: 0.5rem;
417
+ /* divided */
418
+ --space-1-4: calc(var(--space) / 4);
419
+ --space-1-2: calc(var(--space) / 2);
420
+ /* multiple */
421
+ --space-2x: calc(var(--space) * 2);
422
+ --space-3x: calc(var(--space) * 3);
423
+ --space-4x: calc(var(--space) * 4);
424
+ --space-5x: calc(var(--space) * 5);
425
+ --space-6x: calc(var(--space) * 6);
426
+ --space-7x: calc(var(--space) * 7);
427
+ --space-8x: calc(var(--space) * 8);
428
+ --space-9x: calc(var(--space) * 9);
429
+ --space-10x: calc(var(--space) * 10);
430
+ --space-11x: calc(var(--space) * 11);
431
+ --space-12x: calc(var(--space) * 12);
432
+ --space-13x: calc(var(--space) * 13);
433
+ --space-14x: calc(var(--space) * 14);
434
+
435
+ --screen-s: 900px;
436
+ --screen-m: 1200px;
437
+ --screen-l: 1400px;
438
+ }
439
+
440
+ .is-flowing > * + * {
441
+ margin-top: var(--space-3x);
442
+ }
443
+ /* design_tokens/motion.css */
444
+
445
+ html:focus-within {
446
+ scroll-behavior: smooth;
447
+ }
448
+
449
+ /* force reduced motion if preference is set */
450
+
451
+ @media (prefers-reduced-motion: reduce) {
452
+ *, ::before, ::after {
453
+ animation-delay: -1ms !important;
454
+ animation-duration: 1ms !important;
455
+ animation-iteration-count: 1 !important;
456
+ background-attachment: initial !important;
457
+ scroll-behavior: auto !important;
458
+ transition-duration: 0s !important;
459
+ transition-delay: 0s !important;
460
+ }
461
+ }
462
+
463
+ /* elements */
464
+
465
+ /* text selection */
466
+ ::-moz-selection {
467
+ background: rgba(var(--color-blue-100), 1);
468
+ text-shadow: none;
469
+ }
470
+
471
+ ::selection {
472
+ background: rgba(var(--color-blue-100), 1);
473
+ text-shadow: none;
474
+ }
475
+
476
+ /* paragraphs */
477
+
478
+ p {
479
+ margin: 0;
480
+ padding: calc(var(--space) - 2px) 0 calc(var(--space-2x) + 2px); /* adjust baseline */
481
+ }
482
+
483
+ p.is-large {
484
+ font-size: var(--font-size-70);
485
+ line-height: var(--space-4x);
486
+ padding: var(--space) 0 var(--space-2x); /* adjust baseline */
487
+ }
488
+
489
+ p + :not(p) {
490
+ margin-top: var(--space-3x);
491
+ }
492
+
493
+ /* headings */
494
+
495
+ h1,
496
+ .is-h1 {
497
+ /* box */
498
+ display: inline-block;
499
+ margin: 0;
500
+ padding: calc(var(--space-2x) + 2px) 0 calc(var(--space) - 2px);
501
+
502
+ /* type */
503
+ color: rgba(var(--color-grey-700), 1);
504
+ font-size: var(--font-size-110);
505
+ font-weight: 700;
506
+ letter-spacing: -0.05rem;
507
+ line-height: var(--space-7x);
508
+ text-transform: none;
509
+ }
510
+
511
+ h2,
512
+ .is-h2 {
513
+ margin: 0;
514
+ padding: calc(var(--space) + 1px) 0 calc(var(--space-2x) - 1px);
515
+
516
+ /* type */
517
+ color: rgba(var(--color-grey-700), 1);
518
+ font-size: var(--font-size-100);
519
+ font-weight: 700;
520
+ letter-spacing: -0.05rem;
521
+ line-height: var(--space-6x);
522
+ text-transform: none;
523
+ }
524
+
525
+ * + h2,
526
+ * + .is-h2 {
527
+ margin-top: var(--space-3x);
528
+ }
529
+
530
+ h3,
531
+ .is-h3 {
532
+ margin: 0;
533
+ padding: calc(var(--space) - 3px) 0 calc(var(--space-2x) + 3px);
534
+
535
+ /* type */
536
+ color: rgba(var(--color-grey-700), 1);
537
+ font-size: var(--font-size-60);
538
+ font-weight: 700;
539
+ letter-spacing: 0;
540
+ line-height: var(--space-3x);
541
+ text-transform: none;
542
+
543
+ }
544
+
545
+ h4,
546
+ .is-h4 {
547
+ margin: 0;
548
+ padding: calc(var(--space) - 1px) 0 calc(var(--space-2x) + 1px);
549
+
550
+ /* type */
551
+ color: rgba(var(--color-grey-700), 1);
552
+ font-size: var(--font-size-40);
553
+ letter-spacing: 0.1rem;
554
+ line-height: var(--space-3x);
555
+ text-transform: uppercase;
556
+ }
557
+
558
+ h4 + p { margin-top: -24px; }
559
+
560
+ strong {
561
+ color: rgba(var(--color-grey-700), 1);
562
+ font-weight: inherit;
563
+ }
564
+
565
+ small {
566
+ font-size: var(--font-size-30);
567
+ font-weight: 400;
568
+ text-transform: none;
569
+ color: rgba(var(--color-grey-400), 1);
570
+ }
571
+
572
+ hr {
573
+ height: var(--space-3x);
574
+ margin: 0;
575
+ padding: var(--space-3x) 0 calc(var(--space-3x) - 1px);
576
+
577
+ /* type */
578
+ background: transparent;
579
+ border: 0;
580
+ box-shadow: 0 -1px 0 0 rgba(var(--color-grey-50), 1);
581
+ }
582
+
583
+ blockquote {
584
+ margin: 0;
585
+ padding: var(--space-2x) 0 var(--space) calc(var(--space-2x) + 2px);
586
+ border-left: calc(var(--space) / 2) solid rgba(var(--color-grey-100), 1);
587
+
588
+ /* type */
589
+ color: rgba(var(--color-grey-500), 1);
590
+ font-family: var(--font-serif);
591
+ font-size: var(--font-size-80);
592
+ font-style: italic;
593
+ line-height: var(--space-4x);
594
+ }
595
+
596
+ blockquote q,
597
+ blockquote p {
598
+ display: block;
599
+ color: rgba(var(--color-red-500), 1);
600
+ }
601
+
602
+ blockquote + * {
603
+ margin-top: var(--space-3x);
604
+ }
605
+
606
+ blockquote * + * {
607
+ margin-top: var(--space-3x);
608
+ }
609
+
610
+ cite {
611
+ position: relative;
612
+ display: inline-block;
613
+ margin: 0;
614
+ top: 0;
615
+ font-size: var(--font-size-50);
616
+ font-style: normal;
617
+ line-height: 0;
618
+ }
619
+
620
+ sub,
621
+ sup {
622
+ line-height: 0; /* prevent line height shift */
623
+ }
624
+
625
+ kbd {
626
+ padding: 0 var(--space-1-2);
627
+ background-color: rgba(var(--color-grey-50), 1);
628
+ box-shadow:
629
+ 0 0 0 1px rgba(var(--color-grey-300), 1),
630
+ var(--box-shadow-m);
631
+ border-radius: var(--space-1-2);
632
+
633
+ /* type */
634
+ color: rgba(var(--color-grey-700), 1);
635
+ font-size: var(--font-size-40);
636
+ line-height: var(--space-3x);
637
+ white-space: nowrap;
638
+ text-transform: uppercase;
639
+ font-family: var(--font-mono);
640
+ font-weight: 700;
641
+ }
642
+
643
+ q {
644
+ font-style: italic;
645
+ }
646
+
647
+ cite {
648
+ font-weight: var(--font-weight-700);
649
+ font-style: normal;
650
+ }
651
+
652
+ p code,
653
+ p kbd,
654
+ p samp,
655
+ p small {
656
+ line-height: 0;
657
+ }
658
+
659
+ mark {
660
+ background-color: rgba(var(--color-yellow-200), 1);
661
+ color: rgba(var(--color-yellow-600), 1);
662
+ }
663
+
664
+ details {
665
+ display: block;
666
+ background: rgba(var(--color-grey-35), 1);
667
+ box-shadow: 0 0 0 1px rgba(var(--color-grey-50), 1) inset,
668
+ var(--box-shadow-s);
669
+ border-radius: var(--border-radius-m, 0);
670
+ color: rgba(var(--color-grey-700), 1);
671
+ }
672
+
673
+ summary {
674
+ outline: 0 none;
675
+ padding: 6px var(--space-2x) 10px;
676
+ cursor: pointer;
677
+
678
+ &:focus {
679
+ outline: 0 none;
680
+ border: 0;
681
+ }
682
+ }
683
+
684
+ details p {
685
+ margin-top: calc(var(--space) * 1);
686
+ padding: 6px var(--space-2x) 18px;
687
+ }
688
+
689
+ p + details {
690
+ margin-top: var(--space-3x);
691
+ }
692
+ /**** BUTTONS *****/
693
+
694
+ button,
695
+ input[type="submit"],
696
+ input[type="button"],
697
+ input[type="reset"],
698
+ [role="button"],
699
+ :any-link[role="button"] {
700
+ /* Display */
701
+ display: inline-flex;
702
+ width: auto;
703
+ cursor: pointer;
704
+ align-items: center;
705
+ justify-content: center;
706
+ align-self: start;
707
+ transition: 0.2s all ease-in-out;
708
+
709
+ /* shape */
710
+ background-color: transparent;
711
+ min-height: var(--space-5x);
712
+ margin: 0;
713
+ padding: var(--space) calc(var(--space) * 2);
714
+
715
+ /* border */
716
+ border: none;
717
+ border-radius: var(--border-radius-s, 0); /* defined in design_tokens/shape.scss */
718
+ box-shadow: 0 0 0 1px rgba(var(--color-grey-200), 1) inset,
719
+ var(--box-shadow-s);
720
+ outline: 0;
721
+
722
+ /* text */
723
+ color: rgba(var(--color-grey-700), 1);
724
+ font: inherit;
725
+ font-family: inherit;
726
+ font-size: var(--font-size-40);
727
+ font-weight: 700;
728
+ letter-spacing: 0.05rem;
729
+ line-height: var(--space-3x);
730
+ text-align: center;
731
+ text-decoration: none;
732
+ text-transform: uppercase;
733
+ text-shadow: var(--text-shadow-s);
734
+ }
735
+
736
+ button:hover,
737
+ input[type="submit"]:hover,
738
+ input[type="button"]:hover,
739
+ input[type="reset"]:hover,
740
+ [role="button"]:hover,
741
+ :any-link[role="button"]:hover,
742
+ button:active,
743
+ input[type="submit"]:active,
744
+ input[type="button"]:active,
745
+ input[type="reset"]:active,
746
+ [role="button"]:active,
747
+ :any-link[role="button"]:active {
748
+ color: rgba(var(--color-grey-800), 1);
749
+ box-shadow: 0 0 0 1px rgba(var(--color-grey-300), 1) inset,
750
+ var(--box-shadow-s);
751
+ }
752
+
753
+ button:focus,
754
+ input[type="submit"]:focus,
755
+ input[type="button"]:focus,
756
+ input[type="reset"]:focus,
757
+ [role="button"]:focus,
758
+ :any-link[role="button"]:focus {
759
+ outline: 2px solid rgba(var(--color-blue-200), 1);
760
+ border: 0;
761
+ color: rgba(var(--color-grey-900), 1);
762
+ z-index: 1;
763
+ }
764
+
765
+ button:focus:focus:not(:focus-visible),
766
+ input[type="submit"]:focus:focus:not(:focus-visible),
767
+ input[type="button"]:focus:focus:not(:focus-visible),
768
+ input[type="reset"]:focus:focus:not(:focus-visible),
769
+ [role="button"]:focus:focus:not(:focus-visible),
770
+ :any-link[role="button"]:focus:focus:not(:focus-visible) {
771
+ outline: none;
772
+ }
773
+
774
+ /* button elements */
775
+ button * + *,
776
+ button[type="reset"] * + *,
777
+ input[type="submit"] * + *,
778
+ input[type="button"] * + *,
779
+ input[type="reset"] * + *,
780
+ [role="button"] * + *,
781
+ :any-link[role="button"] * + * {
782
+ margin: 0 0 0 var(--space);
783
+ }
784
+
785
+ /* button icon */
786
+ button svg,
787
+ input[type="submit"] svg,
788
+ input[type="button"] svg,
789
+ input[type="reset"] svg,
790
+ [role="button"] svg,
791
+ :any-link[role="button"] svg {
792
+ height: calc(var(--space) * 2);
793
+ width: calc(var(--space) * 2);
794
+ display: inline-block;
795
+ fill: none;
796
+ stroke: currentColor;
797
+ stroke-width: 2;
798
+ stroke-linecap: round;
799
+ stroke-linejoin: round;
800
+ }
801
+
802
+ /* MODIFIERS */
803
+
804
+ /* ARIA STATES */
805
+
806
+ /* toggle */
807
+
808
+ button[aria-pressed="true"],
809
+ button[type="reset"][aria-pressed="true"],
810
+ input[type="submit"][aria-pressed="true"],
811
+ input[type="button"][aria-pressed="true"],
812
+ input[type="reset"][aria-pressed="true"],
813
+ [role="button"][aria-pressed="true"],
814
+ :any-link[role="button"][aria-pressed="true"] {
815
+ background: rgba(var(--color-grey-100), 1);
816
+ color: rgba(var(--color-blue-600), 1);
817
+ box-shadow: 0 0 0 1px rgba(var(--color-grey-200), 1) inset,
818
+ var(--box-inset-shadow-m);
819
+ }
820
+
821
+ /* menubutton */
822
+ button[aria-expanded="true"],
823
+ button[type="reset"][aria-expanded="true"],
824
+ input[type="submit"][aria-expanded="true"],
825
+ input[type="button"][aria-expanded="true"],
826
+ input[type="reset"][aria-expanded="true"],
827
+ [role="button"][aria-expanded="true"],
828
+ :any-link[role="button"][aria-expanded="true"] {
829
+ background: rgba(var(--color-grey-100), 1);
830
+ color: rgba(var(--color-grey-600), 1);
831
+ box-shadow: 0 0 0 1px rgba(var(--color-grey-200), 1) inset,
832
+ var(--box-inset-shadow-m);
833
+ }
834
+
835
+ /* DISPLAY MODIFIERS */
836
+
837
+ button.is-block,
838
+ button[type="reset"].is-block,
839
+ input[type="submit"].is-block,
840
+ input[type="button"].is-block,
841
+ input[type="reset"].is-block,
842
+ [role="button"].is-block,
843
+ :any-link[role="button"].is-block {
844
+ width: 100%;
845
+ }
846
+
847
+ /* STYLE MODIFIERS */
848
+
849
+ /* strong: higher contrast */
850
+ button.is-strong,
851
+ button[type="reset"].is-strong,
852
+ input[type="submit"].is-strong,
853
+ input[type="button"].is-strong,
854
+ input[type="reset"].is-strong,
855
+ [role="button"].is-strong,
856
+ :any-link[role="button"].is-strong {
857
+ background: rgba(var(--color-grey-700), 1);
858
+ background: var(--gradient-top-grey-50);
859
+ color: rgba(var(--color-bg), 1);
860
+ box-shadow:
861
+ 0 -1px 1px 0 rgba(var(--color-black), 0.04) inset,
862
+ 0 1px 1px 0 rgba(255,255,255, .04) inset,
863
+ var(--box-shadow-m);
864
+ }
865
+
866
+ button.is-strong:hover,
867
+ button[type="reset"].is-strong:hover,
868
+ input[type="submit"].is-strong:hover,
869
+ input[type="button"].is-strong:hover,
870
+ input[type="reset"].is-strong:hover,
871
+ [role="button"].is-strong:hover,
872
+ :any-link[role="button"].is-strong:hover,
873
+ button.is-strong:active,
874
+ button[type="reset"].is-strong:active,
875
+ input[type="submit"].is-strong:active,
876
+ input[type="button"].is-strong:active,
877
+ input[type="reset"].is-strong:active,
878
+ [role="button"].is-strong:active {
879
+ background: rgba(var(--color-grey-800), 1);
880
+ background: var(--gradient-top-grey-60);
881
+ color: rgba(var(--color-bg), 1);
882
+ box-shadow: 0 -1px 1px 0 rgba(var(--color-black), 0.04) inset,
883
+ 0 1px 1px 0 rgba(255,255,255, .04) inset,
884
+ var(--box-shadow-m);
885
+ }
886
+
887
+ button.is-strong:focus,
888
+ button[type="reset"].is-strong:focus,
889
+ input[type="submit"].is-strong:focus,
890
+ input[type="button"].is-strong:focus,
891
+ input[type="reset"].is-strong:focus,
892
+ [role="button"].is-strong:focus,
893
+ :any-link[role="button"].is-strong:focus {
894
+ color: rgba(var(--color-bg), 1);
895
+ }
896
+
897
+ /* reset style */
898
+
899
+ button[type="reset"],
900
+ input[type="reset"],
901
+ button.is-reset,
902
+ input[type="submit"].is-reset,
903
+ input[type="button"].is-reset,
904
+ [role="button"].is-reset,
905
+ :any-link[role="button"].is-reset {
906
+ color: rgba(var(--color-red-500), 1);
907
+ }
908
+
909
+ button[type="reset"]:hover,
910
+ input[type="reset"]:hover,
911
+ button[type="reset"]:hover,
912
+ input[type="reset"]:hover,
913
+ button.is-reset:hover,
914
+ input[type="submit"].is-reset:hover,
915
+ input[type="button"].is-reset:hover,
916
+ [role="button"].is-reset:hover,
917
+ :any-link[role="button"].is-reset:hover,
918
+ button[type="reset"]:active,
919
+ input[type="reset"]:active,
920
+ button.is-reset:active,
921
+ input[type="submit"].is-reset:active,
922
+ input[type="button"].is-reset:active,
923
+ [role="button"].is-reset:active,
924
+ :any-link[role="button"].is-reset:active {
925
+ background: rgba(var(--color-red-500), 1);
926
+ color: rgba(var(--color-red-20), 1);
927
+
928
+ box-shadow: 0 0 0 1px rgba(var(--color-red-600), 1) inset,
929
+ var(--box-shadow-s);
930
+ }
931
+
932
+ button[type="reset"]:focus,
933
+ input[type="reset"]:focus,
934
+ button.is-reset:focus,
935
+ input[type="submit"].is-reset:focus,
936
+ input[type="button"].is-reset:focus,
937
+ [role="button"].is-reset:focus,
938
+ :any-link[role="button"].is-reset:focus {
939
+ background: rgba(var(--color-red-500), 1);
940
+ color: rgba(var(--color-red-20), 1);
941
+ outline: 2px solid rgba(var(--color-red-200), 1);
942
+ }
943
+
944
+ /* link style */
945
+ button.is-link,
946
+ button[type="reset"].is-link,
947
+ input[type="submit"].is-link,
948
+ input[type="button"].is-link,
949
+ input[type="reset"].is-link,
950
+ [role="button"].is-link,
951
+ :any-link[role="button"].is-link {
952
+ background: transparent;
953
+ color: rgba(var(--color-grey-500), 1);
954
+ text-decoration: underline;
955
+ border-color: transparent;
956
+ box-shadow: none !important;
957
+ }
958
+
959
+ button.is-link:hover,
960
+ button[type="reset"].is-link:hover,
961
+ input[type="submit"].is-link:hover,
962
+ input[type="button"].is-link:hover,
963
+ input[type="reset"].is-link:hover,
964
+ [role="button"].is-link:hover,
965
+ :any-link[role="button"].is-link:hover,
966
+ button.is-link:active,
967
+ button[type="reset"].is-link:active,
968
+ input[type="submit"].is-link:active,
969
+ input[type="button"].is-link:active,
970
+ input[type="reset"].is-link:active,
971
+ [role="button"].is-link:active,
972
+ :any-link[role="button"].is-link:active {
973
+ background: transparent;
974
+ color: rgba(var(--color-grey-700), 1);
975
+ box-shadow: none;
976
+ }
977
+
978
+ button.is-link:focus,
979
+ button[type="reset"].is-link:focus,
980
+ input[type="submit"].is-link:focus,
981
+ input[type="button"].is-link:focus,
982
+ input[type="reset"].is-link:focus,
983
+ [role="button"].is-link:focus,
984
+ :any-link[role="button"].is-link:focus {
985
+ color: rgba(var(--color-grey-700), 1);
986
+ }
987
+
988
+ /* SIZE MODIFIERS */
989
+
990
+ /* small button */
991
+ button.is-small,
992
+ button[type="reset"].is-small,
993
+ input[type="submit"].is-small,
994
+ input[type="button"].is-small,
995
+ input[type="reset"].is-small,
996
+ [role="button"].is-small,
997
+ :any-link[role="button"].is-small {
998
+ border-radius: var(--border-radius-s);
999
+ font-size: var(--font-size-30);
1000
+ line-height: var(--space-3x);
1001
+ min-height: var(--space-3x);
1002
+ padding: 0 calc(var(--space) * 1.5);
1003
+ }
1004
+
1005
+ button.is-small svg,
1006
+ button[type="reset"].is-small svg,
1007
+ input[type="submit"].is-small svg,
1008
+ input[type="button"].is-small svg,
1009
+ input[type="reset"].is-small svg,
1010
+ [role="button"].is-small svg,
1011
+ :any-link[role="button"].is-small svg {
1012
+ height: var(--space);
1013
+ width: var(--space);
1014
+ }
1015
+
1016
+ /* large button */
1017
+ button.is-large,
1018
+ button[type="reset"].is-large,
1019
+ input[type="submit"].is-large,
1020
+ input[type="button"].is-large,
1021
+ input[type="reset"].is-large,
1022
+ [role="button"].is-large,
1023
+ :any-link[role="button"].is-large {
1024
+ border-radius: var(--border-radius-m);
1025
+ font-size: var(--font-size-50);
1026
+ line-height: calc(var(--space) * 6);
1027
+ min-height: calc(var(--space) * 8);
1028
+ padding: var(--space) calc(var(--space) * 3);
1029
+ }
1030
+
1031
+ button.is-large * + *,
1032
+ button[type="reset"].is-large * + *,
1033
+ input[type="submit"].is-large * + *,
1034
+ input[type="button"].is-large * + *,
1035
+ input[type="reset"].is-large * + *,
1036
+ [role="button"].is-large * + *,
1037
+ :any-link[role="button"].is-large * + * {
1038
+ margin-left: var(--space-2x);
1039
+ }
1040
+
1041
+ button.is-large svg,
1042
+ button[type="reset"].is-large svg,
1043
+ input[type="submit"].is-large svg,
1044
+ input[type="button"].is-large svg,
1045
+ input[type="reset"].is-large svg,
1046
+ [role="button"].is-large svg,
1047
+ :any-link[role="button"].is-large svg {
1048
+ height: var(--space-3x);
1049
+ width: var(--space-3x);
1050
+ }
1051
+
1052
+ /* ICONS */
1053
+
1054
+ /* icon alone */
1055
+ button.is-icon svg,
1056
+ button[type="reset"].is-icon svg,
1057
+ input[type="submit"].is-icon svg,
1058
+ input[type="button"].is-icon svg,
1059
+ input[type="reset"].is-icon svg,
1060
+ [role="button"].is-icon svg,
1061
+ :any-link[role="button"].is-icon svg {
1062
+ margin: var(--space-1-2) calc(var(--space) * -0.5);
1063
+ }
1064
+
1065
+ button.is-icon.is-small svg,
1066
+ button[type="reset"].is-icon.is-small svg,
1067
+ input[type="submit"].is-icon.is-small svg,
1068
+ input[type="button"].is-icon.is-small svg,
1069
+ input[type="reset"].is-icon.is-small svg,
1070
+ [role="button"].is-icon.is-smallsvg,
1071
+ :any-link[role="button"].is-icon.is-small svg {
1072
+ margin: 0 calc(var(--space) * -1);
1073
+ }
1074
+
1075
+ button.is-icon.is-large svg,
1076
+ button[type="reset"].is-icon.is-large svg,
1077
+ input[type="submit"].is-icon.is-large svg,
1078
+ input[type="button"].is-icon.is-large svg,
1079
+ input[type="reset"].is-icon.is-large svg,
1080
+ [role="button"].is-icon.is-large svg,
1081
+ :any-link[role="button"].is-icon.is-large svg {
1082
+ margin: 0 calc(var(--space) * -0.5);
1083
+ }
1084
+
1085
+ @media screen and (-ms-high-contrast: active) {
1086
+ button,
1087
+ input[type="submit"],
1088
+ input[type="button"],
1089
+ input[type="reset"],
1090
+ [role="button"],
1091
+ :any-link[role="button"] {
1092
+ border: 2px solid currentcolor;
1093
+ }
1094
+ }
1095
+
1096
+ code,
1097
+ pre {
1098
+ font-family: var(--font-mono);
1099
+ color: rgba(var(--color-grey-500), 1);
1100
+ font-size: inherit;
1101
+ line-height: inherit;
1102
+ overflow-y: auto;
1103
+ word-wrap: normal;
1104
+ white-space: pre-wrap;
1105
+ word-spacing: normal;
1106
+ word-break: normal;
1107
+ margin: 0;
1108
+ }
1109
+
1110
+ code {
1111
+ background: rgba(var(--color-grey-50), 1);
1112
+ }
1113
+
1114
+ pre {
1115
+ padding: calc(var(--space) * 1 - 1px) 0 calc(var(--space) * 2 + 1px);
1116
+ }
1117
+
1118
+ pre p {
1119
+ padding: 0 0 var(--space-3x);
1120
+ font-family: inherit;
1121
+ font-size: inherit;
1122
+ }
1123
+
1124
+
1125
+ /* PRISM OVERWRITE */
1126
+
1127
+ /**
1128
+ * prism.js default theme for JavaScript, CSS and HTML
1129
+ * Based on dabblet (http://dabblet.com)
1130
+ * @author Lea Verou
1131
+ */
1132
+
1133
+ code[class*="language-"],
1134
+ pre[class*="language-"] {
1135
+ color: rgba(var(--color-grey-500), 1);
1136
+ background: rgba(var(--color-grey-50), 1);
1137
+ text-shadow: none;
1138
+ font-family: var(--font-mono);
1139
+ font-size: 1rem;
1140
+ line-height: inherit;
1141
+ text-align: left;
1142
+ white-space: wrap;
1143
+ word-spacing: normal;
1144
+ word-wrap: normal;
1145
+ word-break: break-word;
1146
+ overflow: hidden;
1147
+ -moz-tab-size: 4;
1148
+ -o-tab-size: 4;
1149
+ tab-size: 4;
1150
+ -webkit-hyphens: none;
1151
+ -moz-hyphens: none;
1152
+ -ms-hyphens: none;
1153
+ hyphens: none;
1154
+ }
1155
+
1156
+ pre[class*="language-"]::-moz-selection,
1157
+ pre[class*="language-"] ::-moz-selection,
1158
+ code[class*="language-"]::-moz-selection,
1159
+ code[class*="language-"] ::-moz-selection {
1160
+ text-shadow: none;
1161
+ background: rgba(var(--color-blue-100), 1);
1162
+ }
1163
+
1164
+ pre[class*="language-"]::selection,
1165
+ pre[class*="language-"] ::selection,
1166
+ code[class*="language-"]::selection,
1167
+ code[class*="language-"] ::selection {
1168
+ text-shadow: none;
1169
+ background: rgba(var(--color-blue-100), 1);
1170
+ }
1171
+
1172
+ @media print {
1173
+ code[class*="language-"],
1174
+ pre[class*="language-"] {
1175
+ text-shadow: none;
1176
+ }
1177
+ }
1178
+
1179
+ /* Code blocks */
1180
+ pre[class*="language-"] {
1181
+ padding: calc(var(--space) * 1 - 1px) 0 calc(var(--space) * 2 + 1px);
1182
+ margin: 0;
1183
+ overflow: auto;
1184
+ }
1185
+
1186
+ :not(pre) > code[class*="language-"],
1187
+ pre[class*="language-"] {
1188
+ background: rgba(var(--color-grey-50), 1);
1189
+ padding: var(--space-3x);
1190
+ }
1191
+
1192
+ /* Inline code */
1193
+ :not(pre) > code[class*="language-"] {
1194
+ padding: 0 var(--space-1-2, 0);
1195
+ border-radius: var(--border-radius-m, 0);
1196
+ white-space: normal;
1197
+ }
1198
+
1199
+ .token.comment,
1200
+ .token.prolog,
1201
+ .token.doctype,
1202
+ .token.cdata {
1203
+ color: rgba(var(--color-grey-300), 1);
1204
+ font-style: italic;
1205
+ opacity: 1;
1206
+ }
1207
+
1208
+ .token.punctuation {
1209
+ color: rgba(var(--color-grey-400), 1);
1210
+ }
1211
+
1212
+ .token.namespace {
1213
+ opacity: .7;
1214
+ }
1215
+
1216
+ .token.property,
1217
+ .token.tag,
1218
+ .token.boolean,
1219
+ .token.number,
1220
+ .token.constant,
1221
+ .token.symbol,
1222
+ .token.deleted {
1223
+ color: rgba(var(--color-red-500), 1);
1224
+ }
1225
+
1226
+ .token.constant {
1227
+ color: rgba(var(--color-yellow-500), 1);
1228
+ }
1229
+
1230
+ .token.selector,
1231
+ .token.attr-name,
1232
+ .token.string,
1233
+ .token.char,
1234
+ .token.builtin,
1235
+ .token.inserted {
1236
+ color: rgba(var(--color-cyan-500), 1);
1237
+ }
1238
+
1239
+ .token.attr-name {
1240
+ color: rgba(var(--color-blue-500), 1);
1241
+ }
1242
+
1243
+ .token.operator,
1244
+ .token.entity,
1245
+ .token.url,
1246
+ .language-css .token.string,
1247
+ .style .token.string {
1248
+ color: rgba(var(--color-grey-500), 1);
1249
+ background: transparent;
1250
+ }
1251
+
1252
+ .token.operator {
1253
+ color: rgba(var(--color-purple-500), 1);
1254
+ }
1255
+
1256
+ .token.atrule,
1257
+ .token.keyword {
1258
+ color: rgba(var(--color-fushia-500), 1);
1259
+ }
1260
+
1261
+ .token.attr-value {
1262
+ color: rgba(var(--color-cyan-500), 1);
1263
+ }
1264
+
1265
+ .token.function,
1266
+ .token.class-name {
1267
+ color: rgba(var(--color-blue-500), 1);
1268
+ }
1269
+
1270
+ .token.regex,
1271
+ .token.important,
1272
+ .token.variable {
1273
+ color: rgba(var(--color-yellow-500), 1);
1274
+ }
1275
+
1276
+ .token.important,
1277
+ .token.bold {
1278
+ font-weight: var(--font-weight-700);
1279
+ }
1280
+ .token.italic {
1281
+ font-style: italic;
1282
+ }
1283
+
1284
+ .token.entity {
1285
+ cursor: help;
1286
+ }
1287
+ /* FORMS */
1288
+ form {
1289
+ overflow: visible;
1290
+ }
1291
+
1292
+ form > * + * {
1293
+ margin-top: var(--space-3x, 1em);
1294
+ }
1295
+
1296
+ form *[hidden] {
1297
+ margin: 0;
1298
+ }
1299
+
1300
+ /* FIELDSET */
1301
+
1302
+ fieldset {
1303
+ padding: 0 var(--space-3x) var(--space-3x);
1304
+ margin: var(--space) 0 0;
1305
+ border: 1px solid rgba(var(--color-grey-50), 1);
1306
+ min-width: auto;
1307
+ display: block;
1308
+ overflow: visible;
1309
+ }
1310
+
1311
+ fieldset > * + * {
1312
+ margin-top: var(--space-3x, 1em);
1313
+ }
1314
+
1315
+ legend {
1316
+ transform: translateY(-2px);
1317
+ margin: calc(var(--space-3x) * -1) auto 0;
1318
+ }
1319
+
1320
+ label {
1321
+ display: block;
1322
+ line-height: var(--space-3x);
1323
+ padding: 0;
1324
+ text-align: left;
1325
+ text-transform: uppercase;
1326
+ font-size: var(--font-size-30);
1327
+ font-weight: 400;
1328
+ letter-spacing: 0.1rem;
1329
+ color: rgba(var(--color-grey-500), 1);
1330
+ -webkit-user-select: none;
1331
+ -moz-user-select: none;
1332
+ -ms-user-select: none;
1333
+ }
1334
+
1335
+ label .badge,
1336
+ label small {
1337
+ text-transform: none;
1338
+ letter-spacing: 0;
1339
+ }
1340
+
1341
+ input,
1342
+ select,
1343
+ textarea,
1344
+ output {
1345
+ display: block;
1346
+ width: 100%;
1347
+ background-color: rgba(var(--color-grey-00), 1);
1348
+ min-height: var(--space-5x);
1349
+ padding: calc(var(--space) - 1px) calc(var(--space-2x) - 1px);
1350
+ margin: 0;
1351
+
1352
+ /* border */
1353
+ border: 1px solid rgba(var(--color-grey-50), 1);
1354
+ border-radius: var(--border-radius-s, 0);
1355
+ outline: 0 none;
1356
+ box-shadow: var(--box-inset-shadow-s);
1357
+
1358
+ /* text */
1359
+ color: rgba(var(--color-grey-600), 1);
1360
+ font-family: inherit;
1361
+ font-size: var(--base-font-size);
1362
+ line-height: var(--space-3x);
1363
+ }
1364
+
1365
+ input:focus,
1366
+ select:focus,
1367
+ textarea:focus,
1368
+ output:focus {
1369
+ outline: 0 none;
1370
+ border-color: rgba(var(--color-blue-400), 1);
1371
+ box-shadow:
1372
+ 0 0 0 2px rgba(var(--color-blue-200), 1),
1373
+ var(--box-shadow-s);
1374
+ }
1375
+
1376
+ input:focus:not(:focus-visible),
1377
+ select:focus:not(:focus-visible),
1378
+ textarea:focus:not(:focus-visible),
1379
+ output:focus:not(:focus-visible) {
1380
+ outline: none;
1381
+ }
1382
+
1383
+ input[disabled],
1384
+ select[disabled],
1385
+ textarea[disabled],
1386
+ output[disabled] {
1387
+ border-color: rgba(var(--color-grey-100), 1);
1388
+ color: rgba(var(--color-bg), 1);
1389
+ background-color: rgba(var(--color-grey-100), 1);
1390
+ box-shadow: none;
1391
+ cursor: not-allowed;
1392
+ opacity: 1;
1393
+ }
1394
+
1395
+ input[readonly],
1396
+ select[readonly],
1397
+ textarea[readonly],
1398
+ output[readonly] {
1399
+ border: 1px dashed rgba(var(--color-grey-200), 1);
1400
+ cursor: not-allowed;
1401
+ color: rgba(var(--color-grey-500), 1);
1402
+ background-color: transparent;
1403
+ box-shadow: 0 0 0 0;
1404
+ }
1405
+
1406
+ input:-internal-autofill-selected,
1407
+ select:-internal-autofill-selected,
1408
+ textarea:-internal-autofill-selected,
1409
+ output:-internal-autofill-selected {
1410
+ font-size: var(--base-font-size);
1411
+ background-color: rgba(var(--color-green-100), 1) !important;
1412
+ }
1413
+
1414
+ label + input,
1415
+ label + textarea,
1416
+ label + select,
1417
+ label + output {
1418
+ margin-top: 0;
1419
+ }
1420
+
1421
+
1422
+ /* Change Autocomplete styles in Chrome*/
1423
+ input:-webkit-autofill,
1424
+ input:-webkit-autofill:hover,
1425
+ input:-webkit-autofill:focus,
1426
+ textarea:-webkit-autofill,
1427
+ textarea:-webkit-autofill:hover,
1428
+ textarea:-webkit-autofill:focus,
1429
+ select:-webkit-autofill,
1430
+ select:-webkit-autofill:hover,
1431
+ select:-webkit-autofill:focus {
1432
+ border-color:rgba(var(--color-blue-200), 1);
1433
+ font-size: var(--base-font-size);
1434
+ -webkit-text-fill-color:rgba(var(--color-blue-700), 1);
1435
+ -webkit-box-shadow: 0 0 0px 1000px rgba(var(--color-blue-100), 1) inset;
1436
+ box-shadow: 0 0 0px 1000px rgba(var(--color-blue-100), 1) inset;
1437
+ transition: background-color 5000s ease-in-out 0s;
1438
+ }
1439
+
1440
+ ::placeholder {
1441
+ color: rgba(var(--color-grey-300), 1);
1442
+ }
1443
+
1444
+ /**************************************************/
1445
+ /* textarea */
1446
+ /**************************************************/
1447
+
1448
+ textarea,
1449
+ select[multiple] {
1450
+ min-height: calc(var(--space) * 11);
1451
+ }
1452
+
1453
+ textarea {
1454
+ resize: vertical;
1455
+ }
1456
+
1457
+ /* special inputs */
1458
+
1459
+ input[type="file"],
1460
+ input[type="date"],
1461
+ input[type="time"] {
1462
+ height: var(--space-5x);
1463
+ }
1464
+
1465
+ input[type="date"],
1466
+ input[type="time"],
1467
+ input[type="tel"],
1468
+ input[type="number"] {
1469
+ max-width: 16ch;
1470
+ }
1471
+
1472
+ input[type="date"]::-webkit-calendar-picker-indicator,
1473
+ input[type="time"]::-webkit-calendar-picker-indicator {
1474
+ opacity: .8;
1475
+ }
1476
+
1477
+ .theme-dark {
1478
+ input[type="date"]::-webkit-calendar-picker-indicator,
1479
+ input[type="time"]::-webkit-calendar-picker-indicator {
1480
+ filter: invert(0.5);
1481
+ }
1482
+ }
1483
+
1484
+ input[type="color"] {
1485
+ max-width: var(--space-5x);
1486
+ padding: 0;
1487
+ position: relative;
1488
+ }
1489
+
1490
+ input[type="search"] {
1491
+ -webkit-appearance: none;
1492
+ }
1493
+ /**************************************************/
1494
+ /* checkbox / radio */
1495
+ /**************************************************/
1496
+
1497
+ fieldset.is-checkbox {
1498
+ border: 0;
1499
+ padding: 0;
1500
+ margin: var(--space-3x) 0 0;
1501
+ transform: translateY(0);
1502
+ }
1503
+
1504
+ fieldset.is-checkbox legend {
1505
+ display: block;
1506
+ transform: translateY(0);
1507
+
1508
+ line-height: var(--space-3x);
1509
+ padding: 0;
1510
+ margin: 0;
1511
+ text-align: left;
1512
+ text-transform: uppercase;
1513
+ font-size: var(--font-size-30);
1514
+ font-weight: 400;
1515
+ letter-spacing: 0.1rem;
1516
+ color: rgba(var(--color-grey-500), 1);
1517
+ -webkit-user-select: none;
1518
+ -moz-user-select: none;
1519
+ -ms-user-select: none;
1520
+ }
1521
+
1522
+ fieldset.is-checkbox label,
1523
+ fieldset.is-checkbox input {
1524
+ min-height: var(--space-2x);
1525
+ padding: 0;
1526
+ font-size: 1rem;
1527
+ letter-spacing: 0;
1528
+ text-transform: none;
1529
+ }
1530
+
1531
+ fieldset.is-checkbox label {
1532
+ margin: -2px 2px 2px;
1533
+ }
1534
+
1535
+ fieldset.is-checkbox > * + * {
1536
+ margin-top: 0;
1537
+ }
1538
+
1539
+ input[type="checkbox"],
1540
+ input[type="radio"] {
1541
+ box-shadow: none;
1542
+ border: 0;
1543
+ margin-right: var(--space);
1544
+ height: var(--space-2x);
1545
+ width: var(--space-2x);
1546
+ min-height: var(--space-2x);
1547
+ }
1548
+
1549
+ input[type="checkbox"][disabled],
1550
+ input[type="radio"][disabled] {
1551
+ & + span {
1552
+ color: rgba(var(--color-grey-300), 1);
1553
+ display: inline-block;
1554
+ }
1555
+ }
1556
+
1557
+ @supports(-webkit-appearance: none) or (-moz-appearance: none) {
1558
+ input[type='checkbox'],
1559
+ input[type='radio'] {
1560
+ -webkit-appearance: none;
1561
+ -moz-appearance: none;
1562
+ outline: none;
1563
+ display: inline-block;
1564
+ vertical-align: top;
1565
+ position: relative;
1566
+ margin: var(--space-1-2) 0 0;
1567
+ padding: 0;
1568
+ cursor: pointer;
1569
+ border: 1px solid rgba(var(--color-grey-200), 1);
1570
+ background: rgba(var(--color-bg), 1);
1571
+ transition: background .3s, border-color .3s, box-shadow .2s;
1572
+ }
1573
+
1574
+ input[type='checkbox']:after,
1575
+ input[type='radio']:after {
1576
+ content: '';
1577
+ display: block;
1578
+ left: 0;
1579
+ top: 0;
1580
+ position: absolute;
1581
+ transition: transform var(--d-t, .3s) var(--d-t-e, ease), opacity var(--d-o, .2s);
1582
+ opacity: var(--o, 0);
1583
+ }
1584
+
1585
+ input[type='checkbox']:checked,
1586
+ input[type='radio']:checked {
1587
+ background: rgba(var(--color-blue-500), 1);
1588
+ border-color: rgba(var(--color-blue-200), 1);
1589
+ --d-o: .3s;
1590
+ --d-t: .6s;
1591
+ --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
1592
+ }
1593
+
1594
+ /* disabled */
1595
+ input[type='checkbox']:disabled,
1596
+ input[type='radio']:disabled {
1597
+ background: rgba(var(--color-grey-200), 1);
1598
+ cursor: not-allowed;
1599
+ }
1600
+
1601
+ input[type='checkbox']:disabled:checked,
1602
+ input[type='radio']:disabled:checked {
1603
+ border-color: rgba(var(--color-grey-200), 1);
1604
+ }
1605
+
1606
+ input[type='checkbox']:disabled + label,
1607
+ input[type='radio']:disabled + label {
1608
+ cursor: not-allowed;
1609
+ }
1610
+
1611
+ /* hover */
1612
+ input[type='checkbox']:hover,
1613
+ input[type='radio']:hover {
1614
+ &:not(:checked) {
1615
+ &:not(:disabled) {
1616
+ border-color: rgba(var(--color-grey-300), 1);
1617
+ }
1618
+ }
1619
+ }
1620
+
1621
+ /* focus */
1622
+ input[type='checkbox']:focus,
1623
+ input[type='radio']:focus {
1624
+ border-color: rgba(var(--color-blue-300), 1);
1625
+ box-shadow: 0 0 0 2px rgba(var(--color-blue-200), 1);
1626
+ }
1627
+
1628
+ /* checkbox */
1629
+
1630
+ input[type='checkbox'] {
1631
+ border-radius: var(--border-radius-m);
1632
+ width: var(--space-2x);
1633
+ }
1634
+
1635
+ input[type='checkbox']:after {
1636
+ width: 6px;
1637
+ height: 10px;
1638
+ border: 2px solid rgba(var(--color-blue-00), 1);
1639
+ border-top: 0;
1640
+ border-left: 0;
1641
+ left: 5px;
1642
+ top: 0px;
1643
+ transform: rotate(var(--r, 15deg));
1644
+ opacity: var(--o, 0);
1645
+ }
1646
+
1647
+ input[type='checkbox']:checked {
1648
+ --r: 45deg;
1649
+ --o: 1;
1650
+ }
1651
+
1652
+ /* switch style checkbox */
1653
+ input[type='checkbox'].is-switch {
1654
+ width: 32px;
1655
+ border-radius: 11px;
1656
+ background: rgba(var(--color-bg), 1);
1657
+ }
1658
+
1659
+ input[type='checkbox'].is-switch:after {
1660
+ opacity: 1;
1661
+ left: 2px;
1662
+ top: 2px;
1663
+ border-radius: 50%;
1664
+ width: 10px;
1665
+ height: 10px;
1666
+ background: rgba(var(--color-grey-300), 1);
1667
+ transform: translateX(var(--x, 0));
1668
+ border: 0;
1669
+ }
1670
+
1671
+ input[type='checkbox'].is-switch:checked {
1672
+ background: rgba(var(--color-blue-500), 1);
1673
+ --x: var(--space-2x);
1674
+ }
1675
+
1676
+ input[type='checkbox'].is-switch:checked:after {
1677
+ background: rgba(var(--color-blue-20), 1);
1678
+ }
1679
+
1680
+ input[type='checkbox'].is-switch:disabled:not(:checked) {
1681
+ background: rgba(var(--color-grey-200), 1);
1682
+ }
1683
+
1684
+ /* radio */
1685
+
1686
+ input[type='radio'] {
1687
+ border-radius: 50%;
1688
+ width: var(--space-2x);
1689
+ }
1690
+
1691
+ input[type='radio']:after {
1692
+ width: var(--space-2x);
1693
+ height: var(--space-2x);
1694
+ border-radius: 50%;
1695
+ background: rgba(var(--color-blue-20), 1);
1696
+ opacity: 0;
1697
+ left: -1px;
1698
+ top: -1px;
1699
+ transform: scale(var(--s, 1));
1700
+ opacity: var(--o, 0);
1701
+ }
1702
+
1703
+ input[type='radio']:checked {
1704
+ --s: .5;
1705
+ --o: 1;
1706
+ }
1707
+ }
1708
+
1709
+ /**************************************************/
1710
+ /* select */
1711
+ /**************************************************/
1712
+
1713
+ select {
1714
+ /* A reset of styles, including removing the default dropdown arrow */
1715
+ -moz-appearance: none;
1716
+ appearance: none;
1717
+ -webkit-appearance: none;
1718
+ background-color: transparent;
1719
+ margin: 0;
1720
+ /* Stack above custom arrow */
1721
+ z-index: 1;
1722
+ box-shadow: 0 0 0 1px rgba(var(--color-grey-200), 1) inset,
1723
+ var(--box-shadow-s);
1724
+ }
1725
+
1726
+ /* Remove dropdown arrow in IE10 & IE11
1727
+ @link https://www.filamentgroup.com/lab/select-css.html
1728
+ */
1729
+
1730
+ select::-ms-expand {
1731
+ display: none;
1732
+ }
1733
+
1734
+ .select {
1735
+ display: grid;
1736
+ grid-template-areas: "select";
1737
+ align-items: center;
1738
+ position: relative;
1739
+ background-color: transparent;
1740
+ border-radius: var(--border-radius-s, 0);
1741
+ margin: 2px 0 -2px;
1742
+ cursor: pointer;
1743
+ }
1744
+
1745
+ .select select,
1746
+ .select::after {
1747
+ grid-area: select;
1748
+ }
1749
+
1750
+ .select:not(.select--multiple)::after {
1751
+ content: "";
1752
+ display: block;
1753
+ width: 8px;
1754
+ height: 8px;
1755
+ position: absolute;
1756
+ right: 16px;
1757
+ top: 14px;
1758
+ border-bottom: 2px solid;
1759
+ border-right: 2px solid;
1760
+ transform: rotate(45deg);
1761
+ }
1762
+
1763
+ /* Interim solution until :focus-within has better support */
1764
+ select:focus + .focus {
1765
+ position: absolute;
1766
+ top: -1px;
1767
+ left: -1px;
1768
+ right: -1px;
1769
+ bottom: -1px;
1770
+ border: 1px solid rgba(var(--color-blue-200), 1);
1771
+ box-shadow: 0 0 0 1px rgba(var(--color-blue-200), 1) inset,
1772
+ var(--box-shadow-s);
1773
+ border-radius: inherit;
1774
+ }
1775
+
1776
+ select[multiple] {
1777
+ padding-right: 0;
1778
+ height: 6rem;
1779
+ margin-top: 0;
1780
+
1781
+ }
1782
+
1783
+ select[multiple] option {
1784
+ white-space: normal;
1785
+ outline-color: var(--select-focus);
1786
+ }
1787
+
1788
+ /*
1789
+ * Experimental - styling of selected options
1790
+ * in the multiselect
1791
+ * Not supported crossbrowser
1792
+ *
1793
+ &:not(:disabled) option {
1794
+ border-radius: 12px;
1795
+ transition: 120ms all ease-in;
1796
+
1797
+ &:checked {
1798
+ background: linear-gradient(hsl(242, 61%, 76%), hsl(242, 61%, 71%));
1799
+ padding-left: 0.5em;
1800
+ color: black !important;
1801
+ }
1802
+ } */
1803
+
1804
+
1805
+ .select--disabled {
1806
+ cursor: not-allowed;
1807
+ background-color: rgba(var(--color-grey-200), 1);
1808
+ }
1809
+ /* <progress> */
1810
+
1811
+ progress[value] {
1812
+ /* Reset the default appearance */
1813
+ -webkit-appearance: none;
1814
+ -moz-appearance: none;
1815
+ appearance: none;
1816
+
1817
+ border: 1px solid rgba(var(--color-grey-200), 1);
1818
+ border-radius: var(--border-radius-s, 0);
1819
+ color: rgba(var(--color-blue-500), 1);
1820
+
1821
+ /* Dimensions */
1822
+ width: 100%;
1823
+ height: var(--space-2x);
1824
+ margin: calc(var(--space-2x) - 4px) 0 2px;
1825
+ }
1826
+
1827
+ progress[value]::-webkit-progress-bar {
1828
+ background-color: rgba(var(--color-grey-35), 1);
1829
+ border-radius: var(--border-radius-s, 0);
1830
+ box-shadow: var(--box-inset-shadow-s);
1831
+
1832
+ }
1833
+
1834
+ progress[value]::-webkit-progress-value {
1835
+ background-color: rgba(var(--color-blue-500), 1);
1836
+ border-radius: 1px;
1837
+ box-shadow: var(--box-inset-shadow-s);
1838
+ }
1839
+ /* RANGE */
1840
+ input[type=range] {
1841
+ -webkit-appearance: none;
1842
+ margin: 0;
1843
+ width: 100%;
1844
+ background: transparent;
1845
+ border: 0;
1846
+ box-shadow: 0 0 0 0;
1847
+ padding-left: 0;
1848
+ padding-right: 0;
1849
+ }
1850
+
1851
+ input[type=range]::-webkit-slider-runnable-track {
1852
+ width: 100%;
1853
+ height: var(--space);
1854
+ cursor: pointer;
1855
+ background: rgba(var(--color-grey-35), 1);
1856
+ border: 1px solid rgba(var(--color-grey-200), 1);
1857
+ border-radius: var(--border-radius-m);
1858
+ outline: 0 none;
1859
+ box-shadow: var(--box-inset-shadow-s);
1860
+ }
1861
+
1862
+ input[type=range]::-webkit-slider-thumb {
1863
+ display: block;
1864
+ box-shadow:
1865
+ 0 -1px 1px 0 rgba(var(--color-black), 0.06) inset,
1866
+ 0 1px 1px 0 rgba(255,255,255, .06) inset,
1867
+ var(--box-shadow-m);
1868
+ border: 1px solid rgba(var(--color-grey-500), 1);
1869
+ height: var(--space-3x);
1870
+ width: var(--space-3x);
1871
+ border-radius: 50%;
1872
+ background: rgba(var(--color-grey-200), 1);
1873
+ cursor: pointer;
1874
+ -webkit-appearance: none;
1875
+ margin-top: -9px;
1876
+ }
1877
+
1878
+ input[type=range]:focus::-webkit-slider-runnable-track {
1879
+ background: rgba(var(--color-grey-50), 1);
1880
+ }
1881
+
1882
+ input[type=range]::-moz-range-track {
1883
+ width: 100%;
1884
+ height: var(--space);
1885
+ cursor: pointer;
1886
+ background: rgba(var(--color-grey-35), 1);
1887
+ border-radius:var(--border-radius-m, 0);
1888
+ border: 1px solid rgba(var(--color-grey-200), 1);
1889
+ box-shadow: var(--box-inset-shadow-s);
1890
+ }
1891
+
1892
+ input[type=range]::-moz-range-thumb {
1893
+ height: 24px;
1894
+ width: 24px;
1895
+ box-shadow:
1896
+ 0 -1px 1px 0 rgba(var(--color-black), 0.06) inset,
1897
+ 0 1px 1px 0 rgba(255,255,255, .06) inset,
1898
+ var(--box-shadow-m);
1899
+ border: 1px solid rgba(var(--color-grey-500), 1);
1900
+
1901
+ border-radius: 50%;
1902
+ background: rgba(var(--color-grey-200), 1);
1903
+ cursor: pointer;
1904
+ }
1905
+
1906
+ input[type=range]::-ms-track {
1907
+ width: 100%;
1908
+ height: var(--space);
1909
+ cursor: pointer;
1910
+ background: transparent;
1911
+ border-color: transparent;
1912
+ border-width: 16px 0;
1913
+ color: transparent;
1914
+ }
1915
+
1916
+ input[type=range]::-ms-fill-lower {
1917
+ background: rgba(var(--color-blue-500), 1);
1918
+ border: 0.2px solid rgba(var(--color-grey-200), 1);
1919
+ border-radius: 3.6px;
1920
+ box-shadow: 1px 1px 1px rgba(var(--color-shadow), 1), 0px 0px 1px rgba(var(--color-grey-200), 1);
1921
+ }
1922
+
1923
+ input[type=range]::-ms-fill-upper {
1924
+ background: #3071a9;
1925
+ border: 0.2px solid rgba(var(--color-grey-200), 1);
1926
+ border-radius: 3.6px;
1927
+ box-shadow: 1px 1px 1px rgba(var(--color-shadow), 1), 0px 0px 1px rgba(var(--color-20), 1);
1928
+ }
1929
+
1930
+ input[type=range]::-ms-thumb {
1931
+ box-shadow: 1px 1px 1px rgba(var(--color-shadow), 1), 0px 0px 1px rgba(var(--color-20), 1);
1932
+ border: 1px solid rgba(var(--color-grey-200), 1);
1933
+ height: 36px;
1934
+ width: 16px;
1935
+ border-radius: var(--border-radius-m, 0);
1936
+ background: rgba(var(--color-bg), 1);
1937
+ cursor: pointer;
1938
+ }
1939
+
1940
+ input[type=range]:focus::-ms-fill-lower {
1941
+ background: rgba(var(--color-blue-500), 1);
1942
+ }
1943
+
1944
+ input[type=range]:focus::-ms-fill-upper {
1945
+ background: rgba(var(--color-blue-100), 1);
1946
+ }
1947
+
1948
+ /* <meter> */
1949
+
1950
+ meter {
1951
+ width: 100%;
1952
+ height: var(--space-2x);
1953
+ background: none; /* Required to get rid of the default background property */
1954
+ background-color: rgba(var(--color-grey-35), 1);
1955
+ border: 1px solid rgba(var(--color-grey-200), 1);
1956
+ box-shadow: var(--box-inset-shadow-s);
1957
+ border-radius: var(--border-radius-s);
1958
+ -moz-appearance: none;
1959
+ -webkit-appearance: none; /* Reset appearance */
1960
+ margin: calc(var(--space-2x) - 4px) 0 2px;
1961
+ position: relative;
1962
+ display: block;
1963
+ }
1964
+
1965
+ meter span {
1966
+ display: block;
1967
+ margin-top: 0;
1968
+ position: absolute;
1969
+ top: -32px;
1970
+ right: 0;
1971
+ z-index: 1000;
1972
+ background: rgba(var(--color-bg), 1);
1973
+ }
1974
+
1975
+ meter::-webkit-meter-bar {
1976
+ background: none; /* Required to get rid of the default background property */
1977
+ background-color: rgba(var(--color-grey-50), 1);
1978
+ border: 1px solid rgba(var(--color-grey-100), 1);
1979
+ border-radius: var(--border-radius-s);
1980
+ box-shadow: 0 4px 4px -4px rgba(var(--color-black), .05) inset;
1981
+ }
1982
+
1983
+ meter::-webkit-meter-optimum-value {
1984
+ -webkit-transition: width .5s;
1985
+ background: rgba(var(--color-green-500), 1);
1986
+ border-radius: var(--border-radius-s);
1987
+ }
1988
+
1989
+ meter::-webkit-meter-suboptimum-value {
1990
+ -webkit-transition: width .5s;
1991
+ background: rgba(var(--color-yellow-500), 1);
1992
+ border-radius: var(--border-radius-s);
1993
+ }
1994
+
1995
+ meter::-webkit-meter-even-less-good-value {
1996
+ -webkit-transition: width .5s;
1997
+ background: rgba(var(--color-red-500), 1);
1998
+ border-radius: var(--border-radius-s);
1999
+ }
2000
+
2001
+ meter::-moz-meter-bar {
2002
+ border-radius: var(--border-radius-s);
2003
+ background: rgba(var(--color-green-500), 1);
2004
+ }
2005
+
2006
+ meter::-moz-meter-optimum {
2007
+ background: rgba(var(--color-green-500), 1);
2008
+ }
2009
+
2010
+ meter::-moz-meter-sub-optimum {
2011
+ background: rgba(var(--color-yellow-500), 1);
2012
+ }
2013
+
2014
+ meter::-moz-meter-sub-sub-optimum {
2015
+ background: rgba(var(--color-red-500), 1);
2016
+ }
2017
+
2018
+ svg {
2019
+ vertical-align: middle;
2020
+ }
2021
+
2022
+ /* use feathers icons as inline svg for icons */
2023
+
2024
+ .is-icon svg,
2025
+ svg.is-icon {
2026
+ display: inline-block;
2027
+ fill: none;
2028
+ stroke: currentColor;
2029
+ stroke-width: 2;
2030
+ stroke-linecap: round;
2031
+ stroke-linejoin: round;
2032
+ }
2033
+ img {
2034
+ max-width: 100%;
2035
+ display: block;
2036
+ }
2037
+
2038
+ figure {
2039
+ display: block;
2040
+ text-align: center;
2041
+ margin: 0;
2042
+ }
2043
+
2044
+ figure img {
2045
+ margin: 0 auto;
2046
+ }
2047
+
2048
+ figcaption {
2049
+ text-align: center;
2050
+ font-size: var(--font-size-40);
2051
+ padding: calc(var(--space) - 1px) 0 calc(var(--space-2x) + 1px);
2052
+ }
2053
+
2054
+ picture {
2055
+ display: block;
2056
+ }
2057
+
2058
+ picture img {
2059
+ margin: 0 auto;
2060
+ }
2061
+
2062
+ picture svg {
2063
+ width: auto;
2064
+ height: auto;
2065
+ max-width: 100%;
2066
+ display: block;
2067
+ }
2068
+
2069
+ /* Modifiers */
2070
+
2071
+ /* ratio */
2072
+
2073
+ /* 16/9 */
2074
+ picture.is-16-9 {
2075
+ display: block;
2076
+ height: 0;
2077
+ position: relative;
2078
+ overflow: hidden;
2079
+ width: 100%;
2080
+ padding-bottom: 56.25%;
2081
+ }
2082
+
2083
+ @supports (object-fit: cover) {
2084
+ picture.is-16-9 img {
2085
+ position: absolute;
2086
+ object-fit: cover;
2087
+ left: 0;
2088
+ width: 100%;
2089
+ height: 100%;
2090
+ }
2091
+ }
2092
+
2093
+ /* 3/2 */
2094
+ picture.is-3-2 {
2095
+ display: block;
2096
+ height: 0;
2097
+ position: relative;
2098
+ overflow: hidden;
2099
+ width: 100%;
2100
+ padding-bottom: 66.66%;
2101
+ }
2102
+
2103
+ @supports (object-fit: cover) {
2104
+ picture.is-3-2 img {
2105
+ position: absolute;
2106
+ object-fit: cover;
2107
+ left: 0;
2108
+ width: 100%;
2109
+ height: 100%;
2110
+ }
2111
+ }
2112
+
2113
+ /* square */
2114
+ picture.is-1-1 {
2115
+ display: block;
2116
+ height: 0;
2117
+ position: relative;
2118
+ overflow: hidden;
2119
+ width: 100%;
2120
+ padding-bottom: 100%;
2121
+ }
2122
+
2123
+ @supports (object-fit: cover) {
2124
+ picture.is-1-1 img {
2125
+ position: absolute;
2126
+ object-fit: cover;
2127
+ left: 0;
2128
+ width: 100%;
2129
+ height: 100%;
2130
+ }
2131
+ }
2132
+
2133
+ svg {
2134
+ vertical-align: middle;
2135
+ }
2136
+
2137
+ /* use feathers icons as inline svg for icons */
2138
+
2139
+ .is-icon svg,
2140
+ svg.is-icon {
2141
+ display: inline-block;
2142
+ fill: none;
2143
+ stroke: currentColor;
2144
+ stroke-width: 2;
2145
+ stroke-linecap: round;
2146
+ stroke-linejoin: round;
2147
+ }
2148
+ a:any-link {
2149
+ /* Selects any element that would be matched by :link or :visited */
2150
+ color: rgba(var(--color-blue-500, inherit), 1);
2151
+ text-decoration: underline;
2152
+ }
2153
+
2154
+ a:any-link:hover {
2155
+ color: rgba(var(--color-blue-600), 1);
2156
+ }
2157
+
2158
+ a:any-link > * + * {
2159
+ margin-left: var(--space);
2160
+ text-decoration: none;
2161
+ }
2162
+
2163
+ /* external links */
2164
+ a:any-link[target="_blank"] {
2165
+ padding-right: 16px;
2166
+ position: relative;
2167
+ display: inline-block;
2168
+ }
2169
+
2170
+ /* Arrow to signify external links */
2171
+ a:any-link[target="_blank"]::after,
2172
+ a:any-link[target="_blank"]::before {
2173
+ content: "";
2174
+ display: block;
2175
+ position: absolute;
2176
+ right: 0;
2177
+ }
2178
+
2179
+ a:any-link[target="_blank"]::before {
2180
+ background: currentColor;
2181
+ transform: rotate(-45deg);
2182
+ top: 50%;
2183
+ height: 2px;
2184
+ width: 12px;
2185
+ }
2186
+
2187
+ a:any-link[target="_blank"]::after {
2188
+ width: 8px;
2189
+ height: 8px;
2190
+ border-right: 2px solid;
2191
+ border-top: 2px solid;
2192
+ top: calc(50% - 5px);
2193
+ }
2194
+
2195
+
2196
+ /**************************/
2197
+ /* icon external link */
2198
+ /**************************/
2199
+
2200
+ a:any-link.is-icon[target="_blank"] { /* external links */
2201
+ padding-right: 0;
2202
+ }
2203
+
2204
+ /* Arrow to signify external links */
2205
+ a:any-link.is-icon[target="_blank"]::after,
2206
+ a:any-link.is-icon[target="_blank"]::before {
2207
+ content: none;
2208
+ background: none;
2209
+ width: 0;
2210
+ height: 0;
2211
+ }
2212
+
2213
+ svg {
2214
+ vertical-align: middle;
2215
+ }
2216
+
2217
+ /* use feathers icons as inline svg for icons */
2218
+
2219
+ .is-icon svg,
2220
+ svg.is-icon {
2221
+ display: inline-block;
2222
+ fill: none;
2223
+ stroke: currentColor;
2224
+ stroke-width: 2;
2225
+ stroke-linecap: round;
2226
+ stroke-linejoin: round;
2227
+ }
2228
+ img {
2229
+ max-width: 100%;
2230
+ display: block;
2231
+ }
2232
+
2233
+ figure {
2234
+ display: block;
2235
+ text-align: center;
2236
+ margin: 0;
2237
+ }
2238
+
2239
+ figure img {
2240
+ margin: 0 auto;
2241
+ }
2242
+
2243
+ figcaption {
2244
+ text-align: center;
2245
+ font-size: var(--font-size-40);
2246
+ padding: calc(var(--space) - 1px) 0 calc(var(--space-2x) + 1px);
2247
+ }
2248
+
2249
+ picture {
2250
+ display: block;
2251
+ }
2252
+
2253
+ picture img {
2254
+ margin: 0 auto;
2255
+ }
2256
+
2257
+ picture svg {
2258
+ width: auto;
2259
+ height: auto;
2260
+ max-width: 100%;
2261
+ display: block;
2262
+ }
2263
+
2264
+ /* Modifiers */
2265
+
2266
+ /* ratio */
2267
+
2268
+ /* 16/9 */
2269
+ picture.is-16-9 {
2270
+ display: block;
2271
+ height: 0;
2272
+ position: relative;
2273
+ overflow: hidden;
2274
+ width: 100%;
2275
+ padding-bottom: 56.25%;
2276
+ }
2277
+
2278
+ @supports (object-fit: cover) {
2279
+ picture.is-16-9 img {
2280
+ position: absolute;
2281
+ object-fit: cover;
2282
+ left: 0;
2283
+ width: 100%;
2284
+ height: 100%;
2285
+ }
2286
+ }
2287
+
2288
+ /* 3/2 */
2289
+ picture.is-3-2 {
2290
+ display: block;
2291
+ height: 0;
2292
+ position: relative;
2293
+ overflow: hidden;
2294
+ width: 100%;
2295
+ padding-bottom: 66.66%;
2296
+ }
2297
+
2298
+ @supports (object-fit: cover) {
2299
+ picture.is-3-2 img {
2300
+ position: absolute;
2301
+ object-fit: cover;
2302
+ left: 0;
2303
+ width: 100%;
2304
+ height: 100%;
2305
+ }
2306
+ }
2307
+
2308
+ /* square */
2309
+ picture.is-1-1 {
2310
+ display: block;
2311
+ height: 0;
2312
+ position: relative;
2313
+ overflow: hidden;
2314
+ width: 100%;
2315
+ padding-bottom: 100%;
2316
+ }
2317
+
2318
+ @supports (object-fit: cover) {
2319
+ picture.is-1-1 img {
2320
+ position: absolute;
2321
+ object-fit: cover;
2322
+ left: 0;
2323
+ width: 100%;
2324
+ height: 100%;
2325
+ }
2326
+ }
2327
+
2328
+ a:any-link {
2329
+ /* Selects any element that would be matched by :link or :visited */
2330
+ color: rgba(var(--color-blue-500, inherit), 1);
2331
+ text-decoration: underline;
2332
+ }
2333
+
2334
+ a:any-link:hover {
2335
+ color: rgba(var(--color-blue-600), 1);
2336
+ }
2337
+
2338
+ a:any-link > * + * {
2339
+ margin-left: var(--space);
2340
+ text-decoration: none;
2341
+ }
2342
+
2343
+ /* external links */
2344
+ a:any-link[target="_blank"] {
2345
+ padding-right: 16px;
2346
+ position: relative;
2347
+ display: inline-block;
2348
+ }
2349
+
2350
+ /* Arrow to signify external links */
2351
+ a:any-link[target="_blank"]::after,
2352
+ a:any-link[target="_blank"]::before {
2353
+ content: "";
2354
+ display: block;
2355
+ position: absolute;
2356
+ right: 0;
2357
+ }
2358
+
2359
+ a:any-link[target="_blank"]::before {
2360
+ background: currentColor;
2361
+ transform: rotate(-45deg);
2362
+ top: 50%;
2363
+ height: 2px;
2364
+ width: 12px;
2365
+ }
2366
+
2367
+ a:any-link[target="_blank"]::after {
2368
+ width: 8px;
2369
+ height: 8px;
2370
+ border-right: 2px solid;
2371
+ border-top: 2px solid;
2372
+ top: calc(50% - 5px);
2373
+ }
2374
+
2375
+
2376
+ /**************************/
2377
+ /* icon external link */
2378
+ /**************************/
2379
+
2380
+ a:any-link.is-icon[target="_blank"] { /* external links */
2381
+ padding-right: 0;
2382
+ }
2383
+
2384
+ /* Arrow to signify external links */
2385
+ a:any-link.is-icon[target="_blank"]::after,
2386
+ a:any-link.is-icon[target="_blank"]::before {
2387
+ content: none;
2388
+ background: none;
2389
+ width: 0;
2390
+ height: 0;
2391
+ }
2392
+
2393
+ ul,
2394
+ ol,
2395
+ dl {
2396
+ margin: 0;
2397
+ padding: 6px 0 18px 24px;
2398
+ }
2399
+
2400
+ ul ul,
2401
+ ol ol,
2402
+ ol ul {
2403
+ padding: 0 0 0 24px;
2404
+ }
2405
+
2406
+ ul.is-nobullet {
2407
+ list-style-type: none;
2408
+ padding: 0;
2409
+ }
2410
+
2411
+ dl {
2412
+ padding: 6px 0 18px 0;
2413
+ }
2414
+
2415
+ dt {
2416
+ font-weight: var(--font-weight-700);
2417
+ color: rgba(var(--color-grey-700), 1);
2418
+ }
2419
+
2420
+ dd {
2421
+ margin: 0;
2422
+ }
2423
+
2424
+ dd + dt {
2425
+ margin-top: var(--space-3x)
2426
+ }
2427
+ /* audio video embed ... */
2428
+ table {
2429
+ width: 100%;
2430
+ padding: 0;
2431
+ border-spacing: 0;
2432
+ }
2433
+
2434
+ thead {
2435
+ box-shadow: 0 -1px 0 0 rgba(var(--color-grey-50), 1) inset;
2436
+ }
2437
+
2438
+ tfoot {
2439
+ box-shadow: 0 -1px 0 0 rgba(var(--color-grey-50), 1);
2440
+ }
2441
+
2442
+ caption {
2443
+ color: rgba(var(--color-grey-500), 1);
2444
+ padding: 6px 0 18px;
2445
+ }
2446
+
2447
+ th {
2448
+ text-transform: uppercase;
2449
+ font-weight: var(--font-weight-700);
2450
+ font-size: calc(var(--base-font-size) / var(--ratio) / var(--ratio));
2451
+ letter-spacing: 0.03em;
2452
+ transform: translateY(2px);
2453
+ padding: 12px 24px;
2454
+ text-align: left;
2455
+ color: rgba(var(--color-grey-500), 1);
2456
+ }
2457
+
2458
+ tbody tr {
2459
+ box-shadow: 0 -1px 0 0 rgba(var(--color-grey-50), 1) inset;
2460
+ }
2461
+
2462
+ tbody tr:hover {
2463
+ background: rgba(var(--color-grey-50), 1);
2464
+ }
2465
+
2466
+ /*
2467
+ alternate row bg
2468
+ tbody tr:nth-child(even) {
2469
+ background: rgba(var(--color-grey-35), 1);
2470
+ }
2471
+
2472
+ tbody tr:nth-child(even):hover {
2473
+ background: rgba(var(--color-grey-50), 1);
2474
+ }
2475
+ */
2476
+
2477
+ td {
2478
+ color: rgba(var(--color-grey-500), 1);
2479
+ padding: 12px 24px;
2480
+ }
2481
+
2482
+ th.is-right,
2483
+ td.is-right {
2484
+ text-align: right;
2485
+ }
2486
+
2487
+ /* components */
2488
+
2489
+ /* components/accordion.css */
2490
+
2491
+ .accordion {
2492
+ margin: 0;
2493
+ padding: 0;
2494
+ transition: all ease-in-out 0.3s;
2495
+ }
2496
+
2497
+ .accordion > * + * {
2498
+ box-shadow: 0 -1px 0 0 rgba(var(--color-grey-50), 1);
2499
+ }
2500
+
2501
+ .accordion > button {
2502
+ display: block;
2503
+ position: relative;
2504
+ width: 100%;
2505
+ margin: 0;
2506
+
2507
+ background: none;
2508
+ border-radius: 0;
2509
+ box-shadow: 0 1px 0 0 rgba(var(--color-grey-300), 1) inset;
2510
+
2511
+ color: rgba(var(--color-grey-700), 1);
2512
+ font-size: 1rem;
2513
+ font-weight: var(--font-weight-400);
2514
+ text-align: left;
2515
+ }
2516
+
2517
+ .accordion > button:hover {
2518
+ background: none;
2519
+ color: rgba(var(--color-grey-900), 1);
2520
+ }
2521
+
2522
+ .accordion > button:focus {
2523
+ color: rgba(var(--color-grey-900), 1);
2524
+ }
2525
+
2526
+ .accordion > button[aria-expanded="false"] {
2527
+ background: transparent;
2528
+ box-shadow: 0 1px 0 0 rgba(var(--color-grey-300), 1) inset;
2529
+ color: inherit;
2530
+ }
2531
+
2532
+ .accordion > button[aria-expanded="true"] {
2533
+ background: transparent;
2534
+ box-shadow: 0 1px 0 0 rgba(var(--color-grey-300), 1) inset;
2535
+ color: inherit;
2536
+ }
2537
+
2538
+ .accordion > button:after {
2539
+ content: "";
2540
+ position: absolute;
2541
+ right: 2em;
2542
+ top: 50%;
2543
+ width: 0.5rem;
2544
+ height: 0.5rem;
2545
+
2546
+ border: solid rgba(var(--color-grey-300), 1);
2547
+ border-width: 0 2px 2px 0;
2548
+
2549
+ transform: translateY(-60%) rotate(45deg);
2550
+ pointer-events: none;
2551
+ transition: transform ease-in-out 0.2s;
2552
+ }
2553
+
2554
+ .accordion > button:hover:after,
2555
+ .accordion > button:focus:after {
2556
+ border-color: rgba(var(--color-grey-500), 1);
2557
+ }
2558
+
2559
+ .accordion > button[aria-expanded="true"]:after {
2560
+ transform: translateY(-50%) rotate(-135deg);
2561
+ border-color: rgba(var(--color-grey-500), 1);
2562
+ }
2563
+
2564
+ .accordion > section {
2565
+ margin: 0;
2566
+ padding: 1em 1.5em;
2567
+ }
2568
+
2569
+ /* components/alert.css */
2570
+ [role="alert"] {
2571
+ display: flex;
2572
+ align-items: center;
2573
+ color: rgba(var(--color-grey-600), 1);
2574
+ background: rgba(var(--color-grey-50), 1);
2575
+ border-left: var(--space-1-2) solid rgba(var(--color-grey-400), 1);
2576
+ border-radius: var(--border-radius-s, 0);
2577
+ box-shadow: var(--box-shadow-m);
2578
+ padding: calc(var(--space) * 1.5 ) var(--space-3x);
2579
+ }
2580
+
2581
+ [role="alert"]:empty {
2582
+ display: none;
2583
+ }
2584
+
2585
+ [role="alert"] a:any-link {
2586
+ color: inherit;
2587
+ text-decoration: underline;
2588
+ }
2589
+
2590
+ [role="alert"] a:any-link:hover {
2591
+ color: rgba(var(--color-grey-800), 1);
2592
+ }
2593
+
2594
+ [role="alert"] p {
2595
+ color: inherit;
2596
+ font-family: inherit;
2597
+ font-size: 1rem;
2598
+ padding: 0;
2599
+ max-width: none;
2600
+ }
2601
+
2602
+ [role="alert"] + * {
2603
+ margin-top: var(--space-6x);
2604
+ }
2605
+
2606
+ [role="alert"] > svg {
2607
+ width: 24px;
2608
+ height: 24px;
2609
+ min-width: 24px;
2610
+ margin-right: var(--space-3x);
2611
+ fill: none;
2612
+ stroke: currentColor;
2613
+ stroke-width: 2;
2614
+ stroke-linecap: round;
2615
+ stroke-linejoin: round;
2616
+ }
2617
+
2618
+ /* style modifiers */
2619
+
2620
+ /* info */
2621
+ [role="alert"].is-info {
2622
+ background: rgba(var(--color-blue-50), 1);
2623
+ color: rgba(var(--color-blue-600), 1);
2624
+ border-color: rgba(var(--color-blue-100), 1);
2625
+ border-left-color: rgba(var(--color-blue-400), 1);
2626
+ }
2627
+
2628
+ [role="alert"].is-info :any-link:hover {
2629
+ color: rgba(var(--color-blue-700), 1);
2630
+ }
2631
+
2632
+ [role="alert"].is-info > svg {
2633
+ stroke: rgba(var(--color-blue-500), 1);
2634
+ }
2635
+
2636
+ /* success */
2637
+ [role="alert"].is-success {
2638
+ background: rgba(var(--color-green-50), 1);
2639
+ color: rgba(var(--color-green-600), 1);
2640
+ border-color: rgba(var(--color-green-100), 1);
2641
+ border-left-color: rgba(var(--color-green-400), 1);
2642
+ }
2643
+
2644
+ [role="alert"].is-success :any-link:hover {
2645
+ color: rgba(var(--color-green-700), 1);
2646
+ }
2647
+
2648
+ [role="alert"].is-success > svg {
2649
+ stroke: rgba(var(--color-green-500), 1);
2650
+ }
2651
+
2652
+ /* error */
2653
+ [role="alert"].is-error {
2654
+ background: rgba(var(--color-red-50), 1);
2655
+ color: rgba(var(--color-red-600), 1);
2656
+ border-color: rgba(var(--color-red-100), 1);
2657
+ border-left-color: rgba(var(--color-red-400), 1);
2658
+ }
2659
+
2660
+ [role="alert"].is-error :any-link:hover {
2661
+ color: rgba(var(--color-red-700), 1);
2662
+ }
2663
+
2664
+ [role="alert"].is-error > svg {
2665
+ stroke: rgba(var(--color-red-500), 1);
2666
+ }
2667
+
2668
+ /* warning */
2669
+ [role="alert"].is-warning {
2670
+ background: rgba(var(--color-yellow-50), 1);
2671
+ color: rgba(var(--color-yellow-600), 1);
2672
+ border-color: rgba(var(--color-yellow-100), 1);
2673
+ border-left-color: rgba(var(--color-yellow-400), 1);
2674
+ }
2675
+
2676
+ [role="alert"].is-warning :any-link:hover {
2677
+ color: rgba(var(--color-yellow-700), 1);
2678
+ }
2679
+
2680
+ [role="alert"].is-warning > svg {
2681
+ stroke: rgba(var(--color-yellow-500), 1);
2682
+ }
2683
+
2684
+ /* flow */
2685
+ * + [role="alert"] {
2686
+ margin-top: var(--space-3x);
2687
+ }
2688
+ /* components/avatar.css */
2689
+ .avatar,
2690
+ a.avatar {
2691
+ display: block;
2692
+ position: relative;
2693
+ height: var(--space-5x);
2694
+ width: var(--space-5x);
2695
+ background: rgba(var(--color-grey-50), 1);
2696
+ border-radius: 50%;
2697
+ box-shadow: 0 0 0 var(--space-1-4) rgba(var(--color-bg), 1);
2698
+ overflow: hidden;
2699
+ text-decoration: none;
2700
+ text-align: center;
2701
+ line-height: var(--space-5x);
2702
+ }
2703
+
2704
+ .avatar:after {
2705
+ content: "";
2706
+ position: absolute;
2707
+ height: 100%;
2708
+ width: 100%;
2709
+ border-radius: 50%;
2710
+ box-shadow: 0 1px 2px 0 rgba(var(--color-black), 0.1) inset;
2711
+ }
2712
+
2713
+ .avatar img {
2714
+ height: 100%;
2715
+ margin: 0;
2716
+ }
2717
+
2718
+ @supports (object-fit: cover) {
2719
+ .avatar img {
2720
+ position: absolute;
2721
+ object-fit: cover;
2722
+ left: 0;
2723
+ height: 100%;
2724
+ width: 100%;
2725
+ }
2726
+ }
2727
+
2728
+ .avatar-group {
2729
+ padding: 0;
2730
+ }
2731
+
2732
+ .avatar-group li {
2733
+ list-style-type: none;
2734
+ height: var(--space-5x);
2735
+ }
2736
+
2737
+ .avatar-group li + li {
2738
+ margin-left: calc(var(--space) * -1);
2739
+ }
2740
+
2741
+ .avatar-group .avatar:hover {
2742
+ z-index: 20;
2743
+ }
2744
+
2745
+
2746
+ .avatar.is-large {
2747
+ height: var(--space-9x);
2748
+ width: var(--space-9x);
2749
+ line-height: var(--space-9x);
2750
+ }
2751
+ /* components/badge.css */
2752
+ .badge {
2753
+ display: inline-block;
2754
+ height: var(--space-2x);
2755
+ padding: 0 var(--space-1-2);
2756
+ position: relative;
2757
+ background: rgba(var(--color-grey-50), 1);
2758
+ border-radius: var(--border-radius-m, 0);
2759
+ box-shadow: var(--box-shadow-s);
2760
+
2761
+ /* text */
2762
+ color: rgba(var(--color-grey-700), 1);
2763
+ font-size: var(--font-size-30);
2764
+ font-weight: var(--font-weight-400);
2765
+ line-height: var(--space-2x);
2766
+ text-decoration: none;
2767
+ }
2768
+
2769
+ .badge > svg {
2770
+ width: 12px;
2771
+ height: 12px;
2772
+ min-width: 12px;
2773
+ margin: 2px;
2774
+ vertical-align: middle;
2775
+ }
2776
+
2777
+ /* style modifiers */
2778
+ .badge.is-info {
2779
+ background: rgba(var(--color-blue-50), 1);
2780
+ color: rgba(var(--color-blue-700), 1);
2781
+ }
2782
+
2783
+ .badge.is-success {
2784
+ background: rgba(var(--color-green-50), 1);
2785
+ color: rgba(var(--color-green-700), 1);
2786
+ }
2787
+
2788
+ .badge.is-error {
2789
+ background: rgba(var(--color-red-50), 1);
2790
+ color: rgba(var(--color-red-700), 1);
2791
+ }
2792
+
2793
+ .badge.is-warning {
2794
+ background: rgba(var(--color-yellow-50), 1);
2795
+ color: rgba(var(--color-yellow-700), 1);
2796
+ }
2797
+
2798
+ /* components/breadcrumb.css */
2799
+
2800
+ .breadcrumb ol {
2801
+ margin: 0;
2802
+ padding-left: 0;
2803
+ list-style: none;
2804
+ }
2805
+
2806
+ .breadcrumb li {
2807
+ display: inline;
2808
+ }
2809
+
2810
+ .breadcrumb li + li::before {
2811
+ content: '';
2812
+ display: inline-block;
2813
+ margin: 0 var(--space);
2814
+ transform: rotate(20deg);
2815
+ border-right: 1px solid rgba(var(--color-grey-400), 1);
2816
+ height: 0.75em;
2817
+ }
2818
+
2819
+ .breadcrumb li:last-child {
2820
+ color: rgba(var(--color-grey-700), 1);
2821
+ font-weight: var(--font-weight-700);
2822
+ }
2823
+
2824
+ /* components/carousel.css */
2825
+
2826
+ .carousel {
2827
+ display: static;
2828
+ }
2829
+
2830
+ /* navigation */
2831
+
2832
+ .carousel nav {
2833
+ margin: 0;
2834
+ padding: 0;
2835
+ width: 100%;
2836
+ text-align: center;
2837
+ height: calc(var(--space) * 6);
2838
+ display: block;
2839
+ }
2840
+
2841
+ .carousel nav [role="group"] {
2842
+ display: inline-flex;
2843
+ flex-direction: row;
2844
+ margin: 0 auto;
2845
+ width: auto;
2846
+ }
2847
+
2848
+ .carousel nav [role="group"] > * {
2849
+ border-radius: 0;
2850
+ margin: auto 0 0;
2851
+ }
2852
+
2853
+ .carousel nav [role="group"] > *:first-child {
2854
+ border-radius: var(--border-radius-m, 0) 0 0 var(--border-radius-m, 0);
2855
+ }
2856
+
2857
+ .carousel nav [role="group"] > *:last-child {
2858
+ border-radius: 0 var(--border-radius-m, 0) var(--border-radius-m, 0) 0;
2859
+ }
2860
+
2861
+
2862
+ /* slides container */
2863
+
2864
+ .carousel__body {
2865
+ width: 100%;
2866
+ border-radius: 0 0 var(--border-radius-m, 0) var(--border-radius-m, 0);
2867
+ }
2868
+
2869
+ /* slide */
2870
+
2871
+ [role="group"][aria-roledescription="slide"] {
2872
+ display: none;
2873
+ width: 100%;
2874
+ }
2875
+
2876
+ [role="group"][aria-roledescription="slide"][aria-current="slide"] {
2877
+ display: block;
2878
+ }
2879
+
2880
+ .slide__image {
2881
+ margin: 0;
2882
+ padding: 0;
2883
+ width: 100%;
2884
+ }
2885
+
2886
+ .slide__image a {
2887
+ margin: 0;
2888
+ padding: 0;
2889
+ }
2890
+
2891
+ .slide__image a img {
2892
+ margin: 0;
2893
+ padding: 0;
2894
+ display: block;
2895
+ overflow: hidden;
2896
+ max-height: 100%;
2897
+ max-width: 100%;
2898
+ }
2899
+
2900
+ .slide__body {
2901
+ margin: 0;
2902
+ padding: var(--space-2x);
2903
+ width: 100%;
2904
+ text-align: center;
2905
+ }
2906
+
2907
+ .slide__body p {
2908
+ max-width: 100%;
2909
+ }
2910
+ /* components/dialog.css */
2911
+
2912
+ /* Backdrop */
2913
+
2914
+ .dialog-backdrop {
2915
+ height: 100vh;
2916
+ width: 100%;
2917
+ position: fixed;
2918
+ top: 0;
2919
+ left: 0;
2920
+ background: rgba(var(--color-grey-300), .7);
2921
+ z-index: var(--z-40, 90);
2922
+ animation: backdrop 0.1s cubic-bezier(0.165, 0.840, 0.440, 1.000);
2923
+
2924
+ display: flex;
2925
+ align-items: center;
2926
+ justify-content: center;
2927
+ }
2928
+
2929
+ @supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
2930
+ .dialog-backdrop {
2931
+ -webkit-backdrop-filter: blur(4px);
2932
+ backdrop-filter: blur(4px);
2933
+ background: rgba(var(--color-grey-300), .7);
2934
+ }
2935
+ }
2936
+
2937
+ /* Modale */
2938
+
2939
+ [role="dialog"],
2940
+ [role="alertdialog"] {
2941
+ position: relative;
2942
+ padding: var(--space-3x);
2943
+ background-color: rgba(var(--color-bg), 1);
2944
+ border: 1px solid rgba(var(--color-grey-35), 1);
2945
+ border-radius: var(--border-radius-m, 0);
2946
+ min-width: 480px;
2947
+ max-width: 100%;
2948
+ max-height: 100vh;
2949
+ overflow-y: auto;
2950
+ animation: modale 0.5s cubic-bezier(0.165, 0.840, 0.440, 1.000);
2951
+ }
2952
+
2953
+ [role="dialog"] > header,
2954
+ [role="alertdialog"] > header {
2955
+ width: calc(100% + var(--space-6x));
2956
+ display: flex;
2957
+ align-items: center;
2958
+ border-radius: var(--border-radius-m, 0) var(--border-radius-m, 0) 0 0;
2959
+ margin: calc(var(--space-3x) * -1) calc(var(--space-3x) * -1) calc(var(--space-3x) * 1);
2960
+ padding: calc(var(--space) * 1.5 - 1px) calc(var(--space-3x) - 1px) calc(var(--space) * 1.5 - 1px);
2961
+ border-bottom: 1px solid rgba(var(--color-grey-50), 1);
2962
+ color: rgba(var(--color-grey-500), 1);
2963
+ }
2964
+
2965
+ [role="dialog"] > header button,
2966
+ [role="alertdialog"] > header button {
2967
+ margin-left: auto;
2968
+ }
2969
+
2970
+ [role="dialog"] > footer,
2971
+ [role="alertdialog"] > footer {
2972
+ background: rgba(var(--color-grey-50), 1);
2973
+ width: calc(100% + var(--space-6x));
2974
+ border-radius: 0 0 var(--border-radius-m, 0) var(--border-radius-m, 0);
2975
+ margin: var(--space-3x) calc(var(--space-3x) * -1) calc(var(--space-3x) * -1);
2976
+ padding: calc(var(--space) * 1.5 - 1px) calc(var(--space-3x) - 1px) calc(var(--space) * 1.5 - 1px);
2977
+ border-top: 1px solid rgba(var(--color-grey-50), 1);
2978
+ }
2979
+
2980
+ @media screen and (min-width: 640px) {
2981
+ [role="dialog"],
2982
+ [role="alertdialog"] {
2983
+ min-width: 640px;
2984
+ min-height: auto;
2985
+ box-shadow: var(--box-shadow-l);
2986
+ background-color: rgba(var(--color-bg), 1);
2987
+ }
2988
+ }
2989
+
2990
+ @keyframes modale {
2991
+ 0% {
2992
+ top: -48px;
2993
+ opacity: 0;
2994
+ }
2995
+ 100% {
2996
+ top: 0;
2997
+ opacity: 1;
2998
+ }
2999
+ }
3000
+
3001
+ @keyframes backdrop {
3002
+ 0% {
3003
+ opacity: 0;
3004
+ }
3005
+ 100% {
3006
+ opacity: 1;
3007
+ }
3008
+ }
3009
+ /* components/grid_auto.css */
3010
+
3011
+ .grid-auto {
3012
+ --gap: var(--space-3x);
3013
+ --col-min-width: calc(var(--space) * 30);
3014
+
3015
+ display: grid;
3016
+ grid-gap: var(--gap, 0);
3017
+ grid-template-columns: repeat(auto-fit, minmax(var(--col-min-width), 1fr));
3018
+ width: 100%;
3019
+ padding: 0;
3020
+ }
3021
+
3022
+ .grid-auto > * {
3023
+ list-style-type: none;
3024
+ margin: 0;
3025
+ }
3026
+
3027
+ .grid-auto * + *,
3028
+ .grid-auto * + .card {
3029
+ margin-top: 0;
3030
+ }
3031
+
3032
+ .grid-auto + * {
3033
+ margin-top: var(--space-3x);
3034
+ }
3035
+
3036
+ /* components/group.css */
3037
+
3038
+ [role="group"] {
3039
+ display: flex;
3040
+ align-items: flex-end;
3041
+ border-radius: var(--border-radius-s, 0);
3042
+ border-radius: 4px;
3043
+ max-width: 100%;
3044
+ }
3045
+
3046
+ [role="group"] > * {
3047
+ border-radius: 0;
3048
+ margin: auto 0 0;
3049
+ }
3050
+
3051
+ [role="group"] > *.is-small,
3052
+ [role="group"] > *.is-large {
3053
+ border-radius: 0;
3054
+ }
3055
+
3056
+ [role="group"] > *:first-child {
3057
+ border-radius: var(--border-radius-s, 0) 0 0 var(--border-radius-s, 0);
3058
+ }
3059
+
3060
+ [role="group"] > *:last-child {
3061
+ border-radius: 0 var(--border-radius-s, 0) var(--border-radius-s, 0) 0;
3062
+ }
3063
+
3064
+ [role="group"] > picture {
3065
+ border-radius: 0;
3066
+ margin: auto 0 0;
3067
+ }
3068
+
3069
+ [role="group"] > picture:first-child {
3070
+ border-radius: 0;
3071
+ }
3072
+
3073
+ [role="group"] > picture:last-child {
3074
+ border-radius: 0;
3075
+ }
3076
+
3077
+ [role="group"] > .input {
3078
+ margin: auto var(--space) 0 0;
3079
+ }
3080
+
3081
+ [role="group"] > .input:last-child {
3082
+ margin: auto 0 0 0;
3083
+ }
3084
+
3085
+ [role="group"] > label {
3086
+ margin: 0;
3087
+ }
3088
+
3089
+ [role="group"].is-block {
3090
+ width: 100%;
3091
+ }
3092
+
3093
+ [role="group"].is-block > * {
3094
+ flex: 1;
3095
+ }
3096
+
3097
+ /* components/card.css */
3098
+ .card {
3099
+ background: rgba(var(--color-grey-20), 1);
3100
+ border: 0;
3101
+ border-radius: var(--border-radius-s, 0);
3102
+ box-shadow: 0 0 0 1px inset rgba(var(--color-grey-50), 1), var(--box-shadow-s);
3103
+ padding: var(--space-3x);
3104
+ list-style-type: none;
3105
+ overflow: hidden;
3106
+ }
3107
+
3108
+ .card > header {
3109
+ display: flex;
3110
+ align-items: center;
3111
+ min-height: var(--space-6x);
3112
+ width: calc(100% + var(--space-6x));
3113
+ border-radius: var(--border-radius-m, 0) var(--border-radius-m, 0) 0 0;
3114
+ padding: var(--space) var(--space-3x);
3115
+ margin: calc(var(--space-3x) * -1) calc(var(--space-3x) * -1) calc(var(--space-3x) * 1);
3116
+ box-shadow: 0 1px 0 0 rgba(var(--color-grey-50), 1);
3117
+ color: rgba(var(--color-grey-500), 1);
3118
+ }
3119
+
3120
+ .card > header > * {
3121
+ margin: 0 var(--space-1-2);
3122
+ padding: 0;
3123
+ text-transform: none;
3124
+ letter-spacing: 0;
3125
+ font-size: var(--font-size-50);
3126
+ line-height: var(--space-3x);
3127
+ }
3128
+
3129
+ .card > picture {
3130
+ margin: calc(var(--space-3x) * -1) calc(var(--space-3x) * -1) calc(var(--space-3x) * 1);
3131
+ width: calc(100% + var(--space-6x));
3132
+ }
3133
+
3134
+ .card > footer {
3135
+ background: rgba(var(--color-grey-50), 1);
3136
+ box-shadow: 0 -1px 0 0 rgba(var(--color-grey-100), .8);
3137
+ border-radius: 0 0 var(--border-radius-m, 0) var(--border-radius-m, 0);
3138
+ margin: var(--space-3x) calc(var(--space-3x) * -1) calc(var(--space-3x) * -1);
3139
+ padding: var(--space-2x) calc(var(--space-3x) - 1px);
3140
+ width: calc(100% + var(--space-6x));
3141
+ }
3142
+
3143
+ .card > aside {
3144
+ background: rgba(var(--color-grey-50), 1);
3145
+ min-width: 300px;
3146
+ padding: var(--space-3x);
3147
+ }
3148
+ /* components/menu.css */
3149
+
3150
+ [role="menu"] {
3151
+ text-align: left;
3152
+ color: rgba(var(--color-grey-500), 1);
3153
+ position: relative;
3154
+ list-style-type: none;
3155
+ margin: 0;
3156
+ padding: 6px 0 18px;
3157
+ text-transform: none;
3158
+ font-size: var(--font-size-50);
3159
+ letter-spacing: 0.03em;
3160
+ }
3161
+
3162
+ [role="menu"] .menu__title {
3163
+ font-weight: var(--font-weight-700);
3164
+ text-transform: uppercase;
3165
+ letter-spacing: 0.1em;
3166
+ font-size: var(--font-size-30);
3167
+ display: inline-block;
3168
+ transform: translateY(2px);
3169
+ padding: 0 24px;
3170
+ }
3171
+
3172
+ [role="menu"] [role="menu"] {
3173
+ margin: 0 0 var(--space-3x, 1em);
3174
+ padding: 0;
3175
+ }
3176
+
3177
+ li[role="menuitem"] {
3178
+ display: flex;
3179
+ flex-direction: column;
3180
+ }
3181
+
3182
+ a[role="menuitem"]:not(.button) {
3183
+ padding: 0 24px;
3184
+ margin: 0;
3185
+ font-size: inherit;
3186
+ text-decoration: none;
3187
+ color: rgba(var(--color-grey-700), 1);
3188
+ display: flex;
3189
+ align-items: center;
3190
+ }
3191
+
3192
+ a[role="menuitem"]:not(.button):hover {
3193
+ color: rgba(var(--color-grey-800), 1);
3194
+ }
3195
+
3196
+ a[role="menuitem"]:not(.button)[aria-current="true"] {
3197
+ background: rgba(var(--color-grey-100), 1);
3198
+ color: rgba(var(--color-blue-700), 1);
3199
+ }
3200
+ /* components/menubutton.css */
3201
+
3202
+ .menubutton {
3203
+ position: relative;
3204
+ display: inline-block;
3205
+ }
3206
+
3207
+ /* button style. see elements/button.scss */
3208
+ .menubutton > button,
3209
+ .menubutton > input[type="submit"],
3210
+ .menubutton > input[type="button"],
3211
+ .menubutton > input[type="reset"],
3212
+ .menubutton > [role="button"],
3213
+ .menubutton > :any-link[role="button"] {
3214
+ position: relative;
3215
+ margin: 0;
3216
+ }
3217
+
3218
+ .menubutton > button:after,
3219
+ .menubutton > input[type="submit"]:after,
3220
+ .menubutton > input[type="button"]:after,
3221
+ .menubutton > input[type="reset"]:after,
3222
+ .menubutton > [role="button"]:after,
3223
+ .menubutton > :any-link[role="button"]:after {
3224
+ content: "…";
3225
+ margin-left: var(--space);
3226
+ }
3227
+
3228
+ /* menu. see components/menu.scss */
3229
+ .menubutton > [role="menu"] {
3230
+ display: none;
3231
+ position: absolute;
3232
+ z-index: 1000;
3233
+ top: var(--space-7x);
3234
+ left: 0;
3235
+ margin: 0;
3236
+ padding: var(--space, 0) 0;
3237
+ border-radius: var(--border-radius-m, 0);
3238
+ width: auto;
3239
+ background: rgba(var(--color-grey-00), 1);
3240
+ box-shadow: var(--box-shadow-l);
3241
+ border: 1px solid rgba(var(--color-grey-50), 1);
3242
+ }
3243
+
3244
+ .menubutton > [role="menu"]:after,
3245
+ .menubutton > [role="menu"]:before {
3246
+ bottom: 100%;
3247
+ left: var(--space-3x);
3248
+ border: solid transparent;
3249
+ content: "";
3250
+ height: 0;
3251
+ width: 0;
3252
+ position: absolute;
3253
+ pointer-events: none;
3254
+ }
3255
+
3256
+ .menubutton > [role="menu"]:after {
3257
+ border-color: transparent;
3258
+ border-bottom-color: rgba(var(--color-grey-00), 1);
3259
+ border-width: 6px;
3260
+ margin-left: -6px;
3261
+ }
3262
+
3263
+ .menubutton > [role="menu"]:before {
3264
+ border-color: transparent;
3265
+ border-bottom-color: rgba(var(--color-grey-50), 1);
3266
+ border-width: 8px;
3267
+ margin-left: -8px;
3268
+ }
3269
+
3270
+ .menubutton > [role="menu"] [role="menuitem"] {
3271
+ display: block;
3272
+ padding: 0px 16px;
3273
+ background: rgba(var(--color-grey-00), 1);
3274
+ }
3275
+
3276
+ .menubutton > [role="menu"] [role="menuitem"]:hover,
3277
+ .menubutton > [role="menu"] [role="menuitem"]:focus {
3278
+ background: rgba(var(--color-grey-50), 1);
3279
+ color: rgba(var(--color-grey-700), 1);
3280
+ }
3281
+
3282
+ /* position modifiers */
3283
+
3284
+ .menubutton > [role="menu"].is-right {
3285
+ left: auto;
3286
+ right: 0;
3287
+ }
3288
+
3289
+ .menubutton > [role="menu"].is-right:before {
3290
+ right: 24px;
3291
+ left: auto
3292
+ }
3293
+
3294
+ /* components/menubar.css */
3295
+
3296
+ ul[role="menubar"] {
3297
+ display: flex;
3298
+ align-items: center;
3299
+ margin: 0;
3300
+ padding: 0;
3301
+ list-style: none;
3302
+ }
3303
+
3304
+ /* 1s level list item */
3305
+ ul[role="menubar"] > li {
3306
+ list-style: none;
3307
+ margin: 0;
3308
+ padding: 0;
3309
+ position: relative;
3310
+ }
3311
+
3312
+ /* 1st level separator */
3313
+ ul[role="menubar"] [role="separator"] {
3314
+ padding-top: 0.15em;
3315
+ background-position: center;
3316
+ background-repeat: repeat-x;
3317
+ }
3318
+
3319
+ ul[role="menubar"] :any-link[role="menuitem"]:not(.button) {
3320
+ display: block;
3321
+ padding: var(--space);
3322
+ white-space: nowrap;
3323
+ }
3324
+
3325
+ /* 1st level menuitem link with submenu */
3326
+ ul[role="menubar"] :any-link[role="menuitem"][aria-haspopup="true"] {
3327
+ padding-right: 24px;
3328
+ }
3329
+
3330
+ ul[role="menubar"] :any-link[role="menuitem"][aria-haspopup="true"]:after {
3331
+ grid-area: select;
3332
+ content: "";
3333
+ width: var(--space);
3334
+ height: var(--space-1-2);
3335
+ position: absolute;
3336
+ right: var(--space);
3337
+ top: 20px;
3338
+ background-color: rgba(var(--color-grey-400), 1);
3339
+ clip-path: polygon(100% 0%, 0 0%, 50% 100%);
3340
+ }
3341
+
3342
+ /* SUBMENU
3343
+ menu.scss
3344
+
3345
+ hidden submenu */
3346
+ ul[role="menubar"] ul[role="menu"] {
3347
+ display: none;
3348
+ position: absolute;
3349
+ z-index: 1000;
3350
+ top: var(--space-5x);
3351
+ left: var(--space);
3352
+ margin: 0;
3353
+ min-width: 180px;
3354
+ padding: var(--space) 0;
3355
+ border-radius: var(--border-radius-m, 0);
3356
+ width: auto;
3357
+ background: rgba(var(--color-grey-20), 1);
3358
+ box-shadow: var(--box-shadow-m, none);
3359
+ border: 1px solid rgba(var(--color-grey-50), 1);
3360
+ }
3361
+
3362
+ ul[role="menubar"] ul[role="menu"]:before {
3363
+ content: "";
3364
+ position: absolute;
3365
+ bottom: 100%;
3366
+ left: var(--space-3x);
3367
+ margin-left: -6px;
3368
+ border-width: 6px;
3369
+ border-style: solid;
3370
+ border-color: transparent transparent rgba(var(--color-grey-50), 1) transparent;
3371
+ }
3372
+
3373
+ ul[role="menubar"] ul[role="menu"] li :any-link[role="menuitem"] {
3374
+ display: block;
3375
+ padding: 0 var(--space-2x);
3376
+ background: rgba(var(--color-grey-20), 1);
3377
+ }
3378
+
3379
+ ul[role="menubar"] ul[role="menu"] li :any-link[role="menuitem"] :hover,
3380
+ ul[role="menubar"] ul[role="menu"] li :any-link[role="menuitem"] :focus {
3381
+ background: rgba(var(--color-grey-50), 1);
3382
+ }
3383
+
3384
+ ul[role="menubar"] :any-link[role="menuitem"][aria-haspopup="true"]:hover ~ ul[role="menu"],
3385
+ ul[role="menubar"] ul[role="menu"]:hover {
3386
+ display: block;
3387
+ }
3388
+
3389
+ /* components/switch.css */
3390
+
3391
+ .switch {
3392
+ position: relative;
3393
+ display: flex;
3394
+ width: auto;
3395
+ line-height: 40px;
3396
+ text-align: center;
3397
+ padding: 0 24px 0 24px;
3398
+ }
3399
+
3400
+ .switch[aria-pressed="true"] {
3401
+ background: transparent;
3402
+ color: rgba(var(--color-grey-700), 1);
3403
+ box-shadow: 0 0 0 1px rgba(var(--color-grey-200), 1) inset;
3404
+ }
3405
+
3406
+ .switch:hover {
3407
+ box-shadow: 0 0 0 1px rgba(var(--color-grey-300), 1) inset, var(--box-shadow-s);
3408
+ }
3409
+
3410
+ .switch:focus {
3411
+ color: rgba(var(--color-grey-700), 1);
3412
+ outline: 2px solid rgba(var(--color-blue-200), 1);
3413
+ }
3414
+
3415
+ .switch[aria-pressed="true"] .slider {
3416
+ background: rgba(var(--color-blue-100), 1);
3417
+ box-shadow: 0 0 0 1px rgba(var(--color-blue-300), 1);
3418
+ }
3419
+
3420
+ .switch[aria-pressed="true"] .slider:before {
3421
+ -webkit-transform: translateX(var(--space-2x));
3422
+ -ms-transform: translateX(var(--space-2x));
3423
+ transform: translateX(var(--space-2x));
3424
+ background-color: rgba(var(--color-blue-600), 1);
3425
+ }
3426
+
3427
+ /* The slider */
3428
+ .slider {
3429
+ position: relative;
3430
+ cursor: pointer;
3431
+ display: inline-block;
3432
+ width: calc(var(--space-4x) - 2px);
3433
+ height: calc(var(--space-2x) - 2px);
3434
+ background-color: rgba(var(--color-grey-00), 0);
3435
+ box-shadow: 0 0 0 1px rgba(var(--color-grey-200), 1),
3436
+ var(--box-inset-shadow-s);
3437
+ border-radius: var(--space);
3438
+ -webkit-transition: .4s;
3439
+ transition: .4s;
3440
+ margin-left: var(--space);
3441
+ }
3442
+
3443
+ .slider:before {
3444
+ position: absolute;
3445
+ content: "";
3446
+ height: 8px;
3447
+ width: 8px;
3448
+ border-radius: 4px;
3449
+ left: 3px;
3450
+ bottom: 3px;
3451
+ background-color: rgba(var(--color-grey-300), 1);
3452
+ box-shadow: var(--box-shadow-m);
3453
+ -webkit-transition: .4s;
3454
+ transition: .4s;
3455
+ }
3456
+
3457
+ /* components/tab.css */
3458
+
3459
+ [role="tablist"] {
3460
+ display: flex;
3461
+ box-shadow: 0 1px 0 0 rgba(var(--color-grey-100), 1);
3462
+ padding: 0;
3463
+ margin: 0 0 -1px;
3464
+ }
3465
+
3466
+ [role="tab"] {
3467
+ padding: calc(var(--space) - 1px) var(--space-3x) calc(var(--space-2x) + 1px);
3468
+ color: rgba(var(--color-grey-500), 1);
3469
+ cursor: pointer;
3470
+ border: 0;
3471
+ border-radius: var(--border-radius-m, 0) var(--border-radius-m, 0) 0 0;
3472
+ list-style-type: none;
3473
+ margin-bottom: 2px;
3474
+ }
3475
+
3476
+ [role="tab"]:hover {
3477
+ color: rgba(var(--color-grey-600), 1);
3478
+ }
3479
+
3480
+ [role="tab"][aria-selected="true"],
3481
+ [role="tab"][aria-selected="true"]:hover {
3482
+ cursor: default;
3483
+ background: rgba(var(--color-bg), 1);
3484
+ color: rgba(var(--color-blue-600), 1);
3485
+ box-shadow:
3486
+ 0 2px 0 0 rgba(var(--color-bg), 1),
3487
+ 0 0 0 1px rgba(var(--color-grey-100), 1);
3488
+ }
3489
+
3490
+ [role="tabpanel"] {
3491
+ padding: var(--space-3x);
3492
+ background: rgba(var(--color-bg), 1);
3493
+ border: 0;
3494
+ box-shadow: 0 -1px 0 0 rgba(var(--color-grey-100), 1);
3495
+ }
3496
+
3497
+ [role="tabpanel"][aria-hidden="true"] {
3498
+ display: none;
3499
+ }
3500
+ /* components/toolbar.css */
3501
+
3502
+ [role="toolbar"] {
3503
+ display: inline-flex;
3504
+ align-items: center;
3505
+ padding: 0;
3506
+ position: relative;
3507
+ border-radius: 0;
3508
+ }
3509
+
3510
+ [role="toolbar"] > * {
3511
+ margin: 0 var(--space-2x) 0 0;
3512
+ }
3513
+
3514
+ [role="toolbar"] > *:last-child {
3515
+ margin: 0;
3516
+ }
3517
+
3518
+ [role="toolbar"] nav {
3519
+ margin: 0 0 0 auto;
3520
+ display: flex;
3521
+ align-items: center;
3522
+ }
3523
+
3524
+ [role="toolbar"] nav > * {
3525
+ margin: 0 0 0 var(--space-2x);
3526
+ }
3527
+
3528
+
3529
+ /* Aria states last loaded */
3530
+ /* design_tokens/states.css */
3531
+
3532
+ *[hidden=true] {
3533
+ display: none;
3534
+ }
3535
+
3536
+ /* hide visually but make it available to assistive technology. */
3537
+ .sr-only {
3538
+ border: 0 !important;
3539
+ clip: rect(1px, 1px, 1px, 1px) !important;
3540
+ -webkit-clip-path: inset(50%) !important;
3541
+ clip-path: inset(50%) !important;
3542
+ height: 1px !important;
3543
+ overflow: hidden !important;
3544
+ padding: 0 !important;
3545
+ position: absolute !important;
3546
+ width: 1px !important;
3547
+ white-space: nowrap !important;
3548
+ }