@ptsecurity/mosaic 17.0.0 → 17.2.0
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/autocomplete/_autocomplete-theme.scss +2 -1
- package/autocomplete/autocomplete-trigger.directive.d.ts +7 -1
- package/autocomplete/autocomplete.scss +7 -11
- package/button/_button-base.scss +10 -10
- package/button/_button-theme.scss +32 -32
- package/button/button.scss +9 -15
- package/button-toggle/_button-toggle-theme.scss +32 -24
- package/button-toggle/button-toggle.scss +18 -57
- package/card/_card-theme.scss +23 -20
- package/card/card.component.scss +2 -1
- package/checkbox/_checkbox-theme.scss +33 -29
- package/checkbox/checkbox.scss +7 -6
- package/code-block/_code-block-theme.scss +201 -113
- package/code-block/actionbar.component.scss +5 -7
- package/code-block/code-block.scss +5 -6
- package/core/forms/_forms-theme.scss +17 -46
- package/core/option/_optgroup-theme.scss +5 -5
- package/core/option/_option-action-theme.scss +1 -4
- package/core/option/_option-theme.scss +8 -10
- package/core/option/option.scss +5 -4
- package/core/pop-up/pop-up-trigger.d.ts +3 -1
- package/core/styles/_mosaic-theme.scss +3 -3
- package/core/styles/common/_popup.scss +4 -3
- package/core/styles/common/_tokens.scss +39 -0
- package/core/styles/theming/_alerts.scss +16 -24
- package/core/styles/theming/_badges.scss +7 -8
- package/core/styles/theming/_components-theming.scss +4 -2
- package/core/styles/theming/_scrollbars.scss +17 -2
- package/datepicker/_datepicker-theme.scss +18 -19
- package/datepicker/calendar-body.scss +6 -9
- package/datepicker/calendar-header.scss +9 -26
- package/datepicker/calendar.scss +5 -16
- package/datepicker/datepicker-content.scss +2 -4
- package/datepicker/datepicker-input.scss +2 -1
- package/datepicker/datepicker-toggle.scss +3 -2
- package/divider/_divider-theme.scss +4 -2
- package/divider/divider.scss +5 -4
- package/dl/_dl-theme.scss +12 -36
- package/dl/dl.scss +13 -46
- package/dropdown/_dropdown-theme.scss +19 -17
- package/dropdown/dropdown-item.scss +7 -6
- package/dropdown/dropdown.scss +11 -26
- package/ellipsis-center/ellipsis-center.directive.d.ts +3 -2
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +14 -2
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/code-block/actionbar.component.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +2 -2
- package/esm2022/core/pop-up/pop-up-trigger.mjs +19 -11
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -5
- package/esm2022/file-upload/file-upload.module.mjs +8 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +15 -34
- package/esm2022/file-upload/single-file-upload.component.mjs +15 -34
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/input/input-password.mjs +2 -3
- package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
- package/esm2022/markdown/markdown.component.mjs +2 -2
- package/esm2022/modal/modal.component.mjs +6 -6
- package/esm2022/navbar/navbar-item.component.mjs +9 -9
- package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
- package/esm2022/radio/radio.component.mjs +2 -2
- package/esm2022/select/select-option.directive.mjs +7 -5
- package/esm2022/select/select.component.mjs +16 -9
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
- package/esm2022/tags/tag-input.mjs +28 -8
- package/esm2022/timezone/timezone-option.directive.mjs +7 -5
- package/esm2022/timezone/timezone-select.component.mjs +2 -2
- package/esm2022/title/title.directive.mjs +2 -3
- package/esm2022/tooltip/tooltip.component.mjs +27 -12
- package/esm2022/tree-select/tree-select.component.mjs +21 -8
- package/fesm2022/ptsecurity-mosaic-autocomplete.mjs +13 -1
- package/fesm2022/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-button.mjs +2 -2
- package/fesm2022/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-code-block.mjs +4 -4
- package/fesm2022/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-core.mjs +19 -11
- package/fesm2022/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-dropdown.mjs +4 -4
- package/fesm2022/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-ellipsis-center.mjs +5 -4
- package/fesm2022/ptsecurity-mosaic-ellipsis-center.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-file-upload.mjs +26 -58
- package/fesm2022/ptsecurity-mosaic-file-upload.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-form-field.mjs +2 -2
- package/fesm2022/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-input.mjs +1 -2
- package/fesm2022/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-loader-overlay.mjs +2 -2
- package/fesm2022/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-markdown.mjs +2 -2
- package/fesm2022/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-modal.mjs +5 -5
- package/fesm2022/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-navbar.mjs +8 -8
- package/fesm2022/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-progress-spinner.mjs +1 -1
- package/fesm2022/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-radio.mjs +2 -2
- package/fesm2022/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-select.mjs +25 -17
- package/fesm2022/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-tabs.mjs +4 -4
- package/fesm2022/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-tags.mjs +26 -7
- package/fesm2022/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-timezone.mjs +7 -6
- package/fesm2022/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-title.mjs +1 -2
- package/fesm2022/ptsecurity-mosaic-title.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-tooltip.mjs +25 -11
- package/fesm2022/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-tree-select.mjs +20 -7
- package/fesm2022/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +87 -54
- package/file-upload/file-upload.module.d.ts +2 -1
- package/file-upload/file-upload.scss +0 -15
- package/file-upload/multiple-file-upload.component.d.ts +4 -12
- package/file-upload/multiple-file-upload.component.scss +58 -54
- package/file-upload/single-file-upload.component.d.ts +4 -12
- package/file-upload/single-file-upload.component.scss +15 -24
- package/form-field/_form-field-theme.scss +43 -34
- package/form-field/form-field.scss +14 -13
- package/icon/_icon-theme.scss +26 -25
- package/input/_input-base.scss +3 -2
- package/input/_input-theme.scss +14 -14
- package/input/input-password.d.ts +0 -1
- package/input/input.scss +3 -4
- package/link/_link-theme.scss +36 -32
- package/list/_list-base.scss +4 -3
- package/list/_list-theme.scss +8 -8
- package/list/list.scss +2 -1
- package/loader-overlay/_loader-overlay-theme.scss +8 -8
- package/loader-overlay/loader-overlay.scss +7 -12
- package/markdown/_markdown-theme.scss +61 -43
- package/markdown/markdown.scss +39 -80
- package/modal/_modal-confirm.scss +3 -2
- package/modal/_modal-theme.scss +20 -21
- package/modal/modal.scss +18 -15
- package/navbar/_navbar-theme.scss +19 -18
- package/navbar/navbar-brand.scss +7 -9
- package/navbar/navbar-item.component.d.ts +4 -4
- package/navbar/navbar-item.scss +8 -7
- package/navbar/vertical-navbar.scss +4 -12
- package/package.json +25 -25
- package/popover/_popover-theme.scss +35 -35
- package/popover/popover.scss +15 -14
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +6 -5
- package/progress-bar/progress-bar.scss +2 -1
- package/progress-spinner/_progress-spinner-theme.scss +4 -3
- package/progress-spinner/progress-spinner.scss +7 -12
- package/radio/_radio-theme.scss +32 -24
- package/radio/radio.scss +8 -11
- package/select/_select-theme.scss +13 -13
- package/select/select-option.directive.d.ts +3 -2
- package/select/select.component.d.ts +1 -0
- package/select/select.scss +19 -42
- package/sidepanel/_sidepanel-theme.scss +9 -9
- package/sidepanel/sidepanel.scss +11 -10
- package/splitter/_splitter-theme.scss +5 -3
- package/table/_table-theme.scss +9 -9
- package/table/table.scss +11 -14
- package/tabs/_tabs-common.scss +15 -14
- package/tabs/_tabs-theme.scss +67 -55
- package/tabs/tab-group.scss +2 -1
- package/tabs/tab-header.scss +16 -3
- package/tabs/tab-nav-bar/tab-nav-bar.scss +15 -2
- package/tags/_tag-theme.scss +30 -27
- package/tags/tag-input.d.ts +9 -4
- package/tags/tag-list.scss +4 -3
- package/tags/tag.scss +9 -8
- package/textarea/_textarea-base.scss +2 -4
- package/textarea/_textarea-theme.scss +8 -8
- package/textarea/textarea.scss +2 -4
- package/timepicker/timepicker.scss +2 -7
- package/timezone/_timezone-option-theme.scss +7 -7
- package/timezone/timezone-option.component.scss +5 -4
- package/timezone/timezone-option.directive.d.ts +3 -2
- package/title/title.directive.d.ts +0 -1
- package/toast/_toast-theme.scss +13 -16
- package/toast/toast-container.component.scss +2 -5
- package/toast/toast.component.scss +15 -17
- package/toggle/_toggle-theme.scss +22 -21
- package/toggle/toggle.scss +19 -21
- package/tooltip/_tooltip-theme.scss +26 -31
- package/tooltip/tooltip.component.d.ts +12 -8
- package/tooltip/tooltip.scss +13 -17
- package/tree/_tree-theme.scss +8 -8
- package/tree/toggle.scss +3 -5
- package/tree/tree-option.scss +5 -4
- package/tree-select/_tree-select-theme.scss +9 -9
- package/tree-select/tree-select.component.d.ts +1 -0
- package/tree-select/tree-select.scss +17 -35
- package/_theming.scss +0 -10827
- package/_visual.scss +0 -3541
- package/prebuilt-visual/default-visual.css +0 -1
package/card/_card-theme.scss
CHANGED
@@ -1,61 +1,64 @@
|
|
1
1
|
@use 'sass:map';
|
2
|
+
@use '../core/styles/common/tokens' as *;
|
2
3
|
|
3
4
|
|
4
|
-
@mixin card-
|
5
|
+
@mixin card-style($component, $style-name) {
|
6
|
+
$style: map-get($component, $style-name);
|
7
|
+
|
5
8
|
box-shadow:
|
6
|
-
inset -1px 0 0 0 map
|
7
|
-
inset 0 1px 0 0 map
|
8
|
-
inset 0 -1px 0 0 map
|
9
|
+
inset -1px 0 0 0 mc-css-variable(card-#{$style-name}-shadow, map-get($style, shadow)),
|
10
|
+
inset 0 1px 0 0 mc-css-variable(card-#{$style-name}-shadow, map-get($style, shadow)),
|
11
|
+
inset 0 -1px 0 0 mc-css-variable(card-#{$style-name}-shadow, map-get($style, shadow));
|
9
12
|
|
10
|
-
background-color: map
|
13
|
+
background-color: mc-css-variable(card-#{$style-name}-background, map-get($style, background));
|
11
14
|
|
12
|
-
border-left-color: map
|
15
|
+
border-left-color: mc-css-variable(card-#{$style-name}-vertical-line, map-get($style, vertical-line));
|
13
16
|
}
|
14
17
|
|
15
18
|
@mixin mc-card-theme($theme) {
|
16
|
-
$
|
17
|
-
$background: map.get($theme, background);
|
19
|
+
$theme-states: map-get($theme, states);
|
18
20
|
|
19
|
-
$
|
20
|
-
$
|
21
|
+
$foreground: map-get($theme, foreground);
|
22
|
+
$background: map-get($theme, background);
|
21
23
|
|
22
|
-
$
|
24
|
+
$card: map-get(map-get($theme, components), card);
|
25
|
+
$popup: map-get(map-get($theme, components), popup);
|
23
26
|
|
24
27
|
.mc-card {
|
25
|
-
color: map
|
28
|
+
color: mc-css-variable(foreground-text, map-get($foreground, text));
|
26
29
|
|
27
30
|
&.mc-card_error {
|
28
|
-
@include card-
|
31
|
+
@include card-style($card, error);
|
29
32
|
}
|
30
33
|
|
31
34
|
&.mc-card_warning {
|
32
|
-
@include card-
|
35
|
+
@include card-style($card, warning);
|
33
36
|
}
|
34
37
|
|
35
38
|
&.mc-card_success {
|
36
|
-
@include card-
|
39
|
+
@include card-style($card, success);
|
37
40
|
}
|
38
41
|
|
39
42
|
&.mc-card_info {
|
40
|
-
@include card-
|
43
|
+
@include card-style($card, info);
|
41
44
|
}
|
42
45
|
|
43
46
|
&.mc-card_white {
|
44
|
-
background-color: map
|
47
|
+
background-color: mc-css-variable(popup-background, map-get($popup, background));
|
45
48
|
}
|
46
49
|
|
47
50
|
&.mc-selected {
|
48
|
-
background-color:
|
51
|
+
background-color: mc-css-variable(states-selected-color, map-get($theme-states, selected-color));
|
49
52
|
}
|
50
53
|
|
51
54
|
&:not(.mc-card_readonly):hover {
|
52
55
|
.mc-card__overlay {
|
53
|
-
background: map
|
56
|
+
background: mc-css-variable(background-overlay-hover, map-get($background, overlay-hover));
|
54
57
|
}
|
55
58
|
}
|
56
59
|
|
57
60
|
&.cdk-keyboard-focused {
|
58
|
-
box-shadow: 0 0 0 2px
|
61
|
+
box-shadow: 0 0 0 2px mc-css-variable(states-focused-color, map-get($theme-states, focused-color));
|
59
62
|
}
|
60
63
|
}
|
61
64
|
}
|
package/card/card.component.scss
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
@use '../core/styles/common/layout';
|
5
5
|
|
6
6
|
@use '../core/styles/tokens';
|
7
|
+
@use '../core/styles/common/tokens' as *;
|
7
8
|
|
8
9
|
|
9
10
|
$tokens: meta.module-variables(tokens) !default;
|
@@ -22,7 +23,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
22
23
|
}
|
23
24
|
|
24
25
|
border-left: {
|
25
|
-
width:
|
26
|
+
width: mc-css-variable(card-size-vertical-line);
|
26
27
|
style: solid;
|
27
28
|
color: transparent;
|
28
29
|
};
|
@@ -1,38 +1,42 @@
|
|
1
1
|
@use 'sass:meta';
|
2
2
|
@use 'sass:map';
|
3
3
|
|
4
|
-
@use '../core/styles/
|
4
|
+
@use '../core/styles/common/tokens' as *;
|
5
|
+
|
5
6
|
|
6
7
|
/* stylelint-disable no-descending-specificity */
|
7
|
-
@mixin mc-checkbox-color($
|
8
|
+
@mixin mc-checkbox-color($component, $style-name) {
|
9
|
+
$style: map-get($component, default);
|
10
|
+
|
8
11
|
& .mc-checkbox-frame {
|
9
|
-
background-color: map
|
12
|
+
background-color: mc-css-variable(checkbox-#{$style-name}-background, map-get($style, background));
|
10
13
|
|
11
|
-
border-color: map
|
14
|
+
border-color: mc-css-variable(checkbox-#{$style-name}-border, map-get($style, border));
|
12
15
|
|
13
16
|
& .mc-checkbox-checkmark,
|
14
17
|
& .mc-checkbox-mixedmark {
|
15
|
-
color: map
|
18
|
+
color: mc-css-variable(checkbox-#{$style-name}-color, map-get($style, color));
|
16
19
|
}
|
17
20
|
}
|
18
21
|
|
19
22
|
&.mc-checked,
|
20
23
|
&.mc-indeterminate {
|
21
24
|
& .mc-checkbox-frame {
|
22
|
-
border-color: map
|
25
|
+
border-color: mc-css-variable(checkbox-#{$style-name}-border, map-get($style, checked, border));
|
23
26
|
|
24
|
-
background: map
|
27
|
+
background: mc-css-variable(checkbox-#{$style-name}-background, map-get($style, checked, background));
|
25
28
|
}
|
26
29
|
|
27
30
|
& .mc-checkbox-input.cdk-keyboard-focused {
|
28
31
|
+ .mc-checkbox-frame {
|
29
|
-
border-color: map
|
32
|
+
border-color: mc-css-variable(checkbox-#{$style-name}-border, map-get($style, checked-focused, border));
|
30
33
|
|
31
|
-
box-shadow: map
|
34
|
+
box-shadow: mc-css-variable(checkbox-#{$style-name}-shadow, map-get($style, checked-focused, shadow));
|
32
35
|
|
33
|
-
background:
|
36
|
+
background: mc-css-variable(
|
37
|
+
checkbox-#{$style-name}-background, map-get($style, checked-focused, background));
|
34
38
|
|
35
|
-
outline: map
|
39
|
+
outline: mc-css-variable(checkbox-#{$style-name}-outline, map-get($style, checked-focused, outline));
|
36
40
|
|
37
41
|
outline-offset: -2px;
|
38
42
|
}
|
@@ -41,56 +45,58 @@
|
|
41
45
|
|
42
46
|
& .mc-checkbox-input.cdk-keyboard-focused {
|
43
47
|
+ .mc-checkbox-frame {
|
44
|
-
border-color: map
|
48
|
+
border-color: mc-css-variable(checkbox-#{$style-name}-border, map-get($style, focused, border));
|
45
49
|
|
46
|
-
box-shadow: map
|
50
|
+
box-shadow: mc-css-variable(checkbox-#{$style-name}-shadow, map-get($style, focused, shadow));
|
47
51
|
}
|
48
52
|
}
|
49
53
|
}
|
50
54
|
/* stylelint-enable no-descending-specificity */
|
51
55
|
|
52
56
|
@mixin mc-checkbox-theme($theme) {
|
53
|
-
$foreground: map
|
54
|
-
$background: map
|
57
|
+
$foreground: map-get($theme, foreground);
|
58
|
+
$background: map-get($theme, background);
|
55
59
|
|
56
|
-
$checkbox: map
|
60
|
+
$checkbox: map-get(map-get($theme, components), checkbox);
|
57
61
|
|
58
62
|
.mc-checkbox {
|
59
63
|
&:not(.mc-disabled) {
|
60
64
|
.mc-checkbox-overlay:hover {
|
61
|
-
background-color: map
|
65
|
+
background-color: mc-css-variable(background-overlay-hover, map-get($background, overlay-hover));
|
62
66
|
}
|
63
67
|
}
|
64
68
|
|
65
69
|
& .mc-hint {
|
66
|
-
color: map-get($foreground, text-less-contrast);
|
70
|
+
color: mc-css-variable(foreground-text-less-contrast, map-get($foreground, text-less-contrast));
|
67
71
|
}
|
68
72
|
|
69
73
|
&.mc-primary {
|
70
|
-
@include mc-checkbox-color(
|
74
|
+
@include mc-checkbox-color($checkbox, default);
|
71
75
|
|
72
|
-
color: map-get($foreground, text)
|
76
|
+
color: mc-css-variable(foreground-text, map-get($foreground, text));
|
73
77
|
}
|
74
78
|
|
75
79
|
&.mc-error {
|
76
|
-
@include mc-checkbox-color(
|
80
|
+
@include mc-checkbox-color($checkbox, error);
|
77
81
|
|
78
|
-
color: map-get($foreground, text)
|
82
|
+
color: mc-css-variable(foreground-text, map-get($foreground, text));
|
79
83
|
}
|
80
84
|
|
81
85
|
&.mc-disabled,
|
82
86
|
&.mc-primary.mc-disabled,
|
83
87
|
&.mc-error.mc-disabled {
|
84
|
-
color: map
|
88
|
+
color: mc-css-variable(foreground-text-disabled, map-get($foreground, text-disabled));
|
85
89
|
|
86
90
|
.mc-checkbox-frame {
|
87
|
-
border-color: map
|
91
|
+
border-color: mc-css-variable(foreground-border, map-get($foreground, border));
|
88
92
|
|
89
|
-
background-color:
|
93
|
+
background-color: mc-css-variable(
|
94
|
+
background-background-disabled, map-get($background, background-disabled)
|
95
|
+
);
|
90
96
|
|
91
97
|
& .mc-checkbox-checkmark,
|
92
98
|
& .mc-checkbox-mixedmark {
|
93
|
-
color: map
|
99
|
+
color: mc-css-variable(foreground-text-disabled, map-get($foreground, text-disabled));
|
94
100
|
}
|
95
101
|
}
|
96
102
|
}
|
@@ -98,9 +104,7 @@
|
|
98
104
|
}
|
99
105
|
|
100
106
|
@mixin mc-checkbox-typography($config) {
|
101
|
-
$tokens: map.get($config, tokens);
|
102
|
-
|
103
107
|
.mc-checkbox {
|
104
|
-
@include mc-typography-
|
108
|
+
@include mc-typography-css-variables(checkbox, default);
|
105
109
|
}
|
106
110
|
}
|
package/checkbox/checkbox.scss
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
@use '../core/styles/variables';
|
6
6
|
|
7
7
|
@use '../core/styles/tokens';
|
8
|
+
@use '../core/styles/common/tokens' as *;
|
8
9
|
|
9
10
|
|
10
11
|
$tokens: meta.module-variables(tokens) !default;
|
@@ -14,7 +15,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
14
15
|
%mc-checkbox-outer-box {
|
15
16
|
@include layout.mc-fill;
|
16
17
|
|
17
|
-
border-radius:
|
18
|
+
border-radius: mc-css-variable(checkbox-size-border-radius);
|
18
19
|
box-sizing: border-box;
|
19
20
|
pointer-events: none;
|
20
21
|
}
|
@@ -33,10 +34,10 @@ $tokens: meta.module-variables(tokens) !default;
|
|
33
34
|
|
34
35
|
background-color: transparent;
|
35
36
|
border: {
|
36
|
-
width:
|
37
|
+
width: mc-css-variable(checkbox-size-border-width);
|
37
38
|
style: solid;
|
38
39
|
}
|
39
|
-
box-shadow:
|
40
|
+
box-shadow: mc-css-variable(checkbox-size-toggle-box-shadow);
|
40
41
|
}
|
41
42
|
|
42
43
|
.mc-checkbox {
|
@@ -98,14 +99,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
98
99
|
top: 2px;
|
99
100
|
left: 0;
|
100
101
|
|
101
|
-
height:
|
102
|
-
width:
|
102
|
+
height: mc-css-variable(checkbox-size-width);
|
103
|
+
width: mc-css-variable(checkbox-size-width);
|
103
104
|
}
|
104
105
|
|
105
106
|
.mc-checkbox-overlay {
|
106
107
|
@include layout.mc-fill;
|
107
108
|
|
108
|
-
border-radius:
|
109
|
+
border-radius: mc-css-variable(checkbox-size-border-radius);
|
109
110
|
background: transparent;
|
110
111
|
}
|
111
112
|
|