@lucca-front/scss 18.3.0-rc.1 → 18.3.0-rc.2

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.
Files changed (232) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/utils/container.scss +27 -67
  4. package/src/commons/utils/media.scss +35 -84
  5. package/src/commons/vars.scss +1 -1
  6. package/src/components/_sample/exports.scss +0 -1
  7. package/src/components/_sample/index.scss +1 -38
  8. package/src/components/actionIcon/exports.scss +0 -1
  9. package/src/components/avatar/exports.scss +0 -1
  10. package/src/components/box/exports.scss +0 -1
  11. package/src/components/breadcrumbs/exports.scss +0 -1
  12. package/src/components/button/exports.scss +0 -1
  13. package/src/components/buttonGroup/exports.scss +0 -1
  14. package/src/components/calendar/exports.scss +0 -1
  15. package/src/components/callout/exports.scss +0 -1
  16. package/src/components/calloutAccordion/exports.scss +0 -1
  17. package/src/components/calloutDisclosure/exports.scss +0 -1
  18. package/src/components/calloutFeedbackList/exports.scss +0 -1
  19. package/src/components/calloutPopover/exports.scss +0 -1
  20. package/src/components/card/exports.scss +0 -1
  21. package/src/components/checkbox/exports.scss +0 -1
  22. package/src/components/checkboxField/exports.scss +0 -1
  23. package/src/components/chip/exports.scss +0 -1
  24. package/src/components/clear/exports.scss +0 -1
  25. package/src/components/code/exports.scss +0 -1
  26. package/src/components/collapse/exports.scss +0 -1
  27. package/src/components/comment/component.scss +1 -0
  28. package/src/components/comment/exports.scss +0 -1
  29. package/src/components/comment/index.scss +4 -35
  30. package/src/components/comment/mods.scss +14 -0
  31. package/src/components/container/exports.scss +0 -1
  32. package/src/components/contentSection/exports.scss +0 -1
  33. package/src/components/dialog/component.scss +1 -1
  34. package/src/components/dialog/exports.scss +0 -1
  35. package/src/components/dialog/index.scss +4 -37
  36. package/src/components/divider/exports.scss +0 -1
  37. package/src/components/emptyState/component.scss +2 -0
  38. package/src/components/emptyState/exports.scss +0 -1
  39. package/src/components/emptyState/index.scss +0 -62
  40. package/src/components/emptyState/mods.scss +20 -6
  41. package/src/components/emptyState/vars.scss +9 -6
  42. package/src/components/emptyStateDeprecated/exports.scss +0 -1
  43. package/src/components/errorPage/component.scss +55 -35
  44. package/src/components/errorPage/exports.scss +0 -1
  45. package/src/components/errorPage/index.scss +2 -33
  46. package/src/components/field/exports.scss +0 -1
  47. package/src/components/fieldset/exports.scss +0 -1
  48. package/src/components/file/exports.scss +0 -1
  49. package/src/components/filterBar/component.scss +19 -5
  50. package/src/components/filterBar/exports.scss +0 -1
  51. package/src/components/filterBar/index.scss +0 -61
  52. package/src/components/filterBar/vars.scss +0 -5
  53. package/src/components/filters/exports.scss +0 -1
  54. package/src/components/filters/index.scss +0 -36
  55. package/src/components/filters/mods.scss +7 -0
  56. package/src/components/footer/component.scss +1 -1
  57. package/src/components/footer/exports.scss +0 -1
  58. package/src/components/footer/index.scss +0 -36
  59. package/src/components/footer/mods.scss +6 -0
  60. package/src/components/form/exports.scss +0 -1
  61. package/src/components/formLabel/exports.scss +0 -1
  62. package/src/components/gauge/exports.scss +0 -1
  63. package/src/components/grid/component.scss +5 -2
  64. package/src/components/grid/exports.scss +0 -1
  65. package/src/components/grid/index.scss +1 -1
  66. package/src/components/gridLegacy/exports.scss +0 -1
  67. package/src/components/header/exports.scss +0 -1
  68. package/src/components/header/index.scss +0 -37
  69. package/src/components/header/mods.scss +11 -0
  70. package/src/components/index.scss +93 -129
  71. package/src/components/indexTable/exports.scss +0 -1
  72. package/src/components/indexTable/index.scss +19 -38
  73. package/src/components/indexTable/mods.scss +149 -0
  74. package/src/components/inlineMessage/exports.scss +0 -1
  75. package/src/components/label/exports.scss +0 -1
  76. package/src/components/layout/exports.scss +0 -1
  77. package/src/components/link/exports.scss +0 -1
  78. package/src/components/list/exports.scss +0 -1
  79. package/src/components/loading/exports.scss +0 -1
  80. package/src/components/main/exports.scss +0 -1
  81. package/src/components/main/index.scss +6 -38
  82. package/src/components/main/mods.scss +6 -0
  83. package/src/components/main/states.scss +8 -0
  84. package/src/components/menu/exports.scss +0 -1
  85. package/src/components/mobileHeader/exports.scss +0 -1
  86. package/src/components/mobileNavigation/exports.scss +0 -1
  87. package/src/components/multiSelect/exports.scss +0 -1
  88. package/src/components/navside/component.scss +2 -2
  89. package/src/components/navside/exports.scss +0 -1
  90. package/src/components/navside/index.scss +50 -105
  91. package/src/components/navside/mods.scss +44 -0
  92. package/src/components/navside/states.scss +13 -0
  93. package/src/components/newBadge/exports.scss +0 -1
  94. package/src/components/notchBox/exports.scss +0 -1
  95. package/src/components/numericBadge/exports.scss +0 -1
  96. package/src/components/pageHeader/component.scss +11 -1
  97. package/src/components/pageHeader/exports.scss +0 -1
  98. package/src/components/pageHeader/index.scss +0 -61
  99. package/src/components/pageHeader/mods.scss +7 -0
  100. package/src/components/pagination/exports.scss +0 -1
  101. package/src/components/popover/exports.scss +0 -1
  102. package/src/components/progress/exports.scss +0 -1
  103. package/src/components/radio/exports.scss +0 -1
  104. package/src/components/radioButtons/exports.scss +0 -1
  105. package/src/components/radioField/exports.scss +0 -1
  106. package/src/components/scrollBox/exports.scss +0 -1
  107. package/src/components/section/component.scss +2 -2
  108. package/src/components/section/exports.scss +0 -1
  109. package/src/components/section/index.scss +5 -61
  110. package/src/components/section/mods.scss +11 -1
  111. package/src/components/section/vars.scss +0 -2
  112. package/src/components/segmentedControl/exports.scss +0 -1
  113. package/src/components/segmentedControl/index.scss +5 -36
  114. package/src/components/segmentedControl/mods.scss +5 -0
  115. package/src/components/simpleSelect/exports.scss +0 -1
  116. package/src/components/skeleton/exports.scss +0 -1
  117. package/src/components/sortableList/exports.scss +0 -1
  118. package/src/components/statusBadge/exports.scss +0 -1
  119. package/src/components/switch/exports.scss +0 -1
  120. package/src/components/switchField/exports.scss +0 -1
  121. package/src/components/table/exports.scss +0 -1
  122. package/src/components/tableFixed/exports.scss +0 -1
  123. package/src/components/tableFixedDeprecated/exports.scss +0 -1
  124. package/src/components/tableOfContent/exports.scss +0 -1
  125. package/src/components/tableSortable/exports.scss +0 -1
  126. package/src/components/tableSticked/exports.scss +0 -1
  127. package/src/components/tableStickedDeprecated/exports.scss +0 -1
  128. package/src/components/tag/exports.scss +0 -1
  129. package/src/components/textField/exports.scss +0 -1
  130. package/src/components/textfields/exports.scss +0 -1
  131. package/src/components/timeline/exports.scss +0 -1
  132. package/src/components/timepicker/exports.scss +0 -1
  133. package/src/components/title/exports.scss +0 -1
  134. package/src/components/titleSection/exports.scss +0 -1
  135. package/src/components/toast/exports.scss +0 -1
  136. package/src/components/tooltip/exports.scss +0 -1
  137. package/src/components/userPopover/exports.scss +0 -1
  138. package/src/components/verticalNavigation/exports.scss +0 -1
  139. package/src/components/_sample/responsive.scss +0 -7
  140. package/src/components/actionIcon/responsive.scss +0 -0
  141. package/src/components/avatar/responsive.scss +0 -0
  142. package/src/components/box/responsive.scss +0 -0
  143. package/src/components/breadcrumbs/responsive.scss +0 -0
  144. package/src/components/button/responsive.scss +0 -0
  145. package/src/components/buttonGroup/responsive.scss +0 -0
  146. package/src/components/calendar/responsive.scss +0 -0
  147. package/src/components/callout/responsive.scss +0 -0
  148. package/src/components/calloutAccordion/responsive.scss +0 -0
  149. package/src/components/calloutDisclosure/responsive.scss +0 -0
  150. package/src/components/calloutFeedbackList/responsive.scss +0 -0
  151. package/src/components/calloutPopover/responsive.scss +0 -0
  152. package/src/components/card/responsive.scss +0 -0
  153. package/src/components/checkbox/responsive.scss +0 -0
  154. package/src/components/checkboxField/responsive.scss +0 -0
  155. package/src/components/chip/responsive.scss +0 -0
  156. package/src/components/clear/responsive.scss +0 -0
  157. package/src/components/code/responsive.scss +0 -0
  158. package/src/components/collapse/responsive.scss +0 -0
  159. package/src/components/comment/responsive.scss +0 -5
  160. package/src/components/container/responsive.scss +0 -0
  161. package/src/components/contentSection/responsive.scss +0 -0
  162. package/src/components/dialog/responsive.scss +0 -0
  163. package/src/components/divider/responsive.scss +0 -0
  164. package/src/components/emptyState/responsive.scss +0 -27
  165. package/src/components/emptyStateDeprecated/responsive.scss +0 -0
  166. package/src/components/errorPage/responsive.scss +0 -20
  167. package/src/components/field/responsive.scss +0 -0
  168. package/src/components/fieldset/responsive.scss +0 -0
  169. package/src/components/file/responsive.scss +0 -0
  170. package/src/components/filterBar/responsive.scss +0 -10
  171. package/src/components/filters/responsive.scss +0 -6
  172. package/src/components/footer/responsive.scss +0 -5
  173. package/src/components/form/responsive.scss +0 -0
  174. package/src/components/formField/responsive.scss +0 -0
  175. package/src/components/formFieldset/responsive.scss +0 -0
  176. package/src/components/formLabel/responsive.scss +0 -0
  177. package/src/components/formSection/responsive.scss +0 -0
  178. package/src/components/gauge/responsive.scss +0 -0
  179. package/src/components/grid/responsive.scss +0 -0
  180. package/src/components/gridLegacy/responsive.scss +0 -0
  181. package/src/components/header/responsive.scss +0 -14
  182. package/src/components/indexTable/responsive.scss +0 -175
  183. package/src/components/indexTableSorted/responsive.scss +0 -0
  184. package/src/components/inlineMessage/responsive.scss +0 -0
  185. package/src/components/label/responsive.scss +0 -0
  186. package/src/components/layout/responsive.scss +0 -0
  187. package/src/components/link/responsive.scss +0 -0
  188. package/src/components/list/responsive.scss +0 -0
  189. package/src/components/loading/responsive.scss +0 -0
  190. package/src/components/main/responsive.scss +0 -21
  191. package/src/components/menu/responsive.scss +0 -0
  192. package/src/components/mobileHeader/responsive.scss +0 -0
  193. package/src/components/mobileNavigation/responsive.scss +0 -0
  194. package/src/components/multiSelect/responsive.scss +0 -0
  195. package/src/components/navside/responsive.scss +0 -56
  196. package/src/components/newBadge/responsive.scss +0 -0
  197. package/src/components/notchBox/responsive.scss +0 -0
  198. package/src/components/numericBadge/responsive.scss +0 -0
  199. package/src/components/pageHeader/responsive.scss +0 -17
  200. package/src/components/pagination/responsive.scss +0 -0
  201. package/src/components/popover/responsive.scss +0 -0
  202. package/src/components/progress/responsive.scss +0 -0
  203. package/src/components/radio/responsive.scss +0 -0
  204. package/src/components/radioButtons/responsive.scss +0 -0
  205. package/src/components/radioField/responsive.scss +0 -0
  206. package/src/components/scrollBox/responsive.scss +0 -0
  207. package/src/components/section/responsive.scss +0 -7
  208. package/src/components/segmentedControl/responsive.scss +0 -4
  209. package/src/components/simpleSelect/responsive.scss +0 -0
  210. package/src/components/skeleton/responsive.scss +0 -0
  211. package/src/components/sortableList/responsive.scss +0 -0
  212. package/src/components/statusBadge/responsive.scss +0 -0
  213. package/src/components/switch/responsive.scss +0 -0
  214. package/src/components/switchField/responsive.scss +0 -0
  215. package/src/components/table/responsive.scss +0 -0
  216. package/src/components/tableFixed/responsive.scss +0 -0
  217. package/src/components/tableFixedDeprecated/responsive.scss +0 -0
  218. package/src/components/tableOfContent/responsive.scss +0 -0
  219. package/src/components/tableSortable/responsive.scss +0 -0
  220. package/src/components/tableSticked/responsive.scss +0 -0
  221. package/src/components/tableStickedDeprecated/responsive.scss +0 -0
  222. package/src/components/tag/responsive.scss +0 -0
  223. package/src/components/textField/responsive.scss +0 -0
  224. package/src/components/textfields/responsive.scss +0 -0
  225. package/src/components/timeline/responsive.scss +0 -0
  226. package/src/components/timepicker/responsive.scss +0 -0
  227. package/src/components/title/responsive.scss +0 -0
  228. package/src/components/titleSection/responsive.scss +0 -0
  229. package/src/components/toast/responsive.scss +0 -0
  230. package/src/components/tooltip/responsive.scss +0 -0
  231. package/src/components/userPopover/responsive.scss +0 -0
  232. package/src/components/verticalNavigation/responsive.scss +0 -0
@@ -73,7 +73,7 @@
73
73
  align-self: start;
74
74
  justify-self: end;
75
75
  grid-area: close;
76
- display: var(--components-dialog-insideHeaderButtonDisplay);
76
+ display: var(--components-dialog-headerButtonDisplay);
77
77
  }
78
78
  }
79
79
 
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -1,6 +1,5 @@
1
1
  @use 'exports' as *;
2
2
  @use '@lucca-front/scss/src/commons/utils/media';
3
- @use '@lucca-front/scss/src/commons/utils/container';
4
3
  @use '@lucca-front/scss/src/components/button/exports' as button;
5
4
 
6
5
  .dialog {
@@ -41,45 +40,13 @@
41
40
  &:where(.mod-fromBottom) {
42
41
  @include fromBottom;
43
42
  }
43
+
44
+ @include media.max('XXS') {
45
+ @include fromBottom;
46
+ }
44
47
  }
45
48
 
46
49
  &.mod-fullScreen {
47
50
  @include fullScreen;
48
51
  }
49
52
  }
50
-
51
- @mixin responsive(
52
- $breakpoint: 'XXS',
53
- $breakpoint2: null,
54
- $inverted: true,
55
- $at: 'media',
56
- $containerName: 'dialog',
57
- $responsiveSelector: null,
58
- $axis: 'width',
59
- $selector: '.dialog'
60
- ) {
61
- @if ($at == 'container') {
62
- @include container.auto($containerName);
63
- }
64
-
65
- #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
66
- @include media.query(
67
- $breakpoint: $breakpoint,
68
- $breakpoint2: $breakpoint2,
69
- $inverted: $inverted,
70
- $at: $at,
71
- $containerName: $containerName,
72
- $axis: $axis
73
- ) {
74
- &:where(.mod-drawer) {
75
- @include fromBottom;
76
- }
77
- }
78
- }
79
- }
80
-
81
- $defaultResponsive: true !default;
82
-
83
- @if $defaultResponsive {
84
- @include responsive;
85
- }
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -1,4 +1,5 @@
1
1
  @use '@lucca-front/scss/src/components/title/exports' as title;
2
+ @use '@lucca-front/scss/src/commons/utils/media';
2
3
  @use '@lucca-front/scss/src/commons/utils/namespace';
3
4
 
4
5
  @mixin component($atRoot: namespace.$defaultAtRoot) {
@@ -44,6 +45,7 @@
44
45
  .emptyState-content-heading {
45
46
  @include title.component;
46
47
  @include title.h3;
48
+
47
49
  margin-bottom: 0;
48
50
  }
49
51
 
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -1,6 +1,4 @@
1
1
  @use 'exports' as *;
2
- @use '@lucca-front/scss/src/commons/utils/media';
3
- @use '@lucca-front/scss/src/commons/utils/container';
4
2
 
5
3
  .emptyState {
6
4
  @include vars;
@@ -14,63 +12,3 @@
14
12
  @include center;
15
13
  }
16
14
  }
17
-
18
- @mixin responsive(
19
- $breakpoint: 'XXS',
20
- $breakpoint2: null,
21
- $inverted: true,
22
- $at: 'container',
23
- $containerName: 'emptyState',
24
- $responsiveSelector: null,
25
- $axis: 'width',
26
- $selector: '.emptyState'
27
- ) {
28
- @if ($at == 'container') {
29
- @include container.auto($containerName);
30
- }
31
-
32
- #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
33
- @include media.query(
34
- $breakpoint: $breakpoint,
35
- $breakpoint2: $breakpoint2,
36
- $inverted: $inverted,
37
- $at: $at,
38
- $containerName: $containerName,
39
- $axis: $axis
40
- ) {
41
- @include pageActionsNarrow;
42
- @include pageHeadingNarrow;
43
- }
44
- }
45
- }
46
-
47
- @mixin responsiveBackground(
48
- $breakpoint: 'S',
49
- $breakpoint2: null,
50
- $inverted: true,
51
- $at: 'container',
52
- $containerName: 'emptyState',
53
- $responsiveSelector: null,
54
- $axis: 'width',
55
- $selector: '.emptyState'
56
- ) {
57
- #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
58
- @include media.query(
59
- $breakpoint: $breakpoint,
60
- $breakpoint2: $breakpoint2,
61
- $inverted: $inverted,
62
- $at: $at,
63
- $containerName: $containerName,
64
- $axis: $axis
65
- ) {
66
- @include pageNarrow;
67
- }
68
- }
69
- }
70
-
71
- $defaultResponsive: true !default;
72
-
73
- @if $defaultResponsive {
74
- @include responsive;
75
- @include responsiveBackground;
76
- }
@@ -1,5 +1,5 @@
1
- @use '@lucca-front/scss/src/components/title/exports' as title;
2
1
  @use '@lucca-front/scss/src/commons/utils/media';
2
+ @use '@lucca-front/scss/src/components/title/exports' as title;
3
3
 
4
4
  @mixin page {
5
5
  --components-emptyState-container-maxWidth: var(--commons-container-maxWidth);
@@ -13,24 +13,38 @@
13
13
  bottom left,
14
14
  top left var(--components-emptyState-illustration-top-right-offset-left),
15
15
  top left var(--components-emptyState-illustration-top-right-offset-left);
16
- background-size: var(--components-emptyState-illustration-backgroundSize);
16
+
17
+ @include media.max('S') {
18
+ background-position:
19
+ bottom left,
20
+ bottom left,
21
+ top left var(--components-emptyState-illustration-top-right-offset-left-S),
22
+ top left var(--components-emptyState-illustration-top-right-offset-left-S);
23
+ background-size: auto 10.875rem;
24
+ }
17
25
 
18
26
  .emptyState-content {
19
27
  background-color: var(--components-emptyState-background-color);
20
28
  box-shadow: 0 0 8px 4px var(--components-emptyState-background-color);
21
29
  }
22
30
 
31
+ .emptyState-content-text {
32
+ padding: 0;
33
+ }
34
+
23
35
  .emptyState-content-heading {
24
36
  @include title.h1;
25
- }
26
37
 
27
- .emptyState-content-text {
28
- padding: 0;
38
+ @include media.max('XXS') {
39
+ @include title.h2;
40
+ }
29
41
  }
30
42
 
31
43
  .emptyState-actions {
32
44
  .button {
33
- flex-basis: var(--components-emptyState-actions-width);
45
+ @include media.max('XXS') {
46
+ flex-basis: 100%;
47
+ }
34
48
  }
35
49
  }
36
50
  }
@@ -11,10 +11,13 @@
11
11
  calc(100% + 3.5rem),
12
12
  calc(var(--components-emptyState-container-maxWidth) - 8.5rem)
13
13
  );
14
- --components-emptyState-illustration-background-bottom-left: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg');
15
- --components-emptyState-illustration-foreground-bottom-left: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg');
16
- --components-emptyState-illustration-background-top-right: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg');
17
- --components-emptyState-illustration-foreground-top-right: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg');
18
- --components-emptyState-illustration-size: auto;
19
- --components-emptyState-actions-width: auto;
14
+ --background-left-01: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg');
15
+ --foreground-left-01: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg');
16
+ --background-right-01: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg');
17
+ --foreground-right-01: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg');
18
+
19
+ --components-emptyState-illustration-background-bottom-left: var(--background-left-01);
20
+ --components-emptyState-illustration-foreground-bottom-left: var(--foreground-left-01);
21
+ --components-emptyState-illustration-background-top-right: var(--background-right-01);
22
+ --components-emptyState-illustration-foreground-top-right: var(--foreground-right-01);
20
23
  }
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -1,44 +1,64 @@
1
1
  @use '@lucca-front/scss/src/components/title/exports' as title;
2
2
 
3
- @mixin component($atRoot: 'without: rule') {
3
+ @mixin component {
4
4
  background-color: var(--components-errorPage-background);
5
5
  height: 100vh;
6
+ width: 100vw;
6
7
  line-height: 1.2;
7
8
  overflow: hidden;
8
9
 
9
- @at-root ($atRoot) {
10
- .errorPage-section {
11
- height: 100%;
12
- max-width: 1200px;
13
- padding: 0 var(--pr-t-spacings-400);
14
- margin: 0 auto;
15
- display: flex;
16
- justify-content: space-between;
17
- align-items: center;
18
- }
19
-
20
- .errorPage-section-info {
21
- margin-top: 10vh;
22
- max-width: 90vw;
23
- width: 450px;
24
- padding-right: var(--pr-t-spacings-400);
25
- }
26
-
27
- .errorPage-section-info-title {
28
- @include title.component;
29
- @include title.XXXL;
30
- }
31
-
32
- .errorPage-section-info-text {
33
- font-size: var(--sizes-L-fontSize);
34
- line-height: var(--sizes-L-lineHeight);
35
- }
36
-
37
- .errorPage-section-image {
38
- margin-top: 10vh;
39
- width: 50%;
40
- max-width: 580px;
41
- min-width: 350px;
42
- }
10
+ .errorPage-section {
11
+ height: 100%;
12
+ max-width: 1200px;
13
+ padding: 0 var(--pr-t-spacings-400);
14
+ width: 100vw;
15
+ margin: 0 auto;
16
+ display: flex;
17
+ justify-content: space-between;
18
+ align-items: center;
19
+ }
20
+
21
+ .errorPage-section-info {
22
+ margin-top: 10vh;
23
+ max-width: 90vw;
24
+ width: 450px;
25
+ padding-right: var(--pr-t-spacings-400);
26
+ }
27
+
28
+ .errorPage-section-info-title {
29
+ @include title.component;
30
+ @include title.XXXL;
31
+ }
32
+
33
+ .errorPage-section-info-text {
34
+ font-size: var(--sizes-L-fontSize);
35
+ line-height: var(--sizes-L-lineHeight);
36
+ }
37
+
38
+ .errorPage-section-image {
39
+ margin-top: 10vh;
40
+ width: 50%;
41
+ max-width: 580px;
42
+ min-width: 350px;
43
+ }
44
+ }
45
+
46
+ @mixin compact {
47
+ overflow-y: auto;
48
+
49
+ .errorPage-section {
50
+ flex-direction: column;
51
+ justify-content: center;
52
+ }
53
+
54
+ .errorPage-section-info {
55
+ margin-top: var(--pr-t-spacings-400);
56
+ margin-bottom: var(--pr-t-spacings-400);
57
+ order: 1;
58
+ padding: 0;
59
+ }
60
+ .errorPage-section-image {
61
+ margin-top: var(--pr-t-spacings-400);
62
+ order: 0;
43
63
  }
44
64
  }
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -1,42 +1,11 @@
1
1
  @use 'exports' as *;
2
2
  @use '@lucca-front/scss/src/commons/utils/media';
3
- @use '@lucca-front/scss/src/commons/utils/container';
4
3
 
5
4
  .errorPage {
6
5
  @include vars;
7
6
  @include component;
8
- }
9
-
10
- @mixin responsive(
11
- $breakpoint: 'S',
12
- $breakpoint2: null,
13
- $inverted: true,
14
- $at: 'media',
15
- $containerName: 'errorPage',
16
- $responsiveSelector: null,
17
- $axis: 'width',
18
- $selector: '.errorPage'
19
- ) {
20
- @if ($at == 'container') {
21
- @include container.auto($containerName);
22
- }
23
7
 
24
- #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
25
- @include media.query(
26
- $breakpoint: $breakpoint,
27
- $breakpoint2: $breakpoint2,
28
- $inverted: $inverted,
29
- $at: $at,
30
- $containerName: $containerName,
31
- $axis: $axis
32
- ) {
33
- @include compact;
34
- }
8
+ @include media.max('S') {
9
+ @include compact;
35
10
  }
36
11
  }
37
-
38
- $defaultResponsive: true !default;
39
-
40
- @if $defaultResponsive {
41
- @include responsive;
42
- }
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -6,6 +6,8 @@
6
6
  background-color: var(--components-filterBar-backgroundColor);
7
7
  border-radius: var(--commons-borderRadius-L);
8
8
  border: var(--commons-divider-width) solid var(--commons-border-200);
9
+ container-name: filterBar;
10
+ container-type: inline-size;
9
11
  padding: var(--pr-t-spacings-200);
10
12
 
11
13
  &:has(.filterBar-footer-toggleButton[aria-expanded='false']) {
@@ -22,10 +24,10 @@
22
24
  .filterBar-footer {
23
25
  border-block-start: var(--commons-divider-width) solid var(--commons-border-200);
24
26
  display: flex;
25
- flex-direction: var(--components-filterBar-footer-direction);
27
+ flex-direction: column;
26
28
  flex-wrap: wrap;
27
29
  gap: var(--pr-t-spacings-100);
28
- justify-content: var(--components-filterBar-footer-justify);
30
+ justify-content: center;
29
31
  margin-block-start: var(--pr-t-spacings-200);
30
32
  padding-block-start: var(--pr-t-spacings-200);
31
33
 
@@ -36,6 +38,11 @@
36
38
  &:has(.filterBar-footer-actions:only-child:empty) {
37
39
  display: none;
38
40
  }
41
+
42
+ @include container.min('S', $name: 'filterBar') {
43
+ flex-direction: row;
44
+ justify-content: space-between;
45
+ }
39
46
  }
40
47
 
41
48
  .filterBar-footer-toggleButton {
@@ -59,13 +66,20 @@
59
66
 
60
67
  .filterBar-footer-actions {
61
68
  display: flex;
62
- flex-direction: var(--components-filterBar-footer-actions-direction);
69
+ flex-direction: column;
63
70
  flex-wrap: wrap;
64
71
  gap: var(--pr-t-spacings-200);
65
72
  justify-content: center;
66
73
  text-align: center;
67
- align-items: var(--components-filterBar-footer-actions-align);
68
- margin-inline-start: var(--components-filterBar-footer-actions-marginInlineStart);
74
+
75
+ @include container.min('XS', $name: 'filterBar') {
76
+ align-items: center;
77
+ flex-direction: row;
78
+ }
79
+
80
+ @include container.min('S', $name: 'filterBar') {
81
+ margin-inline-start: auto;
82
+ }
69
83
  }
70
84
  }
71
85
  }
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -1,6 +1,4 @@
1
1
  @use 'exports' as *;
2
- @use '@lucca-front/scss/src/commons/utils/media';
3
- @use '@lucca-front/scss/src/commons/utils/container';
4
2
 
5
3
  .filterBar {
6
4
  @include vars;
@@ -10,62 +8,3 @@
10
8
  @include neutral;
11
9
  }
12
10
  }
13
-
14
- @mixin responsive(
15
- $breakpoint: 'S',
16
- $breakpoint2: null,
17
- $inverted: false,
18
- $at: 'container',
19
- $containerName: 'filterBar',
20
- $responsiveSelector: null,
21
- $axis: 'width',
22
- $selector: '.filterBar'
23
- ) {
24
- @if ($at == 'container') {
25
- @include container.auto($containerName);
26
- }
27
-
28
- #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
29
- @include media.query(
30
- $breakpoint: $breakpoint,
31
- $breakpoint2: $breakpoint2,
32
- $inverted: $inverted,
33
- $at: $at,
34
- $containerName: $containerName,
35
- $axis: $axis
36
- ) {
37
- @include narrow;
38
- }
39
- }
40
- }
41
-
42
- @mixin responsiveActions(
43
- $breakpoint: 'XS',
44
- $breakpoint2: null,
45
- $inverted: false,
46
- $at: 'container',
47
- $containerName: 'filterBar',
48
- $responsiveSelector: null,
49
- $axis: 'width',
50
- $selector: '.filterBar'
51
- ) {
52
- #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
53
- @include media.query(
54
- $breakpoint: $breakpoint,
55
- $breakpoint2: $breakpoint2,
56
- $inverted: $inverted,
57
- $at: $at,
58
- $containerName: $containerName,
59
- $axis: $axis
60
- ) {
61
- @include actionsNarrow;
62
- }
63
- }
64
- }
65
-
66
- $defaultResponsive: true !default;
67
-
68
- @if $defaultResponsive {
69
- @include responsive;
70
- @include responsiveActions;
71
- }
@@ -1,8 +1,3 @@
1
1
  @mixin vars {
2
2
  --components-filterBar-backgroundColor: var(--pr-t-elevation-surface-raised);
3
- --components-filterBar-footer-direction: column;
4
- --components-filterBar-footer-actions-direction: column;
5
- --components-filterBar-footer-justify: center;
6
- --components-filterBar-footer-actions-align: stretch;
7
- --components-filterBar-footer-actions-marginInlineStart: 0;
8
3
  }
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';
@@ -1,6 +1,4 @@
1
1
  @use 'exports' as *;
2
- @use '@lucca-front/scss/src/commons/utils/media';
3
- @use '@lucca-front/scss/src/commons/utils/container';
4
2
 
5
3
  .filters {
6
4
  @include vars;
@@ -17,37 +15,3 @@
17
15
  @include stickyNavSide;
18
16
  }
19
17
  }
20
-
21
- @mixin responsive(
22
- $breakpoint: 'S',
23
- $breakpoint2: null,
24
- $inverted: true,
25
- $at: 'media',
26
- $containerName: 'filters',
27
- $responsiveSelector: null,
28
- $axis: 'width',
29
- $selector: '.filters'
30
- ) {
31
- @if ($at == 'container') {
32
- @include container.auto($containerName);
33
- }
34
-
35
- #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
36
- @include media.query(
37
- $breakpoint: $breakpoint,
38
- $breakpoint2: $breakpoint2,
39
- $inverted: $inverted,
40
- $at: $at,
41
- $containerName: $containerName,
42
- $axis: $axis
43
- ) {
44
- @include stickyNarrow;
45
- }
46
- }
47
- }
48
-
49
- $defaultResponsive: true !default;
50
-
51
- @if $defaultResponsive {
52
- @include responsive;
53
- }
@@ -1,8 +1,15 @@
1
+ @use '@lucca-front/scss/src/commons/utils/media';
2
+
1
3
  @mixin sticky {
2
4
  top: var(--commons-banner-height);
3
5
  position: fixed;
4
6
  left: 0;
5
7
  right: 0;
8
+
9
+ @include media.max('S') {
10
+ left: 0 !important;
11
+ top: calc(var(--commons-banner-height) + var(--commons-navSide-mobile-toggle-height));
12
+ }
6
13
  }
7
14
 
8
15
  @mixin stickyNavSide {
@@ -8,9 +8,9 @@
8
8
  gap: var(--pr-t-spacings-200);
9
9
  align-items: var(--components-footer-alignItems);
10
10
  box-shadow: var(--pr-t-elevation-shadow-overflow);
11
- flex-direction: var(--components-footer-direction);
12
11
  bottom: 0;
13
12
  position: var(--components-footer-position);
13
+ flex-direction: var(--components-footer-direction);
14
14
 
15
15
  @at-root ($atRoot) {
16
16
  .footer-content {
@@ -1,5 +1,4 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
- @forward 'responsive';
5
4
  @forward 'component';