@lucca-front/scss 20.3.0-rc.2 → 20.3.0-rc.4
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 +0 -5
- package/src/commons/core.scss +3 -3
- package/src/commons/exports.scss +1 -0
- package/src/commons/index.scss +2 -9
- package/src/commons/utils/index.scss +478 -480
- package/src/commons/utils/reset.scss +1 -1
- package/src/components/_sample/index.scss +6 -14
- package/src/components/appLayout/index.scss +7 -11
- package/src/components/avatar/index.scss +35 -43
- package/src/components/box/index.scss +14 -20
- package/src/components/breadcrumbs/index.scss +10 -16
- package/src/components/button/index.scss +134 -140
- package/src/components/button/mods.scss +0 -17
- package/src/components/buttonGroup/index.scss +8 -20
- package/src/components/calendar/index.scss +44 -56
- package/src/components/callout/index.scss +4 -8
- package/src/components/calloutDisclosure/index.scss +9 -15
- package/src/components/calloutFeedbackList/index.scss +4 -8
- package/src/components/calloutPopover/index.scss +12 -18
- package/src/components/card/component.scss +1 -0
- package/src/components/card/index.scss +23 -25
- package/src/components/card/mods.scss +31 -0
- package/src/components/checkbox/index.scss +30 -36
- package/src/components/checkboxField/index.scss +80 -90
- package/src/components/chip/index.scss +17 -23
- package/src/components/clear/index.scss +17 -23
- package/src/components/code/index.scss +4 -8
- package/src/components/collapse/index.scss +7 -11
- package/src/components/comment/index.scss +20 -30
- package/src/components/container/index.scss +25 -29
- package/src/components/contentSection/index.scss +2 -4
- package/src/components/dataTable/index.scss +52 -68
- package/src/components/dataTableSticked/index.scss +24 -32
- package/src/components/dateField/index.scss +20 -24
- package/src/components/dateRangeField/index.scss +25 -29
- package/src/components/dialog/index.scss +36 -40
- package/src/components/divider/index.scss +7 -11
- package/src/components/dropdown/component.scss +43 -17
- package/src/components/dropdown/index.scss +9 -12
- package/src/components/dropdown/mods.scss +4 -4
- package/src/components/dropdown/states.scss +4 -3
- package/src/components/dropdown/vars.scss +8 -6
- package/src/components/emptyState/index.scss +7 -11
- package/src/components/errorPage/index.scss +4 -8
- package/src/components/fancyBox/index.scss +4 -8
- package/src/components/field/index.scss +76 -96
- package/src/components/fieldset/index.scss +12 -18
- package/src/components/file/index.scss +30 -38
- package/src/components/fileEntry/index.scss +18 -24
- package/src/components/fileToolbar/index.scss +6 -10
- package/src/components/fileUpload/index.scss +31 -37
- package/src/components/filterBar/index.scss +13 -17
- package/src/components/filterBarDeprecated/index.scss +4 -8
- package/src/components/filterPill/index.scss +48 -56
- package/src/components/filters/index.scss +8 -14
- package/src/components/footer/index.scss +34 -38
- package/src/components/form/index.scss +84 -114
- package/src/components/form/mods.scss +5 -7
- package/src/components/formLabel/index.scss +13 -19
- package/src/components/gauge/index.scss +20 -26
- package/src/components/grid/index.scss +21 -25
- package/src/components/header/index.scss +12 -18
- package/src/components/highlightData/index.scss +24 -28
- package/src/components/horizontalNavigation/index.scss +36 -42
- package/src/components/index.scss +55 -57
- package/src/components/indexTable/index.scss +56 -54
- package/src/components/inlineMessage/index.scss +12 -18
- package/src/components/inputFramed/index.scss +24 -30
- package/src/components/label/index.scss +9 -13
- package/src/components/layout/index.scss +45 -51
- package/src/components/link/index.scss +8 -14
- package/src/components/link/mods.scss +1 -1
- package/src/components/list/index.scss +11 -15
- package/src/components/listboxOption/index.scss +115 -131
- package/src/components/listing/index.scss +18 -22
- package/src/components/loading/index.scss +23 -27
- package/src/components/main/index.scss +15 -21
- package/src/components/mainLayout/index.scss +20 -26
- package/src/components/mobileHeader/index.scss +4 -8
- package/src/components/mobileNavigation/index.scss +2 -4
- package/src/components/mobilePush/index.scss +4 -8
- package/src/components/multiSelect/index.scss +36 -46
- package/src/components/navside/index.scss +56 -78
- package/src/components/newBadge/index.scss +4 -8
- package/src/components/notchBox/index.scss +13 -17
- package/src/components/notchBox/mods.scss +125 -137
- package/src/components/numericBadge/index.scss +16 -22
- package/src/components/pageHeader/index.scss +22 -26
- package/src/components/pagination/index.scss +6 -12
- package/src/components/plgPush/index.scss +2 -4
- package/src/components/popover/component.scss +0 -17
- package/src/components/popover/index.scss +2 -4
- package/src/components/progress/index.scss +9 -15
- package/src/components/radio/index.scss +12 -18
- package/src/components/radioButtons/index.scss +9 -15
- package/src/components/radioField/index.scss +40 -46
- package/src/components/readMore/index.scss +15 -21
- package/src/components/richText/index.scss +14 -20
- package/src/components/scrollBox/index.scss +10 -14
- package/src/components/section/index.scss +12 -16
- package/src/components/segmentedControl/index.scss +15 -25
- package/src/components/simpleSelect/index.scss +33 -41
- package/src/components/skeleton/index.scss +37 -43
- package/src/components/skipLinks/index.scss +2 -4
- package/src/components/sortableList/index.scss +6 -12
- package/src/components/statusBadge/index.scss +4 -8
- package/src/components/switch/index.scss +29 -35
- package/src/components/switchField/index.scss +16 -22
- package/src/components/table/index.scss +64 -78
- package/src/components/tableFixed/index.scss +11 -13
- package/src/components/tableFixedDeprecated/index.scss +10 -14
- package/src/components/tableOfContent/index.scss +24 -28
- package/src/components/tableSortable/index.scss +16 -22
- package/src/components/tableSticked/index.scss +24 -28
- package/src/components/tableSticked/mods.scss +6 -6
- package/src/components/tableStickedDeprecated/index.scss +40 -46
- package/src/components/tag/index.scss +23 -29
- package/src/components/textField/index.scss +22 -30
- package/src/components/textField/mods.scss +1 -1
- package/src/components/textFlow/index.scss +2 -4
- package/src/components/textfields/index.scss +258 -279
- package/src/components/timeline/index.scss +66 -72
- package/src/components/timepicker/index.scss +15 -21
- package/src/components/title/index.scss +30 -43
- package/src/components/title/mods.scss +1 -1
- package/src/components/titleSection/index.scss +23 -31
- package/src/components/toast/index.scss +4 -8
- package/src/components/tooltip/index.scss +21 -25
- package/src/components/userPopover/index.scss +2 -4
- package/src/components/userTile/index.scss +22 -26
- package/src/components/verticalNavigation/index.scss +16 -26
|
@@ -3,58 +3,54 @@
|
|
|
3
3
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
4
4
|
|
|
5
5
|
.dialog {
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
@include component;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@layer mods {
|
|
12
|
-
&.mod-XS {
|
|
13
|
-
@include XS;
|
|
14
|
-
}
|
|
6
|
+
@include vars;
|
|
7
|
+
@include component;
|
|
15
8
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
&.mod-XS {
|
|
10
|
+
@include XS;
|
|
11
|
+
}
|
|
19
12
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
&.mod-S {
|
|
14
|
+
@include S;
|
|
15
|
+
}
|
|
23
16
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
&.mod-fitContent {
|
|
18
|
+
@include fitContent;
|
|
19
|
+
}
|
|
27
20
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
&.mod-maxContent {
|
|
22
|
+
@include maxContent;
|
|
23
|
+
}
|
|
31
24
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
&.mod-L {
|
|
26
|
+
@include L;
|
|
27
|
+
}
|
|
35
28
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
&.mod-XL {
|
|
30
|
+
@include XL;
|
|
31
|
+
}
|
|
39
32
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
&.mod-XXL {
|
|
34
|
+
@include XXL;
|
|
35
|
+
}
|
|
43
36
|
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
&.mod-neutralBackground {
|
|
38
|
+
@include neutralBackground;
|
|
39
|
+
}
|
|
46
40
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
41
|
+
&:where(.mod-drawer) {
|
|
42
|
+
@include drawer;
|
|
50
43
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
44
|
+
&:where(.mod-fromBottom) {
|
|
45
|
+
@include fromBottom;
|
|
54
46
|
}
|
|
55
47
|
|
|
56
|
-
|
|
57
|
-
@include
|
|
48
|
+
@include media.max('XXS') {
|
|
49
|
+
@include fromBottom;
|
|
58
50
|
}
|
|
59
51
|
}
|
|
52
|
+
|
|
53
|
+
&.mod-fullScreen {
|
|
54
|
+
@include fullScreen;
|
|
55
|
+
}
|
|
60
56
|
}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.divider {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
@include component;
|
|
7
|
-
}
|
|
4
|
+
@include vars;
|
|
5
|
+
@include component;
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
7
|
+
&.mod-S {
|
|
8
|
+
@include S;
|
|
9
|
+
}
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
11
|
+
&.mod-vertical {
|
|
12
|
+
@include vertical;
|
|
17
13
|
}
|
|
18
14
|
}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
@use '@lucca-front/scss/src/components/divider/exports' as divider;
|
|
5
5
|
|
|
6
6
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
7
|
-
margin: calc(var(--pr-t-spacings-100) * -1);
|
|
8
7
|
padding: 0 !important;
|
|
9
8
|
border-radius: var(--pr-t-border-radius-structure);
|
|
10
|
-
|
|
11
|
-
max-
|
|
9
|
+
min-inline-size: var(--components-dropdown-minInlineSize);
|
|
10
|
+
max-inline-size: var(--components-dropdown-maxInlineSize);
|
|
11
|
+
max-block-size: var(--components-dropdown-maxBlockSize);
|
|
12
12
|
overflow-x: hidden;
|
|
13
13
|
overflow-y: auto;
|
|
14
14
|
|
|
@@ -20,30 +20,49 @@
|
|
|
20
20
|
padding-block: var(--pr-t-spacings-50);
|
|
21
21
|
padding-inline: 0;
|
|
22
22
|
margin: 0;
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
gap: var(--pr-t-spacings-25);
|
|
26
|
+
|
|
27
|
+
.dropdown-list {
|
|
28
|
+
padding-block: 0;
|
|
29
|
+
}
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
// .lu-dropdown-options-item is deprecated
|
|
28
33
|
.dropdown-list-option,
|
|
29
34
|
.lu-dropdown-options-item {
|
|
30
35
|
padding-block: 0;
|
|
31
|
-
padding-inline: var(--pr-t-spacings-50);
|
|
32
36
|
|
|
33
|
-
&.mod-divider {
|
|
34
|
-
padding:
|
|
37
|
+
&:not(:has(.divider.dropdown-list-option-divider, .dropdown-list-option), &.mod-divider) {
|
|
38
|
+
padding-inline: var(--pr-t-spacings-50);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:has(> .dropdown-list) {
|
|
42
|
+
padding-block-start: var(--pr-t-spacings-100);
|
|
43
|
+
padding-inline: var(--pr-t-spacings-150);
|
|
44
|
+
color: var(--pr-t-color-text-subtle);
|
|
45
|
+
font: var(--pr-t-font-body-S);
|
|
46
|
+
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
> .dropdown-list {
|
|
50
|
+
color: var(--pr-t-color-text);
|
|
51
|
+
font: var(--pr-t-font-body-M);
|
|
52
|
+
font-weight: var(--pr-t-font-fontWeight-regular);
|
|
53
|
+
margin-block-start: var(--pr-t-spacings-50);
|
|
54
|
+
margin-inline: calc(var(--pr-t-spacings-150) * -1);
|
|
35
55
|
}
|
|
36
56
|
}
|
|
37
57
|
|
|
38
58
|
// .lu-dropdown-options-item-action is deprecated
|
|
39
59
|
.dropdown-list-option-action,
|
|
40
60
|
.lu-dropdown-options-item-action {
|
|
41
|
-
align-items: flex-start;
|
|
42
61
|
border: 0;
|
|
43
62
|
border-radius: var(--pr-t-border-radius-default);
|
|
44
|
-
color: var(--components-dropdown-
|
|
45
|
-
background-color: var(--components-dropdown-option-actionBackground);
|
|
63
|
+
background-color: var(--components-dropdown-list-option-action-backgroundColor);
|
|
46
64
|
display: flex;
|
|
65
|
+
align-items: flex-start;
|
|
47
66
|
gap: var(--pr-t-spacings-100);
|
|
48
67
|
line-height: var(--pr-t-font-body-M-lineHeight);
|
|
49
68
|
padding: var(--pr-t-spacings-50) var(--pr-t-spacings-100);
|
|
@@ -51,32 +70,39 @@
|
|
|
51
70
|
transition: background-color var(--commons-animations-durations-fast);
|
|
52
71
|
text-decoration: none;
|
|
53
72
|
inline-size: 100%;
|
|
54
|
-
pointer-events: var(--components-dropdown-option-
|
|
73
|
+
pointer-events: var(--components-dropdown-list-option-action-pointerEvents);
|
|
55
74
|
cursor: pointer;
|
|
56
75
|
|
|
57
76
|
.lucca-icon {
|
|
58
77
|
@include icon.S;
|
|
59
78
|
|
|
60
|
-
margin-block
|
|
79
|
+
margin-block: var(--pr-t-spacings-25);
|
|
61
80
|
}
|
|
62
81
|
|
|
63
82
|
&,
|
|
64
83
|
&:hover {
|
|
65
|
-
color: var(--components-dropdown-option-
|
|
84
|
+
color: var(--components-dropdown-list-option-action-color);
|
|
66
85
|
}
|
|
67
86
|
|
|
68
87
|
&:hover,
|
|
69
88
|
&:focus-visible {
|
|
70
|
-
--components-dropdown-option-
|
|
89
|
+
--components-dropdown-list-option-action-backgroundColor: var(--palettes-neutral-50);
|
|
71
90
|
}
|
|
72
91
|
|
|
73
92
|
&:active {
|
|
74
|
-
--components-dropdown-option-
|
|
93
|
+
--components-dropdown-list-option-action-backgroundColor: var(--palettes-neutral-100);
|
|
75
94
|
}
|
|
76
95
|
|
|
77
96
|
&:focus-visible {
|
|
78
|
-
@include a11y.focusVisible;
|
|
97
|
+
@include a11y.focusVisible($offset: 0);
|
|
98
|
+
|
|
99
|
+
z-index: 1;
|
|
100
|
+
position: relative;
|
|
79
101
|
}
|
|
80
102
|
}
|
|
103
|
+
|
|
104
|
+
.divider.dropdown-list-option-divider {
|
|
105
|
+
--components-divider-marginBlock: var(--pr-t-spacings-25);
|
|
106
|
+
}
|
|
81
107
|
}
|
|
82
108
|
}
|
|
@@ -3,23 +3,20 @@
|
|
|
3
3
|
// .lu-dropdown-content is deprecated
|
|
4
4
|
.dropdown,
|
|
5
5
|
.lu-dropdown-content.lu-popover-content {
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
@include component;
|
|
9
|
-
}
|
|
6
|
+
@include vars;
|
|
7
|
+
@include component;
|
|
10
8
|
}
|
|
11
9
|
|
|
10
|
+
// .lu-dropdown-options-item-action is deprecated
|
|
12
11
|
.dropdown-list-option-action,
|
|
13
12
|
.lu-dropdown-options-item-action {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
13
|
+
&[disabled],
|
|
14
|
+
&.is-disabled {
|
|
15
|
+
@include disabled;
|
|
18
16
|
}
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
18
|
+
&.mod-critical,
|
|
19
|
+
&.mod-delete {
|
|
20
|
+
@include critical;
|
|
24
21
|
}
|
|
25
22
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@mixin critical {
|
|
2
|
-
--components-dropdown-option-actionColor: var(--pr-t-color-text-critical);
|
|
3
|
-
|
|
4
2
|
&:hover,
|
|
5
3
|
&:focus-visible {
|
|
6
|
-
--components-dropdown-option-
|
|
4
|
+
--components-dropdown-list-option-action-backgroundColor: var(--palettes-error-50);
|
|
5
|
+
--components-dropdown-list-option-action-color: var(--pr-t-color-text-critical);
|
|
7
6
|
}
|
|
8
7
|
|
|
9
8
|
&:active {
|
|
10
|
-
--components-dropdown-option-
|
|
9
|
+
--components-dropdown-list-option-action-color: var(--pr-t-color-text-critical);
|
|
10
|
+
--components-dropdown-list-option-action-backgroundColor: var(--palettes-error-100);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
@mixin disabled {
|
|
2
|
-
--components-dropdown-option-
|
|
3
|
-
--components-dropdown-option-
|
|
2
|
+
--components-dropdown-list-option-action-color: var(--pr-t-color-text-disabled);
|
|
3
|
+
--components-dropdown-list-option-action-backgroundColor: transparent;
|
|
4
|
+
--components-dropdown-list-option-action-pointerEvents: none;
|
|
4
5
|
|
|
5
6
|
&,
|
|
6
7
|
&:hover {
|
|
7
|
-
--components-dropdown-option-
|
|
8
|
+
--components-dropdown-list-option-action-backgroundColor: var(--palettes-neutral-0);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
|
-
--components-dropdown-
|
|
3
|
-
|
|
4
|
-
--components-dropdown-
|
|
5
|
-
--components-dropdown-
|
|
6
|
-
|
|
7
|
-
--components-dropdown-option-
|
|
2
|
+
--components-dropdown-minInlineSize: 10rem;
|
|
3
|
+
|
|
4
|
+
--components-dropdown-maxInlineSize: 30rem;
|
|
5
|
+
--components-dropdown-maxBlockSize: min(60vh, 30rem);
|
|
6
|
+
|
|
7
|
+
--components-dropdown-list-option-action-color: currentColor;
|
|
8
|
+
--components-dropdown-list-option-action-backgroundColor: transparent;
|
|
9
|
+
--components-dropdown-list-option-action-pointerEvents: auto;
|
|
8
10
|
}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.emptyState {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
@include component;
|
|
7
|
-
}
|
|
4
|
+
@include vars;
|
|
5
|
+
@include component;
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
7
|
+
&.mod-page {
|
|
8
|
+
@include page;
|
|
9
|
+
}
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
11
|
+
&.mod-center {
|
|
12
|
+
@include center;
|
|
17
13
|
}
|
|
18
14
|
}
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/media';
|
|
3
3
|
|
|
4
4
|
.errorPage {
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
@include component;
|
|
8
|
-
}
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
|
|
10
|
-
@
|
|
11
|
-
@include
|
|
12
|
-
@include compact;
|
|
13
|
-
}
|
|
8
|
+
@include media.max('S') {
|
|
9
|
+
@include compact;
|
|
14
10
|
}
|
|
15
11
|
}
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/media';
|
|
3
3
|
|
|
4
4
|
.fancyBox {
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
@include component;
|
|
8
|
-
}
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
|
|
10
|
-
@
|
|
11
|
-
@include
|
|
12
|
-
@include narrow;
|
|
13
|
-
}
|
|
8
|
+
@include media.max('XS') {
|
|
9
|
+
@include narrow;
|
|
14
10
|
}
|
|
15
11
|
}
|
|
@@ -2,105 +2,91 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
3
|
|
|
4
4
|
.form.mod-framed {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@include framed;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@layer states {
|
|
14
|
-
.is-error {
|
|
15
|
-
@include fieldFramedState('error');
|
|
16
|
-
@include fieldFramedError('textfield');
|
|
17
|
-
@include fieldFramedError('radiosfield');
|
|
18
|
-
@include fieldFramedError('checkboxesfield');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.is-warning {
|
|
22
|
-
@include fieldFramedState('warning');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.is-valid,
|
|
26
|
-
.is-success {
|
|
27
|
-
@include fieldFramedState('success');
|
|
28
|
-
}
|
|
5
|
+
.textfield,
|
|
6
|
+
.radiosfield,
|
|
7
|
+
.checkboxesfield {
|
|
8
|
+
@include framed;
|
|
29
9
|
}
|
|
30
10
|
}
|
|
31
11
|
|
|
32
12
|
.textfield,
|
|
33
13
|
.radiosfield,
|
|
34
14
|
.checkboxesfield {
|
|
35
|
-
@
|
|
36
|
-
|
|
37
|
-
|
|
15
|
+
@include vars;
|
|
16
|
+
@include component;
|
|
17
|
+
|
|
18
|
+
&.mod-inline {
|
|
19
|
+
@include inline;
|
|
38
20
|
}
|
|
39
21
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
22
|
+
&.mod-block {
|
|
23
|
+
@include block;
|
|
24
|
+
}
|
|
44
25
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
26
|
+
&:is(.is-required, .required) {
|
|
27
|
+
@include required;
|
|
48
28
|
}
|
|
49
29
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
30
|
+
&:is(.is-loading, .loading) {
|
|
31
|
+
@include loading;
|
|
32
|
+
}
|
|
54
33
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
34
|
+
&:is(.is-success, .success, .is-valid, .valid) {
|
|
35
|
+
@include success;
|
|
36
|
+
}
|
|
58
37
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
38
|
+
&:is(.is-error, .error, .is-invalid, .invalid) {
|
|
39
|
+
@include error;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.mod-compact {
|
|
43
|
+
@include compact;
|
|
62
44
|
|
|
63
|
-
|
|
64
|
-
@include
|
|
45
|
+
&.mod-block {
|
|
46
|
+
@include compactBlock;
|
|
65
47
|
}
|
|
66
48
|
}
|
|
67
49
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
@include compact;
|
|
50
|
+
&.mod-framed {
|
|
51
|
+
@include framed;
|
|
71
52
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
53
|
+
&.mod-search {
|
|
54
|
+
@include framedSearch;
|
|
75
55
|
}
|
|
76
|
-
}
|
|
77
56
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
@include
|
|
57
|
+
&.is-error {
|
|
58
|
+
@include fieldFramedState('error');
|
|
59
|
+
@include fieldFramedError('textfield');
|
|
60
|
+
@include fieldFramedError('radiosfield');
|
|
61
|
+
@include fieldFramedError('checkboxesfield');
|
|
62
|
+
}
|
|
81
63
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
64
|
+
&.is-warning {
|
|
65
|
+
@include fieldFramedState('warning');
|
|
85
66
|
}
|
|
86
|
-
}
|
|
87
67
|
|
|
88
|
-
|
|
89
|
-
&.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
@include fieldFramedError('textfield');
|
|
93
|
-
@include fieldFramedError('radiosfield');
|
|
94
|
-
@include fieldFramedError('checkboxesfield');
|
|
95
|
-
}
|
|
68
|
+
&.is-valid,
|
|
69
|
+
&.is-success {
|
|
70
|
+
@include fieldFramedState('success');
|
|
71
|
+
}
|
|
96
72
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
73
|
+
@at-root (namespace.$defaultAtRoot) {
|
|
74
|
+
.form.mod-framed {
|
|
75
|
+
.is-error {
|
|
76
|
+
@include fieldFramedState('error');
|
|
77
|
+
@include fieldFramedError('textfield');
|
|
78
|
+
@include fieldFramedError('radiosfield');
|
|
79
|
+
@include fieldFramedError('checkboxesfield');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.is-warning {
|
|
83
|
+
@include fieldFramedState('warning');
|
|
84
|
+
}
|
|
100
85
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
86
|
+
.is-valid,
|
|
87
|
+
.is-success {
|
|
88
|
+
@include fieldFramedState('success');
|
|
89
|
+
}
|
|
104
90
|
}
|
|
105
91
|
}
|
|
106
92
|
}
|
|
@@ -108,28 +94,24 @@
|
|
|
108
94
|
.textfield-input,
|
|
109
95
|
.radiosfield-input,
|
|
110
96
|
.checkboxesfield-input {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
97
|
+
&:is([disabled], [readonly]) {
|
|
98
|
+
@include inputDisabled;
|
|
99
|
+
}
|
|
115
100
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
101
|
+
&:is(.is-valid, .valid, .is-success, .success) {
|
|
102
|
+
@include inputState('success');
|
|
103
|
+
}
|
|
119
104
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
105
|
+
&:is(.is-warning, .warning) {
|
|
106
|
+
@include inputState('warning');
|
|
107
|
+
}
|
|
123
108
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
109
|
+
&:is(.is-invalid, .invalid, .is-error, .error) {
|
|
110
|
+
@include inputState('error');
|
|
127
111
|
}
|
|
128
112
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
@include inputRow;
|
|
132
|
-
}
|
|
113
|
+
&.mod-row {
|
|
114
|
+
@include inputRow;
|
|
133
115
|
}
|
|
134
116
|
}
|
|
135
117
|
}
|
|
@@ -137,10 +119,8 @@
|
|
|
137
119
|
.textfield-input,
|
|
138
120
|
.radiosfield-input,
|
|
139
121
|
.checkboxesfield-input {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
@include required;
|
|
144
|
-
}
|
|
122
|
+
&:is([required]),
|
|
123
|
+
&:is([aria-required='true']) {
|
|
124
|
+
@include required;
|
|
145
125
|
}
|
|
146
126
|
}
|
|
@@ -1,28 +1,22 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.fieldset {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
@include component;
|
|
7
|
-
}
|
|
4
|
+
@include vars;
|
|
5
|
+
@include component;
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
7
|
+
&.mod-S {
|
|
8
|
+
@include S;
|
|
9
|
+
}
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
&.mod-horizontal {
|
|
12
|
+
@include horizontal;
|
|
13
|
+
}
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
15
|
+
&.mod-expandable {
|
|
16
|
+
@include expandable;
|
|
21
17
|
}
|
|
22
18
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
@include expanded;
|
|
26
|
-
}
|
|
19
|
+
&:has(.fieldset-title-content[aria-expanded='true']) {
|
|
20
|
+
@include expanded;
|
|
27
21
|
}
|
|
28
22
|
}
|