@lucca-front/scss 21.1.2 → 21.2.0-rc.1
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 -1
- 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 +0 -1
- 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 +12 -3
- package/src/components/dialog/mods.scss +46 -7
- 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/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/index.scss +0 -1
- package/src/components/progress/vars.scss +6 -5
- package/src/components/readMore/component.scss +6 -5
- package/src/components/resourceCard/mods.scss +20 -18
- 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 +2 -0
- 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 +35 -31
- 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 +1 -1
- package/src/components/userTile/mods.scss +25 -25
- package/src/components/userTile/vars.scss +5 -5
- package/src/components/verticalNavigation/vars.scss +3 -3
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
inset: auto 0 0;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
// .label is deprecated
|
|
23
|
+
// stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
|
|
24
24
|
.label {
|
|
25
25
|
margin-inline-end: 0;
|
|
26
26
|
background-color: var(--palettes-neutral-100);
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
@at-root ($atRoot) {
|
|
31
|
-
// .menu-containerOptional is deprecated
|
|
32
|
-
.
|
|
33
|
-
.
|
|
31
|
+
// stylelint-disable-next-line selector-disallowed-list -- .menu-containerOptional is deprecated
|
|
32
|
+
.menu-containerOptional,
|
|
33
|
+
.horizontalNavigation-containerOptional {
|
|
34
34
|
max-inline-size: var(--commons-container-maxWidth);
|
|
35
35
|
padding: var(--commons-container-padding);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
// .menu-list is deprecated
|
|
39
|
-
.
|
|
40
|
-
.
|
|
38
|
+
// stylelint-disable-next-line selector-disallowed-list -- .menu-list is deprecated
|
|
39
|
+
.menu-list,
|
|
40
|
+
.horizontalNavigation-list {
|
|
41
41
|
@include reset.list;
|
|
42
42
|
|
|
43
43
|
align-items: var(--components-horizontalNavigation-listAlign);
|
|
@@ -52,11 +52,9 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
// .menu-
|
|
56
|
-
// .menu-
|
|
57
|
-
.horizontalNavigation-list-item-action
|
|
58
|
-
.menu-list-item-action,
|
|
59
|
-
.menu-link {
|
|
55
|
+
.menu-link, // stylelint-disable-line selector-disallowed-list -- .menu-list is deprecated
|
|
56
|
+
.menu-list-item-action, // stylelint-disable-line selector-disallowed-list -- .menu-link-item-action is deprecated
|
|
57
|
+
.horizontalNavigation-list-item-action {
|
|
60
58
|
@include reset.button;
|
|
61
59
|
|
|
62
60
|
font: var(--components-horizontalNavigation-listItemActionFont);
|
|
@@ -112,7 +110,7 @@
|
|
|
112
110
|
color: var(--palettes-neutral-900);
|
|
113
111
|
}
|
|
114
112
|
|
|
115
|
-
// .label is deprecated
|
|
113
|
+
// stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
|
|
116
114
|
.label {
|
|
117
115
|
background-color: var(--palettes-100, var(--palettes-product-100));
|
|
118
116
|
color: var(--palettes-700, var(--palettes-product-700));
|
|
@@ -129,9 +127,9 @@
|
|
|
129
127
|
}
|
|
130
128
|
}
|
|
131
129
|
|
|
132
|
-
// .menu-link-placeholder is deprecated
|
|
133
|
-
.
|
|
134
|
-
.
|
|
130
|
+
// stylelint-disable-next-line selector-disallowed-list -- .menu-link-placeholder is deprecated
|
|
131
|
+
.menu-link-placeholder,
|
|
132
|
+
.horizontalNavigation-link-placeholder {
|
|
135
133
|
&::after {
|
|
136
134
|
content: attr(data-content-after);
|
|
137
135
|
display: block;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
|
-
// .menu is deprecated
|
|
4
|
-
.
|
|
5
|
-
.
|
|
3
|
+
// stylelint-disable-next-line selector-disallowed-list -- .menu is deprecated
|
|
4
|
+
.menu,
|
|
5
|
+
.horizontalNavigation {
|
|
6
6
|
@layer components {
|
|
7
7
|
@include vars;
|
|
8
8
|
@include component;
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
&.mod-vertical {
|
|
25
25
|
@include vertical;
|
|
26
26
|
|
|
27
|
-
// .menu-list-item-action is deprecated
|
|
28
|
-
.
|
|
29
|
-
.
|
|
27
|
+
// stylelint-disable-next-line selector-disallowed-list -- .menu-list-item-action is deprecated
|
|
28
|
+
.menu-list-item-action,
|
|
29
|
+
.horizontalNavigation-list-item-action {
|
|
30
30
|
&[aria-current='page'],
|
|
31
31
|
&.is-active {
|
|
32
32
|
@include activeVertical;
|
|
@@ -40,24 +40,20 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
// .menu-link is deprecated
|
|
44
|
-
// .menu-list-item-action is deprecated
|
|
45
|
-
.horizontalNavigation-list-item-action
|
|
46
|
-
.menu-link,
|
|
47
|
-
.menu-list-item-action {
|
|
43
|
+
.menu-link, // stylelint-disable-line selector-disallowed-list -- .menu-link is deprecated
|
|
44
|
+
.menu-list-item-action, // stylelint-disable-line selector-disallowed-list -- .menu-list-item-action is deprecated
|
|
45
|
+
.horizontalNavigation-list-item-action {
|
|
48
46
|
@layer mods {
|
|
49
47
|
// .active is deprecated
|
|
48
|
+
&.active,
|
|
50
49
|
&[aria-current='page'],
|
|
51
|
-
&.is-active
|
|
52
|
-
&.active {
|
|
50
|
+
&.is-active {
|
|
53
51
|
@include active;
|
|
54
52
|
}
|
|
55
53
|
|
|
56
|
-
// .disabled is deprecated
|
|
57
|
-
// [disabled] is deprecated
|
|
58
|
-
&.is-disabled
|
|
59
|
-
&.disabled,
|
|
60
|
-
&[disabled] {
|
|
54
|
+
&.disabled, // .disabled is deprecated
|
|
55
|
+
&[disabled], // [disabled] is deprecated
|
|
56
|
+
&.is-disabled {
|
|
61
57
|
@include disabled;
|
|
62
58
|
}
|
|
63
59
|
}
|
|
@@ -5,11 +5,9 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
@mixin S {
|
|
8
|
-
// .menu-
|
|
9
|
-
|
|
10
|
-
.horizontalNavigation-list-item-action
|
|
11
|
-
.menu-list-item-action,
|
|
12
|
-
.menu-link {
|
|
8
|
+
.menu-list-item-action, // stylelint-disable-line selector-disallowed-list -- .menu-list-item-action is deprecated
|
|
9
|
+
.menu-link, // stylelint-disable-line selector-disallowed-list -- .menu-link is deprecated
|
|
10
|
+
.horizontalNavigation-list-item-action {
|
|
13
11
|
--components-horizontalNavigation-listItemActionFont: var(--pr-t-font-body-S);
|
|
14
12
|
--components-horizontalNavigation-listItemActionPadding: var(--pr-t-spacings-150) 0;
|
|
15
13
|
|
|
@@ -19,12 +17,12 @@
|
|
|
19
17
|
}
|
|
20
18
|
}
|
|
21
19
|
|
|
22
|
-
// .menu-link is deprecated
|
|
20
|
+
// stylelint-disable-next-line selector-disallowed-list -- .menu-link is deprecated
|
|
23
21
|
.menu-link {
|
|
24
22
|
margin-inline-end: var(--pr-t-spacings-300);
|
|
25
23
|
}
|
|
26
24
|
|
|
27
|
-
// .label is deprecated
|
|
25
|
+
// stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
|
|
28
26
|
.label {
|
|
29
27
|
block-size: var(--pr-t-font-body-S-lineHeight);
|
|
30
28
|
min-inline-size: var(--pr-t-font-body-S-lineHeight);
|
|
@@ -46,27 +44,29 @@
|
|
|
46
44
|
@mixin vertical {
|
|
47
45
|
@include noBorder;
|
|
48
46
|
|
|
49
|
-
// .menu-list is deprecated
|
|
50
|
-
.
|
|
51
|
-
.
|
|
47
|
+
// stylelint-disable-next-line selector-disallowed-list -- .menu-list is deprecated
|
|
48
|
+
.menu-list,
|
|
49
|
+
.horizontalNavigation-list {
|
|
52
50
|
--components-horizontalNavigation-listDirection: column;
|
|
53
51
|
--components-horizontalNavigation-listGap: 0;
|
|
54
52
|
--components-horizontalNavigation-listAlign: stretch;
|
|
55
53
|
}
|
|
56
54
|
|
|
57
|
-
// .menu-list-item-action is deprecated
|
|
58
|
-
.
|
|
59
|
-
.
|
|
55
|
+
// stylelint-disable-next-line selector-disallowed-list -- .menu-list-item-action is deprecated
|
|
56
|
+
.menu-list-item-action,
|
|
57
|
+
.horizontalNavigation-list-item-action {
|
|
60
58
|
--components-horizontalNavigation-listItemActionPadding: var(--pr-t-spacings-50) var(--pr-t-spacings-200);
|
|
61
59
|
--components-horizontalNavigation-listItemActionAlign: left;
|
|
62
60
|
|
|
63
61
|
&::before {
|
|
64
|
-
inset-block:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
62
|
+
inset-block:
|
|
63
|
+
calc(
|
|
64
|
+
var(--components-horizontalNavigation-listItemActionPaddingBlock) - var(--pr-t-spacings-150) - var(--pr-t-spacings-25)
|
|
65
|
+
);
|
|
66
|
+
inset-inline:
|
|
67
|
+
calc(
|
|
68
|
+
var(--components-horizontalNavigation-listItemActionPaddingInline) + var(--pr-t-spacings-150) + var(--pr-t-spacings-25)
|
|
69
|
+
);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&::after {
|
|
@@ -89,18 +89,20 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
@mixin verticalS {
|
|
92
|
-
// .menu-list-item-action is deprecated
|
|
93
|
-
.
|
|
94
|
-
.
|
|
92
|
+
// stylelint-disable-next-line selector-disallowed-list -- .menu-list-item-action is deprecated
|
|
93
|
+
.menu-list-item-action,
|
|
94
|
+
.horizontalNavigation-list-item-action {
|
|
95
95
|
--components-horizontalNavigation-listItemActionPadding: var(--pr-t-spacings-50) var(--pr-t-spacings-150);
|
|
96
96
|
|
|
97
97
|
&::before {
|
|
98
|
-
inset-block:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
98
|
+
inset-block:
|
|
99
|
+
calc(
|
|
100
|
+
var(--components-horizontalNavigation-listItemActionPaddingBlock) - var(--pr-t-spacings-150) - var(--pr-t-spacings-25)
|
|
101
|
+
);
|
|
102
|
+
inset-inline:
|
|
103
|
+
calc(
|
|
104
|
+
var(--components-horizontalNavigation-listItemActionPaddingInline) + var(--pr-t-spacings-100) + var(--pr-t-spacings-25)
|
|
105
|
+
);
|
|
104
106
|
}
|
|
105
107
|
}
|
|
106
108
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@mixin active {
|
|
4
4
|
--components-horizontalNavigation-listItemActionColor: var(--palettes-700, var(--palettes-product-700));
|
|
5
5
|
|
|
6
|
-
// .label is deprecated
|
|
6
|
+
// stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
|
|
7
7
|
.label {
|
|
8
8
|
background-color: var(--palettes-100, var(--palettes-product-100));
|
|
9
9
|
color: var(--palettes-700, var(--palettes-product-700));
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
@mixin disabled {
|
|
28
|
-
// .label is deprecated
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
// stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
|
|
29
|
+
.label,
|
|
30
|
+
& {
|
|
31
31
|
color: var(--palettes-neutral-500); // disabled token candidate
|
|
32
32
|
pointer-events: none;
|
|
33
33
|
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
--components-horizontalNavigation-listPadding: 0;
|
|
4
4
|
--components-horizontalNavigation-listItemActionPaddingBlock: var(--pr-t-spacings-200);
|
|
5
5
|
--components-horizontalNavigation-listItemActionPaddingInline: 0px;
|
|
6
|
-
--components-horizontalNavigation-listItemActionPadding:
|
|
6
|
+
--components-horizontalNavigation-listItemActionPadding:
|
|
7
|
+
var(--components-horizontalNavigation-listItemActionPaddingBlock)
|
|
7
8
|
var(--components-horizontalNavigation-listItemActionPaddingInline);
|
|
8
9
|
--components-horizontalNavigation-listGap: 0 var(--pr-t-spacings-400);
|
|
9
10
|
--components-horizontalNavigation-listDirection: row;
|
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
// Apparence of the nexts cells
|
|
124
124
|
~ .indexTable-body-row-cell {
|
|
125
125
|
--components-indexTable-cell-inset-x-left: 0px;
|
|
126
|
-
--components-indexTable-shadow-mask:
|
|
126
|
+
--components-indexTable-shadow-mask:
|
|
127
|
+
calc(var(--pr-t-spacings-100) * -1) 0px 0px 0px
|
|
127
128
|
var(--components-indexTable-cell-background-color, var(--components-indexTable-cell-background-color-default));
|
|
128
129
|
--components-indexTable-cell-border-radius-left: 0;
|
|
129
130
|
--components-indexTable-outline-border-radius-left: 0;
|
|
@@ -148,27 +149,38 @@
|
|
|
148
149
|
|
|
149
150
|
// The "card" apparence is put on a ::before pseudo element
|
|
150
151
|
&::before {
|
|
151
|
-
inset:
|
|
152
|
-
var(--components-indexTable-cell-inset-y, 0)
|
|
153
|
-
|
|
154
|
-
var(--components-indexTable-cell-
|
|
152
|
+
inset:
|
|
153
|
+
var(--components-indexTable-cell-inset-y, 0)
|
|
154
|
+
var(--components-indexTable-cell-inset-x-right, 0)
|
|
155
|
+
var(--components-indexTable-cell-inset-y, 0)
|
|
156
|
+
var(--components-indexTable-cell-inset-x-left, 0);
|
|
157
|
+
border-radius:
|
|
158
|
+
var(--components-indexTable-cell-border-radius-left)
|
|
159
|
+
var(--components-indexTable-cell-border-radius-right)
|
|
160
|
+
var(--components-indexTable-cell-border-radius-right)
|
|
161
|
+
var(--components-indexTable-cell-border-radius-left);
|
|
155
162
|
background-color: var(--components-indexTable-cell-background-color, var(--components-indexTable-cell-background-color-default));
|
|
156
163
|
|
|
157
164
|
// shadow-mask : since the card apparence is put on every cell (du to a Safari bug), we need to hide the left part of the box shadow for everycell exept the first one.
|
|
158
165
|
// We do this with a rectangular white box-shadow above it.
|
|
159
|
-
box-shadow:
|
|
166
|
+
box-shadow:
|
|
167
|
+
var(--components-indexTable-shadow-mask, 0 0 0 0),
|
|
160
168
|
var(--components-indexTable-cell-shadow, var(--components-indexTable-cell-shadow-default));
|
|
161
169
|
transition-property: inset, box-shadow, background-color;
|
|
162
170
|
}
|
|
163
171
|
|
|
164
172
|
// The focus outline, when needed
|
|
165
173
|
&::after {
|
|
166
|
-
inset:
|
|
174
|
+
inset:
|
|
175
|
+
calc(var(--components-indexTable-cell-inset-y, 0px) - var(--components-indexTable-outline-offset))
|
|
167
176
|
calc(var(--components-indexTable-cell-inset-x-right, 0px) - var(--components-indexTable-outline-offset))
|
|
168
177
|
calc(var(--components-indexTable-cell-inset-y, 0px) - var(--components-indexTable-outline-offset))
|
|
169
178
|
calc(var(--components-indexTable-cell-inset-x-left, 0px) - var(--components-indexTable-outline-offset));
|
|
170
|
-
border-radius:
|
|
171
|
-
var(--components-indexTable-outline-border-radius-
|
|
179
|
+
border-radius:
|
|
180
|
+
var(--components-indexTable-outline-border-radius-left)
|
|
181
|
+
var(--components-indexTable-outline-border-radius-right)
|
|
182
|
+
var(--components-indexTable-outline-border-radius-right)
|
|
183
|
+
var(--components-indexTable-outline-border-radius-left);
|
|
172
184
|
border-block-width: var(--components-indexTable-outline-border-width);
|
|
173
185
|
border-inline-width: var(--components-indexTable-outline-border-width-left) var(--components-indexTable-outline-border-width-right);
|
|
174
186
|
border-style: solid;
|
|
@@ -224,7 +236,6 @@
|
|
|
224
236
|
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
225
237
|
}
|
|
226
238
|
|
|
227
|
-
|
|
228
239
|
.indexTable-body-row-cellTitle-title {
|
|
229
240
|
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
230
241
|
}
|
|
@@ -39,9 +39,11 @@
|
|
|
39
39
|
border-block-end: var(--components-indexTable-row-stack-border-bottom) solid transparent;
|
|
40
40
|
|
|
41
41
|
// stack apparence
|
|
42
|
-
background-image:
|
|
42
|
+
background-image:
|
|
43
|
+
var(--components-indexTable-row-stack2-background-image, none),
|
|
43
44
|
var(--components-indexTable-row-stack3-background-image, none);
|
|
44
|
-
background-position:
|
|
45
|
+
background-position:
|
|
46
|
+
var(--components-indexTable-row-stack2-background-position, 0 0),
|
|
45
47
|
var(--components-indexTable-row-stack3-background-position, 0 0);
|
|
46
48
|
background-repeat: no-repeat, no-repeat;
|
|
47
49
|
transition-property: background-image, background-position;
|
|
@@ -49,9 +51,11 @@
|
|
|
49
51
|
|
|
50
52
|
// apparence of the first cell with a card apparence.
|
|
51
53
|
// we do this because there migh be one or two cells before without background and containing a checkbox
|
|
52
|
-
--components-indexTable-row-stack2-background-position:
|
|
54
|
+
--components-indexTable-row-stack2-background-position:
|
|
55
|
+
left calc(-2px + var(--components-indexTable-cell-inset-x-left, 0px))
|
|
53
56
|
bottom -10px;
|
|
54
|
-
--components-indexTable-row-stack3-background-position:
|
|
57
|
+
--components-indexTable-row-stack3-background-position:
|
|
58
|
+
left calc(1px + var(--components-indexTable-cell-inset-x-left, 0px))
|
|
55
59
|
bottom -14px;
|
|
56
60
|
|
|
57
61
|
// apparence of the nexts cells
|
|
@@ -62,9 +66,11 @@
|
|
|
62
66
|
|
|
63
67
|
// apparence of the last cell with a card apparence
|
|
64
68
|
&:last-child {
|
|
65
|
-
--components-indexTable-row-stack2-background-position:
|
|
69
|
+
--components-indexTable-row-stack2-background-position:
|
|
70
|
+
right calc(-2px + var(--components-indexTable-cell-inset-x-right, 0px))
|
|
66
71
|
bottom -10px;
|
|
67
|
-
--components-indexTable-row-stack3-background-position:
|
|
72
|
+
--components-indexTable-row-stack3-background-position:
|
|
73
|
+
right calc(1px + var(--components-indexTable-cell-inset-x-right, 0px))
|
|
68
74
|
bottom -14px;
|
|
69
75
|
}
|
|
70
76
|
}
|
|
@@ -200,10 +206,9 @@
|
|
|
200
206
|
|
|
201
207
|
@mixin selectableResponsiveCardList {
|
|
202
208
|
.indexTable-body-row {
|
|
203
|
-
grid-template-columns:
|
|
204
|
-
--components-indexTable-row-
|
|
205
|
-
1fr
|
|
206
|
-
);
|
|
209
|
+
grid-template-columns:
|
|
210
|
+
var(--components-indexTable-row-cell-transparent-width)
|
|
211
|
+
var(--components-indexTable-row-responsive-grid-template-columns, 1fr);
|
|
207
212
|
}
|
|
208
213
|
|
|
209
214
|
.indexTable-body-row-transparentCell {
|
|
@@ -242,9 +247,11 @@
|
|
|
242
247
|
position: absolute;
|
|
243
248
|
inset-block-start: 0;
|
|
244
249
|
inset-block-end: calc((var(--components-indexTable-row-spacing-responsive) + var(--components-indexTable-stack3-row-spacing)) * -1);
|
|
245
|
-
background-image:
|
|
250
|
+
background-image:
|
|
251
|
+
var(--components-indexTable-row-stack2-background-image, none),
|
|
246
252
|
var(--components-indexTable-row-stack3-background-image, none);
|
|
247
|
-
background-position:
|
|
253
|
+
background-position:
|
|
254
|
+
var(--components-indexTable-row-stack2-background-position, 0 0),
|
|
248
255
|
var(--components-indexTable-row-stack3-background-position, 0 0);
|
|
249
256
|
background-repeat: no-repeat, no-repeat;
|
|
250
257
|
transition-property: background-image, background-position;
|
|
@@ -286,7 +293,8 @@
|
|
|
286
293
|
@include button.onlyIconS;
|
|
287
294
|
|
|
288
295
|
// .mod-delete is deprecated
|
|
289
|
-
&.mod-critical,
|
|
296
|
+
&.mod-critical,
|
|
297
|
+
&.mod-delete {
|
|
290
298
|
// For specificity purpose. Could be removed if we decide to remove automatic CSS imports in Angular components
|
|
291
299
|
@include button.critical;
|
|
292
300
|
}
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
.indexTable-body-row {
|
|
25
25
|
// We can't use focus-within because it would show actions when focusing checkboxs
|
|
26
26
|
&:has(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
.indexTable-body-row-cell-link:focus-visible,
|
|
28
|
+
.indexTable-body-row-cell.mod-actions:focus-within
|
|
29
|
+
) {
|
|
30
30
|
--components-indexTable-cell-subAction-opacity: 1;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -39,8 +39,9 @@
|
|
|
39
39
|
// Selectable specific outline
|
|
40
40
|
--components-indexTable-outline-offset: 4px;
|
|
41
41
|
--components-indexTable-outline-border-width: 2px;
|
|
42
|
-
--components-indexTable-outline-border-radius:
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
--components-indexTable-outline-border-radius:
|
|
43
|
+
calc(
|
|
44
|
+
var(--components-indexTable-cell-border-radius) + var(--components-indexTable-outline-offset)
|
|
45
|
+
);
|
|
45
46
|
--components-indexTable-outline-color: var(--palettes-product-700);
|
|
46
47
|
}
|
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
grid-template-columns: var(--commons-navSide-width) 1fr var(--components-aside-width);
|
|
14
14
|
grid-template-rows: var(--commons-banner-height) 1fr;
|
|
15
15
|
grid-template-areas:
|
|
16
|
-
'banner
|
|
17
|
-
'navside content aside';
|
|
16
|
+
'banner banner banner'
|
|
17
|
+
'navside content aside ';
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@include media.max('L') {
|
|
21
21
|
grid-template-columns: var(--commons-navSide-width) 1fr;
|
|
22
22
|
grid-template-rows: var(--commons-banner-height) 1fr auto;
|
|
23
23
|
grid-template-areas:
|
|
24
|
-
'banner
|
|
24
|
+
'banner banner '
|
|
25
25
|
'navside content'
|
|
26
|
-
'navside aside';
|
|
26
|
+
'navside aside ';
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
@include media.max('S') {
|
|
30
30
|
grid-template-columns: 1fr;
|
|
31
31
|
grid-template-rows: var(--commons-banner-height) auto 1fr auto;
|
|
32
32
|
grid-template-areas:
|
|
33
|
-
'banner'
|
|
33
|
+
'banner '
|
|
34
34
|
'navside'
|
|
35
35
|
'content'
|
|
36
|
-
'aside';
|
|
36
|
+
'aside ';
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
@at-root ($atRoot) {
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
@include media.min('L') {
|
|
43
43
|
grid-template-columns: var(--commons-navSide-width) var(--components-aside-width) 1fr;
|
|
44
44
|
grid-template-areas:
|
|
45
|
-
'banner
|
|
46
|
-
'navside aside
|
|
45
|
+
'banner banner banner '
|
|
46
|
+
'navside aside content';
|
|
47
47
|
|
|
48
48
|
&.mod-navsideLarge {
|
|
49
49
|
grid-template-columns: var(--commons-navSide-width) var(--components-aside-width) 1fr;
|
|
@@ -1,22 +1,46 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
1
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
3
|
|
|
3
|
-
@mixin component {
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
background-color: transparent;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
cursor: pointer;
|
|
6
|
+
color: var(--components-link-color);
|
|
7
|
+
cursor: var(--components-link-cursor);
|
|
8
8
|
font-family: inherit;
|
|
9
|
+
border: 0;
|
|
9
10
|
margin: 0;
|
|
10
11
|
padding: 0;
|
|
11
|
-
text-decoration:
|
|
12
|
+
text-decoration: var(--components-link-textDecoration);
|
|
12
13
|
|
|
13
14
|
&:not(:disabled, .is-disabled) {
|
|
14
15
|
&:hover {
|
|
15
|
-
color: var(--
|
|
16
|
+
color: var(--components-link-color-hover);
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
&:focus-visible {
|
|
19
20
|
@include a11y.focusVisible($borderRadius: var(--pr-t-border-radius-small));
|
|
20
21
|
}
|
|
21
22
|
}
|
|
23
|
+
|
|
24
|
+
.lucca-icon {
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
font-size: 1em;
|
|
27
|
+
vertical-align: baseline;
|
|
28
|
+
position: relative;
|
|
29
|
+
top: 0.075rem;
|
|
30
|
+
margin-inline-start: var(--components-link-icon-marginInlineStart);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.link-text {
|
|
34
|
+
text-decoration: var(--components-link-text-textDecoration);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@at-root ($atRoot) {
|
|
38
|
+
.link-icon {
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
|
|
41
|
+
&::before {
|
|
42
|
+
content: ' ' / '';
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
22
46
|
}
|
|
@@ -7,16 +7,28 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@layer mods {
|
|
10
|
-
&.mod-icon {
|
|
11
|
-
@include icon;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
10
|
&.mod-decorationHover {
|
|
15
11
|
@include decorationHover;
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
@include decorationHoverHovered;
|
|
15
|
+
|
|
16
|
+
&:not(:has(.link-text)) {
|
|
17
|
+
@include decorationHoverHoveredLegacy;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
16
20
|
}
|
|
17
21
|
|
|
18
22
|
&:is(:disabled, .is-disabled) {
|
|
19
23
|
@include disabled;
|
|
20
24
|
}
|
|
25
|
+
|
|
26
|
+
&:has(.link-text) {
|
|
27
|
+
@include hasLinkText;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:not(:has(.link-icon)) {
|
|
31
|
+
@include legacyIcon;
|
|
32
|
+
}
|
|
21
33
|
}
|
|
22
34
|
}
|