@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "22.0.0
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"normalize.css": "^8.0.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@lucca-front/icons": "22.0.0
|
|
28
|
-
"@lucca/prisme": "22.0.0
|
|
27
|
+
"@lucca-front/icons": "22.0.0",
|
|
28
|
+
"@lucca/prisme": "22.0.0"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
.filterBar,
|
|
98
98
|
.grid,
|
|
99
99
|
.highlightData,
|
|
100
|
+
.highlightSection,
|
|
100
101
|
.mobileHeader,
|
|
101
102
|
.pageHeader,
|
|
102
103
|
.resourceCard,
|
|
@@ -233,6 +234,7 @@
|
|
|
233
234
|
lu-filter-bar,
|
|
234
235
|
lu-grid,
|
|
235
236
|
lu-highlight-data,
|
|
237
|
+
lu-highlight-section,
|
|
236
238
|
lu-mobile-header,
|
|
237
239
|
lu-page-header,
|
|
238
240
|
lu-resource-card,
|
|
@@ -653,14 +653,6 @@
|
|
|
653
653
|
.pr-u-#{$direction}Reset {
|
|
654
654
|
#{$direction}: 0 !important;
|
|
655
655
|
}
|
|
656
|
-
} @else {
|
|
657
|
-
@each $boxModel in core.$boxModel {
|
|
658
|
-
@if $boxModel != 'border' {
|
|
659
|
-
.pr-u-#{$boxModel}#{transform.capitalize($direction)}0 {
|
|
660
|
-
#{$boxModel}-#{$direction}: 0 !important;
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
656
|
}
|
|
665
657
|
}
|
|
666
658
|
|
|
@@ -841,7 +833,7 @@
|
|
|
841
833
|
} @else {
|
|
842
834
|
@each $boxModel in core.$boxModel {
|
|
843
835
|
@if $boxModel != 'border' {
|
|
844
|
-
.u-#{$boxModel}#{transform.capitalize($direction)}0 {
|
|
836
|
+
.u-#{$boxModel}#{transform.capitalize(transform.camelize($direction))}0 {
|
|
845
837
|
#{$boxModel}-#{$direction}: 0 !important;
|
|
846
838
|
}
|
|
847
839
|
}
|
package/src/commons/vars.scss
CHANGED
|
@@ -109,7 +109,8 @@
|
|
|
109
109
|
|
|
110
110
|
--commons-divider-color: var(--palettes-neutral-200);
|
|
111
111
|
|
|
112
|
-
--commons-container-
|
|
112
|
+
--commons-container-paddingInline: var(--pr-t-spacings-200);
|
|
113
|
+
--commons-container-padding: 0 var(--commons-container-paddingInline);
|
|
113
114
|
--commons-container-maxWidth: 100rem; // 100 + 0 = 100
|
|
114
115
|
|
|
115
116
|
--commons-navSide-width: 0px;
|
|
@@ -131,7 +132,7 @@
|
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
@include media.min('S') {
|
|
134
|
-
--commons-container-
|
|
135
|
+
--commons-container-paddingInline: var(--pr-t-spacings-400);
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
&:has(.navSide) {
|
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
|
+
@use '@lucca-front/scss/src/commons/utils/text';
|
|
5
|
+
|
|
6
|
+
@use '@lucca-front/scss/src/components/avatar/exports' as avatar;
|
|
7
|
+
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
8
|
+
@use '@lucca-front/scss/src/components/title/exports' as title;
|
|
9
|
+
|
|
10
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
11
|
+
@at-root ($atRoot) {
|
|
12
|
+
.approbationInbox-list {
|
|
13
|
+
inline-size: var(--components-approbationInbox-list-inlineSize);
|
|
14
|
+
block-size: calc(100% - var(--pr-t-spacings-300) * 2);
|
|
15
|
+
margin-block: var(--pr-t-spacings-300);
|
|
16
|
+
margin-inline: var(--components-approbationInbox-list-marginInlineStart) var(--components-approbationInbox-list-marginInlineEnd);
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: var(--pr-t-spacings-50);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.approbationInbox-list-formSelectionOptional {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: var(--pr-t-spacings-50);
|
|
27
|
+
min-block-size: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.approbationInbox-list-content {
|
|
31
|
+
background-color: var(--pr-t-elevation-surface-sunken);
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
gap: var(--pr-t-spacings-100);
|
|
35
|
+
padding: var(--pr-t-spacings-100);
|
|
36
|
+
border-radius: var(--pr-t-border-radius-structure);
|
|
37
|
+
overflow: auto;
|
|
38
|
+
flex-grow: 1;
|
|
39
|
+
|
|
40
|
+
&:focus-visible {
|
|
41
|
+
@include a11y.focusVisible;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:empty {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.approbationInbox-list-content-empty {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
margin: auto;
|
|
53
|
+
gap: var(--pr-t-spacings-200);
|
|
54
|
+
padding: var(--pr-t-spacings-200);
|
|
55
|
+
align-items: center;
|
|
56
|
+
text-align: center;
|
|
57
|
+
text-wrap: balance;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.approbationInbox-list-footer {
|
|
61
|
+
background-color: var(--components-approbationInbox-list-footer-backgroundColor);
|
|
62
|
+
border-radius: var(--components-approbationInbox-list-footer-borderRadius);
|
|
63
|
+
padding-block: var(--components-approbationInbox-list-footer-paddingBlock);
|
|
64
|
+
margin-block: var(--components-approbationInbox-list-footer-marginBlock);
|
|
65
|
+
margin-inline: var(--components-approbationInbox-list-footer-marginInline);
|
|
66
|
+
padding-inline: var(--components-approbationInbox-list-footer-paddingInline);
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
gap: var(--pr-t-spacings-100);
|
|
70
|
+
|
|
71
|
+
.button {
|
|
72
|
+
@include button.block;
|
|
73
|
+
|
|
74
|
+
&:last-child {
|
|
75
|
+
@include button.outlined;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.approbationInbox-list-footer-title {
|
|
81
|
+
@include title.h3;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.approbationInbox-list-header {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
gap: var(--pr-t-spacings-100);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.approbationInbox-list-header-title {
|
|
91
|
+
@include title.h3;
|
|
92
|
+
|
|
93
|
+
.numericBadge {
|
|
94
|
+
vertical-align: center;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.approbationInbox-list-header-filterBar {
|
|
99
|
+
margin-block-end: var(--pr-t-spacings-100);
|
|
100
|
+
|
|
101
|
+
&:empty {
|
|
102
|
+
display: none;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.approbationInbox-detail {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
gap: var(--components-approbationInbox-detail-gap);
|
|
110
|
+
flex-grow: 1;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.approbationInbox-detail-container.container {
|
|
114
|
+
display: var(--components-approbationInbox-detail-container-display);
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
gap: var(--pr-t-spacings-50);
|
|
117
|
+
margin-block: var(--pr-t-spacings-300);
|
|
118
|
+
flex-grow: 1;
|
|
119
|
+
|
|
120
|
+
--commons-container-maxWidth: calc(100rem - 22.5rem - var(--pr-t-spacings-400));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.approbationInbox-detail-empty {
|
|
124
|
+
margin: auto;
|
|
125
|
+
inline-size: 9rem;
|
|
126
|
+
aspect-ratio: 1;
|
|
127
|
+
display: var(--components-approbationInbox-detail-empty-display);
|
|
128
|
+
|
|
129
|
+
svg {
|
|
130
|
+
margin: auto;
|
|
131
|
+
inline-size: 100%;
|
|
132
|
+
block-size: 100%;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.approbationInbox-detail-header,
|
|
137
|
+
.approbationInbox-detail-main {
|
|
138
|
+
background-color: var(--pr-t-elevation-surface-raised);
|
|
139
|
+
padding: var(--components-approbationInbox-detail-headerMain-padding);
|
|
140
|
+
margin: var(--components-approbationInbox-detail-headerMain-margin);
|
|
141
|
+
border-radius: var(--pr-t-border-radius-structure);
|
|
142
|
+
|
|
143
|
+
&:empty {
|
|
144
|
+
display: none;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.approbationInbox-detail-main {
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
gap: var(--components-approbationInbox-detail-main-gap);
|
|
152
|
+
flex-grow: 1;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.approbationInbox-detail-header {
|
|
156
|
+
display: flex;
|
|
157
|
+
gap: var(--pr-t-spacings-150);
|
|
158
|
+
min-block-size: var(--components-approbationInbox-detail-header-minBlockSize);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.approbationInbox-detail-header-main-actions {
|
|
162
|
+
display: var(--components-approbationInbox-detail-header-main-actions-display);
|
|
163
|
+
gap: var(--pr-t-spacings-100);
|
|
164
|
+
|
|
165
|
+
.button {
|
|
166
|
+
&:nth-child(2) {
|
|
167
|
+
@include button.outlined;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&:nth-child(3) {
|
|
171
|
+
@include button.ghost;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.approbationInbox-detail-header-main {
|
|
177
|
+
display: flex;
|
|
178
|
+
flex-grow: 1;
|
|
179
|
+
gap: var(--pr-t-spacings-200);
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: space-between;
|
|
182
|
+
flex-wrap: var(--components-approbationInbox-detail-header-main-flexWrap);
|
|
183
|
+
min-inline-size: 0;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.approbationInbox-detail-header-main-infos {
|
|
187
|
+
min-inline-size: 0;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.approbationInbox-detail-header-main-infos-description {
|
|
191
|
+
&:empty {
|
|
192
|
+
display: none;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.approbationInbox-detail-header-main-infos-title {
|
|
197
|
+
@include title.h2;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.approbationInbox-detail-header-main-infos-title-content {
|
|
201
|
+
@include text.ellipsis;
|
|
202
|
+
|
|
203
|
+
display: block;
|
|
204
|
+
|
|
205
|
+
&:focus-visible {
|
|
206
|
+
@include a11y.focusVisible($borderRadius: var(--pr-t-border-radius-small));
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.approbationInbox-detail-header-illustration {
|
|
211
|
+
padding-block: var(--pr-t-spacings-25);
|
|
212
|
+
align-self: start;
|
|
213
|
+
|
|
214
|
+
&:empty {
|
|
215
|
+
display: none;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.avatar {
|
|
219
|
+
@include avatar.L;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.approbationInbox-detail-header-main-delegation {
|
|
224
|
+
margin-block-start: var(--components-approbationInbox-detail-header-main-delegation-marginBlockStart);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.approbationInbox-detail-main-block {
|
|
228
|
+
display: block;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.approbationInbox-detail-main-block-content {
|
|
232
|
+
padding-block-end: var(--components-approbationInbox-detail-header-main-block-content-paddingBlockEnd);
|
|
233
|
+
|
|
234
|
+
&:empty {
|
|
235
|
+
display: none;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.approbationInbox-detail-main-block-title {
|
|
240
|
+
@include title.h3;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.approbationInbox-list-content-items {
|
|
244
|
+
@include reset.list;
|
|
245
|
+
|
|
246
|
+
display: flex;
|
|
247
|
+
flex-direction: column;
|
|
248
|
+
gap: var(--pr-t-spacings-100);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.approbationInbox-list-content-items-item {
|
|
252
|
+
display: flex;
|
|
253
|
+
gap: var(--pr-t-spacings-150);
|
|
254
|
+
align-items: center;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.approbationInbox-list-content-items-item-content {
|
|
258
|
+
flex-grow: 1;
|
|
259
|
+
position: relative;
|
|
260
|
+
padding: var(--pr-t-spacings-100) var(--pr-t-spacings-150);
|
|
261
|
+
|
|
262
|
+
&::before {
|
|
263
|
+
content: '';
|
|
264
|
+
position: absolute;
|
|
265
|
+
inset: 0;
|
|
266
|
+
border-radius: var(--pr-t-border-radius-default);
|
|
267
|
+
background-color: var(--components-approbationInbox-list-content-items-item-content-before-background);
|
|
268
|
+
box-shadow: var(--components-approbationInbox-list-content-items-item-content-before-boxShadow);
|
|
269
|
+
transition-property: inset;
|
|
270
|
+
transition-duration: var(--commons-animations-durations-fast);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&:hover {
|
|
274
|
+
&::before {
|
|
275
|
+
inset: calc(var(--pr-t-spacings-50) * -1);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.approbationInbox-list-content-items-item-content-info {
|
|
281
|
+
position: relative;
|
|
282
|
+
display: flex;
|
|
283
|
+
gap: var(--pr-t-spacings-100);
|
|
284
|
+
align-items: var(--components-approbationInbox-list-content-items-item-content-info-alignItems);
|
|
285
|
+
|
|
286
|
+
[tabindex] {
|
|
287
|
+
position: relative;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.approbationInbox-list-content-items-item-content-info-visual,
|
|
292
|
+
.approbationInbox-list-content-items-item-content-info-rightContent {
|
|
293
|
+
&:empty {
|
|
294
|
+
display: none;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.approbationInbox-list-content-items-item-content-info-rightContent {
|
|
299
|
+
display: flex;
|
|
300
|
+
flex-direction: column;
|
|
301
|
+
align-items: end;
|
|
302
|
+
text-align: end;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.approbationInbox-list-content-items-item-content-info-rightContent-subtle {
|
|
306
|
+
color: var(--pr-t-color-text-subtle);
|
|
307
|
+
font: var(--pr-t-font-body-S);
|
|
308
|
+
line-height: var(--pr-t-font-lineHeight-300);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.approbationInbox-list-content-items-item-content-info-rightContent-icons {
|
|
312
|
+
@include reset.list;
|
|
313
|
+
|
|
314
|
+
display: flex;
|
|
315
|
+
gap: var(--pr-t-spacings-75);
|
|
316
|
+
color: var(--pr-t-color-text-subtle);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.approbationInbox-list-content-items-item-content-info-rightContent-icons-icon {
|
|
320
|
+
border-radius: var(--pr-t-border-radius-small);
|
|
321
|
+
|
|
322
|
+
&:focus-visible {
|
|
323
|
+
@include a11y.focusVisible(1px);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.approbationInbox-list-content-items-item-content-info-visual {
|
|
328
|
+
padding-block: 8px;
|
|
329
|
+
|
|
330
|
+
.avatar {
|
|
331
|
+
@include avatar.S;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.approbationInbox-list-content-items-item-content-info-main {
|
|
336
|
+
flex-grow: 1;
|
|
337
|
+
font: var(--pr-t-font-body-S);
|
|
338
|
+
color: var(--pr-t-color-text-subtle);
|
|
339
|
+
line-height: var(--pr-t-font-lineHeight-300);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.approbationInbox-list-content-items-item-content-info-main-title {
|
|
343
|
+
@include title.component;
|
|
344
|
+
@include title.h4;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.approbationInbox-list-content-items-item-content-action {
|
|
348
|
+
@include reset.button;
|
|
349
|
+
|
|
350
|
+
color: inherit;
|
|
351
|
+
text-decoration: none;
|
|
352
|
+
outline: none;
|
|
353
|
+
inline-size: fit-content;
|
|
354
|
+
display: inline-block;
|
|
355
|
+
|
|
356
|
+
&::after {
|
|
357
|
+
content: '';
|
|
358
|
+
position: absolute;
|
|
359
|
+
inset: calc(var(--pr-t-spacings-150) * -1) calc(var(--pr-t-spacings-200) * -1);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.approbationInbox-list-formSelectionOptional-formfield {
|
|
364
|
+
padding-inline-start: var(--pr-t-spacings-25);
|
|
365
|
+
margin-block-start: var(--pr-t-spacings-50);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.approbationInbox-list-content-groupOptional-header-formfieldOptional {
|
|
369
|
+
padding-inline-start: var(--pr-t-spacings-25);
|
|
370
|
+
margin-block-start: calc(var(--pr-t-spacings-50) * -1);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.approbationInbox-list-content-items-item-formfieldOptional {
|
|
374
|
+
padding-inline-start: var(--pr-t-spacings-25);
|
|
375
|
+
margin-block-start: calc(var(--pr-t-spacings-50) * -1);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.approbationInbox-list-content-groupOptional {
|
|
379
|
+
display: flex;
|
|
380
|
+
flex-direction: column;
|
|
381
|
+
gap: var(--pr-t-spacings-100);
|
|
382
|
+
margin-block-start: var(--components-approbationInbox-list-content-groupOptional-marginBlockStart);
|
|
383
|
+
|
|
384
|
+
&:first-child {
|
|
385
|
+
--components-approbationInbox-list-content-groupOptional-marginBlockStart: 0;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.approbationInbox-list-content-groupOptional-header {
|
|
390
|
+
display: flex;
|
|
391
|
+
gap: var(--pr-t-spacings-150);
|
|
392
|
+
align-items: center;
|
|
393
|
+
|
|
394
|
+
&:has(.approbationInbox-list-content-groupOptional-header-action[aria-expanded='true']) {
|
|
395
|
+
.approbationInbox-list-content-groupOptional-header-action-icon .lucca-icon {
|
|
396
|
+
--components-approbationInbox-list-content-groupOptional-header-action-icon-backgroundColor-transform: rotate(180deg);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
&:has(.approbationInbox-list-content-groupOptional-header-action[aria-expanded='false']) {
|
|
401
|
+
+ .approbationInbox-list-content-groupOptional-content {
|
|
402
|
+
--components-approbationInbox-list-content-groupOptional-content-display: none;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.approbationInbox-list-content-groupOptional-content {
|
|
408
|
+
@include reset.list;
|
|
409
|
+
|
|
410
|
+
display: var(--components-approbationInbox-list-content-groupOptional-content-display);
|
|
411
|
+
flex-direction: column;
|
|
412
|
+
gap: var(--pr-t-spacings-100);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.approbationInbox-list-content-groupOptional-header-action {
|
|
416
|
+
@include reset.button;
|
|
417
|
+
|
|
418
|
+
inline-size: fit-content;
|
|
419
|
+
display: flex;
|
|
420
|
+
gap: var(--pr-t-spacings-100);
|
|
421
|
+
font: var(--pr-t-font-body-M);
|
|
422
|
+
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
423
|
+
color: var(--pr-t-color-text);
|
|
424
|
+
padding-inline-end: var(--pr-t-spacings-75);
|
|
425
|
+
border-radius: var(--pr-t-border-radius-small);
|
|
426
|
+
align-items: center;
|
|
427
|
+
|
|
428
|
+
&:hover {
|
|
429
|
+
.approbationInbox-list-content-groupOptional-header-action-icon {
|
|
430
|
+
--components-approbationInbox-list-content-groupOptional-header-action-icon-backgroundColor: var(--palettes-100, var(--palettes-neutral-100));
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
&:active {
|
|
435
|
+
.approbationInbox-list-content-groupOptional-header-action-icon {
|
|
436
|
+
--components-approbationInbox-list-content-groupOptional-header-action-icon-backgroundColor: var(--palettes-200, var(--palettes-neutral-200));
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.approbationInbox-list-content-groupOptional-header-action-icon {
|
|
442
|
+
border-radius: var(--pr-t-border-radius-small);
|
|
443
|
+
background-color: var(--components-approbationInbox-list-content-groupOptional-header-action-icon-backgroundColor);
|
|
444
|
+
inline-size: var(--pr-t-spacings-300);
|
|
445
|
+
block-size: var(--pr-t-spacings-300);
|
|
446
|
+
display: grid;
|
|
447
|
+
place-items: center;
|
|
448
|
+
flex-shrink: 0;
|
|
449
|
+
|
|
450
|
+
.lucca-icon {
|
|
451
|
+
transition-property: transform;
|
|
452
|
+
transition-duration: var(--commons-animations-durations-fast);
|
|
453
|
+
transform: var(--components-approbationInbox-list-content-groupOptional-header-action-icon-backgroundColor-transform);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
@use 'exports' as *;
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/media';
|
|
3
|
+
|
|
4
|
+
.approbationInbox-detail,
|
|
5
|
+
.approbationInbox-list {
|
|
6
|
+
@layer components {
|
|
7
|
+
@include vars;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.approbationInbox-list {
|
|
12
|
+
@layer components {
|
|
13
|
+
@include component;
|
|
14
|
+
|
|
15
|
+
.mainLayout-sidebar:has(&) {
|
|
16
|
+
@include mainLayoutSidebar;
|
|
17
|
+
|
|
18
|
+
@include media.max('M') {
|
|
19
|
+
@include mainLayoutSidebarMediaMaxM;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.approbationInbox-detail {
|
|
26
|
+
@layer components {
|
|
27
|
+
@include vars;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@layer mods {
|
|
31
|
+
&:has(.approbationInbox-detail-header-main-infos-description:empty),
|
|
32
|
+
&:not(:has(.approbationInbox-detail-header-main-infos-description)) {
|
|
33
|
+
@include noDescription;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.mod-insideDialog {
|
|
37
|
+
@include insideDialog;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:not(.mod-insideDialog) {
|
|
41
|
+
@include media.max('M') {
|
|
42
|
+
@include outsideDialogMediaMaxM;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:not(:has(.approbationInbox-detail-header)) {
|
|
47
|
+
&:has(.approbationInbox-detail-main:empty) {
|
|
48
|
+
@include empty;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@include media.max('L') {
|
|
53
|
+
@include detailMediaMaxL;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.approbationInbox-list-content-items-item {
|
|
59
|
+
@layer mods {
|
|
60
|
+
&:has(.checkboxField-input:checked) {
|
|
61
|
+
@include selected;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.approbationInbox-list-content-items-item {
|
|
67
|
+
@layer mods {
|
|
68
|
+
&:has(.approbationInbox-list-content-items-item-content-action[aria-current='page']),
|
|
69
|
+
&:has(.approbationInbox-list-content-items-item-content-action.is-current) {
|
|
70
|
+
@include current;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.approbationInbox-list-content-items-item-content {
|
|
76
|
+
@layer mods {
|
|
77
|
+
&:has(.approbationInbox-list-content-items-item-content-action:focus-visible) {
|
|
78
|
+
@include focusVisible;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.approbationInbox-detail-main-block:last-child {
|
|
84
|
+
@layer mods {
|
|
85
|
+
@include blockLastChild;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.approbationInbox-list {
|
|
90
|
+
@layer mods {
|
|
91
|
+
@include media.min('S') {
|
|
92
|
+
@include listMediaMinS;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@include media.min('M') {
|
|
96
|
+
@include listMediaMinM;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@include media.min('L') {
|
|
100
|
+
@include listMediaMinL;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@include media.max('M') {
|
|
104
|
+
@include listMediaMaxM;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@include media.max('S') {
|
|
108
|
+
@include listMediaMaxM;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.approbationInbox-list-content-items-item-content-info {
|
|
114
|
+
@layer mods {
|
|
115
|
+
&.mod-center {
|
|
116
|
+
@include center;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|