claritas-web-framework 8.5.8 → 8.5.91
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/.prettierrc +10 -10
- package/README.md +1 -1
- package/dist/index.css +1 -1
- package/index.html +20 -20
- package/index.js +2 -2
- package/package.json +33 -33
- package/sass/_functions.scss +55 -55
- package/sass/_helpers.scss +8 -8
- package/sass/_mixins.scss +12 -12
- package/sass/_modules.scss +30 -30
- package/sass/_reboot.scss +264 -264
- package/sass/_root.scss +56 -56
- package/sass/_utilities.scss +17 -17
- package/sass/_variables.scss +445 -445
- package/sass/helpers/_container.scss +11 -11
- package/sass/helpers/_embed.scss +36 -36
- package/sass/helpers/_grid.scss +53 -53
- package/sass/helpers/_image.scss +5 -5
- package/sass/helpers/_link.scss +15 -15
- package/sass/helpers/_rfs.scss +303 -303
- package/sass/helpers/_screenReader.scss +13 -13
- package/sass/helpers/_wrap.scss +5 -5
- package/sass/index.scss +12 -12
- package/sass/mixins/_breakpoints.scss +133 -133
- package/sass/mixins/_button.scss +116 -116
- package/sass/mixins/_caret.scss +41 -41
- package/sass/mixins/_clearfix.scss +7 -7
- package/sass/mixins/_colors.scss +23 -23
- package/sass/mixins/_container.scss +21 -21
- package/sass/mixins/_gradient.scss +55 -55
- package/sass/mixins/_grid.scss +156 -156
- package/sass/mixins/_group.scss +70 -70
- package/sass/mixins/_list.scss +18 -18
- package/sass/mixins/_screenReader.scss +22 -22
- package/sass/mixins/_wrap.scss +7 -7
- package/sass/modules/_alert.scss +60 -60
- package/sass/modules/_breadcrumbs.scss +43 -43
- package/sass/modules/_button.scss +170 -170
- package/sass/modules/_card.scss +107 -107
- package/sass/modules/_close.scss +59 -59
- package/sass/modules/_details.scss +48 -48
- package/sass/modules/_dialog.scss +47 -47
- package/sass/modules/_dropdown.scss +44 -43
- package/sass/modules/_form.scss +261 -261
- package/sass/modules/_list.scss +78 -78
- package/sass/modules/_loader.scss +183 -183
- package/sass/modules/_modal.scss +45 -45
- package/sass/modules/_nav.scss +136 -135
- package/sass/modules/_pill.scss +61 -61
- package/sass/modules/_table.scss +96 -96
- package/sass/modules/_tabs.scss +88 -93
- package/sass/modules/_tag.scss +72 -72
- package/sass/modules/_tile.scss +101 -101
- package/sass/modules/_tooltip.scss +108 -108
- package/sass/modules/form/_checkbox.scss +78 -78
- package/sass/modules/form/_file.scss +149 -149
- package/sass/modules/form/_formFieldGroup.scss +60 -60
- package/sass/modules/form/_output.scss +6 -6
- package/sass/modules/form/_progress.scss +55 -55
- package/sass/modules/form/_radio.scss +57 -57
- package/sass/modules/form/_range.scss +144 -144
- package/sass/modules/form/_select.scss +22 -22
- package/sass/modules/form/_text.scss +28 -28
- package/sass/modules/form/_textarea.scss +3 -3
- package/sass/modules/form/_toggle.scss +68 -68
- package/sass/utilities/_align.scss +25 -25
- package/sass/utilities/_border.scss +59 -59
- package/sass/utilities/_colors.scss +76 -76
- package/sass/utilities/_display.scss +25 -25
- package/sass/utilities/_flex.scss +65 -65
- package/sass/utilities/_float.scss +17 -17
- package/sass/utilities/_order.scss +23 -23
- package/sass/utilities/_overflow.scss +25 -25
- package/sass/utilities/_pointerEvents.scss +17 -17
- package/sass/utilities/_position.scss +59 -59
- package/sass/utilities/_shadow.scss +7 -7
- package/sass/utilities/_size.scss +118 -118
- package/sass/utilities/_spacing.scss +107 -107
- package/sass/utilities/_translate.scss +15 -15
- package/sass/utilities/_typography.scss +62 -62
- package/sass/utilities/_visibility.scss +17 -17
- package/sass/utilities/_zIndex.scss +15 -15
- package/tests.js +5 -5
- package/webpack.config.js +27 -27
- package/webpack.plugins.js +15 -15
- package/webpack.rules.js +8 -8
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@use "./../../variables" as *;
|
|
2
|
-
@use "./../../functions" as *;
|
|
3
|
-
|
|
4
|
-
select {
|
|
5
|
-
padding-right: calc(var(--spacer) * 2);
|
|
6
|
-
padding-inline-start: calc(var(--spacer) - 3px);
|
|
7
|
-
|
|
8
|
-
&:not([multiple]) {
|
|
9
|
-
background-image: escape-svg($form-select-indicator);
|
|
10
|
-
background-repeat: no-repeat;
|
|
11
|
-
background-position: right calc(var(--spacer) * 0.5) center;
|
|
12
|
-
background-size: var(--spacer) auto;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&[multiple] {
|
|
16
|
-
padding: 0;
|
|
17
|
-
|
|
18
|
-
& option {
|
|
19
|
-
padding: calc(var(--spacer) * 0.5) var(--spacer);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
@use "./../../variables" as *;
|
|
2
|
+
@use "./../../functions" as *;
|
|
3
|
+
|
|
4
|
+
select {
|
|
5
|
+
padding-right: calc(var(--spacer) * 2);
|
|
6
|
+
padding-inline-start: calc(var(--spacer) - 3px);
|
|
7
|
+
|
|
8
|
+
&:not([multiple]) {
|
|
9
|
+
background-image: escape-svg($form-select-indicator);
|
|
10
|
+
background-repeat: no-repeat;
|
|
11
|
+
background-position: right calc(var(--spacer) * 0.5) center;
|
|
12
|
+
background-size: var(--spacer) auto;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&[multiple] {
|
|
16
|
+
padding: 0;
|
|
17
|
+
|
|
18
|
+
& option {
|
|
19
|
+
padding: calc(var(--spacer) * 0.5) var(--spacer);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
@use "./../../variables" as *;
|
|
3
|
-
|
|
4
|
-
.input--text {
|
|
5
|
-
--input-border-width: 0 0 1px;
|
|
6
|
-
--input-padding-x: 0;
|
|
7
|
-
--input-small-padding-x: 0;
|
|
8
|
-
--input-large-padding-x: 0;
|
|
9
|
-
--input-box-shadow: 0 0 0 0.125em transparent;
|
|
10
|
-
--input-hover-box-shadow: 0 0 0 0.125em transparent;
|
|
11
|
-
--input-focus-box-shadow: 0 0 0 0.125em transparent;
|
|
12
|
-
--input-active-box-shadow: 0 0 0 0.125em transparent;
|
|
13
|
-
--input-disabled-box-shadow: 0 0 0 0.125em transparent;
|
|
14
|
-
--input-border-radius: 0;
|
|
15
|
-
--input-small-border-radius: 0;
|
|
16
|
-
--input-large-border-radius: 0;
|
|
17
|
-
--input-round-border-radius: 0;
|
|
18
|
-
|
|
19
|
-
@each $key, $value in $theme-colors {
|
|
20
|
-
&.input--#{$key} {
|
|
21
|
-
--input-box-shadow: 0 0 0 0.125em transparent;
|
|
22
|
-
--input-hover-box-shadow: 0 0 0 0.125em transparent;
|
|
23
|
-
--input-focus-box-shadow: 0 0 0 0.125em transparent;
|
|
24
|
-
--input-active-box-shadow: 0 0 0 0.125em transparent;
|
|
25
|
-
--input-disabled-box-shadow: 0 0 0 0.125em transparent;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "./../../variables" as *;
|
|
3
|
+
|
|
4
|
+
.input--text {
|
|
5
|
+
--input-border-width: 0 0 1px;
|
|
6
|
+
--input-padding-x: 0;
|
|
7
|
+
--input-small-padding-x: 0;
|
|
8
|
+
--input-large-padding-x: 0;
|
|
9
|
+
--input-box-shadow: 0 0 0 0.125em transparent;
|
|
10
|
+
--input-hover-box-shadow: 0 0 0 0.125em transparent;
|
|
11
|
+
--input-focus-box-shadow: 0 0 0 0.125em transparent;
|
|
12
|
+
--input-active-box-shadow: 0 0 0 0.125em transparent;
|
|
13
|
+
--input-disabled-box-shadow: 0 0 0 0.125em transparent;
|
|
14
|
+
--input-border-radius: 0;
|
|
15
|
+
--input-small-border-radius: 0;
|
|
16
|
+
--input-large-border-radius: 0;
|
|
17
|
+
--input-round-border-radius: 0;
|
|
18
|
+
|
|
19
|
+
@each $key, $value in $theme-colors {
|
|
20
|
+
&.input--#{$key} {
|
|
21
|
+
--input-box-shadow: 0 0 0 0.125em transparent;
|
|
22
|
+
--input-hover-box-shadow: 0 0 0 0.125em transparent;
|
|
23
|
+
--input-focus-box-shadow: 0 0 0 0.125em transparent;
|
|
24
|
+
--input-active-box-shadow: 0 0 0 0.125em transparent;
|
|
25
|
+
--input-disabled-box-shadow: 0 0 0 0.125em transparent;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
textarea {
|
|
2
|
-
--input-white-space: normal;
|
|
3
|
-
}
|
|
1
|
+
textarea {
|
|
2
|
+
--input-white-space: normal;
|
|
3
|
+
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
@use "./../../variables" as *;
|
|
3
|
-
@use "./../../mixins/breakpoints" as *;
|
|
4
|
-
|
|
5
|
-
.form__control.toggle {
|
|
6
|
-
& > * {
|
|
7
|
-
&:not(:last-child) {
|
|
8
|
-
margin-right: var(--spacer);
|
|
9
|
-
|
|
10
|
-
@include media-breakpoint-up("desktop") {
|
|
11
|
-
margin-right: calc(var(--spacer) * 0.5);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
& input[type="checkbox"] {
|
|
17
|
-
--input-width: auto;
|
|
18
|
-
--input-desktop-width: auto;
|
|
19
|
-
--input-padding-x: #{calc(($input-padding-x * 2) + 1px)};
|
|
20
|
-
|
|
21
|
-
border-radius: var(--input-round-border-radius);
|
|
22
|
-
aspect-ratio: 2 / 1;
|
|
23
|
-
flex-shrink: 0;
|
|
24
|
-
vertical-align: text-bottom;
|
|
25
|
-
|
|
26
|
-
&::before {
|
|
27
|
-
content: "";
|
|
28
|
-
position: absolute;
|
|
29
|
-
margin: auto;
|
|
30
|
-
inset: 0 50% 0 0;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
border-radius: var(--input-round-border-radius);
|
|
33
|
-
background: var(--input-border-color);
|
|
34
|
-
width: 35%;
|
|
35
|
-
aspect-ratio: 1;
|
|
36
|
-
transition:
|
|
37
|
-
left 0.2s,
|
|
38
|
-
right 0.2s;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:checked {
|
|
42
|
-
background: var(--input-detail-background);
|
|
43
|
-
|
|
44
|
-
&::before {
|
|
45
|
-
background: var(--white);
|
|
46
|
-
left: 50%;
|
|
47
|
-
right: 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:disabled,
|
|
51
|
-
&.disabled,
|
|
52
|
-
&[aria-disabled="true"] {
|
|
53
|
-
background: var(--input-disabled-detail-background);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@each $key, $value in $theme-colors {
|
|
58
|
-
&.input--#{$key} {
|
|
59
|
-
--input-border-color: hsl(from var(--#{$key}) h s l / #{$color-disabled-alpha});
|
|
60
|
-
|
|
61
|
-
&:checked {
|
|
62
|
-
--input-detail-background: var(--#{$key});
|
|
63
|
-
--input-disabled-detail-background: hsl(from var(--#{$key}) h s l / #{$color-disabled-alpha});
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "./../../variables" as *;
|
|
3
|
+
@use "./../../mixins/breakpoints" as *;
|
|
4
|
+
|
|
5
|
+
.form__control.toggle {
|
|
6
|
+
& > * {
|
|
7
|
+
&:not(:last-child) {
|
|
8
|
+
margin-right: var(--spacer);
|
|
9
|
+
|
|
10
|
+
@include media-breakpoint-up("desktop") {
|
|
11
|
+
margin-right: calc(var(--spacer) * 0.5);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
& input[type="checkbox"] {
|
|
17
|
+
--input-width: auto;
|
|
18
|
+
--input-desktop-width: auto;
|
|
19
|
+
--input-padding-x: #{calc(($input-padding-x * 2) + 1px)};
|
|
20
|
+
|
|
21
|
+
border-radius: var(--input-round-border-radius);
|
|
22
|
+
aspect-ratio: 2 / 1;
|
|
23
|
+
flex-shrink: 0;
|
|
24
|
+
vertical-align: text-bottom;
|
|
25
|
+
|
|
26
|
+
&::before {
|
|
27
|
+
content: "";
|
|
28
|
+
position: absolute;
|
|
29
|
+
margin: auto;
|
|
30
|
+
inset: 0 50% 0 0;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
border-radius: var(--input-round-border-radius);
|
|
33
|
+
background: var(--input-border-color);
|
|
34
|
+
width: 35%;
|
|
35
|
+
aspect-ratio: 1;
|
|
36
|
+
transition:
|
|
37
|
+
left 0.2s,
|
|
38
|
+
right 0.2s;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:checked {
|
|
42
|
+
background: var(--input-detail-background);
|
|
43
|
+
|
|
44
|
+
&::before {
|
|
45
|
+
background: var(--white);
|
|
46
|
+
left: 50%;
|
|
47
|
+
right: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:disabled,
|
|
51
|
+
&.disabled,
|
|
52
|
+
&[aria-disabled="true"] {
|
|
53
|
+
background: var(--input-disabled-detail-background);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@each $key, $value in $theme-colors {
|
|
58
|
+
&.input--#{$key} {
|
|
59
|
+
--input-border-color: hsl(from var(--#{$key}) h s l / #{$color-disabled-alpha});
|
|
60
|
+
|
|
61
|
+
&:checked {
|
|
62
|
+
--input-detail-background: var(--#{$key});
|
|
63
|
+
--input-disabled-detail-background: hsl(from var(--#{$key}) h s l / #{$color-disabled-alpha});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "./../variables" as *;
|
|
3
|
-
@use "./../mixins/breakpoints" as *;
|
|
4
|
-
|
|
5
|
-
$alignments: (baseline, top, middle, bottom, text-bottom, text-top) !default;
|
|
6
|
-
|
|
7
|
-
@each $breakpoint in map.keys($breakpoints) {
|
|
8
|
-
@include media-breakpoint-up($breakpoint) {
|
|
9
|
-
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
10
|
-
|
|
11
|
-
@each $value in $alignments {
|
|
12
|
-
.valign-#{$infix}-#{$value} {
|
|
13
|
-
vertical-align: #{$value} !important;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@media print {
|
|
20
|
-
@each $value in $alignments {
|
|
21
|
-
.vertical-align--print-#{$value} {
|
|
22
|
-
vertical-align: #{$value} !important;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "./../variables" as *;
|
|
3
|
+
@use "./../mixins/breakpoints" as *;
|
|
4
|
+
|
|
5
|
+
$alignments: (baseline, top, middle, bottom, text-bottom, text-top) !default;
|
|
6
|
+
|
|
7
|
+
@each $breakpoint in map.keys($breakpoints) {
|
|
8
|
+
@include media-breakpoint-up($breakpoint) {
|
|
9
|
+
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
10
|
+
|
|
11
|
+
@each $value in $alignments {
|
|
12
|
+
.valign-#{$infix}-#{$value} {
|
|
13
|
+
vertical-align: #{$value} !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media print {
|
|
20
|
+
@each $value in $alignments {
|
|
21
|
+
.vertical-align--print-#{$value} {
|
|
22
|
+
vertical-align: #{$value} !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
@use "./../variables" as *;
|
|
3
|
-
@use "./../mixins" as *;
|
|
4
|
-
|
|
5
|
-
.border {
|
|
6
|
-
border-width: 1px !important;
|
|
7
|
-
border-style: solid !important;
|
|
8
|
-
border-color: var(--border-color-main) !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.border--top,
|
|
12
|
-
.border-top {
|
|
13
|
-
border-top: 1px solid var(--border-color-main) !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.border--right,
|
|
17
|
-
.border-right {
|
|
18
|
-
border-right: 1px solid var(--border-color-main) !important;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.border--bottom,
|
|
22
|
-
.border-bottom {
|
|
23
|
-
border-bottom: 1px solid var(--border-color-main) !important;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.border--left,
|
|
27
|
-
.border-left {
|
|
28
|
-
border-left: 1px solid var(--border-color-main) !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.border--none {
|
|
32
|
-
border: 0 !important;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.border--top-none,
|
|
36
|
-
.border-top--none {
|
|
37
|
-
border-top: 0 !important;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.border--right-none,
|
|
41
|
-
.border-right--none {
|
|
42
|
-
border-right: 0 !important;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.border--bottom-none,
|
|
46
|
-
.border-bottom--none {
|
|
47
|
-
border-bottom: 0 !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.border--left-none,
|
|
51
|
-
.border-left--none {
|
|
52
|
-
border-left: 0 !important;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@each $key, $value in $border-radii {
|
|
56
|
-
.border-radius--#{$key} {
|
|
57
|
-
border-radius: #{$value} !important;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "./../variables" as *;
|
|
3
|
+
@use "./../mixins" as *;
|
|
4
|
+
|
|
5
|
+
.border {
|
|
6
|
+
border-width: 1px !important;
|
|
7
|
+
border-style: solid !important;
|
|
8
|
+
border-color: var(--border-color-main) !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.border--top,
|
|
12
|
+
.border-top {
|
|
13
|
+
border-top: 1px solid var(--border-color-main) !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.border--right,
|
|
17
|
+
.border-right {
|
|
18
|
+
border-right: 1px solid var(--border-color-main) !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.border--bottom,
|
|
22
|
+
.border-bottom {
|
|
23
|
+
border-bottom: 1px solid var(--border-color-main) !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.border--left,
|
|
27
|
+
.border-left {
|
|
28
|
+
border-left: 1px solid var(--border-color-main) !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.border--none {
|
|
32
|
+
border: 0 !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.border--top-none,
|
|
36
|
+
.border-top--none {
|
|
37
|
+
border-top: 0 !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.border--right-none,
|
|
41
|
+
.border-right--none {
|
|
42
|
+
border-right: 0 !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.border--bottom-none,
|
|
46
|
+
.border-bottom--none {
|
|
47
|
+
border-bottom: 0 !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.border--left-none,
|
|
51
|
+
.border-left--none {
|
|
52
|
+
border-left: 0 !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@each $key, $value in $border-radii {
|
|
56
|
+
.border-radius--#{$key} {
|
|
57
|
+
border-radius: #{$value} !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
@use "./../variables" as *;
|
|
2
|
-
@use "./../mixins/colors" as *;
|
|
3
|
-
|
|
4
|
-
@each $key, $value in $all-colors {
|
|
5
|
-
.color--#{$key} {
|
|
6
|
-
@include make-color($key);
|
|
7
|
-
|
|
8
|
-
color: var(--color) !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
button.color--#{$key},
|
|
12
|
-
a.color--#{$key} {
|
|
13
|
-
@include make-color($key);
|
|
14
|
-
|
|
15
|
-
color: var(--color) !important;
|
|
16
|
-
|
|
17
|
-
&:hover,
|
|
18
|
-
&:focus {
|
|
19
|
-
color: var(--color-hover) !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:disabled,
|
|
23
|
-
&.disabled {
|
|
24
|
-
color: var(--color-disabled) !important;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.background--#{$key} {
|
|
29
|
-
@include make-background-color($key);
|
|
30
|
-
|
|
31
|
-
background-color: var(--background-color) !important;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.border--#{$key} {
|
|
35
|
-
@include make-border-color($key);
|
|
36
|
-
|
|
37
|
-
border-color: var(--border-color) !important;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@each $key, $value in $grays {
|
|
42
|
-
.color--#{$key} {
|
|
43
|
-
@include make-color($key);
|
|
44
|
-
|
|
45
|
-
color: var(--color) !important;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
button.color--#{$key},
|
|
49
|
-
a.color--#{$key} {
|
|
50
|
-
@include make-color($key);
|
|
51
|
-
|
|
52
|
-
color: var(--color) !important;
|
|
53
|
-
|
|
54
|
-
&:hover,
|
|
55
|
-
&:focus {
|
|
56
|
-
color: var(--color-hover) !important;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&:disabled,
|
|
60
|
-
&.disabled {
|
|
61
|
-
color: var(--color-disabled) !important;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.background--#{$key} {
|
|
66
|
-
@include make-background-color($key);
|
|
67
|
-
|
|
68
|
-
background-color: var(--background-color) !important;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.border--#{$key} {
|
|
72
|
-
@include make-border-color($key);
|
|
73
|
-
|
|
74
|
-
border-color: var(--border-color) !important;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
@use "./../variables" as *;
|
|
2
|
+
@use "./../mixins/colors" as *;
|
|
3
|
+
|
|
4
|
+
@each $key, $value in $all-colors {
|
|
5
|
+
.color--#{$key} {
|
|
6
|
+
@include make-color($key);
|
|
7
|
+
|
|
8
|
+
color: var(--color) !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
button.color--#{$key},
|
|
12
|
+
a.color--#{$key} {
|
|
13
|
+
@include make-color($key);
|
|
14
|
+
|
|
15
|
+
color: var(--color) !important;
|
|
16
|
+
|
|
17
|
+
&:hover,
|
|
18
|
+
&:focus {
|
|
19
|
+
color: var(--color-hover) !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:disabled,
|
|
23
|
+
&.disabled {
|
|
24
|
+
color: var(--color-disabled) !important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.background--#{$key} {
|
|
29
|
+
@include make-background-color($key);
|
|
30
|
+
|
|
31
|
+
background-color: var(--background-color) !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.border--#{$key} {
|
|
35
|
+
@include make-border-color($key);
|
|
36
|
+
|
|
37
|
+
border-color: var(--border-color) !important;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@each $key, $value in $grays {
|
|
42
|
+
.color--#{$key} {
|
|
43
|
+
@include make-color($key);
|
|
44
|
+
|
|
45
|
+
color: var(--color) !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
button.color--#{$key},
|
|
49
|
+
a.color--#{$key} {
|
|
50
|
+
@include make-color($key);
|
|
51
|
+
|
|
52
|
+
color: var(--color) !important;
|
|
53
|
+
|
|
54
|
+
&:hover,
|
|
55
|
+
&:focus {
|
|
56
|
+
color: var(--color-hover) !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:disabled,
|
|
60
|
+
&.disabled {
|
|
61
|
+
color: var(--color-disabled) !important;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.background--#{$key} {
|
|
66
|
+
@include make-background-color($key);
|
|
67
|
+
|
|
68
|
+
background-color: var(--background-color) !important;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.border--#{$key} {
|
|
72
|
+
@include make-border-color($key);
|
|
73
|
+
|
|
74
|
+
border-color: var(--border-color) !important;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "./../variables" as *;
|
|
3
|
-
@use "./../mixins/breakpoints" as *;
|
|
4
|
-
|
|
5
|
-
$displays: (initial, none, inline, inline-block, block, table-row, table-cell, flex, inline-flex, grid) !default;
|
|
6
|
-
|
|
7
|
-
@each $breakpoint in map.keys($breakpoints) {
|
|
8
|
-
@include media-breakpoint-up($breakpoint) {
|
|
9
|
-
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
10
|
-
|
|
11
|
-
@each $value in $displays {
|
|
12
|
-
.display-#{$infix}-#{$value} {
|
|
13
|
-
display: #{$value} !important;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@media print {
|
|
20
|
-
@each $value in $displays {
|
|
21
|
-
.display--print-#{$value} {
|
|
22
|
-
display: #{$value} !important;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "./../variables" as *;
|
|
3
|
+
@use "./../mixins/breakpoints" as *;
|
|
4
|
+
|
|
5
|
+
$displays: (initial, none, inline, inline-block, block, table-row, table-cell, flex, inline-flex, grid) !default;
|
|
6
|
+
|
|
7
|
+
@each $breakpoint in map.keys($breakpoints) {
|
|
8
|
+
@include media-breakpoint-up($breakpoint) {
|
|
9
|
+
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
10
|
+
|
|
11
|
+
@each $value in $displays {
|
|
12
|
+
.display-#{$infix}-#{$value} {
|
|
13
|
+
display: #{$value} !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media print {
|
|
20
|
+
@each $value in $displays {
|
|
21
|
+
.display--print-#{$value} {
|
|
22
|
+
display: #{$value} !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|