@lucca-front/scss 21.2.0-rc.5 → 21.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lucca-front.min.css +1 -1
- package/package.json +3 -3
- package/src/commons/base.scss +1 -1
- package/src/commons/vars.scss +1 -1
- package/src/components/button/index.scss +0 -8
- package/src/components/button/mods.scss +14 -2
- package/src/components/button/states.scss +0 -14
- package/src/components/callout/component.scss +0 -7
- package/src/components/callout/index.scss +10 -6
- package/src/components/callout/mods.scss +14 -3
- package/src/components/calloutDisclosure/states.scss +1 -1
- package/src/components/container/component.scss +1 -6
- package/src/components/container/mods.scss +0 -6
- package/src/components/container/vars.scss +0 -3
- package/src/components/dataTable/mods.scss +7 -0
- package/src/components/dialog/component.scss +2 -2
- package/src/components/dialog/index.scss +6 -4
- package/src/components/dialog/mods.scss +13 -15
- package/src/components/dialog/vars.scss +3 -3
- package/src/components/emptyState/mods.scss +0 -1
- package/src/components/fileEntry/index.scss +6 -0
- package/src/components/fileEntry/mods.scss +5 -0
- package/src/components/fileToolbar/component.scss +0 -9
- package/src/components/fileToolbar/index.scss +6 -0
- package/src/components/fileToolbar/mods.scss +8 -0
- package/src/components/filterPill/states.scss +1 -1
- package/src/components/filterPill/vars.scss +1 -1
- package/src/components/footer/component.scss +16 -5
- package/src/components/footer/index.scss +8 -0
- package/src/components/footer/mods.scss +3 -3
- package/src/components/footer/vars.scss +4 -0
- package/src/components/gauge/component.scss +1 -1
- package/src/components/indexTable/component.scss +1 -5
- package/src/components/indexTable/index.scss +8 -0
- package/src/components/indexTable/mods.scss +1 -0
- package/src/components/indexTable/states.scss +5 -0
- package/src/components/multiSelect/states.scss +1 -1
- package/src/components/navside/states.scss +1 -1
- package/src/components/pagination/index.scss +2 -2
- package/src/components/simpleSelect/states.scss +1 -1
- package/src/components/table/mods.scss +1 -1
- package/src/components/textField/component.scss +0 -4
- package/src/components/textField/index.scss +8 -0
- package/src/components/textField/states.scss +7 -3
- package/src/components/toast/vars.scss +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "21.2.0
|
|
3
|
+
"version": "21.2.0",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"normalize.css": "^8.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@lucca-front/icons": "21.2.0
|
|
27
|
-
"@lucca/prisme": "21.2.0
|
|
26
|
+
"@lucca-front/icons": "21.2.0",
|
|
27
|
+
"@lucca/prisme": "21.2.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/src/commons/base.scss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
color: var(--pr-t-color-text);
|
|
11
11
|
font: var(--pr-t-font-body-M);
|
|
12
12
|
text-rendering: geometricPrecision;
|
|
13
|
-
|
|
13
|
+
inline-size: calc(100% - var(--commons-pushPanel-inlineSize));
|
|
14
14
|
|
|
15
15
|
@supports (-webkit-touch-callout: none) {
|
|
16
16
|
min-block-size: -webkit-fill-available;
|
package/src/commons/vars.scss
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
--commons-divider-border: var(--commons-divider-width) var(--commons-divider-style) var(--commons-divider-color);
|
|
89
89
|
--commons-border-100: var(--palettes-neutral-100);
|
|
90
90
|
--commons-border-200: var(--palettes-neutral-200);
|
|
91
|
-
--commons-pushPanel-
|
|
91
|
+
--commons-pushPanel-inlineSize: 0px;
|
|
92
92
|
|
|
93
93
|
// Deprecated
|
|
94
94
|
--commons-font-family: '#{config.$fontFamily}', Tahoma, sans-serif;
|
|
@@ -36,6 +36,12 @@
|
|
|
36
36
|
// Deprecated
|
|
37
37
|
--components-button-font-size: var(--pr-t-font-body-S-fontSize);
|
|
38
38
|
--components-button-line-height: var(--pr-t-font-body-S-lineHeight);
|
|
39
|
+
|
|
40
|
+
// status icon
|
|
41
|
+
&::after {
|
|
42
|
+
font-size: var(--pr-t-font-body-S-lineHeight);
|
|
43
|
+
block-size: var(--pr-t-font-body-S-lineHeight);
|
|
44
|
+
}
|
|
39
45
|
}
|
|
40
46
|
|
|
41
47
|
@mixin XS {
|
|
@@ -54,6 +60,12 @@
|
|
|
54
60
|
// Deprecated
|
|
55
61
|
--components-button-font-size: var(--pr-t-font-body-XS-fontSize);
|
|
56
62
|
--components-button-line-height: var(--pr-t-font-body-XS-lineHeight);
|
|
63
|
+
|
|
64
|
+
// status icon
|
|
65
|
+
&::after {
|
|
66
|
+
font-size: var(--pr-t-font-body-XS-lineHeight);
|
|
67
|
+
block-size: var(--pr-t-font-body-XS-lineHeight);
|
|
68
|
+
}
|
|
57
69
|
}
|
|
58
70
|
|
|
59
71
|
@mixin onlyIcon {
|
|
@@ -248,7 +260,7 @@
|
|
|
248
260
|
}
|
|
249
261
|
|
|
250
262
|
&[aria-expanded='true'] {
|
|
251
|
-
--components-button-arrow-transform: rotate(
|
|
263
|
+
--components-button-arrow-transform: rotate(180deg);
|
|
252
264
|
}
|
|
253
265
|
}
|
|
254
266
|
|
|
@@ -282,7 +294,7 @@
|
|
|
282
294
|
|
|
283
295
|
background-image:
|
|
284
296
|
linear-gradient(
|
|
285
|
-
|
|
297
|
+
225deg,
|
|
286
298
|
color-mix(in srgb, var(--palettes-AI-500) var(--components-button-AI-background-opacity), transparent),
|
|
287
299
|
color-mix(in srgb, var(--palettes-brand-400) var(--components-button-AI-background-opacity), transparent)
|
|
288
300
|
);
|
|
@@ -111,20 +111,6 @@
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
@mixin successS {
|
|
115
|
-
&::after {
|
|
116
|
-
font-size: var(--pr-t-font-body-S-lineHeight);
|
|
117
|
-
block-size: var(--pr-t-font-body-S-lineHeight);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@mixin successXS {
|
|
122
|
-
&::after {
|
|
123
|
-
font-size: var(--pr-t-font-body-XS-lineHeight);
|
|
124
|
-
block-size: var(--pr-t-font-body-XS-lineHeight);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
114
|
@mixin successOutlined {
|
|
129
115
|
--components-button-backgroundColor: var(--palettes-neutral-0);
|
|
130
116
|
--components-button-boxShadow: 0 0 0 var(--commons-divider-width) var(--palettes-neutral-100);
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
|
-
@use '@lucca-front/scss/src/commons/utils/color';
|
|
5
|
-
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
6
4
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
7
5
|
|
|
8
6
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
@@ -53,11 +51,6 @@
|
|
|
53
51
|
margin-block-start: var(--components-callout-content-description-action-marginBlockStart);
|
|
54
52
|
padding-block: var(--components-callout-content-description-action-paddingBlock);
|
|
55
53
|
padding-inline: 0;
|
|
56
|
-
|
|
57
|
-
.button {
|
|
58
|
-
@include color.palette('neutral');
|
|
59
|
-
@include button.S;
|
|
60
|
-
}
|
|
61
54
|
}
|
|
62
55
|
|
|
63
56
|
.callout-icon {
|
|
@@ -10,13 +10,17 @@
|
|
|
10
10
|
&.mod-S {
|
|
11
11
|
@include S;
|
|
12
12
|
}
|
|
13
|
-
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
&.mod-AI {
|
|
15
|
+
@include AI;
|
|
16
|
+
}
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
&:has(.callout-content-description-actions) {
|
|
19
|
+
@include actions;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:has(.callout-content-description-actions.mod-inline) {
|
|
23
|
+
@include actionsInline;
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
@@ -42,6 +42,17 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
@mixin actions {
|
|
46
|
+
.button {
|
|
47
|
+
@include color.palette('neutral');
|
|
48
|
+
@include button.S;
|
|
49
|
+
|
|
50
|
+
&.mod-onlyIcon {
|
|
51
|
+
@include button.onlyIconS;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
45
56
|
@mixin actionsInline {
|
|
46
57
|
--components-callout-content-description-display: flex;
|
|
47
58
|
--components-callout-content-description-action-marginBlockStart: 0;
|
|
@@ -49,9 +60,9 @@
|
|
|
49
60
|
|
|
50
61
|
.button {
|
|
51
62
|
@include button.XS;
|
|
52
|
-
}
|
|
53
63
|
|
|
54
|
-
|
|
55
|
-
|
|
64
|
+
&.mod-onlyIcon {
|
|
65
|
+
@include button.onlyIconXS;
|
|
66
|
+
}
|
|
56
67
|
}
|
|
57
68
|
}
|
|
@@ -6,10 +6,5 @@
|
|
|
6
6
|
max-inline-size: var(--commons-container-maxWidth);
|
|
7
7
|
margin-inline: var(--commons-container-marginInline);
|
|
8
8
|
position: relative;
|
|
9
|
-
|
|
10
|
-
justify-content: space-between;
|
|
11
|
-
gap: var(--pr-t-spacings-200);
|
|
12
|
-
display: var(--components-container-display);
|
|
13
|
-
align-items: var(--components-container-alignItems);
|
|
14
|
-
flex-direction: var(--components-container-flexDirection);
|
|
9
|
+
display: block;
|
|
15
10
|
}
|
|
@@ -30,9 +30,3 @@
|
|
|
30
30
|
@mixin overflow {
|
|
31
31
|
--components-container-minInlineSize: fit-content;
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
@mixin insideFooter {
|
|
35
|
-
--components-container-display: flex;
|
|
36
|
-
--components-container-alignItems: var(--components-footer-alignItems);
|
|
37
|
-
--components-container-flexDirection: var(--components-footer-direction);
|
|
38
|
-
}
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin vars($atRoot: namespace.$defaultAtRoot) {
|
|
4
4
|
--components-container-minInlineSize: 0;
|
|
5
|
-
--components-container-display: block;
|
|
6
|
-
--components-container-alignItems: normal;
|
|
7
|
-
--components-container-flexDirection: column;
|
|
8
5
|
|
|
9
6
|
// for this component some variables are placed in root
|
|
10
7
|
|
|
@@ -120,6 +120,13 @@
|
|
|
120
120
|
@include button.onlyIconS;
|
|
121
121
|
@include button.ghost;
|
|
122
122
|
|
|
123
|
+
// .mod-delete is deprecated
|
|
124
|
+
&.mod-critical,
|
|
125
|
+
&.mod-delete {
|
|
126
|
+
// For specificity purpose. Could be removed if we decide to remove automatic CSS imports in Angular components
|
|
127
|
+
@include button.critical;
|
|
128
|
+
}
|
|
129
|
+
|
|
123
130
|
transition-property: box-shadow, color;
|
|
124
131
|
}
|
|
125
132
|
|
|
@@ -136,10 +136,10 @@
|
|
|
136
136
|
grid-area: header;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.dialog-inside-header-button {
|
|
139
|
+
.dialog-inside-header-button.button {
|
|
140
140
|
position: var(--components-dialog-inside-header-button-position);
|
|
141
141
|
inset-block-start: var(--components-dialog-inside-header-button-insetBlockStart);
|
|
142
|
-
inset-inline-end: var(--components-dialog-inside-header-button-
|
|
142
|
+
inset-inline-end: var(--components-dialog-inside-header-button-insetInlineEnd);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.dialog-inside-content {
|
|
@@ -58,10 +58,6 @@
|
|
|
58
58
|
@include fullScreen;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
&:has(.dialog-inside-header-button) {
|
|
62
|
-
@include withCloseButton;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
61
|
&:has(.dialog-inside-header-actionOptional:not(:empty)) {
|
|
66
62
|
@include withAction;
|
|
67
63
|
}
|
|
@@ -78,4 +74,10 @@
|
|
|
78
74
|
}
|
|
79
75
|
}
|
|
80
76
|
}
|
|
77
|
+
|
|
78
|
+
@layer mods {
|
|
79
|
+
.dialog-inside-header-button.button {
|
|
80
|
+
@include withCloseButton;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
81
83
|
}
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
--components-dialog-maxHeight: none;
|
|
35
35
|
--components-dialog-maxHeightFallback: var(--components-dialog-maxHeight);
|
|
36
36
|
--components-dialog-height: calc(100% - var(--pr-t-spacings-100) * 2);
|
|
37
|
-
--components-dialog-maxWidth: calc(100vw - var(--pr-t-spacings-200) - var(--commons-pushPanel-
|
|
37
|
+
--components-dialog-maxWidth: calc(100vw - var(--pr-t-spacings-200) - var(--commons-pushPanel-inlineSize));
|
|
38
38
|
--components-dialog-borderRadius: var(--pr-t-border-radius-structure);
|
|
39
|
-
--components-dialog-inset: var(--pr-t-spacings-100) calc(var(--pr-t-spacings-100) + var(--commons-pushPanel-
|
|
39
|
+
--components-dialog-inset: var(--pr-t-spacings-100) calc(var(--pr-t-spacings-100) + var(--commons-pushPanel-inlineSize)) var(--pr-t-spacings-100) auto;
|
|
40
40
|
--components-dialog-translateX: var(--components-dialog-translate);
|
|
41
41
|
--components-dialog-translateY: 0;
|
|
42
42
|
--components-dialog-translate-spacing: calc(var(--pr-t-spacings-500) * 2);
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
--components-dialog-maxHeight: calc(100dvh - var(--pr-t-spacings-200));
|
|
50
50
|
--components-dialog-maxHeightFallback: calc(100vh - var(--pr-t-spacings-200));
|
|
51
51
|
--components-dialog-maxWidth: none;
|
|
52
|
-
--components-dialog-inset: auto calc(var(--pr-t-spacings-100) + var(--commons-pushPanel-
|
|
52
|
+
--components-dialog-inset: auto calc(var(--pr-t-spacings-100) + var(--commons-pushPanel-inlineSize)) var(--pr-t-spacings-100) var(--pr-t-spacings-100);
|
|
53
53
|
--components-dialog-borderRadius: var(--pr-t-border-radius-structure);
|
|
54
|
-
--components-dialog-width: calc(100% - var(--pr-t-spacings-100) * 2 - var(--commons-pushPanel-
|
|
54
|
+
--components-dialog-width: calc(100% - var(--pr-t-spacings-100) * 2 - var(--commons-pushPanel-inlineSize));
|
|
55
55
|
--components-dialog-height: fit-content;
|
|
56
56
|
--components-dialog-translateX: 0;
|
|
57
57
|
--components-dialog-translateY: var(--components-dialog-translate);
|
|
@@ -80,16 +80,14 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
@mixin withCloseButton {
|
|
83
|
-
.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
display: var(--components-dialog-insideHeaderButtonDisplay);
|
|
92
|
-
}
|
|
83
|
+
@include button.ghost;
|
|
84
|
+
@include button.S;
|
|
85
|
+
@include button.onlyIconS;
|
|
86
|
+
|
|
87
|
+
align-self: start;
|
|
88
|
+
justify-self: end;
|
|
89
|
+
grid-area: close;
|
|
90
|
+
display: var(--components-dialog-insideHeaderButtonDisplay);
|
|
93
91
|
}
|
|
94
92
|
|
|
95
93
|
@mixin withAction {
|
|
@@ -109,7 +107,7 @@
|
|
|
109
107
|
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-50) var(--pr-t-spacings-200);
|
|
110
108
|
--components-dialog-inside-header-button-position: absolute;
|
|
111
109
|
--components-dialog-inside-header-button-insetBlockStart: var(--pr-t-spacings-100);
|
|
112
|
-
--components-dialog-inside-header-button-
|
|
110
|
+
--components-dialog-inside-header-button-insetInlineEnd: var(--pr-t-spacings-100);
|
|
113
111
|
|
|
114
112
|
.dialog-inside-footer {
|
|
115
113
|
@include footer.fancy;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
--components-dialog-size: 40rem;
|
|
3
3
|
--components-dialog-width: var(--components-dialog-size);
|
|
4
4
|
--components-dialog-height: fit-content;
|
|
5
|
-
--components-dialog-maxWidth: calc(100vw - (var(--pr-t-spacings-200) * 2) - var(--commons-pushPanel-
|
|
5
|
+
--components-dialog-maxWidth: calc(100vw - (var(--pr-t-spacings-200) * 2) - var(--commons-pushPanel-inlineSize));
|
|
6
6
|
--components-dialog-maxHeight: calc(100dvh - (var(--pr-t-spacings-200) * 2));
|
|
7
7
|
--components-dialog-maxHeightFallback: calc(100vh - (var(--pr-t-spacings-200) * 2));
|
|
8
8
|
--components-dialog-borderRadius: var(--pr-t-border-radius-structure);
|
|
9
|
-
--components-dialog-inset: 0 var(--commons-pushPanel-
|
|
9
|
+
--components-dialog-inset: 0 var(--commons-pushPanel-inlineSize) 0 0;
|
|
10
10
|
--components-dialog-animationOpening: scaleIn;
|
|
11
11
|
--components-dialog-insideHeaderAreas: 'container close';
|
|
12
12
|
--components-dialog-insideHeaderTitleAlign: left;
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
--components-dialog-inside-alignContent: normal;
|
|
35
35
|
--components-dialog-inside-fancyIllustrations-inlineSize: var(--components-dialog-inside-paddingInlineEnd);
|
|
36
36
|
--components-dialog-inside-header-button-insetBlockStart: var(--pr-t-spacings-200);
|
|
37
|
-
--components-dialog-inside-header-button-
|
|
37
|
+
--components-dialog-inside-header-button-insetInlineEnd: var(--pr-t-spacings-300);
|
|
38
38
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
3
3
|
|
|
4
|
-
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
5
|
-
|
|
6
4
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
7
5
|
|
|
8
6
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
@@ -24,12 +22,5 @@
|
|
|
24
22
|
gap: var(--pr-t-spacings-50);
|
|
25
23
|
padding: var(--components-fileToolbar-list-padding);
|
|
26
24
|
}
|
|
27
|
-
|
|
28
|
-
.fileToolbar-list-item-button.button {
|
|
29
|
-
@include button.ghost;
|
|
30
|
-
@include button.S;
|
|
31
|
-
|
|
32
|
-
--components-button-padding: var(--pr-t-spacings-75) !important;
|
|
33
|
-
}
|
|
34
25
|
}
|
|
35
26
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--components-filterPill-checkbox-borderColor: var(--palettes-neutral-700);
|
|
13
13
|
--components-filterPill-checkbox-icon-scale: 0;
|
|
14
14
|
--components-filterPill-checkbox-icon-timingFonction: cubic-bezier(0.5, -0.5, 0.5, 0);
|
|
15
|
-
--components-filterPill-toggle-rotation:
|
|
15
|
+
--components-filterPill-toggle-rotation: 0deg;
|
|
16
16
|
--components-filterPill-toggle-iconColor: var(--palettes-neutral-600);
|
|
17
17
|
--components-filterPill-shadow: 0 0 0 1px var(--components-filterPill-borderColor);
|
|
18
18
|
--components-filterPill-display: flex;
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
background-color: var(--components-footer-backgroundColor);
|
|
5
5
|
padding-block: var(--components-footer-paddingBlock);
|
|
6
6
|
padding-inline: var(--components-footer-paddingInline);
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
gap: var(--pr-t-spacings-200);
|
|
10
|
-
align-items: var(--components-footer-alignItems);
|
|
11
7
|
box-shadow: var(--components-footer-boxShadow);
|
|
12
8
|
inset-block-end: 0;
|
|
13
9
|
position: var(--components-footer-position);
|
|
14
|
-
flex-direction: var(--components-footer-direction);
|
|
15
10
|
overflow: var(--components-footer-overflow);
|
|
11
|
+
display: var(--components-footer-display);
|
|
12
|
+
justify-content: var(--components-footer-justifyContent);
|
|
13
|
+
gap: var(--components-footer-gap);
|
|
14
|
+
align-items: var(--components-footer-alignItems);
|
|
15
|
+
flex-direction: var(--components-footer-direction);
|
|
16
16
|
|
|
17
17
|
@at-root ($atRoot) {
|
|
18
18
|
.footer-content {
|
|
@@ -25,5 +25,16 @@
|
|
|
25
25
|
gap: var(--pr-t-spacings-150);
|
|
26
26
|
flex-direction: var(--components-footer-direction);
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
.footer-containerOptional {
|
|
30
|
+
flex-grow: 1;
|
|
31
|
+
display: var(--components-footer-display);
|
|
32
|
+
justify-content: var(--components-footer-justifyContent);
|
|
33
|
+
gap: var(--components-footer-gap);
|
|
34
|
+
align-items: var(--components-footer-alignItems);
|
|
35
|
+
flex-direction: var(--components-footer-direction);
|
|
36
|
+
padding: var(--commons-container-padding);
|
|
37
|
+
max-inline-size: var(--components-footer-container-maxInlineSize);
|
|
38
|
+
}
|
|
28
39
|
}
|
|
29
40
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/media';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/function';
|
|
4
|
+
@use '@lucca-front/scss/src/commons/config';
|
|
3
5
|
|
|
4
6
|
.footer {
|
|
5
7
|
@layer components {
|
|
@@ -54,5 +56,11 @@
|
|
|
54
56
|
&:has(.footer-containerOptional) {
|
|
55
57
|
@include withContainer;
|
|
56
58
|
}
|
|
59
|
+
|
|
60
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
61
|
+
.footer-containerOptional.mod-containerMax#{$breakpoint} {
|
|
62
|
+
@include withContainerMax(function.pxToRem($value));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
57
65
|
}
|
|
58
66
|
}
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
|
|
30
30
|
@mixin withContainer {
|
|
31
31
|
--components-footer-paddingInline: 0;
|
|
32
|
+
}
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
34
|
+
@mixin withContainerMax($breakpoint) {
|
|
35
|
+
--components-footer-container-maxInlineSize: #{$breakpoint};
|
|
36
36
|
}
|
|
@@ -8,4 +8,8 @@
|
|
|
8
8
|
--components-footer-boxShadow: var(--pr-t-elevation-shadow-overflow);
|
|
9
9
|
--components-footer-overflow: visible;
|
|
10
10
|
--components-footer-backgroundColor: var(--pr-t-elevation-surface-raised);
|
|
11
|
+
--components-footer-justifyContent: space-between;
|
|
12
|
+
--components-footer-gap: var(--pr-t-spacings-200);
|
|
13
|
+
--components-footer-display: flex;
|
|
14
|
+
--components-footer-container-maxInlineSize: var(--commons-container-maxWidth);
|
|
11
15
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
stroke-width: var(--components-gauge-circle-strokeWidth);
|
|
40
40
|
stroke-linecap: round;
|
|
41
41
|
stroke-dashoffset: 0;
|
|
42
|
-
transform: rotate(
|
|
42
|
+
transform: rotate(270deg);
|
|
43
43
|
transform-origin: 50% 50%;
|
|
44
44
|
stroke-dasharray: calc(var(--components-gauge-circleP) / 100 * var(--components-gauge-value)), 9999;
|
|
45
45
|
stroke: currentColor;
|
|
@@ -234,6 +234,7 @@
|
|
|
234
234
|
gap: var(--pr-t-spacings-100);
|
|
235
235
|
padding: var(--pr-t-spacings-25);
|
|
236
236
|
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
237
|
+
inline-size: fit-content;
|
|
237
238
|
}
|
|
238
239
|
|
|
239
240
|
.indexTable-body-row-cellTitle-title {
|
|
@@ -261,11 +262,6 @@
|
|
|
261
262
|
padding-inline: 0;
|
|
262
263
|
margin-inline-end: var(--pr-t-spacings-100);
|
|
263
264
|
}
|
|
264
|
-
|
|
265
|
-
.pagination-scrolling .button:hover {
|
|
266
|
-
--components-button-backgroundColor: var(--palettes-neutral-100);
|
|
267
|
-
--components-button-color: var(--palettes-neutral-700);
|
|
268
|
-
}
|
|
269
265
|
}
|
|
270
266
|
}
|
|
271
267
|
|