@lucca-front/scss 22.0.0-rc.4 → 22.0.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/utils/highlight-prisme.scss +2 -0
- package/src/commons/utils/index.scss +1 -9
- package/src/commons/vars.scss +3 -2
- package/src/components/appLayout/vars.scss +1 -1
- package/src/components/approbationInbox/component.scss +457 -0
- package/src/components/approbationInbox/exports.scss +4 -0
- package/src/components/approbationInbox/index.scss +119 -0
- package/src/components/approbationInbox/mods.scss +78 -0
- package/src/components/approbationInbox/states.scss +20 -0
- package/src/components/approbationInbox/vars.scss +29 -0
- package/src/components/button/states.scss +6 -2
- package/src/components/calloutPopover/component.scss +1 -1
- package/src/components/color/component.scss +5 -4
- package/src/components/color/index.scss +3 -1
- package/src/components/color/mods.scss +1 -1
- package/src/components/comment/component.scss +10 -7
- package/src/components/comment/index.scss +4 -0
- package/src/components/comment/mods.scss +4 -0
- package/src/components/comment/vars.scss +1 -0
- package/src/components/container/mods.scss +1 -1
- package/src/components/dataTable/mods.scss +5 -0
- package/src/components/dateRangeField/mods.scss +1 -1
- package/src/components/dialog/component.scss +10 -1
- package/src/components/dialog/index.scss +18 -3
- package/src/components/dialog/mods.scss +28 -2
- package/src/components/dialog/vars.scss +5 -2
- package/src/components/divider/component.scss +1 -1
- package/src/components/divider/vars.scss +1 -0
- package/src/components/dropdown/component.scss +2 -2
- package/src/components/dropdown/states.scss +0 -1
- package/src/components/dropdown/vars.scss +1 -2
- package/src/components/emptyState/vars.scss +1 -1
- package/src/components/errorPage/component.scss +6 -6
- package/src/components/errorPage/index.scss +2 -2
- package/src/components/errorPage/mods.scss +1 -1
- package/src/components/fancyBox/component.scss +3 -3
- package/src/components/field/vars.scss +1 -1
- package/src/components/filterBar/component.scss +5 -1
- package/src/components/filterPill/component.scss +25 -8
- package/src/components/filterPill/index.scss +8 -0
- package/src/components/filterPill/states.scss +4 -1
- package/src/components/filterPill/vars.scss +4 -0
- package/src/components/footer/component.scss +5 -0
- package/src/components/form/vars.scss +1 -1
- package/src/components/grid/component.scss +1 -0
- package/src/components/highlightData/component.scss +1 -1
- package/src/components/highlightSection/component.scss +48 -0
- package/src/components/highlightSection/exports.scss +4 -0
- package/src/components/highlightSection/index.scss +23 -0
- package/src/components/highlightSection/mods.scss +14 -0
- package/src/components/highlightSection/states.scss +0 -0
- package/src/components/highlightSection/vars.scss +10 -0
- package/src/components/horizontalNavigation/component.scss +2 -1
- package/src/components/horizontalNavigation/mods.scss +1 -0
- package/src/components/horizontalNavigation/vars.scss +1 -0
- package/src/components/index.scss +2 -0
- package/src/components/indexTable/mods.scss +5 -0
- package/src/components/layout/component.scss +3 -3
- package/src/components/layout/states.scss +1 -1
- package/src/components/link/component.scss +1 -1
- package/src/components/listboxOption/component.scss +18 -5
- package/src/components/listboxOption/index.scss +62 -17
- package/src/components/listboxOption/mods.scss +6 -8
- package/src/components/listboxOption/states.scss +8 -3
- package/src/components/listboxOption/vars.scss +2 -2
- package/src/components/loading/mods.scss +2 -0
- package/src/components/main/states.scss +1 -1
- package/src/components/mainLayout/component.scss +50 -2
- package/src/components/mainLayout/index.scss +14 -2
- package/src/components/mainLayout/mods.scss +9 -0
- package/src/components/mainLayout/vars.scss +12 -0
- package/src/components/multiSelect/mods.scss +2 -2
- package/src/components/multiSelect/states.scss +1 -1
- package/src/components/navside/states.scss +2 -2
- package/src/components/popover/component.scss +2 -2
- package/src/components/progress/component.scss +1 -1
- package/src/components/readMore/component.scss +2 -0
- package/src/components/readMore/index.scss +4 -0
- package/src/components/readMore/mods.scss +4 -0
- package/src/components/readMore/vars.scss +1 -0
- package/src/components/resourceCard/component.scss +11 -1
- package/src/components/richText/vars.scss +1 -1
- package/src/components/segmentedControl/component.scss +12 -0
- package/src/components/simpleSelect/mods.scss +1 -1
- package/src/components/switchField/component.scss +1 -1
- package/src/components/textField/component.scss +21 -7
- package/src/components/textField/mods.scss +15 -0
- package/src/components/textField/vars.scss +3 -1
- package/src/components/toast/vars.scss +1 -1
- package/src/components/tooltip/component.scss +1 -1
- package/src/components/userPopover/component.scss +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@mixin center {
|
|
2
|
+
--components-approbationInbox-list-content-items-item-content-info-alignItems: center;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
@mixin noDescription {
|
|
6
|
+
--components-approbationInbox-detail-header-main-delegation-marginBlockStart: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin insideDialog {
|
|
10
|
+
--components-approbationInbox-detail-header-main-actions-display: none;
|
|
11
|
+
--components-approbationInbox-detail-container-display: contents;
|
|
12
|
+
--components-approbationInbox-detail-headerMain-padding: var(--pr-t-spacings-150);
|
|
13
|
+
--components-approbationInbox-detail-headerMain-margin: 0 calc(var(--pr-t-spacings-150) * -1);
|
|
14
|
+
--components-approbationInbox-detail-gap: var(--pr-t-spacings-50);
|
|
15
|
+
--components-approbationInbox-detail-main-gap: var(--pr-t-spacings-150);
|
|
16
|
+
--components-approbationInbox-detail-header-main-block-content-paddingBlockEnd: var(--pr-t-spacings-150);
|
|
17
|
+
--components-approbationInbox-detail-header-minBlockSize: 0;
|
|
18
|
+
|
|
19
|
+
.dialog-inside-content:has(&) {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.approbationInbox-detail-main-block-divider.divider {
|
|
25
|
+
margin: var(--components-divider-margin);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin outsideDialogMediaMaxM {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin listMediaMinS {
|
|
34
|
+
--components-approbationInbox-list-marginInlineEnd: var(--pr-t-spacings-400);
|
|
35
|
+
--components-approbationInbox-list-marginInlineStart: var(--pr-t-spacings-400);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@mixin listMediaMinM {
|
|
39
|
+
--components-approbationInbox-list-inlineSize: 17rem;
|
|
40
|
+
--components-approbationInbox-list-marginInlineEnd: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@mixin listMediaMinL {
|
|
44
|
+
--components-approbationInbox-list-inlineSize: 22.5rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@mixin listMediaMaxM {
|
|
48
|
+
--components-approbationInbox-list-footer-backgroundColor: var(--pr-t-elevation-surface-raised);
|
|
49
|
+
--components-approbationInbox-list-footer-borderRadius: 0;
|
|
50
|
+
--components-approbationInbox-list-footer-marginBlock: var(--pr-t-spacings-150) calc(var(--pr-t-spacings-300) * -1);
|
|
51
|
+
--components-approbationInbox-list-footer-paddingBlock: var(--pr-t-spacings-100) var(--pr-t-spacings-200);
|
|
52
|
+
--components-approbationInbox-list-footer-paddingInline: var(--pr-t-spacings-400);
|
|
53
|
+
--components-approbationInbox-list-footer-marginInline: calc(var(--components-approbationInbox-list-footer-paddingInline) * -1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@mixin listMediaMaxS {
|
|
57
|
+
--components-approbationInbox-list-footer-paddingInline: var(--pr-t-spacings-300);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@mixin blockLastChild {
|
|
61
|
+
--components-approbationInbox-detail-header-main-block-content-paddingBlockEnd: 0;
|
|
62
|
+
|
|
63
|
+
.approbationInbox-detail-main-block-divider.divider {
|
|
64
|
+
--components-divider-display: none;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@mixin mainLayoutSidebar {
|
|
69
|
+
overflow: visible;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@mixin mainLayoutSidebarMediaMaxM {
|
|
73
|
+
block-size: 100%;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@mixin detailMediaMaxL {
|
|
77
|
+
--components-approbationInbox-detail-header-main-flexWrap: wrap;
|
|
78
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
|
+
|
|
3
|
+
@mixin focusVisible {
|
|
4
|
+
&::before {
|
|
5
|
+
@include a11y.focusVisible;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin selected {
|
|
10
|
+
--components-approbationInbox-list-content-items-item-content-before-background: var(--palettes-50, var(--palettes-product-50));
|
|
11
|
+
--components-approbationInbox-list-content-items-item-content-before-boxShadow: 0 0 0 1px var(--palettes-500, var(--palettes-product-500));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin current {
|
|
15
|
+
--components-approbationInbox-list-content-items-item-content-before-boxShadow: 0 0 0 1px var(--palettes-400, var(--palettes-product-400)), 0 0 0 1px var(--palettes-400, var(--palettes-product-400)) inset;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin empty {
|
|
19
|
+
--components-approbationInbox-detail-empty-display: flex;
|
|
20
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@mixin vars {
|
|
2
|
+
--components-approbationInbox-list-marginInlineEnd: var(--pr-t-spacings-200);
|
|
3
|
+
--components-approbationInbox-list-marginInlineStart: var(--pr-t-spacings-200);
|
|
4
|
+
--components-approbationInbox-list-inlineSize: auto;
|
|
5
|
+
--components-approbationInbox-list-content-groupOptional-header-action-icon-backgroundColor: transparent;
|
|
6
|
+
--components-approbationInbox-list-content-groupOptional-content-display: flex;
|
|
7
|
+
--components-approbationInbox-list-content-groupOptional-marginBlockStart: var(--pr-t-spacings-50);
|
|
8
|
+
--components-approbationInbox-list-content-items-item-content-info-alignItems: start;
|
|
9
|
+
--components-approbationInbox-list-content-items-item-content-before-background: var(--pr-t-elevation-surface-raised);
|
|
10
|
+
--components-approbationInbox-list-content-items-item-content-before-boxShadow: var(--pr-t-elevation-shadow-raised);
|
|
11
|
+
--components-approbationInbox-list-footer-backgroundColor: var(--pr-t-elevation-surface-sunken);
|
|
12
|
+
--components-approbationInbox-list-footer-borderRadius: var(--pr-t-border-radius-structure);
|
|
13
|
+
--components-approbationInbox-list-footer-paddingInline: var(--pr-t-spacings-100);
|
|
14
|
+
--components-approbationInbox-list-footer-paddingBlock: var(--pr-t-spacings-100);
|
|
15
|
+
--components-approbationInbox-list-footer-marginInline: 0;
|
|
16
|
+
--components-approbationInbox-list-footer-marginBlock: 0;
|
|
17
|
+
|
|
18
|
+
--components-approbationInbox-detail-header-main-actions-display: flex;
|
|
19
|
+
--components-approbationInbox-detail-main-gap: var(--pr-t-spacings-300);
|
|
20
|
+
--components-approbationInbox-detail-header-main-block-content-paddingBlockEnd: var(--pr-t-spacings-300);
|
|
21
|
+
--components-approbationInbox-detail-container-display: flex;
|
|
22
|
+
--components-approbationInbox-detail-headerMain-padding: var(--pr-t-spacings-300);
|
|
23
|
+
--components-approbationInbox-detail-gap: var(--pr-t-spacings-200);
|
|
24
|
+
--components-approbationInbox-detail-headerMain-margin: 0;
|
|
25
|
+
--components-approbationInbox-detail-header-main-delegation-marginBlockStart: var(--pr-t-spacings-150);
|
|
26
|
+
--components-approbationInbox-detail-empty-display: none;
|
|
27
|
+
--components-approbationInbox-detail-header-main-flexWrap: nowrap;
|
|
28
|
+
--components-approbationInbox-detail-header-minBlockSize: calc(var(--components-approbationInbox-detail-headerMain-padding) * 2 + var(--pr-t-spacings-600) + var(--pr-t-spacings-50));
|
|
29
|
+
}
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
&,
|
|
32
32
|
&:disabled {
|
|
33
33
|
--components-button-color: transparent;
|
|
34
|
+
|
|
35
|
+
.lucca-icon {
|
|
36
|
+
color: transparent;
|
|
37
|
+
}
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
.numericBadge {
|
|
@@ -74,8 +78,8 @@
|
|
|
74
78
|
@include icon.generate('sign_confirm');
|
|
75
79
|
|
|
76
80
|
color: var(--palettes-neutral-0);
|
|
77
|
-
font-size: calc(1.5 * var(--
|
|
78
|
-
block-size: var(--
|
|
81
|
+
font-size: calc(1.5 * var(--components-button-font-size));
|
|
82
|
+
block-size: var(--components-button-line-height);
|
|
79
83
|
inset: 0;
|
|
80
84
|
margin: auto;
|
|
81
85
|
position: absolute;
|
|
@@ -54,18 +54,19 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
@mixin componentPanel($atRoot: namespace.$defaultAtRoot) {
|
|
57
|
-
.lu-
|
|
57
|
+
.lu-select-panel-layout-content {
|
|
58
58
|
.cdk-overlay-pane:has(&) {
|
|
59
59
|
min-inline-size: 0 !important;
|
|
60
60
|
inline-size: 17rem;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.
|
|
64
|
+
// Options are now projected into the listbox wrapper; lay them out as a wrapping swatch grid.
|
|
65
|
+
.listboxOptionWrapper {
|
|
65
66
|
flex-direction: row;
|
|
66
67
|
display: flex;
|
|
67
68
|
flex-wrap: wrap;
|
|
68
|
-
padding: var(--pr-t-spacings-
|
|
69
|
+
padding: var(--pr-t-spacings-50);
|
|
69
70
|
gap: 0;
|
|
70
71
|
}
|
|
71
72
|
|
|
@@ -77,7 +78,7 @@
|
|
|
77
78
|
.colorPanel-highlighted {
|
|
78
79
|
display: flex;
|
|
79
80
|
padding: var(--pr-t-spacings-50) var(--pr-t-spacings-100);
|
|
80
|
-
margin:
|
|
81
|
+
margin: var(--pr-t-spacings-50);
|
|
81
82
|
gap: var(--pr-t-spacings-50);
|
|
82
83
|
}
|
|
83
84
|
}
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
@include selected;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
// The option's highlight (keyboard + hover) now lives as `is-highlighted` on the
|
|
27
|
+
// `luCoreSelectPanelElement` host, so the picker/optionItem selectors no longer apply.
|
|
28
|
+
.is-highlighted & {
|
|
27
29
|
@include highlighted;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -49,13 +49,15 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.comment-infos-name {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
52
|
+
&:not(:empty) {
|
|
53
|
+
color: var(--pr-t-color-text);
|
|
54
|
+
|
|
55
|
+
& + .comment-infos-date {
|
|
56
|
+
&::before {
|
|
57
|
+
color: var(--palettes-neutral-400);
|
|
58
|
+
padding-inline: 1ch;
|
|
59
|
+
content: var(--components-comment-info-separator) / '';
|
|
60
|
+
}
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
}
|
|
@@ -77,6 +79,7 @@
|
|
|
77
79
|
margin-block-end: 0;
|
|
78
80
|
overflow-wrap: anywhere;
|
|
79
81
|
font: var(--components-comment-text-font);
|
|
82
|
+
white-space: var(--components-comment-text-whiteSpace);
|
|
80
83
|
}
|
|
81
84
|
|
|
82
85
|
.comment-content-textContainerOptional {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-comment-max-width: 66ch;
|
|
3
|
+
--components-comment-text-whiteSpace: normal;
|
|
3
4
|
--components-comment-text-font: var(--pr-t-font-body-M);
|
|
4
5
|
--components-comment-margin: 0;
|
|
5
6
|
--components-comment-content-margin: calc(1.5rem + var(--pr-t-spacings-100)); // 1.5rem for the width of the avatar and 0.5rem for the gap
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.dateRangeField-fieldset-arrow {
|
|
51
|
-
|
|
51
|
+
inset-inline-start: calc(50% - var(--pr-t-spacings-100) - var(--pr-t-spacings-25));
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.dateRangeField-fieldset-textField.textField {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
translate: var(--components-dialog-translateX) var(--components-dialog-translateY);
|
|
27
27
|
scale: var(--components-dialog-scale);
|
|
28
28
|
|
|
29
|
-
@supports not (height:
|
|
29
|
+
@supports not (height: 1dvb) {
|
|
30
30
|
--components-dialog-maxHeight: var(--components-dialog-maxHeightFallback);
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -122,6 +122,10 @@
|
|
|
122
122
|
&.footer {
|
|
123
123
|
@include footer.insideDialog;
|
|
124
124
|
}
|
|
125
|
+
|
|
126
|
+
.icon-menuDots {
|
|
127
|
+
display: var(--components-dialog-inside-footer-actions-button-icon-menuDots-display) !important;
|
|
128
|
+
}
|
|
125
129
|
}
|
|
126
130
|
|
|
127
131
|
.dialog-inside-header {
|
|
@@ -158,8 +162,13 @@
|
|
|
158
162
|
padding-inline: var(--components-dialog-insideContent-paddingInline);
|
|
159
163
|
grid-area: overflow;
|
|
160
164
|
overflow: var(--components-dialog-insideContent-overflow);
|
|
165
|
+
flex-grow: var(--components-dialog-insideContent-flexGrow);
|
|
161
166
|
display: block;
|
|
162
167
|
outline: none;
|
|
168
|
+
|
|
169
|
+
&:empty {
|
|
170
|
+
display: none;
|
|
171
|
+
}
|
|
163
172
|
}
|
|
164
173
|
|
|
165
174
|
.dialog-inside-header-container {
|
|
@@ -48,11 +48,21 @@
|
|
|
48
48
|
|
|
49
49
|
&:where(.mod-fromBottom) {
|
|
50
50
|
@include fromBottom;
|
|
51
|
+
|
|
52
|
+
&:where(.mod-sheet) {
|
|
53
|
+
@include sheet;
|
|
54
|
+
|
|
55
|
+
@include media.max('XXS') {
|
|
56
|
+
@include sheetNarrow;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
51
59
|
}
|
|
52
60
|
|
|
53
|
-
|
|
54
|
-
@include
|
|
55
|
-
|
|
61
|
+
&:where(:not(.mod-sheet)) {
|
|
62
|
+
@include media.max('S') {
|
|
63
|
+
@include fromBottom;
|
|
64
|
+
@include maxContent;
|
|
65
|
+
}
|
|
56
66
|
}
|
|
57
67
|
}
|
|
58
68
|
|
|
@@ -64,6 +74,11 @@
|
|
|
64
74
|
@include withAction;
|
|
65
75
|
}
|
|
66
76
|
|
|
77
|
+
&:not(:has(.dialog-inside-content)),
|
|
78
|
+
&:has(.dialog-inside-content:empty) {
|
|
79
|
+
@include noContent;
|
|
80
|
+
}
|
|
81
|
+
|
|
67
82
|
&:has(.horizontalNavigation) {
|
|
68
83
|
@include withHorizontalNavigation;
|
|
69
84
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
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(
|
|
37
|
+
--components-dialog-maxWidth: calc(100vi - var(--pr-t-spacings-200) - var(--commons-pushPanel-inlineSize));
|
|
38
38
|
--components-dialog-borderRadius: var(--pr-t-border-radius-structure);
|
|
39
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);
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
|
|
47
47
|
@mixin fromBottom {
|
|
48
48
|
--components-dialog-animationOpening: slideFromBottom;
|
|
49
|
-
--components-dialog-maxHeight: calc(
|
|
49
|
+
--components-dialog-maxHeight: calc(100dvb - var(--pr-t-spacings-200));
|
|
50
|
+
// stylelint-disable-next-line unit-layout-mappings -- Physical fallback: browsers without `dvb` do not support `vb` either.
|
|
50
51
|
--components-dialog-maxHeightFallback: calc(100vh - var(--pr-t-spacings-200));
|
|
51
52
|
--components-dialog-maxWidth: none;
|
|
52
53
|
--components-dialog-inset: auto calc(var(--pr-t-spacings-100) + var(--commons-pushPanel-inlineSize)) var(--pr-t-spacings-100) var(--pr-t-spacings-100);
|
|
@@ -75,6 +76,26 @@
|
|
|
75
76
|
--components-dialog-inset: 0;
|
|
76
77
|
}
|
|
77
78
|
|
|
79
|
+
@mixin sheet {
|
|
80
|
+
--components-dialog-width: 100%;
|
|
81
|
+
--components-dialog-maxWidth: none;
|
|
82
|
+
--components-dialog-maxHeight: calc(100% - var(--pr-t-spacings-150));
|
|
83
|
+
--components-dialog-maxHeightFallback: var(--components-dialog-maxHeight);
|
|
84
|
+
--components-dialog-borderRadius: var(--pr-t-border-radius-structure) var(--pr-t-border-radius-structure) 0 0;
|
|
85
|
+
--components-dialog-inset: auto 0 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@mixin sheetNarrow {
|
|
89
|
+
--components-dialog-inside-footer-actions-button-icon-menuDots-display: none;
|
|
90
|
+
--components-dialog-inside-footer-actions-button-icon-mask-all: unset !important;
|
|
91
|
+
|
|
92
|
+
.icon-menuDots {
|
|
93
|
+
+ .pr-u-mask {
|
|
94
|
+
all: unset !important;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
78
99
|
@mixin surfaceDefault {
|
|
79
100
|
--components-dialog-insideContent-background: var(--pr-t-elevation-surface-default);
|
|
80
101
|
}
|
|
@@ -155,6 +176,11 @@
|
|
|
155
176
|
|
|
156
177
|
@mixin withHorizontalNavigation {
|
|
157
178
|
--components-dialog-insideContent-overflow: none;
|
|
179
|
+
--components-dialog-insideContent-flexGrow: 1;
|
|
158
180
|
--components-dialog-inside-header-boxShadow: none;
|
|
159
181
|
--components-dialog-inside-header-paddingBlock: var(--pr-t-spacings-200) 0;
|
|
160
182
|
}
|
|
183
|
+
|
|
184
|
+
@mixin noContent {
|
|
185
|
+
--components-dialog-inside-header-boxShadow: none;
|
|
186
|
+
}
|
|
@@ -2,8 +2,9 @@
|
|
|
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(
|
|
6
|
-
--components-dialog-maxHeight: calc(
|
|
5
|
+
--components-dialog-maxWidth: calc(100vi - (var(--pr-t-spacings-200) * 2) - var(--commons-pushPanel-inlineSize));
|
|
6
|
+
--components-dialog-maxHeight: calc(100dvb - (var(--pr-t-spacings-200) * 2));
|
|
7
|
+
// stylelint-disable-next-line unit-layout-mappings -- Physical fallback: browsers without `dvb` do not support `vb` either.
|
|
7
8
|
--components-dialog-maxHeightFallback: calc(100vh - (var(--pr-t-spacings-200) * 2));
|
|
8
9
|
--components-dialog-borderRadius: var(--pr-t-border-radius-structure);
|
|
9
10
|
--components-dialog-inset: 0 var(--commons-pushPanel-inlineSize) 0 0;
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
--components-dialog-insideContent-paddingInline: var(--pr-t-spacings-300);
|
|
21
22
|
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-200);
|
|
22
23
|
--components-dialog-insideContent-overflow: auto;
|
|
24
|
+
--components-dialog-insideContent-flexGrow: 0;
|
|
23
25
|
--components-dialog-level: 0;
|
|
24
26
|
--components-dialog-translate-spacing: var(--pr-t-spacings-500);
|
|
25
27
|
--components-dialog-translate: calc(var(--components-dialog-translate-spacing) * var(--components-dialog-level) * -1);
|
|
@@ -41,4 +43,5 @@
|
|
|
41
43
|
--components-dialog-inside-header-button-insetInlineEnd: var(--pr-t-spacings-300);
|
|
42
44
|
--components-dialog-inside-header-marginBlock: 0px;
|
|
43
45
|
--components-dialog-inside-footer-marginBlock: 0px;
|
|
46
|
+
--components-dialog-inside-footer-actions-button-icon-menuDots-display: block;
|
|
44
47
|
}
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
gap: var(--pr-t-spacings-100);
|
|
67
67
|
line-height: var(--pr-t-font-body-M-lineHeight);
|
|
68
68
|
padding: var(--pr-t-spacings-50) var(--pr-t-spacings-100);
|
|
69
|
-
text-align:
|
|
69
|
+
text-align: start;
|
|
70
70
|
transition: background-color var(--commons-animations-durations-fast);
|
|
71
71
|
text-decoration: none;
|
|
72
72
|
inline-size: 100%;
|
|
73
|
-
pointer-events:
|
|
73
|
+
pointer-events: auto;
|
|
74
74
|
cursor: pointer;
|
|
75
75
|
|
|
76
76
|
.lucca-icon {
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
--components-dropdown-minInlineSize: 10rem;
|
|
3
3
|
|
|
4
4
|
--components-dropdown-maxInlineSize: 30rem;
|
|
5
|
-
--components-dropdown-maxBlockSize: min(
|
|
5
|
+
--components-dropdown-maxBlockSize: min(60vb, 30rem);
|
|
6
6
|
|
|
7
7
|
--components-dropdown-list-option-action-color: currentColor;
|
|
8
8
|
--components-dropdown-list-option-action-backgroundColor: transparent;
|
|
9
|
-
--components-dropdown-list-option-action-pointerEvents: auto;
|
|
10
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
|
-
--components-emptyState-container-maxWidth: calc(
|
|
2
|
+
--components-emptyState-container-maxWidth: calc(100vi - var(--commons-navSide-width) - 7rem);
|
|
3
3
|
--components-emptyState-container-left: calc(var(--commons-navSide-width) + var(--pr-t-spacings-400));
|
|
4
4
|
--components-emptyState-container-position: static;
|
|
5
5
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
4
|
background-color: var(--components-errorPage-background);
|
|
5
|
-
block-size:
|
|
6
|
-
inline-size:
|
|
5
|
+
block-size: 100vb;
|
|
6
|
+
inline-size: 100vi;
|
|
7
7
|
line-height: 1.2;
|
|
8
8
|
overflow: hidden;
|
|
9
9
|
display: block;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
max-inline-size: 1200px;
|
|
15
15
|
padding-block: 0;
|
|
16
16
|
padding-inline: var(--pr-t-spacings-400);
|
|
17
|
-
inline-size:
|
|
17
|
+
inline-size: 100vi;
|
|
18
18
|
margin-block: 0;
|
|
19
19
|
margin-inline: auto;
|
|
20
20
|
display: flex;
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.errorPage-section-info {
|
|
26
|
-
margin-block-start:
|
|
27
|
-
max-inline-size:
|
|
26
|
+
margin-block-start: 10vb;
|
|
27
|
+
max-inline-size: 90vi;
|
|
28
28
|
inline-size: 450px;
|
|
29
29
|
padding-inline-end: var(--pr-t-spacings-400);
|
|
30
30
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.errorPage-section-image {
|
|
44
|
-
margin-block-start:
|
|
44
|
+
margin-block-start: 10vb;
|
|
45
45
|
inline-size: 50%;
|
|
46
46
|
max-inline-size: 580px;
|
|
47
47
|
min-inline-size: 350px;
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&::before {
|
|
42
|
-
transition-property:
|
|
42
|
+
transition-property: inline-size, block-size, inset-block-end, inset-inline-start;
|
|
43
43
|
inset-block-end: var(--components-fancyBox-offsetBlock);
|
|
44
44
|
inset-inline-start: var(--components-fancyBox-offsetInline);
|
|
45
45
|
background-image: var(--components-fancyBox-background-left);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&::after {
|
|
49
|
-
transition-property:
|
|
49
|
+
transition-property: inline-size, block-size, inset-block-start, inset-inline-end;
|
|
50
50
|
inset-block-start: var(--components-fancyBox-offsetBlock);
|
|
51
51
|
inset-inline-end: var(--components-fancyBox-offsetInline);
|
|
52
52
|
background-image: var(--components-fancyBox-background-right);
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
inset-inline-end: var(--components-fancyBox-offsetInline);
|
|
63
63
|
background-image: var(--components-fancyBox-foreground);
|
|
64
64
|
background-size: contain;
|
|
65
|
-
transition-property:
|
|
65
|
+
transition-property: inline-size, block-size, inset-block-start, inset-inline-end;
|
|
66
66
|
transition-duration: var(--commons-animations-durations-slow);
|
|
67
67
|
pointer-events: none;
|
|
68
68
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--components-field-framed-label-top-offset: var(--pr-t-spacings-100);
|
|
31
31
|
--components-field-framed-textarea-height: 8.5rem;
|
|
32
32
|
--components-field-framed-textarea-min-height: 5.5rem;
|
|
33
|
-
--components-field-framed-textarea-max-height:
|
|
33
|
+
--components-field-framed-textarea-max-height: 80vb;
|
|
34
34
|
--components-field-framed-title-font-size: var(--pr-t-font-heading-3-fontSize);
|
|
35
35
|
--components-field-framed-title-line-height: var(--pr-t-font-heading-3-lineHeight);
|
|
36
36
|
--components-field-framed-suffix-padding-inline-end: var(--pr-t-spacings-600);
|
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
.filterBar-divider.divider {
|
|
25
25
|
@include divider.vertical;
|
|
26
26
|
|
|
27
|
-
margin-inline:
|
|
27
|
+
margin-inline: 0;
|
|
28
|
+
|
|
29
|
+
--components-divider-marginBlock: var(--pr-t-spacings-50);
|
|
28
30
|
|
|
29
31
|
&:last-child {
|
|
30
32
|
display: none;
|
|
@@ -51,6 +53,8 @@
|
|
|
51
53
|
margin-inline-start: auto;
|
|
52
54
|
padding-inline-start: var(--pr-t-spacings-200);
|
|
53
55
|
flex-shrink: 0;
|
|
56
|
+
display: flex;
|
|
57
|
+
gap: var(--pr-t-spacings-100);
|
|
54
58
|
}
|
|
55
59
|
}
|
|
56
60
|
}
|