@lucca-front/scss 21.1.3 → 21.2.0-rc.3
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 +3 -3
- package/src/commons/base.scss +25 -5
- package/src/commons/config.scss +30 -21
- package/src/commons/index.scss +2 -2
- package/src/commons/utils/a11y.scss +1 -1
- package/src/commons/utils/highlight-prisme.scss +4 -1
- package/src/commons/utils/index.scss +7 -8
- package/src/commons/utils/media.scss +9 -9
- package/src/commons/utils/namespace.scss +1 -0
- package/src/commons/utils/overflow.scss +2 -3
- package/src/commons/utils/reset.scss +0 -1
- package/src/commons/vars.scss +24 -10
- package/src/components/activityFeed/component.scss +76 -0
- package/src/components/activityFeed/exports.scss +4 -0
- package/src/components/activityFeed/index.scss +29 -0
- package/src/components/activityFeed/mods.scss +0 -0
- package/src/components/activityFeed/states.scss +7 -0
- package/src/components/activityFeed/vars.scss +4 -0
- package/src/components/appLayout/component.scss +0 -1
- package/src/components/appLayout/mods.scss +8 -8
- package/src/components/appLayout/vars.scss +5 -5
- package/src/components/avatar/mods.scss +0 -1
- package/src/components/breadcrumbs/component.scss +2 -1
- package/src/components/breadcrumbs/index.scss +3 -2
- package/src/components/breadcrumbs/mods.scss +2 -1
- package/src/components/bubbleIcon/index.scss +0 -2
- package/src/components/bubbleIllustration/component.scss +0 -1
- package/src/components/bubbleIllustration/states.scss +0 -1
- package/src/components/button/index.scss +19 -18
- package/src/components/button/mods.scss +24 -6
- package/src/components/button/states.scss +3 -1
- package/src/components/calendar/component.scss +4 -5
- package/src/components/calendar/index.scss +0 -1
- package/src/components/callout/index.scss +0 -1
- package/src/components/calloutAccordion/states.scss +3 -3
- package/src/components/calloutDisclosure/mods.scss +1 -1
- package/src/components/calloutDisclosure/states.scss +3 -3
- package/src/components/calloutDisclosure/vars.scss +2 -2
- package/src/components/calloutFeedbackList/vars.scss +2 -2
- package/src/components/calloutPopover/component.scss +2 -8
- package/src/components/checkboxField/component.scss +1 -1
- package/src/components/checkboxField/mods.scss +4 -3
- package/src/components/checkboxField/states.scss +0 -1
- package/src/components/color/component.scss +1 -1
- package/src/components/color/index.scss +2 -2
- package/src/components/color/states.scss +1 -1
- package/src/components/color/vars.scss +1 -1
- package/src/components/comment/component.scss +4 -1
- package/src/components/comment/index.scss +4 -2
- package/src/components/comment/mods.scss +4 -1
- package/src/components/dataTable/index.scss +1 -1
- package/src/components/dataTable/mods.scss +6 -4
- package/src/components/dataTableSticked/mods.scss +3 -1
- package/src/components/dialog/component.scss +48 -17
- package/src/components/dialog/index.scss +14 -1
- package/src/components/dialog/mods.scss +49 -6
- package/src/components/dialog/vars.scss +16 -2
- package/src/components/dropdown/component.scss +9 -9
- package/src/components/dropdown/index.scss +6 -6
- package/src/components/emptyState/component.scss +21 -6
- package/src/components/emptyState/index.scss +15 -0
- package/src/components/emptyState/mods.scss +20 -2
- package/src/components/emptyState/vars.scss +16 -16
- package/src/components/fancyBox/vars.scss +3 -3
- package/src/components/field/mods.scss +6 -4
- package/src/components/fieldset/index.scss +0 -1
- package/src/components/filterBarDeprecated/component.scss +1 -0
- package/src/components/filterBarDeprecated/index.scss +1 -0
- package/src/components/filterPill/component.scss +1 -1
- package/src/components/footer/component.scss +4 -3
- package/src/components/footer/mods.scss +8 -0
- package/src/components/footer/vars.scss +4 -0
- package/src/components/form/index.scss +5 -8
- package/src/components/form/mods.scss +10 -11
- package/src/components/gauge/vars.scss +2 -3
- package/src/components/header/component.scss +1 -1
- package/src/components/header/mods.scss +5 -0
- package/src/components/header/vars.scss +1 -0
- package/src/components/highlightData/mods.scss +4 -3
- package/src/components/highlightData/vars.scss +4 -3
- package/src/components/horizontalNavigation/component.scss +14 -16
- package/src/components/horizontalNavigation/index.scss +14 -18
- package/src/components/horizontalNavigation/mods.scss +30 -28
- package/src/components/horizontalNavigation/states.scss +4 -4
- package/src/components/horizontalNavigation/vars.scss +2 -1
- package/src/components/index.scss +1 -1
- package/src/components/indexTable/component.scss +21 -10
- package/src/components/indexTable/mods.scss +21 -13
- package/src/components/indexTable/states.scss +3 -3
- package/src/components/indexTable/vars.scss +4 -3
- package/src/components/inputFramed/component.scss +0 -4
- package/src/components/inputFramed/index.scss +1 -1
- package/src/components/inputFramed/states.scss +0 -1
- package/src/components/label/index.scss +1 -0
- package/src/components/layout/component.scss +6 -6
- package/src/components/layout/mods.scss +2 -2
- package/src/components/link/component.scss +30 -6
- package/src/components/link/index.scss +16 -4
- package/src/components/link/mods.scss +11 -54
- package/src/components/link/states.scss +10 -2
- package/src/components/link/vars.scss +6 -0
- package/src/components/listboxOption/index.scss +15 -15
- package/src/components/listboxOption/mods.scss +3 -4
- package/src/components/listboxOption/states.scss +12 -13
- package/src/components/listing/component.scss +24 -1
- package/src/components/listing/index.scss +4 -0
- package/src/components/listing/mods.scss +18 -7
- package/src/components/listing/vars.scss +5 -1
- package/src/components/mobilePush/component.scss +1 -1
- package/src/components/navside/index.scss +3 -0
- package/src/components/navside/states.scss +2 -1
- package/src/components/notchBox/component.scss +30 -26
- package/src/components/notchBox/mods.scss +119 -77
- package/src/components/numericBadge/component.scss +0 -1
- package/src/components/numericBadge/mods.scss +10 -0
- package/src/components/pageHeader/mods.scss +4 -4
- package/src/components/pagination/mods.scss +2 -2
- package/src/components/presentation/component.scss +1 -5
- package/src/components/presentation/index.scss +0 -1
- package/src/components/presentation/vars.scss +2 -0
- package/src/components/progress/vars.scss +6 -5
- package/src/components/readMore/component.scss +6 -5
- package/src/components/resourceCard/mods.scss +19 -21
- package/src/components/resourceCard/states.scss +2 -3
- package/src/components/resourceCard/vars.scss +4 -3
- package/src/components/richText/index.scss +0 -1
- package/src/components/scrollBox/component.scss +4 -2
- package/src/components/segmentedControl/component.scss +4 -2
- package/src/components/segmentedControl/index.scss +1 -0
- package/src/components/segmentedControl/states.scss +0 -2
- package/src/components/skeleton/mods.scss +15 -8
- package/src/components/skeleton/states.scss +15 -21
- package/src/components/softwareIcon/component.scss +0 -1
- package/src/components/sortableList/index.scss +3 -3
- package/src/components/sortableList/vars.scss +4 -4
- package/src/components/statusBadge/component.scss +0 -1
- package/src/components/switch/states.scss +6 -3
- package/src/components/switchField/vars.scss +4 -4
- package/src/components/tableOfContent/component.scss +2 -1
- package/src/components/tableOfContent/index.scss +2 -1
- package/src/components/tableSortable/index.scss +1 -1
- package/src/components/tableSticked/mods.scss +16 -9
- package/src/components/tableStickedDeprecated/mods.scss +12 -6
- package/src/components/tag/component.scss +4 -0
- package/src/components/textField/component.scss +4 -2
- package/src/components/textField/mods.scss +0 -1
- package/src/components/textfields/index.scss +0 -1
- package/src/components/textfields/mods.scss +12 -7
- package/src/components/textfields/states.scss +6 -5
- package/src/components/timeline/mods.scss +37 -34
- package/src/components/timepicker/component.scss +1 -1
- package/src/components/timepickerDeprecated/vars.scss +3 -3
- package/src/components/title/mods.scss +2 -2
- package/src/components/titleSection/component.scss +2 -2
- package/src/components/toast/vars.scss +2 -2
- package/src/components/userTile/mods.scss +25 -25
- package/src/components/userTile/vars.scss +5 -5
- package/src/components/verticalNavigation/vars.scss +3 -3
|
@@ -1,62 +1,19 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
2
|
|
|
3
|
-
@mixin icon($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
-
.lucca-icon {
|
|
5
|
-
text-decoration: none;
|
|
6
|
-
font-size: 1em;
|
|
7
|
-
vertical-align: baseline;
|
|
8
|
-
position: relative;
|
|
9
|
-
top: 0.075rem; // magic number
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&:has(.link-text) {
|
|
13
|
-
text-decoration: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&:not(:has(.link-icon)) {
|
|
17
|
-
.lucca-icon {
|
|
18
|
-
margin-inline-start: 0.2em;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@at-root ($atRoot) {
|
|
23
|
-
.link-text {
|
|
24
|
-
text-decoration: underline;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.link-icon {
|
|
28
|
-
white-space: nowrap;
|
|
29
|
-
|
|
30
|
-
&::before {
|
|
31
|
-
// stylelint-disable-next-line no-irregular-whitespace
|
|
32
|
-
content: ' ' / '';
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
3
|
@mixin decorationHover {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
4
|
+
--components-link-textDecoration: none;
|
|
5
|
+
--components-link-text-textDecoration: none;
|
|
6
|
+
}
|
|
43
7
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
8
|
+
@mixin brand {
|
|
9
|
+
--components-link-color: var(--palettes-brand-700);
|
|
10
|
+
--components-link-color-hover: var(--palettes-brand-800);
|
|
11
|
+
}
|
|
49
12
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
.link-text {
|
|
53
|
-
text-decoration: underline;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
13
|
+
@mixin hasLinkText {
|
|
14
|
+
--components-link-textDecoration: none;
|
|
57
15
|
}
|
|
58
16
|
|
|
59
|
-
@mixin
|
|
60
|
-
--
|
|
61
|
-
--commons-text-link-hover: var(--palettes-brand-800);
|
|
17
|
+
@mixin legacyIcon {
|
|
18
|
+
--components-link-icon-marginInlineStart: 0.2em;
|
|
62
19
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
@mixin disabled {
|
|
2
|
-
color: var(--pr-t-color-text-disabled);
|
|
3
|
-
cursor: not-allowed;
|
|
2
|
+
--components-link-color: var(--pr-t-color-text-disabled);
|
|
3
|
+
--components-link-cursor: not-allowed;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin decorationHoverHovered {
|
|
7
|
+
--components-link-text-textDecoration: underline;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin decorationHoverHoveredLegacy {
|
|
11
|
+
--components-link-textDecoration: underline;
|
|
4
12
|
}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
|
+
--components-link-textDecoration: underline;
|
|
3
|
+
--components-link-text-textDecoration: underline;
|
|
4
|
+
--components-link-color: var(--commons-text-link-color);
|
|
5
|
+
--components-link-color-hover: var(--commons-text-link-hover);
|
|
6
|
+
--components-link-cursor: pointer;
|
|
7
|
+
--components-link-icon-marginInlineStart: 0;
|
|
2
8
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
&[role=
|
|
30
|
+
&[role='group'] {
|
|
31
31
|
@include group;
|
|
32
32
|
|
|
33
33
|
&:hover,
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
&[aria-hidden=
|
|
51
|
+
&[aria-hidden='true'] {
|
|
52
52
|
@include empty;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
&[aria-selected=
|
|
56
|
-
&[aria-checked=
|
|
55
|
+
&[aria-selected='true'],
|
|
56
|
+
&[aria-checked='true'] {
|
|
57
57
|
> .listboxOption-content {
|
|
58
58
|
@include selected;
|
|
59
59
|
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
&[aria-disabled=
|
|
71
|
+
&[aria-disabled='true'] {
|
|
72
72
|
> .listboxOption-content {
|
|
73
73
|
@include disabled;
|
|
74
74
|
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
&[aria-selected=
|
|
81
|
-
&[aria-checked=
|
|
80
|
+
&[aria-selected='true'],
|
|
81
|
+
&[aria-checked='true'] {
|
|
82
82
|
> .listboxOption-content {
|
|
83
83
|
@include selectedDisabled;
|
|
84
84
|
}
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
@layer mods {
|
|
122
|
-
&[aria-busy=
|
|
122
|
+
&[aria-busy='true'] {
|
|
123
123
|
@include busy;
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
@include multipleActive;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
&[aria-selected=
|
|
146
|
-
&[aria-checked=
|
|
145
|
+
&[aria-selected='true'],
|
|
146
|
+
&[aria-checked='true'] {
|
|
147
147
|
> .listboxOption-content {
|
|
148
148
|
@include multipleSelected;
|
|
149
149
|
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
&[aria-checked=
|
|
161
|
+
&[aria-checked='mixed'] {
|
|
162
162
|
> .listboxOption-content {
|
|
163
163
|
@include multipleMixed;
|
|
164
164
|
|
|
@@ -173,19 +173,19 @@
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
&[aria-disabled=
|
|
176
|
+
&[aria-disabled='true'], {
|
|
177
177
|
> .listboxOption-content {
|
|
178
178
|
@include multipleDisabled;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
&[aria-selected=
|
|
182
|
-
&[aria-checked=
|
|
181
|
+
&[aria-selected='true'],
|
|
182
|
+
&[aria-checked='true'] {
|
|
183
183
|
> .listboxOption-content {
|
|
184
184
|
@include multipleSelectedDisabled;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
&[aria-checked=
|
|
188
|
+
&[aria-checked='mixed'] {
|
|
189
189
|
> .listboxOption-content {
|
|
190
190
|
@include multipleMixedDisabled;
|
|
191
191
|
}
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
--components-listboxOption-content-insetBlockStart: var(--pr-t-spacings-50);
|
|
29
29
|
--components-listboxOption-content-boxShadow:
|
|
30
30
|
calc(var(--pr-t-spacings-100) * -1) 0 0 0 var(--pr-t-elevation-surface-raised),
|
|
31
|
-
calc(var(--pr-t-spacings-100) *
|
|
31
|
+
calc(var(--pr-t-spacings-100) * 1) 0 0 0 var(--pr-t-elevation-surface-raised),
|
|
32
32
|
calc(var(--pr-t-spacings-100) * -1) calc(var(--pr-t-spacings-100) * -1) 0 0 var(--pr-t-elevation-surface-raised),
|
|
33
|
-
calc(var(--pr-t-spacings-100) *
|
|
33
|
+
calc(var(--pr-t-spacings-100) * 1) calc(var(--pr-t-spacings-100) * -1) 0 0 var(--pr-t-elevation-surface-raised);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.listboxOptionWrapper {
|
|
@@ -48,9 +48,8 @@
|
|
|
48
48
|
--components-listboxOption-content-fontWeight: var(--pr-t-font-fontWeight-semibold);
|
|
49
49
|
--components-listboxOption-content-marginBlockStart: var(--pr-t-spacings-100);
|
|
50
50
|
--components-listboxOption-content-boxShadow:
|
|
51
|
-
calc(var(--pr-t-spacings-50) *
|
|
51
|
+
calc(var(--pr-t-spacings-50) * 1) 0 0 var(--pr-t-spacings-50) var(--pr-t-elevation-surface-raised),
|
|
52
52
|
calc(var(--pr-t-spacings-50) * -1) 0 0 var(--pr-t-spacings-50) var(--pr-t-elevation-surface-raised);
|
|
53
|
-
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
55
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '@lucca-front/scss/src/components/checkboxField/exports' as checkboxField;
|
|
2
2
|
|
|
3
3
|
@mixin disabled {
|
|
4
4
|
--components-listboxOption-content-backgroundColor: var(--pr-t-elevation-surface-raised);
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--components-listboxOption-content-backgroundColor: var(--palettes-product-50);
|
|
31
31
|
--components-listboxOption-content-before-backgroundColor: var(--palettes-product-700);
|
|
32
32
|
|
|
33
|
-
.listboxOption-content-checkboxField-input
|
|
33
|
+
.listboxOption-content-checkboxField-input {
|
|
34
34
|
@include checkboxField.checked;
|
|
35
35
|
@include checkboxField.mixed;
|
|
36
36
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
@mixin multipleMixedHover {
|
|
40
40
|
--components-listboxOption-content-backgroundColor: var(--palettes-product-100);
|
|
41
41
|
|
|
42
|
-
.listboxOption-content-checkboxField-input
|
|
42
|
+
.listboxOption-content-checkboxField-input {
|
|
43
43
|
@include checkboxField.checkedHover;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
@mixin multipleMixedActive {
|
|
48
48
|
--components-listboxOption-content-backgroundColor: var(--palettes-product-200);
|
|
49
49
|
|
|
50
|
-
.listboxOption-content-checkboxField-input
|
|
50
|
+
.listboxOption-content-checkboxField-input {
|
|
51
51
|
@include checkboxField.checkedActive;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
--components-listboxOption-content-color: var(--palettes-neutral-500);
|
|
58
58
|
--components-listboxOption-content-cursor: default;
|
|
59
59
|
|
|
60
|
-
.listboxOption-content-checkboxField-input
|
|
60
|
+
.listboxOption-content-checkboxField-input {
|
|
61
61
|
@include checkboxField.checkedDisabled;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -117,43 +117,43 @@
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
@mixin multipleSelected {
|
|
120
|
-
.listboxOption-content-checkboxField-input
|
|
120
|
+
.listboxOption-content-checkboxField-input {
|
|
121
121
|
@include checkboxField.checked;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
@mixin multipleHover {
|
|
126
|
-
.listboxOption-content-checkboxField-input
|
|
126
|
+
.listboxOption-content-checkboxField-input {
|
|
127
127
|
@include checkboxField.hover;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
@mixin multipleActive {
|
|
132
|
-
.listboxOption-content-checkboxField-input
|
|
132
|
+
.listboxOption-content-checkboxField-input {
|
|
133
133
|
@include checkboxField.active;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
@mixin multipleSelectedHover {
|
|
138
|
-
.listboxOption-content-checkboxField-input
|
|
138
|
+
.listboxOption-content-checkboxField-input {
|
|
139
139
|
@include checkboxField.checkedHover;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
@mixin multipleSelectedActive {
|
|
144
|
-
.listboxOption-content-checkboxField-input
|
|
144
|
+
.listboxOption-content-checkboxField-input {
|
|
145
145
|
@include checkboxField.checkedActive;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
@mixin multipleDisabled {
|
|
150
|
-
.listboxOption-content-checkboxField-input
|
|
150
|
+
.listboxOption-content-checkboxField-input {
|
|
151
151
|
@include checkboxField.disabled;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
@mixin multipleSelectedDisabled {
|
|
156
|
-
.listboxOption-content-checkboxField-input
|
|
156
|
+
.listboxOption-content-checkboxField-input {
|
|
157
157
|
@include checkboxField.checkedDisabled;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
@@ -163,4 +163,3 @@
|
|
|
163
163
|
--components-listboxOption-content-color: var(--palettes-product-800);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
align-items: flex-start;
|
|
21
21
|
gap: var(--pr-t-spacings-100);
|
|
22
22
|
margin-inline-start: 0;
|
|
23
|
+
position: relative;
|
|
24
|
+
counter-increment: var(--components-listing-item-counterIncrement);
|
|
23
25
|
|
|
24
26
|
&::marker {
|
|
25
27
|
line-height: 1;
|
|
@@ -33,6 +35,27 @@
|
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
|
|
38
|
+
.listing-item-number {
|
|
39
|
+
font: var(--pr-t-font-body-S);
|
|
40
|
+
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
41
|
+
display: var(--components-listing-item-number-display);
|
|
42
|
+
position: absolute;
|
|
43
|
+
inset-inline-end: 100%;
|
|
44
|
+
padding: 0 var(--pr-t-spacings-25);
|
|
45
|
+
min-inline-size: calc(var(--pr-t-spacings-200) + var(--pr-t-spacings-50));
|
|
46
|
+
block-size: calc(var(--pr-t-spacings-200) + var(--pr-t-spacings-50));
|
|
47
|
+
place-items: center;
|
|
48
|
+
background-color: var(--palettes-100, var(--palettes-product-100));
|
|
49
|
+
color: var(--palettes-700, var(--palettes-product-700));
|
|
50
|
+
border-radius: var(--pr-t-border-radius-small);
|
|
51
|
+
margin-inline-end: var(--pr-t-spacings-100);
|
|
52
|
+
margin-block-start: calc(var(--pr-t-spacings-25) / 2);
|
|
53
|
+
|
|
54
|
+
&::before {
|
|
55
|
+
content: counter(listing) / '';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
36
59
|
.listing-item-icon {
|
|
37
60
|
inline-size: var(--pr-t-spacings-250);
|
|
38
61
|
aspect-ratio: 1;
|
|
@@ -40,7 +63,7 @@
|
|
|
40
63
|
background-color: var(--components-listing-item-icon-backgroundColor);
|
|
41
64
|
color: var(--palettes-700, var(--palettes-neutral-700));
|
|
42
65
|
border-radius: var(--pr-t-border-radius-full);
|
|
43
|
-
display: flex;
|
|
66
|
+
display: inline-flex !important;
|
|
44
67
|
|
|
45
68
|
@include icon.S;
|
|
46
69
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--components-listing-paddingInlineStart: 0;
|
|
11
11
|
--components-listing-item-display: flex;
|
|
12
12
|
|
|
13
|
-
.listing-item-icon
|
|
13
|
+
.listing-item-icon {
|
|
14
14
|
&:not([class*='icon-']) {
|
|
15
15
|
&::before {
|
|
16
16
|
--icon-content: var(--components-listing-item-icon-before-content);
|
|
@@ -22,10 +22,13 @@
|
|
|
22
22
|
@mixin checklist {
|
|
23
23
|
--components-listing-paddingInlineStart: 0;
|
|
24
24
|
--components-listing-item-display: flex;
|
|
25
|
-
--components-listing-item-icon-backgroundColor: var(--palettes-100, var(--palettes-neutral-100));
|
|
26
25
|
|
|
27
|
-
.listing-item-icon
|
|
28
|
-
|
|
26
|
+
.listing-item-icon {
|
|
27
|
+
--components-listing-item-icon-backgroundColor: var(--palettes-100, var(--palettes-neutral-100));
|
|
28
|
+
|
|
29
|
+
&:not(.icon-signClose) {
|
|
30
|
+
@include icon.generate('sign_confirm');
|
|
31
|
+
}
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -87,13 +90,21 @@
|
|
|
87
90
|
|
|
88
91
|
@mixin hideFirstItems {
|
|
89
92
|
--components-listing-marginInlineStart: calc(var(--components-listing-inlineFirst) * -1);
|
|
90
|
-
--components-listing-clipPath:
|
|
91
|
-
|
|
93
|
+
--components-listing-clipPath:
|
|
94
|
+
inset(
|
|
95
|
+
calc(var(--pr-t-spacings-50) * -1) calc(var(--pr-t-spacings-50) * -1) calc(var(--pr-t-spacings-50) * -1)
|
|
92
96
|
calc(var(--components-listing-inlineFirst) - var(--pr-t-spacings-50))
|
|
93
|
-
|
|
97
|
+
);
|
|
94
98
|
}
|
|
95
99
|
|
|
96
100
|
@mixin divider {
|
|
97
101
|
--components-listing-item-before-content: '';
|
|
98
102
|
--components-listing-inlineFirst: calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25) - var(--commons-divider-width));
|
|
99
103
|
}
|
|
104
|
+
|
|
105
|
+
@mixin fancy {
|
|
106
|
+
counter-reset: listing;
|
|
107
|
+
|
|
108
|
+
--components-listing-listStyleType: '' !important;
|
|
109
|
+
--components-listing-item-number-display: grid;
|
|
110
|
+
}
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
--components-listing-listStyleType: disc;
|
|
11
11
|
|
|
12
12
|
--components-listing-item-display: list-item;
|
|
13
|
-
--components-listing-item-icon-backgroundColor: transparent;
|
|
14
13
|
--components-listing-item-icon-before-content: none;
|
|
15
14
|
--components-listing-item-before-content: unset;
|
|
16
15
|
|
|
@@ -18,4 +17,9 @@
|
|
|
18
17
|
--components-listing-item-content-flexWrap: nowrap;
|
|
19
18
|
--components-listing-item-content-rowGap: 0;
|
|
20
19
|
--components-listing-item-content-columnGap: 0;
|
|
20
|
+
|
|
21
|
+
--components-listing-item-number-display: none;
|
|
22
|
+
--components-listing-item-counterIncrement: listing;
|
|
23
|
+
|
|
24
|
+
--components-listing-item-icon-backgroundColor: transparent;
|
|
21
25
|
}
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
@include compactHover;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
// .active is deprecated
|
|
37
38
|
&:is(.is-active, .active) {
|
|
38
39
|
@include compactActive;
|
|
39
40
|
}
|
|
@@ -93,6 +94,7 @@
|
|
|
93
94
|
@include sublinkHover;
|
|
94
95
|
}
|
|
95
96
|
|
|
97
|
+
// .active is deprecated
|
|
96
98
|
&:is(.is-active, .active) {
|
|
97
99
|
@include sublinkActive;
|
|
98
100
|
}
|
|
@@ -102,6 +104,7 @@
|
|
|
102
104
|
|
|
103
105
|
.navSide-item-subMenu-link,
|
|
104
106
|
.navSide-item-link {
|
|
107
|
+
// .active is deprecated
|
|
105
108
|
&:is(.is-active, .active) {
|
|
106
109
|
@include active;
|
|
107
110
|
}
|
|
@@ -4,21 +4,25 @@
|
|
|
4
4
|
.notchBox-wrapper {
|
|
5
5
|
inline-size: 100%;
|
|
6
6
|
min-block-size: var(--component-notchbox-box-min-height);
|
|
7
|
-
padding-block:
|
|
7
|
+
padding-block:
|
|
8
|
+
var(--component-notchbox-box-padding-top, var(--component-notchbox-box-padding))
|
|
8
9
|
var(--component-notchbox-box-padding-bottom, var(--component-notchbox-box-padding));
|
|
9
|
-
padding-inline:
|
|
10
|
+
padding-inline:
|
|
11
|
+
var(--component-notchbox-box-padding-left, var(--component-notchbox-box-padding))
|
|
10
12
|
var(--component-notchbox-box-padding-right, var(--component-notchbox-box-padding));
|
|
11
13
|
border-radius: var(--component-notchbox-box-radius);
|
|
14
|
+
|
|
15
|
+
// gradient[ position / size]
|
|
12
16
|
background:
|
|
13
17
|
linear-gradient(var(--component-notchbox-box-background-color), var(--component-notchbox-box-background-color))
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
var(--component-notchbox-notch-gradient1-anchor)
|
|
19
|
+
/ var(--component-notchbox-notch-gradient1-ref1) var(--component-notchbox-notch-gradient1-ref2),
|
|
16
20
|
linear-gradient(var(--component-notchbox-box-background-color), var(--component-notchbox-box-background-color))
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
var(--component-notchbox-notch-gradient2-anchor)
|
|
22
|
+
/ var(--component-notchbox-notch-gradient2-ref1) var(--component-notchbox-notch-gradient2-ref2),
|
|
19
23
|
linear-gradient(var(--component-notchbox-box-background-color), var(--component-notchbox-box-background-color))
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
var(--component-notchbox-notch-gradient3-anchor)
|
|
25
|
+
/ var(--component-notchbox-notch-gradient3-ref1) var(--component-notchbox-notch-gradient3-ref2),
|
|
22
26
|
radial-gradient(
|
|
23
27
|
circle at var(--component-notchbox-notch-gradient4-x) var(--component-notchbox-notch-gradient4-y),
|
|
24
28
|
var(--component-notchbox-box-background-color) var(--component-notchbox-notch-radius-outer),
|
|
@@ -30,27 +34,27 @@
|
|
|
30
34
|
transparent calc(var(--component-notchbox-notch-radius-outer) + var(--smooth))
|
|
31
35
|
),
|
|
32
36
|
linear-gradient(var(--component-notchbox-box-background-color), var(--component-notchbox-box-background-color))
|
|
33
|
-
|
|
34
|
-
|
|
37
|
+
var(--component-notchbox-notch-gradient6-anchor)
|
|
38
|
+
/ var(--component-notchbox-notch-gradient6-ref1) var(--component-notchbox-notch-gradient6-ref2),
|
|
35
39
|
linear-gradient(var(--component-notchbox-box-background-color), var(--component-notchbox-box-background-color))
|
|
36
|
-
|
|
37
|
-
|
|
40
|
+
var(--component-notchbox-notch-gradient7-anchor)
|
|
41
|
+
/ var(--component-notchbox-notch-gradient7-ref1) var(--component-notchbox-notch-gradient7-ref2),
|
|
38
42
|
radial-gradient(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
var(--component-notchbox-notch-radius-inner) var(--component-notchbox-notch-radius-inner)
|
|
44
|
+
at var(--component-notchbox-notch-gradient8-anchor),
|
|
45
|
+
transparent calc(var(--component-notchbox-notch-radius-inner) - var(--smooth) * 2),
|
|
46
|
+
var(--component-notchbox-box-background-color) var(--component-notchbox-notch-radius-inner)
|
|
47
|
+
)
|
|
48
|
+
var(--component-notchbox-notch-gradient8-x) var(--component-notchbox-notch-gradient8-y)
|
|
49
|
+
/ var(--component-notchbox-notch-radius-inner) calc(var(--component-notchbox-notch-radius-inner) + var(--smooth)),
|
|
46
50
|
radial-gradient(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
var(--component-notchbox-notch-radius-inner) var(--component-notchbox-notch-radius-inner)
|
|
52
|
+
at var(--component-notchbox-notch-gradient9-anchor),
|
|
53
|
+
transparent calc(var(--component-notchbox-notch-radius-inner) - var(--smooth) * 2),
|
|
54
|
+
var(--component-notchbox-box-background-color) var(--component-notchbox-notch-radius-inner)
|
|
55
|
+
)
|
|
56
|
+
var(--component-notchbox-notch-gradient9-x) var(--component-notchbox-notch-gradient9-y)
|
|
57
|
+
/ var(--component-notchbox-notch-radius-inner) calc(var(--component-notchbox-notch-radius-inner) + var(--smooth));
|
|
54
58
|
background-repeat: no-repeat;
|
|
55
59
|
filter: drop-shadow(var(--component-notchbox-box-shadow));
|
|
56
60
|
}
|