claritas-web-framework 5.1.21 → 5.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +20 -0
- package/.prettierrc +7 -0
- package/dist/index.css +1 -1
- package/dist/index.html +1 -1
- package/index.html +9 -15
- package/index.js +2 -2
- package/js/defaults/getPage.js +4 -4
- package/js/defaults/getSiblings.js +5 -3
- package/js/polyfills/customevent.js +21 -16
- package/js/utilities/{debounce.js → DeBounce.js} +25 -27
- package/js/utilities/isElement.js +11 -11
- package/js/utilities/removehash.js +12 -8
- package/package.json +11 -5
- package/postcss.config.js +42 -46
- package/scss/_base.scss +1 -1
- package/scss/_functions.scss +51 -14
- package/scss/_helpers.scss +1 -1
- package/scss/_mixins.scss +1 -1
- package/scss/_modules.scss +1 -1
- package/scss/_root.scss +1 -1
- package/scss/_utilities.scss +1 -1
- package/scss/_variables.scss +213 -217
- package/scss/helpers/_image.scss +1 -1
- package/scss/helpers/_link.scss +2 -2
- package/scss/helpers/_wrap.scss +1 -1
- package/scss/index.scss +1 -1
- package/scss/mixins/_breakpoints.scss +1 -1
- package/scss/mixins/_wrap.scss +1 -1
- package/scss/modules/_close.scss +1 -1
- package/scss/modules/_details.scss +2 -2
- package/scss/modules/_tag.scss +1 -1
- package/scss/utilities/_colors.scss +1 -1
- package/scss/utilities/_order.scss +1 -1
- package/scss/utilities/_pointerEvents.scss +1 -1
- package/scss/utilities/_size.scss +2 -2
- package/scss/utilities/_translate.scss +1 -1
- package/scss/utilities/_visibility.scss +1 -1
- package/scss/utilities/_zIndex.scss +1 -1
- package/styles/helpers/container.css +1 -1
- package/styles/helpers/embed.css +5 -5
- package/styles/helpers/grid.css +5 -5
- package/styles/helpers/image.css +1 -1
- package/styles/helpers/link.css +2 -2
- package/styles/helpers/wrap.css +1 -1
- package/styles/helpers.css +7 -7
- package/styles/index.css +6 -6
- package/styles/mixins/caret.css +1 -1
- package/styles/mixins/helpers/container.css +1 -1
- package/styles/mixins/helpers/link.css +2 -2
- package/styles/mixins/modules/card.css +1 -1
- package/styles/mixins/modules/close.css +2 -2
- package/styles/mixins/modules/pill.css +1 -1
- package/styles/mixins.css +13 -13
- package/styles/modules/breadcrumbs.css +2 -2
- package/styles/modules/button.css +2 -2
- package/styles/modules/card.css +2 -2
- package/styles/modules/close.css +1 -1
- package/styles/modules/details.css +2 -2
- package/styles/modules/dialog.css +1 -1
- package/styles/modules/dropdown.css +2 -2
- package/styles/modules/form/checkbox.css +4 -4
- package/styles/modules/form/file.css +7 -7
- package/styles/modules/form/progress.css +1 -1
- package/styles/modules/form/radio.css +3 -3
- package/styles/modules/form/range.css +4 -3
- package/styles/modules/form/select.css +3 -2
- package/styles/modules/form.css +0 -2
- package/styles/modules/list.css +4 -4
- package/styles/modules/pill.css +2 -2
- package/styles/modules/table.css +1 -1
- package/styles/modules/tabs.css +5 -5
- package/styles/modules/tag.css +4 -3
- package/styles/modules/tile.css +1 -1
- package/styles/modules.css +17 -17
- package/styles/utilities/align.css +1 -1
- package/styles/utilities/pointer-events.css +1 -1
- package/styles/utilities/position.css +9 -9
- package/styles/utilities/shadow.css +4 -2
- package/styles/utilities/size.css +24 -24
- package/styles/utilities/spacing.css +10 -10
- package/styles/utilities/tooltip.css +4 -4
- package/styles/utilities/translate.css +1 -1
- package/styles/utilities.css +18 -18
- package/styles/vars.css +6 -6
- package/webpack.config.js +41 -41
package/scss/_variables.scss
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// Color system
|
|
2
|
-
$white:
|
|
3
|
-
$gray-1: #
|
|
4
|
-
$gray-2: #
|
|
5
|
-
$gray-3: #
|
|
6
|
-
$gray-4: #
|
|
7
|
-
$gray-5: #
|
|
8
|
-
$gray-6: #
|
|
9
|
-
$gray-7: #
|
|
10
|
-
$gray-8: #
|
|
11
|
-
$gray-9: #
|
|
12
|
-
$black:
|
|
2
|
+
$white: #fff !default;
|
|
3
|
+
$gray-1: #f6f6f7 !default;
|
|
4
|
+
$gray-2: #dadadc !default;
|
|
5
|
+
$gray-3: #bebfc1 !default;
|
|
6
|
+
$gray-4: #a1a3a6 !default;
|
|
7
|
+
$gray-5: #85888b !default;
|
|
8
|
+
$gray-6: #696c70 !default;
|
|
9
|
+
$gray-7: #4d5055 !default;
|
|
10
|
+
$gray-8: #30353a !default;
|
|
11
|
+
$gray-9: #14191f !default;
|
|
12
|
+
$black: #000 !default;
|
|
13
13
|
|
|
14
14
|
$grays: (
|
|
15
15
|
"1": $gray-1,
|
|
@@ -20,67 +20,67 @@ $grays: (
|
|
|
20
20
|
"6": $gray-6,
|
|
21
21
|
"7": $gray-7,
|
|
22
22
|
"8": $gray-8,
|
|
23
|
-
"9": $gray-9
|
|
23
|
+
"9": $gray-9,
|
|
24
24
|
) !default;
|
|
25
25
|
|
|
26
|
-
$blue:
|
|
27
|
-
$indigo:
|
|
28
|
-
$purple:
|
|
29
|
-
$pink:
|
|
30
|
-
$red:
|
|
31
|
-
$orange:
|
|
32
|
-
$yellow:
|
|
33
|
-
$green:
|
|
34
|
-
$teal:
|
|
35
|
-
$cyan:
|
|
26
|
+
$blue: #0d6efd !default;
|
|
27
|
+
$indigo: #6610f2 !default;
|
|
28
|
+
$purple: #6f42c1 !default;
|
|
29
|
+
$pink: #d63384 !default;
|
|
30
|
+
$red: #dc3545 !default;
|
|
31
|
+
$orange: #fd7e14 !default;
|
|
32
|
+
$yellow: #ffc107 !default;
|
|
33
|
+
$green: #198754 !default;
|
|
34
|
+
$teal: #20c997 !default;
|
|
35
|
+
$cyan: #0dcaf0 !default;
|
|
36
36
|
|
|
37
37
|
$colors: (
|
|
38
|
-
"blue":
|
|
39
|
-
"indigo":
|
|
40
|
-
"purple":
|
|
41
|
-
"pink":
|
|
42
|
-
"red":
|
|
43
|
-
"orange":
|
|
44
|
-
"yellow":
|
|
45
|
-
"green":
|
|
46
|
-
"teal":
|
|
47
|
-
"cyan":
|
|
48
|
-
"white":
|
|
49
|
-
"gray":
|
|
50
|
-
"gray-dark": $gray-8
|
|
38
|
+
"blue": $blue,
|
|
39
|
+
"indigo": $indigo,
|
|
40
|
+
"purple": $purple,
|
|
41
|
+
"pink": $pink,
|
|
42
|
+
"red": $red,
|
|
43
|
+
"orange": $orange,
|
|
44
|
+
"yellow": $yellow,
|
|
45
|
+
"green": $green,
|
|
46
|
+
"teal": $teal,
|
|
47
|
+
"cyan": $cyan,
|
|
48
|
+
"white": $white,
|
|
49
|
+
"gray": $gray-6,
|
|
50
|
+
"gray-dark": $gray-8,
|
|
51
51
|
) !default;
|
|
52
52
|
|
|
53
|
-
$primary:
|
|
54
|
-
$secondary:
|
|
55
|
-
$success:
|
|
56
|
-
$info:
|
|
57
|
-
$warning:
|
|
58
|
-
$danger:
|
|
59
|
-
$light:
|
|
60
|
-
$medium:
|
|
61
|
-
$dark:
|
|
53
|
+
$primary: $blue !default;
|
|
54
|
+
$secondary: $gray-6 !default;
|
|
55
|
+
$success: $green !default;
|
|
56
|
+
$info: $cyan !default;
|
|
57
|
+
$warning: $yellow !default;
|
|
58
|
+
$danger: $red !default;
|
|
59
|
+
$light: $gray-1 !default;
|
|
60
|
+
$medium: $gray-5 !default;
|
|
61
|
+
$dark: $gray-9 !default;
|
|
62
62
|
|
|
63
63
|
$theme-colors: (
|
|
64
|
-
"primary":
|
|
65
|
-
"secondary":
|
|
66
|
-
"success":
|
|
67
|
-
"info":
|
|
68
|
-
"warning":
|
|
69
|
-
"danger":
|
|
70
|
-
"light":
|
|
71
|
-
"medium":
|
|
72
|
-
"dark":
|
|
64
|
+
"primary": $primary,
|
|
65
|
+
"secondary": $secondary,
|
|
66
|
+
"success": $success,
|
|
67
|
+
"info": $info,
|
|
68
|
+
"warning": $warning,
|
|
69
|
+
"danger": $danger,
|
|
70
|
+
"light": $light,
|
|
71
|
+
"medium": $medium,
|
|
72
|
+
"dark": $dark,
|
|
73
73
|
) !default;
|
|
74
74
|
|
|
75
75
|
$theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
|
|
76
76
|
|
|
77
77
|
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
|
|
78
78
|
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
|
79
|
-
$min-contrast-ratio:
|
|
79
|
+
$min-contrast-ratio: 4.5 !default;
|
|
80
80
|
|
|
81
81
|
// Customize the light and dark text colors for use in our color contrast function.
|
|
82
|
-
$color-contrast-dark:
|
|
83
|
-
$color-contrast-light:
|
|
82
|
+
$color-contrast-dark: $black !default;
|
|
83
|
+
$color-contrast-light: $white !default;
|
|
84
84
|
|
|
85
85
|
$blue-1: tint-color($blue, 80%) !default;
|
|
86
86
|
$blue-2: tint-color($blue, 60%) !default;
|
|
@@ -191,7 +191,7 @@ $blues: (
|
|
|
191
191
|
"blue-6": $blue-6,
|
|
192
192
|
"blue-7": $blue-7,
|
|
193
193
|
"blue-8": $blue-8,
|
|
194
|
-
"blue-9": $blue-9
|
|
194
|
+
"blue-9": $blue-9,
|
|
195
195
|
) !default;
|
|
196
196
|
|
|
197
197
|
$indigos: (
|
|
@@ -203,7 +203,7 @@ $indigos: (
|
|
|
203
203
|
"indigo-6": $indigo-6,
|
|
204
204
|
"indigo-7": $indigo-7,
|
|
205
205
|
"indigo-8": $indigo-8,
|
|
206
|
-
"indigo-9": $indigo-9
|
|
206
|
+
"indigo-9": $indigo-9,
|
|
207
207
|
) !default;
|
|
208
208
|
|
|
209
209
|
$purples: (
|
|
@@ -215,7 +215,7 @@ $purples: (
|
|
|
215
215
|
"purple-6": $purple-6,
|
|
216
216
|
"purple-7": $purple-7,
|
|
217
217
|
"purple-8": $purple-8,
|
|
218
|
-
"purple-9": $purple-9
|
|
218
|
+
"purple-9": $purple-9,
|
|
219
219
|
) !default;
|
|
220
220
|
|
|
221
221
|
$pinks: (
|
|
@@ -227,7 +227,7 @@ $pinks: (
|
|
|
227
227
|
"pink-6": $pink-6,
|
|
228
228
|
"pink-7": $pink-7,
|
|
229
229
|
"pink-8": $pink-8,
|
|
230
|
-
"pink-9": $pink-9
|
|
230
|
+
"pink-9": $pink-9,
|
|
231
231
|
) !default;
|
|
232
232
|
|
|
233
233
|
$reds: (
|
|
@@ -239,7 +239,7 @@ $reds: (
|
|
|
239
239
|
"red-6": $red-6,
|
|
240
240
|
"red-7": $red-7,
|
|
241
241
|
"red-8": $red-8,
|
|
242
|
-
"red-9": $red-9
|
|
242
|
+
"red-9": $red-9,
|
|
243
243
|
) !default;
|
|
244
244
|
|
|
245
245
|
$oranges: (
|
|
@@ -251,7 +251,7 @@ $oranges: (
|
|
|
251
251
|
"orange-6": $orange-6,
|
|
252
252
|
"orange-7": $orange-7,
|
|
253
253
|
"orange-8": $orange-8,
|
|
254
|
-
"orange-9": $orange-9
|
|
254
|
+
"orange-9": $orange-9,
|
|
255
255
|
) !default;
|
|
256
256
|
|
|
257
257
|
$yellows: (
|
|
@@ -263,7 +263,7 @@ $yellows: (
|
|
|
263
263
|
"yellow-6": $yellow-6,
|
|
264
264
|
"yellow-7": $yellow-7,
|
|
265
265
|
"yellow-8": $yellow-8,
|
|
266
|
-
"yellow-9": $yellow-9
|
|
266
|
+
"yellow-9": $yellow-9,
|
|
267
267
|
) !default;
|
|
268
268
|
|
|
269
269
|
$greens: (
|
|
@@ -275,7 +275,7 @@ $greens: (
|
|
|
275
275
|
"green-6": $green-6,
|
|
276
276
|
"green-7": $green-7,
|
|
277
277
|
"green-8": $green-8,
|
|
278
|
-
"green-9": $green-9
|
|
278
|
+
"green-9": $green-9,
|
|
279
279
|
) !default;
|
|
280
280
|
|
|
281
281
|
$teals: (
|
|
@@ -287,7 +287,7 @@ $teals: (
|
|
|
287
287
|
"teal-6": $teal-6,
|
|
288
288
|
"teal-7": $teal-7,
|
|
289
289
|
"teal-8": $teal-8,
|
|
290
|
-
"teal-9": $teal-9
|
|
290
|
+
"teal-9": $teal-9,
|
|
291
291
|
) !default;
|
|
292
292
|
|
|
293
293
|
$cyans: (
|
|
@@ -299,231 +299,227 @@ $cyans: (
|
|
|
299
299
|
"cyan-6": $cyan-6,
|
|
300
300
|
"cyan-7": $cyan-7,
|
|
301
301
|
"cyan-8": $cyan-8,
|
|
302
|
-
"cyan-9": $cyan-9
|
|
302
|
+
"cyan-9": $cyan-9,
|
|
303
303
|
) !default;
|
|
304
304
|
|
|
305
305
|
$spacer: 1rem !default;
|
|
306
306
|
$spacers: (
|
|
307
307
|
0: 0,
|
|
308
|
-
1: $spacer * .25,
|
|
309
|
-
2: $spacer * .5,
|
|
308
|
+
1: $spacer * 0.25,
|
|
309
|
+
2: $spacer * 0.5,
|
|
310
310
|
3: $spacer,
|
|
311
311
|
4: $spacer * 1.5,
|
|
312
312
|
5: $spacer * 3,
|
|
313
|
-
"auto": auto
|
|
313
|
+
"auto": auto,
|
|
314
314
|
) !default;
|
|
315
315
|
|
|
316
|
-
$link-color:
|
|
316
|
+
$link-color: $primary !default;
|
|
317
317
|
$link-color-hover: shade-color($link-color, 20%) !default;
|
|
318
318
|
|
|
319
319
|
$body-background: $white !default;
|
|
320
|
-
$body-color:
|
|
320
|
+
$body-color: $gray-9 !default;
|
|
321
321
|
$body-text-align: null !default;
|
|
322
322
|
|
|
323
323
|
$breakpoints: (
|
|
324
324
|
"": 0,
|
|
325
|
-
"mobile":
|
|
326
|
-
"tablet":
|
|
327
|
-
"desktop":
|
|
325
|
+
"mobile": 576px,
|
|
326
|
+
"tablet": 768px,
|
|
327
|
+
"desktop": 1024px,
|
|
328
328
|
"widescreen": 1216px,
|
|
329
|
-
"fullhd":
|
|
329
|
+
"fullhd": 1408px,
|
|
330
330
|
) !default;
|
|
331
331
|
|
|
332
332
|
$container-max-widths: (
|
|
333
|
-
"mobile":
|
|
334
|
-
"tablet":
|
|
335
|
-
"desktop":
|
|
333
|
+
"mobile": 576px,
|
|
334
|
+
"tablet": 768px,
|
|
335
|
+
"desktop": 1024px,
|
|
336
336
|
"widescreen": 1216px,
|
|
337
|
-
"fullhd":
|
|
337
|
+
"fullhd": 1408px,
|
|
338
338
|
) !default;
|
|
339
339
|
|
|
340
|
-
$grid-columns:
|
|
341
|
-
$grid-gutter-x:
|
|
340
|
+
$grid-columns: 12 !default;
|
|
341
|
+
$grid-gutter-x: calc($spacer * 1.5) !default;
|
|
342
342
|
$grid-gutter-x-form: calc($spacer * 0.75) !default;
|
|
343
|
-
$grid-gutter-y:
|
|
343
|
+
$grid-gutter-y: 0 !default;
|
|
344
344
|
|
|
345
345
|
$line-height-base: 1.15 !default;
|
|
346
|
-
$font-size-base:
|
|
347
|
-
$font-size-6:
|
|
348
|
-
$font-size-5:
|
|
349
|
-
$font-size-4:
|
|
350
|
-
$font-size-3:
|
|
351
|
-
$font-size-2:
|
|
352
|
-
$font-size-1:
|
|
346
|
+
$font-size-base: $spacer !default;
|
|
347
|
+
$font-size-6: $font-size-base !default;
|
|
348
|
+
$font-size-5: calc($font-size-base * 1.125) !default;
|
|
349
|
+
$font-size-4: calc(($font-size-base * 1.275) + 0.3vw) !default;
|
|
350
|
+
$font-size-3: calc(($font-size-base * 1.3) + 0.6vw) !default;
|
|
351
|
+
$font-size-2: calc(($font-size-base * 1.325) + 0.9vw) !default;
|
|
352
|
+
$font-size-1: calc(($font-size-base * 1.375) + 1.5vw) !default;
|
|
353
353
|
|
|
354
354
|
$font-size-xsmall: 0.675em !default;
|
|
355
|
-
$font-size-small:
|
|
356
|
-
$font-size-large:
|
|
355
|
+
$font-size-small: 0.875em !default;
|
|
356
|
+
$font-size-large: $font-size-5 !default;
|
|
357
357
|
|
|
358
358
|
$font-sizes: (
|
|
359
|
-
1:
|
|
360
|
-
2:
|
|
361
|
-
3:
|
|
362
|
-
4:
|
|
363
|
-
5:
|
|
364
|
-
6:
|
|
365
|
-
"large":
|
|
366
|
-
"small":
|
|
367
|
-
"xsmall":
|
|
359
|
+
1: $font-size-1,
|
|
360
|
+
2: $font-size-2,
|
|
361
|
+
3: $font-size-3,
|
|
362
|
+
4: $font-size-4,
|
|
363
|
+
5: $font-size-5,
|
|
364
|
+
6: $font-size-6,
|
|
365
|
+
"large": $font-size-large,
|
|
366
|
+
"small": $font-size-small,
|
|
367
|
+
"xsmall": $font-size-xsmall,
|
|
368
368
|
"smaller": 0.85em,
|
|
369
|
-
"larger":
|
|
369
|
+
"larger": 1.15em,
|
|
370
370
|
) !default;
|
|
371
371
|
|
|
372
|
-
$font-family-sans-serif: Inter, -apple-system, BlinkMacSystemFont,
|
|
373
|
-
|
|
374
|
-
$font-family-
|
|
375
|
-
|
|
372
|
+
$font-family-sans-serif: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
|
|
373
|
+
"Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
|
374
|
+
$font-family-serif: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times,
|
|
375
|
+
"Times New Roman", serif !default;
|
|
376
|
+
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
|
377
|
+
$font-family-base: $font-family-sans-serif !default;
|
|
376
378
|
|
|
377
379
|
$font-families: (
|
|
378
380
|
"sans-serif": $font-family-sans-serif,
|
|
379
|
-
"serif":
|
|
380
|
-
"monospace":
|
|
381
|
+
"serif": $font-family-serif,
|
|
382
|
+
"monospace": $font-family-monospace,
|
|
381
383
|
) !default;
|
|
382
384
|
|
|
383
|
-
$text-aligns:
|
|
385
|
+
$text-aligns: (left, right, center, justify) !default;
|
|
384
386
|
$text-transforms: (uppercase, lowercase, capitalize, none) !default;
|
|
385
|
-
$text-wraps:
|
|
386
|
-
$font-styles:
|
|
387
|
+
$text-wraps: (normal, nowrap) !default;
|
|
388
|
+
$font-styles: (italic, oblique, normal) !default;
|
|
387
389
|
$font-weights: (
|
|
388
390
|
"lighter": lighter,
|
|
389
|
-
"bolder":
|
|
390
|
-
"thin":
|
|
391
|
-
"light":
|
|
392
|
-
"normal":
|
|
393
|
-
"medium":
|
|
394
|
-
"bold":
|
|
395
|
-
"heavy":
|
|
396
|
-
"black":
|
|
391
|
+
"bolder": bolder,
|
|
392
|
+
"thin": 100,
|
|
393
|
+
"light": 300,
|
|
394
|
+
"normal": 400,
|
|
395
|
+
"medium": 500,
|
|
396
|
+
"bold": 700,
|
|
397
|
+
"heavy": 800,
|
|
398
|
+
"black": 900,
|
|
397
399
|
) !default;
|
|
398
400
|
|
|
399
401
|
$header-weight: 700 !default;
|
|
400
402
|
|
|
401
|
-
$border-color:
|
|
402
|
-
$border-radius:
|
|
403
|
-
$border-radius-small:
|
|
403
|
+
$border-color: rgba($black, 0.2) !default;
|
|
404
|
+
$border-radius: calc($spacer * 0.275) !default;
|
|
405
|
+
$border-radius-small: calc($spacer * 0.15) !default;
|
|
404
406
|
$border-radius-medium: $border-radius !default;
|
|
405
|
-
$border-radius-large:
|
|
406
|
-
$border-radius-round:
|
|
407
|
-
$border-radius-none:
|
|
408
|
-
|
|
409
|
-
$zindex-static:
|
|
410
|
-
$zindex-relative:
|
|
411
|
-
$zindex-absolute:
|
|
412
|
-
$zindex-sticky:
|
|
413
|
-
$zindex-fixed:
|
|
414
|
-
$zindex-dropdown:
|
|
407
|
+
$border-radius-large: calc($spacer * 0.65) !default;
|
|
408
|
+
$border-radius-round: calc($spacer * 99) !default;
|
|
409
|
+
$border-radius-none: 0 !default;
|
|
410
|
+
|
|
411
|
+
$zindex-static: 0 !default;
|
|
412
|
+
$zindex-relative: 1 !default;
|
|
413
|
+
$zindex-absolute: 1 !default;
|
|
414
|
+
$zindex-sticky: 1020 !default;
|
|
415
|
+
$zindex-fixed: 1030 !default;
|
|
416
|
+
$zindex-dropdown: 1040 !default;
|
|
415
417
|
$zindex-modal-backdrop: 1050 !default;
|
|
416
|
-
$zindex-modal:
|
|
417
|
-
$zindex-popover:
|
|
418
|
-
$zindex-tooltip:
|
|
418
|
+
$zindex-modal: 1060 !default;
|
|
419
|
+
$zindex-popover: 1070 !default;
|
|
420
|
+
$zindex-tooltip: 1080 !default;
|
|
419
421
|
|
|
420
422
|
$zindexes: (
|
|
421
|
-
"static":
|
|
422
|
-
"relative":
|
|
423
|
-
"absolute":
|
|
424
|
-
"sticky":
|
|
425
|
-
"fixed":
|
|
426
|
-
"dropdown":
|
|
423
|
+
"static": $zindex-static,
|
|
424
|
+
"relative": $zindex-relative,
|
|
425
|
+
"absolute": $zindex-absolute,
|
|
426
|
+
"sticky": $zindex-sticky,
|
|
427
|
+
"fixed": $zindex-fixed,
|
|
428
|
+
"dropdown": $zindex-dropdown,
|
|
427
429
|
"modal-backdrop": $zindex-modal-backdrop,
|
|
428
|
-
"modal":
|
|
429
|
-
"popover":
|
|
430
|
-
"tooltip":
|
|
430
|
+
"modal": $zindex-modal,
|
|
431
|
+
"popover": $zindex-popover,
|
|
432
|
+
"tooltip": $zindex-tooltip,
|
|
431
433
|
) !default;
|
|
432
434
|
|
|
433
|
-
$box-shadow-none:
|
|
434
|
-
$box-shadow-small:
|
|
435
|
+
$box-shadow-none: none !default;
|
|
436
|
+
$box-shadow-small: 0 calc($spacer * 0.125) calc($spacer * 0.25) rgba($gray-9, 0.075) !default;
|
|
435
437
|
$box-shadow-medium: 0 calc($spacer * 0.5) calc($spacer * 0.75) rgba($gray-9, 0.15) !default;
|
|
436
|
-
$box-shadow-large:
|
|
438
|
+
$box-shadow-large: 0 $spacer calc($spacer * 2.5) rgba($gray-9, 0.175) !default;
|
|
437
439
|
|
|
438
440
|
$box-shadows: (
|
|
439
|
-
"none":
|
|
440
|
-
"small":
|
|
441
|
+
"none": $box-shadow-none,
|
|
442
|
+
"small": $box-shadow-small,
|
|
441
443
|
"medium": $box-shadow-medium,
|
|
442
|
-
"large":
|
|
444
|
+
"large": $box-shadow-large,
|
|
443
445
|
) !default;
|
|
444
446
|
|
|
445
|
-
$escaped-characters: (
|
|
446
|
-
("<", "%3c"),
|
|
447
|
-
(">", "%3e"),
|
|
448
|
-
("#", "%23"),
|
|
449
|
-
("(", "%28"),
|
|
450
|
-
(")", "%29"),
|
|
451
|
-
) !default;
|
|
447
|
+
$escaped-characters: (("<", "%3c"), (">", "%3e"), ("#", "%23"), ("(", "%28"), (")", "%29")) !default;
|
|
452
448
|
|
|
453
449
|
$form-select-indicator-color: $body-color !default;
|
|
454
|
-
$form-select-indicator:
|
|
450
|
+
$form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>") !default;
|
|
455
451
|
|
|
456
452
|
$list-nested-indicator-color: rgba($body-color, 0.25) !default;
|
|
457
|
-
$list-nested-indicator:
|
|
453
|
+
$list-nested-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='#{$list-nested-indicator-color}' stroke='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z'/></svg>") !default;
|
|
458
454
|
|
|
459
|
-
$form-file-indicator-color:
|
|
455
|
+
$form-file-indicator-color: rgba($body-color, 0.25) !default;
|
|
460
456
|
$form-file-indicator-color-hover: rgba($body-color, 0.5) !default;
|
|
461
|
-
$form-file-indicator:
|
|
462
|
-
$form-file-indicator-hover:
|
|
457
|
+
$form-file-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='#{$form-file-indicator-color}' stroke='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z'/></svg>") !default;
|
|
458
|
+
$form-file-indicator-hover: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='#{$form-file-indicator-color-hover}' stroke='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z'/></svg>") !default;
|
|
463
459
|
|
|
464
460
|
// Input
|
|
465
|
-
$input-border-width:
|
|
466
|
-
$input-border-style:
|
|
467
|
-
$input-border-color:
|
|
468
|
-
$input-border-color-hover:
|
|
469
|
-
$input-border-color-focus:
|
|
470
|
-
$input-border-color-active:
|
|
471
|
-
$input-border-radius:
|
|
472
|
-
$input-color:
|
|
473
|
-
$input-color-active:
|
|
474
|
-
$input-color-hover:
|
|
475
|
-
$input-color-focus:
|
|
476
|
-
$input-background-color:
|
|
461
|
+
$input-border-width: 1px !default;
|
|
462
|
+
$input-border-style: solid !default;
|
|
463
|
+
$input-border-color: $border-color !default;
|
|
464
|
+
$input-border-color-hover: rgba($black, 0.3) !default;
|
|
465
|
+
$input-border-color-focus: rgba($black, 0.3) !default;
|
|
466
|
+
$input-border-color-active: rgba($black, 0.3) !default;
|
|
467
|
+
$input-border-radius: $border-radius-medium !default;
|
|
468
|
+
$input-color: $body-color !default;
|
|
469
|
+
$input-color-active: $body-color !default;
|
|
470
|
+
$input-color-hover: $body-color !default;
|
|
471
|
+
$input-color-focus: $body-color !default;
|
|
472
|
+
$input-background-color: $white !default;
|
|
477
473
|
$input-background-color-hover: $white !default;
|
|
478
474
|
$input-background-color-focus: $white !default;
|
|
479
|
-
$input-padding-y:
|
|
480
|
-
$input-padding-x:
|
|
481
|
-
$input-padding-y-small:
|
|
482
|
-
$input-padding-x-small:
|
|
483
|
-
$input-padding-y-large:
|
|
484
|
-
$input-padding-x-large:
|
|
485
|
-
$input-font-size:
|
|
486
|
-
$input-box-shadow:
|
|
487
|
-
$input-box-shadow-hover:
|
|
488
|
-
$input-box-shadow-focus:
|
|
489
|
-
$input-box-shadow-active:
|
|
490
|
-
|
|
491
|
-
$label-display:
|
|
492
|
-
$label-padding:
|
|
493
|
-
$label-margin:
|
|
494
|
-
$label-font-weight:
|
|
475
|
+
$input-padding-y: calc(($spacer * 0.5) - 1.5px) !default;
|
|
476
|
+
$input-padding-x: $spacer !default;
|
|
477
|
+
$input-padding-y-small: calc(($spacer * 0.25) - 1px) !default;
|
|
478
|
+
$input-padding-x-small: calc($spacer * 0.75) !default;
|
|
479
|
+
$input-padding-y-large: calc(($spacer * 0.5) - 1px) !default;
|
|
480
|
+
$input-padding-x-large: calc($spacer * 1.75) !default;
|
|
481
|
+
$input-font-size: $font-size-base !default;
|
|
482
|
+
$input-box-shadow: inset 0 1px 2px rgba($black, 0.07) !default;
|
|
483
|
+
$input-box-shadow-hover: inset 0 1px 2px rgba($black, 0.07) !default;
|
|
484
|
+
$input-box-shadow-focus: 0 0 0 0.125em rgba($black, 0.17) !default;
|
|
485
|
+
$input-box-shadow-active: 0 0 0 0.125em rgba($black, 0.17) !default;
|
|
486
|
+
|
|
487
|
+
$label-display: block !default;
|
|
488
|
+
$label-padding: 0 0 calc($spacer * 0.25) !default;
|
|
489
|
+
$label-margin: 0 !default;
|
|
490
|
+
$label-font-weight: 500 !default;
|
|
495
491
|
$label-text-transform: none !default;
|
|
496
|
-
$label-font-size:
|
|
497
|
-
$label-color:
|
|
492
|
+
$label-font-size: $font-size-base !default;
|
|
493
|
+
$label-color: $body-color !default;
|
|
498
494
|
|
|
499
495
|
// Buttons
|
|
500
|
-
$button-border-width:
|
|
501
|
-
$button-border-style:
|
|
502
|
-
$button-border-color:
|
|
503
|
-
$button-border-color-hover:
|
|
504
|
-
$button-border-radius:
|
|
505
|
-
$button-color:
|
|
506
|
-
$button-color-active:
|
|
507
|
-
$button-color-hover:
|
|
508
|
-
$button-color-focus:
|
|
509
|
-
$button-background-color:
|
|
496
|
+
$button-border-width: $input-border-width !default;
|
|
497
|
+
$button-border-style: $input-border-style !default;
|
|
498
|
+
$button-border-color: $input-border-color !default;
|
|
499
|
+
$button-border-color-hover: $input-border-color-hover !default;
|
|
500
|
+
$button-border-radius: $border-radius-medium !default;
|
|
501
|
+
$button-color: $body-color !default;
|
|
502
|
+
$button-color-active: $body-color !default;
|
|
503
|
+
$button-color-hover: $body-color !default;
|
|
504
|
+
$button-color-focus: $body-color !default;
|
|
505
|
+
$button-background-color: $white !default;
|
|
510
506
|
$button-background-color-hover: $white !default;
|
|
511
507
|
$button-background-color-focus: rgba($black, 0.05) !default;
|
|
512
|
-
$button-padding-y:
|
|
513
|
-
$button-padding-x:
|
|
514
|
-
$button-padding-y-small:
|
|
515
|
-
$button-padding-x-small:
|
|
516
|
-
$button-padding-y-large:
|
|
517
|
-
$button-padding-x-large:
|
|
518
|
-
$button-font-size:
|
|
519
|
-
$button-box-shadow:
|
|
520
|
-
$button-box-shadow-hover:
|
|
521
|
-
$button-box-shadow-focus:
|
|
522
|
-
$button-box-shadow-active:
|
|
508
|
+
$button-padding-y: $input-padding-y !default;
|
|
509
|
+
$button-padding-x: $input-padding-x !default;
|
|
510
|
+
$button-padding-y-small: $input-padding-y-small !default;
|
|
511
|
+
$button-padding-x-small: $input-padding-x-small !default;
|
|
512
|
+
$button-padding-y-large: $input-padding-y-large !default;
|
|
513
|
+
$button-padding-x-large: $input-padding-x-large !default;
|
|
514
|
+
$button-font-size: $font-size-base !default;
|
|
515
|
+
$button-box-shadow: none !default;
|
|
516
|
+
$button-box-shadow-hover: none !default;
|
|
517
|
+
$button-box-shadow-focus: 0 0 0 0.125em rgba($black, 0.1) !default;
|
|
518
|
+
$button-box-shadow-active: 0 0 0 0.125em rgba($black, 0.2) !default;
|
|
523
519
|
|
|
524
520
|
// Card
|
|
525
|
-
$card-border-width:
|
|
526
|
-
$card-border-style:
|
|
527
|
-
$card-border-color:
|
|
528
|
-
$card-border-radius:
|
|
529
|
-
$card-background-color: $white !default;
|
|
521
|
+
$card-border-width: $input-border-width !default;
|
|
522
|
+
$card-border-style: $input-border-style !default;
|
|
523
|
+
$card-border-color: $input-border-color !default;
|
|
524
|
+
$card-border-radius: $border-radius-medium !default;
|
|
525
|
+
$card-background-color: $white !default;
|
package/scss/helpers/_image.scss
CHANGED
package/scss/helpers/_link.scss
CHANGED
package/scss/helpers/_wrap.scss
CHANGED
package/scss/index.scss
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
// 767.98px
|
|
40
40
|
@function breakpoint-max($name, $breakpoints: $breakpoints) {
|
|
41
41
|
$next: breakpoint-next($name, $breakpoints);
|
|
42
|
-
@return if($next, breakpoint-min($next, $breakpoints) - .02, null);
|
|
42
|
+
@return if($next, breakpoint-min($next, $breakpoints) - 0.02, null);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.
|
package/scss/mixins/_wrap.scss
CHANGED
package/scss/modules/_close.scss
CHANGED