@lucca-front/scss 20.3.0-rc.10 → 20.3.0-rc.12
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/dist/lucca-front.min.css +1 -1
- package/package.json +2 -2
- package/src/commons/config.scss +5 -0
- package/src/commons/core.scss +3 -3
- package/src/commons/exports.scss +0 -1
- package/src/commons/index.scss +9 -2
- package/src/commons/utils/index.scss +480 -478
- package/src/commons/utils/reset.scss +1 -1
- package/src/components/_sample/index.scss +13 -7
- package/src/components/appLayout/component.scss +1 -0
- package/src/components/appLayout/index.scss +11 -7
- package/src/components/avatar/index.scss +43 -35
- package/src/components/box/index.scss +20 -14
- package/src/components/breadcrumbs/index.scss +16 -10
- package/src/components/button/index.scss +138 -134
- package/src/components/button/mods.scss +17 -0
- package/src/components/button/states.scss +3 -3
- package/src/components/buttonGroup/component.scss +0 -17
- package/src/components/buttonGroup/index.scss +20 -8
- package/src/components/calendar/index.scss +56 -44
- package/src/components/callout/index.scss +8 -4
- package/src/components/callout/mods.scss +1 -0
- package/src/components/calloutDisclosure/component.scss +2 -3
- package/src/components/calloutDisclosure/index.scss +14 -10
- package/src/components/calloutDisclosure/mods.scss +5 -0
- package/src/components/calloutDisclosure/vars.scss +3 -0
- package/src/components/calloutFeedbackList/index.scss +8 -4
- package/src/components/calloutPopover/index.scss +18 -12
- package/src/components/card/index.scss +28 -24
- package/src/components/checkbox/index.scss +35 -31
- package/src/components/checkboxField/index.scss +88 -82
- package/src/components/chip/index.scss +22 -18
- package/src/components/clear/index.scss +22 -18
- package/src/components/code/index.scss +8 -4
- package/src/components/collapse/index.scss +11 -7
- package/src/components/comment/index.scss +30 -20
- package/src/components/container/component.scss +1 -0
- package/src/components/container/index.scss +29 -25
- package/src/components/contentSection/index.scss +4 -2
- package/src/components/dataTable/component.scss +9 -0
- package/src/components/dataTable/index.scss +94 -69
- package/src/components/dataTable/mods.scss +28 -5
- package/src/components/dataTableSticked/index.scss +34 -26
- package/src/components/dataTableSticked/mods.scss +4 -2
- package/src/components/dataTableSticked/states.scss +5 -0
- package/src/components/dataTableSticked/vars.scss +1 -0
- package/src/components/dateField/index.scss +24 -20
- package/src/components/dateRangeField/index.scss +29 -25
- package/src/components/dialog/component.scss +4 -4
- package/src/components/dialog/index.scss +40 -36
- package/src/components/divider/index.scss +11 -7
- package/src/components/dropdown/index.scss +13 -9
- package/src/components/emptyState/index.scss +11 -7
- package/src/components/errorPage/index.scss +8 -4
- package/src/components/fancyBox/index.scss +8 -4
- package/src/components/field/index.scss +86 -88
- package/src/components/fieldset/index.scss +17 -13
- package/src/components/file/index.scss +34 -28
- package/src/components/fileEntry/index.scss +23 -19
- package/src/components/fileToolbar/index.scss +10 -6
- package/src/components/fileUpload/index.scss +36 -32
- package/src/components/filterBar/index.scss +17 -13
- package/src/components/filterBarDeprecated/index.scss +8 -4
- package/src/components/filterPill/index.scss +53 -49
- package/src/components/filters/index.scss +14 -8
- package/src/components/footer/index.scss +38 -34
- package/src/components/form/index.scss +121 -109
- package/src/components/form/mods.scss +7 -5
- package/src/components/formLabel/index.scss +18 -14
- package/src/components/gauge/component.scss +20 -16
- package/src/components/gauge/index.scss +25 -21
- package/src/components/grid/index.scss +25 -21
- package/src/components/header/index.scss +17 -13
- package/src/components/highlightData/index.scss +28 -24
- package/src/components/horizontalNavigation/index.scss +42 -36
- package/src/components/index.scss +57 -55
- package/src/components/indexTable/component.scss +10 -0
- package/src/components/indexTable/index.scss +53 -57
- package/src/components/inlineMessage/index.scss +17 -13
- package/src/components/inputFramed/index.scss +30 -24
- package/src/components/label/index.scss +13 -9
- package/src/components/layout/index.scss +51 -45
- package/src/components/link/index.scss +14 -10
- package/src/components/link/mods.scss +1 -1
- package/src/components/list/index.scss +15 -11
- package/src/components/listboxOption/index.scss +129 -117
- package/src/components/listing/index.scss +22 -18
- package/src/components/loading/index.scss +27 -23
- package/src/components/main/index.scss +21 -15
- package/src/components/mainLayout/component.scss +27 -0
- package/src/components/mainLayout/index.scss +27 -21
- package/src/components/mainLayout/vars.scss +1 -0
- package/src/components/mobileHeader/index.scss +8 -4
- package/src/components/mobileNavigation/index.scss +4 -2
- package/src/components/mobilePush/index.scss +8 -4
- package/src/components/multiSelect/index.scss +57 -39
- package/src/components/multiSelect/mods.scss +0 -8
- package/src/components/multiSelect/states.scss +8 -0
- package/src/components/navside/index.scss +74 -64
- package/src/components/newBadge/index.scss +8 -4
- package/src/components/notchBox/index.scss +17 -13
- package/src/components/notchBox/mods.scss +137 -125
- package/src/components/numericBadge/index.scss +21 -17
- package/src/components/pageHeader/index.scss +26 -22
- package/src/components/pagination/index.scss +12 -6
- package/src/components/plgPush/index.scss +4 -2
- package/src/components/popover/index.scss +4 -2
- package/src/components/progress/index.scss +14 -10
- package/src/components/radio/index.scss +18 -12
- package/src/components/radioButtons/index.scss +16 -10
- package/src/components/radioField/index.scss +46 -40
- package/src/components/readMore/index.scss +20 -16
- package/src/components/richText/component.scss +1 -0
- package/src/components/richText/index.scss +19 -15
- package/src/components/scrollBox/index.scss +14 -10
- package/src/components/section/index.scss +16 -12
- package/src/components/segmentedControl/index.scss +31 -25
- package/src/components/simpleSelect/index.scss +39 -35
- package/src/components/skeleton/index.scss +42 -38
- package/src/components/skipLinks/index.scss +4 -2
- package/src/components/sortableList/index.scss +12 -6
- package/src/components/statusBadge/component.scss +9 -2
- package/src/components/statusBadge/index.scss +12 -4
- package/src/components/statusBadge/states.scss +5 -0
- package/src/components/switch/index.scss +35 -29
- package/src/components/switchField/index.scss +22 -16
- package/src/components/table/index.scss +85 -79
- package/src/components/tableFixed/index.scss +13 -11
- package/src/components/tableFixedDeprecated/index.scss +14 -10
- package/src/components/tableOfContent/index.scss +28 -24
- package/src/components/tableSortable/index.scss +29 -17
- package/src/components/tableSortable/mods.scss +7 -2
- package/src/components/tableSticked/index.scss +28 -24
- package/src/components/tableSticked/mods.scss +6 -6
- package/src/components/tableStickedDeprecated/index.scss +46 -40
- package/src/components/tag/component.scss +1 -1
- package/src/components/tag/index.scss +28 -24
- package/src/components/tag/mods.scss +1 -0
- package/src/components/tag/vars.scss +1 -0
- package/src/components/textField/index.scss +28 -24
- package/src/components/textField/mods.scss +1 -1
- package/src/components/textFlow/index.scss +4 -2
- package/src/components/textfields/index.scss +265 -261
- package/src/components/timeline/index.scss +72 -66
- package/src/components/timepicker/index.scss +20 -16
- package/src/components/title/index.scss +43 -30
- package/src/components/title/mods.scss +1 -1
- package/src/components/titleSection/index.scss +31 -23
- package/src/components/toast/index.scss +8 -4
- package/src/components/tooltip/index.scss +25 -21
- package/src/components/userPopover/index.scss +4 -2
- package/src/components/userTile/index.scss +26 -22
- package/src/components/verticalNavigation/index.scss +26 -20
|
@@ -1,55 +1,39 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.filterPill {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&:not(.is-filled) {
|
|
8
|
-
@include notFilled;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&:hover {
|
|
12
|
-
@include hover;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&:active,
|
|
16
|
-
&:has(:active) {
|
|
17
|
-
@include active;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.is-comboboxHidden {
|
|
21
|
-
@include comboboxHidden;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
22
7
|
}
|
|
23
8
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
&:has(.filterPill-combobox[aria-expanded='true']) {
|
|
29
|
-
@include opened;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.is-filled {
|
|
33
|
-
@include filled;
|
|
9
|
+
@layer mods {
|
|
10
|
+
&:not(.is-filled) {
|
|
11
|
+
@include notFilled;
|
|
12
|
+
}
|
|
34
13
|
|
|
35
14
|
&:hover {
|
|
36
|
-
@include
|
|
15
|
+
@include hover;
|
|
37
16
|
}
|
|
38
17
|
|
|
39
|
-
&:
|
|
40
|
-
|
|
18
|
+
&:active,
|
|
19
|
+
&:has(:active) {
|
|
20
|
+
@include active;
|
|
41
21
|
}
|
|
42
|
-
}
|
|
43
22
|
|
|
44
|
-
|
|
45
|
-
|
|
23
|
+
&.is-comboboxHidden {
|
|
24
|
+
@include comboboxHidden;
|
|
25
|
+
}
|
|
46
26
|
|
|
47
|
-
&:has(.filterPill-
|
|
27
|
+
&:has(.filterPill-combobox:focus-visible) {
|
|
48
28
|
@include focusVisible;
|
|
49
29
|
}
|
|
50
30
|
|
|
51
|
-
&:has(.filterPill-
|
|
52
|
-
@include
|
|
31
|
+
&:has(.filterPill-combobox[aria-expanded='true']) {
|
|
32
|
+
@include opened;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.is-filled {
|
|
36
|
+
@include filled;
|
|
53
37
|
|
|
54
38
|
&:hover {
|
|
55
39
|
@include filledHover;
|
|
@@ -60,24 +44,44 @@
|
|
|
60
44
|
}
|
|
61
45
|
}
|
|
62
46
|
|
|
63
|
-
|
|
64
|
-
@include
|
|
47
|
+
&.mod-checkbox {
|
|
48
|
+
@include checkbox;
|
|
49
|
+
|
|
50
|
+
&:has(.filterPill-checkbox-input:focus-visible) {
|
|
51
|
+
@include focusVisible;
|
|
52
|
+
}
|
|
65
53
|
|
|
66
54
|
&:has(.filterPill-checkbox-input:checked) {
|
|
67
|
-
@include
|
|
55
|
+
@include checkboxChecked;
|
|
56
|
+
|
|
57
|
+
&:hover {
|
|
58
|
+
@include filledHover;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:has(.filterPill-combobox:active) {
|
|
62
|
+
@include filledActive;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:has(.filterPill-checkbox-input:disabled) {
|
|
67
|
+
@include checkboxDisabled;
|
|
68
|
+
|
|
69
|
+
&:has(.filterPill-checkbox-input:checked) {
|
|
70
|
+
@include checkboxCheckedDisabled;
|
|
71
|
+
}
|
|
68
72
|
}
|
|
69
73
|
}
|
|
70
|
-
}
|
|
71
74
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
&.mod-button {
|
|
76
|
+
@include button;
|
|
77
|
+
}
|
|
75
78
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
&:has(.filterPill-combobox:disabled) {
|
|
80
|
+
@include disabled;
|
|
81
|
+
}
|
|
79
82
|
|
|
80
|
-
|
|
81
|
-
|
|
83
|
+
&.is-hidden {
|
|
84
|
+
@include hidden;
|
|
85
|
+
}
|
|
82
86
|
}
|
|
83
87
|
}
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.filters {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-sticky {
|
|
11
|
+
@include sticky;
|
|
12
|
+
}
|
|
9
13
|
}
|
|
10
14
|
}
|
|
11
15
|
|
|
12
|
-
|
|
13
|
-
.
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
+
@layer mods {
|
|
17
|
+
.navSide ~ .main-content,
|
|
18
|
+
.mod-withMenu .main-content {
|
|
19
|
+
.filters.mod-sticky {
|
|
20
|
+
@include stickyNavSide;
|
|
21
|
+
}
|
|
16
22
|
}
|
|
17
23
|
}
|
|
@@ -2,53 +2,57 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/media';
|
|
3
3
|
|
|
4
4
|
.footer {
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
&.mod-sticky {
|
|
9
|
-
@include sticky;
|
|
5
|
+
@layer components {
|
|
6
|
+
@include vars;
|
|
7
|
+
@include component;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
@layer mods {
|
|
11
|
+
&.mod-sticky {
|
|
12
|
+
@include sticky;
|
|
13
|
+
}
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
&:not([class*='mod-narrow']),
|
|
18
|
-
&.mod-narrowAtMediaMaxXXS {
|
|
19
|
-
@include media.max('XXS') {
|
|
15
|
+
&.mod-narrow {
|
|
20
16
|
@include narrow;
|
|
21
17
|
}
|
|
22
|
-
}
|
|
23
18
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
// default mod
|
|
20
|
+
&:not([class*='mod-narrow']),
|
|
21
|
+
&.mod-narrowAtMediaMaxXXS {
|
|
22
|
+
@include media.max('XXS') {
|
|
23
|
+
@include narrow;
|
|
24
|
+
}
|
|
27
25
|
}
|
|
28
|
-
}
|
|
29
26
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
&.mod-narrowAtMediaMaxXS {
|
|
28
|
+
@include media.max('XS') {
|
|
29
|
+
@include narrow;
|
|
30
|
+
}
|
|
33
31
|
}
|
|
34
|
-
}
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
&.mod-narrowAtMediaMaxS {
|
|
34
|
+
@include media.max('S') {
|
|
35
|
+
@include narrow;
|
|
36
|
+
}
|
|
39
37
|
}
|
|
40
|
-
}
|
|
41
38
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
&.mod-narrowAtMediaMaxM {
|
|
40
|
+
@include media.max('M') {
|
|
41
|
+
@include narrow;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
@include media.min('S') {
|
|
46
|
+
@include wide;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.dialog &,
|
|
50
|
+
.lu-modal-panel & {
|
|
51
|
+
@include insideDialog;
|
|
52
|
+
}
|
|
50
53
|
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
&:has(.footer-containerOptional) {
|
|
55
|
+
@include withContainer;
|
|
56
|
+
}
|
|
53
57
|
}
|
|
54
58
|
}
|
|
@@ -6,94 +6,100 @@
|
|
|
6
6
|
@use 'exports' as *;
|
|
7
7
|
|
|
8
8
|
.form {
|
|
9
|
-
@
|
|
9
|
+
@layer components {
|
|
10
|
+
@include component;
|
|
11
|
+
}
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
@layer mods {
|
|
14
|
+
&.mod-maxWidth {
|
|
15
|
+
@include maxWidth;
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
}
|
|
15
19
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
@layer mods {
|
|
21
|
+
.form-fieldset {
|
|
22
|
+
&.mod-inline {
|
|
23
|
+
@include inline;
|
|
24
|
+
}
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
&.mod-S {
|
|
27
|
+
@include S;
|
|
28
|
+
}
|
|
24
29
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
&:has(~ .box) {
|
|
31
|
+
.form-field {
|
|
32
|
+
&.mod-withArrow {
|
|
33
|
+
@include withArrow;
|
|
29
34
|
|
|
30
|
-
|
|
31
|
-
|
|
35
|
+
&.mod-S {
|
|
36
|
+
@include withArrowS;
|
|
37
|
+
}
|
|
32
38
|
}
|
|
33
39
|
}
|
|
34
40
|
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:has(.radioField-input[aria-invalid='true']),
|
|
38
|
-
&:has(.checkboxField-input[aria-invalid='true']) {
|
|
39
|
-
@include legendInvalid;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
41
|
|
|
43
|
-
.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
&.mod-XS {
|
|
49
|
-
@include XS;
|
|
42
|
+
&:has(.radioField-input[aria-invalid='true']),
|
|
43
|
+
&:has(.checkboxField-input[aria-invalid='true']) {
|
|
44
|
+
@include legendInvalid;
|
|
45
|
+
}
|
|
50
46
|
}
|
|
51
47
|
|
|
52
|
-
|
|
53
|
-
&.mod-
|
|
54
|
-
@include
|
|
48
|
+
.form-field {
|
|
49
|
+
&.mod-S {
|
|
50
|
+
@include S;
|
|
55
51
|
}
|
|
56
|
-
}
|
|
57
52
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
&:has(.switchField) {
|
|
62
|
-
@include checkable;
|
|
63
|
-
}
|
|
53
|
+
&.mod-XS {
|
|
54
|
+
@include XS;
|
|
55
|
+
}
|
|
64
56
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
.simpleSelect-field-input[aria-invalid='true'],
|
|
70
|
-
.multipleSelect-displayer-search[aria-invalid='true']
|
|
71
|
-
) {
|
|
72
|
-
@include invalid;
|
|
57
|
+
@each $value in config.$fieldsWidth {
|
|
58
|
+
&.mod-width#{$value} {
|
|
59
|
+
@include width($value);
|
|
60
|
+
}
|
|
73
61
|
}
|
|
74
|
-
}
|
|
75
62
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.
|
|
80
|
-
@include
|
|
63
|
+
&.mod-checkable,
|
|
64
|
+
&:has(.radioField),
|
|
65
|
+
&:has(.checkboxField),
|
|
66
|
+
&:has(.switchField) {
|
|
67
|
+
@include checkable;
|
|
81
68
|
}
|
|
82
69
|
|
|
83
|
-
|
|
84
|
-
|
|
70
|
+
&:not(lu-form-field) {
|
|
71
|
+
&:has(
|
|
72
|
+
.textField-input-value[aria-invalid='true'],
|
|
73
|
+
.timePicker-fieldset-group-textfield-input[aria-invalid='true'],
|
|
74
|
+
.simpleSelect-field-input[aria-invalid='true'],
|
|
75
|
+
.multipleSelect-displayer-search[aria-invalid='true']
|
|
76
|
+
) {
|
|
77
|
+
@include invalid;
|
|
78
|
+
}
|
|
85
79
|
}
|
|
86
80
|
|
|
87
|
-
.
|
|
88
|
-
|
|
81
|
+
&:has(.radioField-input:disabled),
|
|
82
|
+
&:has(.checkboxField-input:disabled),
|
|
83
|
+
&:has(.switchField-input:disabled) {
|
|
84
|
+
.formLabel {
|
|
85
|
+
@include formLabel.disabled;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.inlineMessage {
|
|
89
|
+
@include inlineMessage.disabled;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.formLabel-tag {
|
|
93
|
+
@include tag.disabled;
|
|
94
|
+
}
|
|
89
95
|
}
|
|
90
|
-
}
|
|
91
96
|
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
&.mod-withArrow {
|
|
98
|
+
@include withArrow;
|
|
94
99
|
|
|
95
|
-
|
|
96
|
-
|
|
100
|
+
&.mod-S {
|
|
101
|
+
@include withArrowS;
|
|
102
|
+
}
|
|
97
103
|
}
|
|
98
104
|
}
|
|
99
105
|
}
|
|
@@ -102,71 +108,77 @@
|
|
|
102
108
|
|
|
103
109
|
// stylelint-disable no-duplicate-selectors -- deprecated
|
|
104
110
|
.form {
|
|
105
|
-
@
|
|
111
|
+
@layer components {
|
|
112
|
+
@include vars;
|
|
113
|
+
}
|
|
106
114
|
}
|
|
107
115
|
|
|
108
116
|
.form-group {
|
|
109
|
-
@
|
|
110
|
-
|
|
117
|
+
@layer components {
|
|
118
|
+
@include vars;
|
|
119
|
+
@include componentDeprecated;
|
|
120
|
+
}
|
|
111
121
|
}
|
|
112
122
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
123
|
+
@layer mods {
|
|
124
|
+
.form-group-line-col {
|
|
125
|
+
&[class*='mod-overlay'] {
|
|
126
|
+
@include overlay;
|
|
127
|
+
}
|
|
117
128
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
129
|
+
&.mod-overlay-top {
|
|
130
|
+
@include overlayTop;
|
|
131
|
+
}
|
|
121
132
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
133
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
134
|
+
@for $i from 1 through 12 {
|
|
135
|
+
&.mod-#{$i}\@mediaMin#{$breakpoint} {
|
|
136
|
+
@include breakpoint($breakpoint, $i);
|
|
137
|
+
}
|
|
126
138
|
}
|
|
127
139
|
}
|
|
128
140
|
}
|
|
129
|
-
}
|
|
130
141
|
|
|
131
|
-
.form-group-label,
|
|
132
|
-
.radiosfield-label,
|
|
133
|
-
.checkboxesfield-label,
|
|
134
|
-
.textfield-label {
|
|
135
|
-
|
|
136
|
-
|
|
142
|
+
.form-group-label,
|
|
143
|
+
.radiosfield-label,
|
|
144
|
+
.checkboxesfield-label,
|
|
145
|
+
.textfield-label {
|
|
146
|
+
&:is(.is-required, .required) {
|
|
147
|
+
@include required;
|
|
148
|
+
}
|
|
137
149
|
}
|
|
138
|
-
}
|
|
139
150
|
|
|
140
|
-
.checkboxesfield.mod-framed,
|
|
141
|
-
.radiosfield.mod-framed,
|
|
142
|
-
.form.mod-framed .fieldsetWrapper {
|
|
143
|
-
|
|
144
|
-
}
|
|
151
|
+
.checkboxesfield.mod-framed,
|
|
152
|
+
.radiosfield.mod-framed,
|
|
153
|
+
.form.mod-framed .fieldsetWrapper {
|
|
154
|
+
@include framed;
|
|
155
|
+
}
|
|
145
156
|
|
|
146
|
-
.checkboxesfield.mod-framed,
|
|
147
|
-
.radiosfield.mod-framed {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
157
|
+
.checkboxesfield.mod-framed,
|
|
158
|
+
.radiosfield.mod-framed {
|
|
159
|
+
margin-block-start: 0;
|
|
160
|
+
padding-block: var(--components-field-framed-side-padding) var(--components-field-framed-bottom-padding);
|
|
161
|
+
padding-inline: var(--components-field-framed-side-padding);
|
|
162
|
+
}
|
|
152
163
|
|
|
153
|
-
.form-group-label {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
164
|
+
.form-group-label {
|
|
165
|
+
&.is-required {
|
|
166
|
+
&:not(:empty) {
|
|
167
|
+
&::after {
|
|
168
|
+
@extend %isRequired;
|
|
169
|
+
}
|
|
158
170
|
}
|
|
159
171
|
}
|
|
160
172
|
}
|
|
161
|
-
}
|
|
162
173
|
|
|
163
|
-
.radiosfield-label,
|
|
164
|
-
.checkboxesfield-label,
|
|
165
|
-
.textfield-label {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
174
|
+
.radiosfield-label,
|
|
175
|
+
.checkboxesfield-label,
|
|
176
|
+
.textfield-label {
|
|
177
|
+
&.is-required {
|
|
178
|
+
&:not(:empty) {
|
|
179
|
+
&::after {
|
|
180
|
+
@extend %isRequired;
|
|
181
|
+
}
|
|
170
182
|
}
|
|
171
183
|
}
|
|
172
184
|
}
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
|
|
282
282
|
&::before,
|
|
283
283
|
&::after {
|
|
284
|
-
|
|
284
|
+
// stylelint-disable-next-line no-irregular-whitespace
|
|
285
285
|
content: ' ' / '';
|
|
286
286
|
display: table;
|
|
287
287
|
}
|
|
@@ -362,8 +362,10 @@
|
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
%isRequired {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
365
|
+
@layer mods {
|
|
366
|
+
color: var(--palettes-error-700);
|
|
367
|
+
display: inline-block;
|
|
368
|
+
margin-inline-start: 0.2em;
|
|
369
|
+
content: '*' / '';
|
|
370
|
+
}
|
|
369
371
|
}
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.formLabel {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-S {
|
|
8
|
-
@include S;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
&.mod-XS {
|
|
15
|
+
@include XS;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.mod-counter {
|
|
19
|
+
@include counter;
|
|
20
|
+
}
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
&.is-error {
|
|
23
|
+
// To replace by :has as soon as it is implemented in Firefox to cover usage as legend for checkboxes and radio states.
|
|
24
|
+
@include error;
|
|
25
|
+
}
|
|
22
26
|
}
|
|
23
27
|
}
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
|
|
24
24
|
@at-root ($atRoot) {
|
|
25
25
|
.gauge-bar {
|
|
26
|
+
position: absolute;
|
|
27
|
+
|
|
26
28
|
@extend %gaugeBar;
|
|
27
29
|
}
|
|
28
30
|
|
|
@@ -37,7 +39,7 @@
|
|
|
37
39
|
stroke-width: var(--components-gauge-circle-strokeWidth);
|
|
38
40
|
stroke-linecap: round;
|
|
39
41
|
stroke-dashoffset: 0;
|
|
40
|
-
transform: rotate(-
|
|
42
|
+
transform: rotate(-0.25turn);
|
|
41
43
|
transform-origin: 50% 50%;
|
|
42
44
|
stroke-dasharray: calc(var(--components-gauge-circleP) / 100 * var(--components-gauge-value)), 9999;
|
|
43
45
|
stroke: currentColor;
|
|
@@ -61,21 +63,23 @@
|
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
%gaugeBar {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
66
|
+
@layer components {
|
|
67
|
+
color: currentColor;
|
|
68
|
+
transition-duration: var(--commons-animations-durations-standard);
|
|
69
|
+
transition-property: background-color, inline-size, block-size;
|
|
70
|
+
block-size: var(--components-gauge-blockSize);
|
|
71
|
+
inline-size: var(--components-gauge-value);
|
|
72
|
+
background-color: currentColor;
|
|
73
|
+
border-radius: var(--pr-t-border-radius-full);
|
|
74
|
+
min-inline-size: var(--components-gauge-before-minInlineSize);
|
|
75
|
+
min-block-size: var(--components-gauge-before-minInlineSize);
|
|
76
|
+
animation-name: var(--components-gauge-animationName);
|
|
77
|
+
animation-duration: var(--components-gauge-animationDuration);
|
|
78
|
+
animation-timing-function: var(--components-gauge-animationTimingFunction);
|
|
76
79
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
@media (prefers-reduced-motion: reduce) {
|
|
81
|
+
--components-gauge-animationDuration: var(--commons-animations-durations-fast);
|
|
82
|
+
--components-gauge-animationTimingFunction: ease;
|
|
83
|
+
}
|
|
80
84
|
}
|
|
81
85
|
}
|