@lucca-front/scss 20.3.0-rc.3 → 20.3.0-rc.4

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 (128) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/config.scss +0 -5
  4. package/src/commons/core.scss +3 -3
  5. package/src/commons/exports.scss +1 -0
  6. package/src/commons/index.scss +2 -9
  7. package/src/commons/utils/index.scss +478 -480
  8. package/src/commons/utils/reset.scss +1 -1
  9. package/src/components/_sample/index.scss +6 -14
  10. package/src/components/appLayout/index.scss +7 -11
  11. package/src/components/avatar/index.scss +35 -43
  12. package/src/components/box/index.scss +14 -20
  13. package/src/components/breadcrumbs/index.scss +10 -16
  14. package/src/components/button/index.scss +134 -140
  15. package/src/components/button/mods.scss +0 -17
  16. package/src/components/buttonGroup/index.scss +8 -20
  17. package/src/components/calendar/index.scss +44 -56
  18. package/src/components/callout/index.scss +4 -8
  19. package/src/components/calloutDisclosure/index.scss +9 -15
  20. package/src/components/calloutFeedbackList/index.scss +4 -8
  21. package/src/components/calloutPopover/index.scss +12 -18
  22. package/src/components/card/index.scss +24 -28
  23. package/src/components/checkbox/index.scss +30 -36
  24. package/src/components/checkboxField/index.scss +80 -90
  25. package/src/components/chip/index.scss +17 -23
  26. package/src/components/clear/index.scss +17 -23
  27. package/src/components/code/index.scss +4 -8
  28. package/src/components/collapse/index.scss +7 -11
  29. package/src/components/comment/index.scss +20 -30
  30. package/src/components/container/index.scss +25 -29
  31. package/src/components/contentSection/index.scss +2 -4
  32. package/src/components/dataTable/index.scss +52 -68
  33. package/src/components/dataTableSticked/index.scss +24 -32
  34. package/src/components/dateField/index.scss +20 -24
  35. package/src/components/dateRangeField/index.scss +25 -29
  36. package/src/components/dialog/index.scss +36 -40
  37. package/src/components/divider/index.scss +7 -11
  38. package/src/components/dropdown/index.scss +9 -13
  39. package/src/components/emptyState/index.scss +7 -11
  40. package/src/components/errorPage/index.scss +4 -8
  41. package/src/components/fancyBox/index.scss +4 -8
  42. package/src/components/field/index.scss +76 -96
  43. package/src/components/fieldset/index.scss +12 -18
  44. package/src/components/file/index.scss +30 -38
  45. package/src/components/fileEntry/index.scss +18 -24
  46. package/src/components/fileToolbar/index.scss +6 -10
  47. package/src/components/fileUpload/index.scss +31 -37
  48. package/src/components/filterBar/index.scss +13 -17
  49. package/src/components/filterBarDeprecated/index.scss +4 -8
  50. package/src/components/filterPill/index.scss +48 -56
  51. package/src/components/filters/index.scss +8 -14
  52. package/src/components/footer/index.scss +34 -38
  53. package/src/components/form/index.scss +84 -114
  54. package/src/components/form/mods.scss +5 -7
  55. package/src/components/formLabel/index.scss +13 -19
  56. package/src/components/gauge/index.scss +20 -26
  57. package/src/components/grid/index.scss +21 -25
  58. package/src/components/header/index.scss +12 -18
  59. package/src/components/highlightData/index.scss +24 -28
  60. package/src/components/horizontalNavigation/index.scss +36 -42
  61. package/src/components/index.scss +55 -57
  62. package/src/components/indexTable/index.scss +56 -54
  63. package/src/components/inlineMessage/index.scss +12 -18
  64. package/src/components/inputFramed/index.scss +24 -30
  65. package/src/components/label/index.scss +9 -13
  66. package/src/components/layout/index.scss +45 -51
  67. package/src/components/link/index.scss +8 -14
  68. package/src/components/link/mods.scss +1 -1
  69. package/src/components/list/index.scss +11 -15
  70. package/src/components/listboxOption/index.scss +115 -131
  71. package/src/components/listing/index.scss +18 -22
  72. package/src/components/loading/index.scss +23 -27
  73. package/src/components/main/index.scss +15 -21
  74. package/src/components/mainLayout/index.scss +20 -26
  75. package/src/components/mobileHeader/index.scss +4 -8
  76. package/src/components/mobileNavigation/index.scss +2 -4
  77. package/src/components/mobilePush/index.scss +4 -8
  78. package/src/components/multiSelect/index.scss +34 -58
  79. package/src/components/multiSelect/mods.scss +8 -0
  80. package/src/components/multiSelect/states.scss +0 -8
  81. package/src/components/navside/index.scss +56 -78
  82. package/src/components/newBadge/index.scss +4 -8
  83. package/src/components/notchBox/index.scss +13 -17
  84. package/src/components/notchBox/mods.scss +125 -137
  85. package/src/components/numericBadge/index.scss +16 -22
  86. package/src/components/pageHeader/index.scss +22 -26
  87. package/src/components/pagination/index.scss +6 -12
  88. package/src/components/plgPush/index.scss +2 -4
  89. package/src/components/popover/index.scss +2 -4
  90. package/src/components/progress/index.scss +9 -15
  91. package/src/components/radio/index.scss +12 -18
  92. package/src/components/radioButtons/index.scss +9 -15
  93. package/src/components/radioField/index.scss +40 -46
  94. package/src/components/readMore/index.scss +15 -21
  95. package/src/components/richText/index.scss +14 -20
  96. package/src/components/scrollBox/index.scss +10 -14
  97. package/src/components/section/index.scss +12 -16
  98. package/src/components/segmentedControl/index.scss +15 -25
  99. package/src/components/simpleSelect/index.scss +33 -41
  100. package/src/components/skeleton/index.scss +37 -43
  101. package/src/components/skipLinks/index.scss +2 -4
  102. package/src/components/sortableList/index.scss +6 -12
  103. package/src/components/statusBadge/index.scss +4 -8
  104. package/src/components/switch/index.scss +29 -35
  105. package/src/components/switchField/index.scss +16 -22
  106. package/src/components/table/index.scss +64 -78
  107. package/src/components/tableFixed/index.scss +11 -13
  108. package/src/components/tableFixedDeprecated/index.scss +10 -14
  109. package/src/components/tableOfContent/index.scss +24 -28
  110. package/src/components/tableSortable/index.scss +16 -22
  111. package/src/components/tableSticked/index.scss +24 -28
  112. package/src/components/tableSticked/mods.scss +6 -6
  113. package/src/components/tableStickedDeprecated/index.scss +40 -46
  114. package/src/components/tag/index.scss +23 -29
  115. package/src/components/textField/index.scss +22 -30
  116. package/src/components/textField/mods.scss +1 -1
  117. package/src/components/textFlow/index.scss +2 -4
  118. package/src/components/textfields/index.scss +258 -279
  119. package/src/components/timeline/index.scss +66 -72
  120. package/src/components/timepicker/index.scss +15 -21
  121. package/src/components/title/index.scss +30 -43
  122. package/src/components/title/mods.scss +1 -1
  123. package/src/components/titleSection/index.scss +23 -31
  124. package/src/components/toast/index.scss +4 -8
  125. package/src/components/tooltip/index.scss +21 -25
  126. package/src/components/userPopover/index.scss +2 -4
  127. package/src/components/userTile/index.scss +22 -26
  128. package/src/components/verticalNavigation/index.scss +16 -26
@@ -281,7 +281,7 @@
281
281
 
282
282
  &::before,
283
283
  &::after {
284
- // stylelint-disable-next-line no-irregular-whitespace
284
+ /* stylelint-disable-next-line no-irregular-whitespace */
285
285
  content: ' ' / '';
286
286
  display: table;
287
287
  }
@@ -362,10 +362,8 @@
362
362
  }
363
363
 
364
364
  %isRequired {
365
- @layer mods {
366
- color: var(--palettes-error-700);
367
- display: inline-block;
368
- margin-inline-start: 0.2em;
369
- content: '*' / '';
370
- }
365
+ color: var(--palettes-error-700);
366
+ display: inline-block;
367
+ margin-inline-start: 0.2em;
368
+ content: '*' / '';
371
369
  }
@@ -1,29 +1,23 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .formLabel {
4
- @layer components {
5
- @include vars;
6
- @include component;
7
- }
4
+ @include vars;
5
+ @include component;
8
6
 
9
- @layer mods {
10
- &.mod-S {
11
- @include S;
12
- }
7
+ &.mod-S {
8
+ @include S;
9
+ }
13
10
 
14
- &.mod-XS {
15
- @include XS;
16
- }
11
+ &.mod-XS {
12
+ @include XS;
13
+ }
17
14
 
18
- &.mod-counter {
19
- @include counter;
20
- }
15
+ &.mod-counter {
16
+ @include counter;
21
17
  }
22
18
 
23
- @layer mods {
24
- &.is-error {
25
- // To replace by :has as soon as it is implemented in Firefox to cover usage as legend for checkboxes and radio states.
26
- @include error;
27
- }
19
+ &.is-error {
20
+ // To replace by :has as soon as it is implemented in Firefox to cover usage as legend for checkboxes and radio states.
21
+ @include error;
28
22
  }
29
23
  }
@@ -1,39 +1,33 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .gauge {
4
- @layer components {
5
- @include vars;
6
- @include component;
7
- }
4
+ @include vars;
5
+ @include component;
8
6
 
9
- @layer mods {
10
- &.mod-thin {
11
- @include thin;
12
- }
7
+ &.mod-thin {
8
+ @include thin;
9
+ }
13
10
 
14
- &:has(.gauge-circleBackground) {
15
- @include circular;
16
- }
11
+ &:has(.gauge-circleBackground) {
12
+ @include circular;
13
+ }
17
14
 
18
- // .mod-vertical is deprecated
19
- &.mod-vertical {
20
- @include vertical;
15
+ // .mod-vertical is deprecated
16
+ &.mod-vertical {
17
+ @include vertical;
21
18
 
22
- &.mod-thin {
23
- @include verticalThin;
24
- }
19
+ &.mod-thin {
20
+ @include verticalThin;
25
21
  }
26
22
  }
27
23
 
28
- @layer mods {
29
- &.is-zero,
30
- &:not([style]),
31
- &[style*='--components-gauge-value: 0%'] {
32
- @include zero;
33
- }
24
+ &.is-zero,
25
+ &:not([style]),
26
+ &[style*='--components-gauge-value: 0%'] {
27
+ @include zero;
28
+ }
34
29
 
35
- &.is-animated {
36
- @include animated;
37
- }
30
+ &.is-animated {
31
+ @include animated;
38
32
  }
39
33
  }
@@ -4,40 +4,36 @@
4
4
  @use 'exports' as *;
5
5
 
6
6
  .grid {
7
- @layer components {
8
- @include vars;
9
- @include component;
10
- }
7
+ @include vars;
8
+ @include component;
11
9
 
12
- @layer mods {
13
- &.mod-auto {
14
- @include auto;
15
- }
10
+ &.mod-auto {
11
+ @include auto;
12
+ }
16
13
 
17
- @each $breakpoint, $value in config.$breakpoints {
18
- &.mod-autoAtMediaMin#{$breakpoint} {
19
- @include autoAt;
14
+ @each $breakpoint, $value in config.$breakpoints {
15
+ &.mod-autoAtMediaMin#{$breakpoint} {
16
+ @include autoAt;
20
17
 
21
- @include media.min($breakpoint) {
22
- @include auto;
23
- }
18
+ @include media.min($breakpoint) {
19
+ @include auto;
24
20
  }
21
+ }
25
22
 
26
- &.mod-autoAtContainerMin#{$breakpoint} {
27
- @include autoAt;
23
+ &.mod-autoAtContainerMin#{$breakpoint} {
24
+ @include autoAt;
28
25
 
29
- @include container.min($breakpoint, $name: grid) {
30
- @include auto;
31
- }
26
+ @include container.min($breakpoint, $name: grid) {
27
+ @include auto;
32
28
  }
33
29
  }
30
+ }
34
31
 
35
- &.mod-form {
36
- @include form;
37
- }
32
+ &.mod-form {
33
+ @include form;
34
+ }
38
35
 
39
- &.mod-dense {
40
- @include dense;
41
- }
36
+ &.mod-dense {
37
+ @include dense;
42
38
  }
43
39
  }
@@ -1,29 +1,23 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .header {
4
- @layer components {
5
- @include vars;
6
- @include component;
7
- }
4
+ @include vars;
5
+ @include component;
8
6
 
9
- @layer mods {
10
- &.mod-sticky {
11
- @include sticky;
7
+ &.mod-sticky {
8
+ @include sticky;
12
9
 
13
- .navSide ~ .main-content &,
14
- .mod-withMenu .main-content & {
15
- @include left;
16
- }
10
+ .navSide ~ .main-content &,
11
+ .mod-withMenu .main-content & {
12
+ @include left;
17
13
  }
14
+ }
18
15
 
19
- &.mod-nav {
20
- @include nav;
21
- }
16
+ &.mod-nav {
17
+ @include nav;
22
18
  }
23
19
 
24
- @layer mods {
25
- &:is(.is-loading, .loading) {
26
- @include loading;
27
- }
20
+ &:is(.is-loading, .loading) {
21
+ @include loading;
28
22
  }
29
23
  }
@@ -1,42 +1,38 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .highlightData {
4
- @layer components {
5
- @include vars;
6
- @include component;
7
- }
4
+ @include vars;
5
+ @include component;
8
6
 
9
- @layer mods {
10
- &.mod-light {
11
- @include light;
12
- }
7
+ &.mod-light {
8
+ @include light;
9
+ }
13
10
 
14
- &.mod-dark {
15
- @include dark;
16
- }
11
+ &.mod-dark {
12
+ @include dark;
13
+ }
17
14
 
18
- &.mod-valueFirst {
19
- @include valueFirst;
20
- }
15
+ &.mod-valueFirst {
16
+ @include valueFirst;
17
+ }
21
18
 
22
- &.mod-S {
23
- @include S;
24
- }
19
+ &.mod-S {
20
+ @include S;
21
+ }
25
22
 
26
- &.mod-XS {
27
- @include XS;
28
- }
23
+ &.mod-XS {
24
+ @include XS;
25
+ }
29
26
 
30
- &.mod-nested {
31
- @include nested;
32
- }
27
+ &.mod-nested {
28
+ @include nested;
29
+ }
33
30
 
34
- &:has(.highlightData-illustrations) {
35
- @include illustrations;
31
+ &:has(.highlightData-illustrations) {
32
+ @include illustrations;
36
33
 
37
- &.mod-valueFirst {
38
- @include valueFirstIllustrations;
39
- }
34
+ &.mod-valueFirst {
35
+ @include valueFirstIllustrations;
40
36
  }
41
37
  }
42
38
  }
@@ -3,39 +3,35 @@
3
3
  // .menu is deprecated
4
4
  .horizontalNavigation,
5
5
  .menu {
6
- @layer components {
7
- @include vars;
8
- @include component;
9
- }
6
+ @include vars;
7
+ @include component;
10
8
 
11
- @layer mods {
12
- &.mod-header {
13
- @include header;
14
- }
9
+ &.mod-header {
10
+ @include header;
11
+ }
15
12
 
16
- &.mod-S {
17
- @include S;
18
- }
13
+ &.mod-S {
14
+ @include S;
15
+ }
19
16
 
20
- &.mod-noBorder {
21
- @include noBorder;
22
- }
17
+ &.mod-noBorder {
18
+ @include noBorder;
19
+ }
23
20
 
24
- &.mod-vertical {
25
- @include vertical;
21
+ &.mod-vertical {
22
+ @include vertical;
26
23
 
27
- // .menu-list-item-action is deprecated
28
- .horizontalNavigation-list-item-action,
29
- .menu-list-item-action {
30
- &[aria-current='page'],
31
- &.is-active {
32
- @include activeVertical;
33
- }
24
+ // .menu-list-item-action is deprecated
25
+ .horizontalNavigation-list-item-action,
26
+ .menu-list-item-action {
27
+ &[aria-current='page'],
28
+ &.is-active {
29
+ @include activeVertical;
34
30
  }
31
+ }
35
32
 
36
- &.mod-S {
37
- @include verticalS;
38
- }
33
+ &.mod-S {
34
+ @include verticalS;
39
35
  }
40
36
  }
41
37
  }
@@ -43,22 +39,20 @@
43
39
  // .menu-link is deprecated
44
40
  // .menu-list-item-action is deprecated
45
41
  .horizontalNavigation-list-item-action,
46
- .menu-link,
47
- .menu-list-item-action {
48
- @layer mods {
49
- // .active is deprecated
50
- &[aria-current='page'],
51
- &.is-active,
52
- &.active {
53
- @include active;
54
- }
42
+ .menu-list-item-action,
43
+ .menu-link {
44
+ // .active is deprecated
45
+ &[aria-current='page'],
46
+ &.is-active,
47
+ &.active {
48
+ @include active;
49
+ }
55
50
 
56
- // .disabled is deprecated
57
- // [disabled] is deprecated
58
- &.is-disabled,
59
- &.disabled,
60
- &[disabled] {
61
- @include disabled;
62
- }
51
+ // .disabled is deprecated
52
+ // [disabled] is deprecated
53
+ &.is-disabled,
54
+ &.disabled,
55
+ &[disabled] {
56
+ @include disabled;
63
57
  }
64
58
  }
@@ -1,62 +1,61 @@
1
- @forward 'field';
2
-
3
- @forward 'box';
4
- @forward 'tag';
5
- @forward 'main';
6
- @forward 'code';
7
- @forward 'link';
8
- @forward 'chip';
9
- @forward 'title';
10
- @forward 'label';
11
- @forward 'filters';
12
- @forward 'divider';
13
- @forward 'section';
14
- @forward 'collapse';
15
- @forward 'container';
16
- @forward 'errorPage';
17
- @forward 'pageHeader';
18
- @forward 'pagination';
19
- @forward 'titleSection';
20
- @forward 'contentSection';
21
- @forward 'tableOfContent';
22
- @forward 'list';
23
- @forward 'card';
24
- @forward 'gauge';
25
- @forward 'callout';
26
- @forward 'loading';
27
- @forward 'progress';
28
- @forward 'breadcrumbs';
29
- @forward 'buttonGroup';
30
- @forward 'header';
31
- @forward 'horizontalNavigation';
32
-
33
- @forward 'textfields';
34
- @forward 'checkbox';
35
- @forward 'switch';
36
- @forward 'radio';
37
-
38
- @forward 'textField'; // new component for checkbox
39
- @forward 'checkboxField'; // new component for checkbox
40
- @forward 'switchField'; // new component for switch
1
+ @forward 'field'; //
2
+ @forward 'box'; // 1 Ko
3
+ @forward 'tag'; // 1 Ko
4
+ @forward 'main'; // 1 Ko
5
+ @forward 'code'; // 1 Ko
6
+ @forward 'link'; // 1 Ko
7
+ @forward 'chip'; // 1 Ko
8
+ @forward 'title'; // 1 Ko
9
+ @forward 'label'; // 1 Ko
10
+ @forward 'filterBarDeprecated'; // 1 Ko
11
+ @forward 'filters'; // 1 Ko
12
+ @forward 'divider'; // 1 Ko
13
+ @forward 'section'; // 1 Ko
14
+ @forward 'collapse'; // 1 Ko
15
+ @forward 'container'; // 1 Ko
16
+ @forward 'errorPage'; // 1 Ko
17
+ @forward 'pageHeader'; // 1 Ko
18
+ @forward 'pagination'; // 1 Ko
19
+ @forward 'titleSection'; // 1 Ko
20
+ @forward 'contentSection'; // 1 Ko
21
+ @forward 'tableOfContent'; // 1 Ko
22
+ @forward 'list'; // 2 Ko
23
+ @forward 'card'; // 2 Ko
24
+ @forward 'gauge'; // 2 Ko
25
+ @forward 'callout'; // 2 Ko
26
+ @forward 'loading'; // 2 Ko
27
+ @forward 'progress'; // 2 Ko
28
+ @forward 'breadcrumbs'; // 2 Ko
29
+ @forward 'buttonGroup'; // 2 Ko
30
+ @forward 'header'; // 3 Ko
31
+ @forward 'horizontalNavigation'; // 4 Ko
32
+ @forward 'radio'; // 4 Ko
41
33
  @forward 'radioField'; // new component for radio
42
-
43
- @forward 'file';
44
- @forward 'layout';
45
- @forward 'radioButtons';
46
- @forward 'table';
47
- @forward 'timeline';
48
- @forward 'button';
49
- @forward 'navside';
50
- @forward 'form';
51
- @forward 'tableFixed';
34
+ @forward 'switch'; // 4 Ko
35
+ @forward 'switchField'; // new component for switch
36
+ @forward 'file'; // 5 Ko
37
+ @forward 'layout'; // 5 Ko
38
+ @forward 'radioButtons'; // 5 Ko
39
+ @forward 'table'; // 7 Ko
40
+ @forward 'checkbox'; // 7 Ko
41
+ @forward 'checkboxField'; // new component for checkbox
42
+ @forward 'timeline'; // 10 Ko
43
+ @forward 'button'; // 12 Ko
44
+ @forward 'textfields'; // 13 Ko
45
+ @forward 'textField'; // new component for checkbox
46
+ @forward 'navside'; // 15 Ko
47
+ @forward 'form'; // 25 Ko
48
+ @forward 'tableFixed'; // 33 Ko
52
49
  @forward 'segmentedControl';
53
50
  @forward 'calendar';
54
51
  @forward 'skipLinks';
55
52
  @forward 'fancyBox';
56
53
  @forward 'inputFramed';
54
+
55
+ // caution: the two components cannot be loaded at the same time
57
56
  @forward 'grid';
58
- @forward 'tableSticked';
59
- @forward 'timepicker';
57
+ @forward 'tableSticked'; // 8 Ko
58
+ @forward 'timepicker'; //
60
59
  @forward 'notchBox';
61
60
  @forward 'statusBadge';
62
61
  @forward 'mobileHeader';
@@ -85,7 +84,7 @@
85
84
  @forward 'userPopover';
86
85
  @forward 'scrollBox';
87
86
  @forward 'comment';
88
- @forward 'toast';
87
+ @forward 'toast'; // 5 Ko
89
88
  @forward 'popover';
90
89
  @forward 'userTile';
91
90
  @forward 'mobilePush';
@@ -110,7 +109,6 @@
110
109
  @forward 'listboxOption';
111
110
  @forward 'suggestion';
112
111
 
113
- @forward 'filterBarDeprecated';
114
- @forward 'tableFixedDeprecated';
115
- @forward 'tableStickedDeprecated';
116
-
112
+ // Deprecated CSS components
113
+ // @forward 'tableFixedDeprecated'; // 33 Ko
114
+ // @forward 'tableStickedDeprecated'; // 67 Ko
@@ -2,77 +2,79 @@
2
2
  @use '@lucca-front/scss/src/commons/utils/media';
3
3
 
4
4
  .indexTable {
5
- @layer components {
6
- @include vars;
7
- @include component;
5
+ @include vars;
6
+ @include component;
7
+
8
+ &.mod-selectable {
9
+ @include selectable;
10
+
11
+ // Selectable states
12
+ @include selectableSelectedRow;
13
+ @include selectableHoveredRow;
8
14
  }
9
15
 
10
- @layer mods {
11
- &.mod-selectable {
12
- @include selectable;
13
- @include selectableSelectedRow;
14
- @include selectableHoveredRow;
15
- }
16
+ &.mod-stackable {
17
+ @include stackable;
18
+ }
16
19
 
17
- &.mod-stackable {
18
- @include stackable;
19
- }
20
+ &.mod-stickyHeader {
21
+ @include stickyHeader;
22
+ }
20
23
 
21
- &.mod-stickyHeader {
22
- @include stickyHeader;
23
- }
24
+ // Allow selection of mod-layoutFixed with or without breakpoints like mod-layoutFixedAtMediaMinXS or mod-layoutFixedAtMediaMaxL
25
+ &[class*='mod-layoutFixed'] {
26
+ @include layoutFixed;
27
+ }
24
28
 
25
- // Allow selection of mod-layoutFixed with or without breakpoints like mod-layoutFixedAtMediaMinXS or mod-layoutFixedAtMediaMaxL
26
- &[class*='mod-layoutFixed'] {
27
- @include layoutFixed;
28
- }
29
+ .indexTable-head-row.mod-massSelection {
30
+ @include massSelection;
31
+ }
29
32
 
30
- .indexTable-head-row.mod-massSelection {
31
- @include massSelection;
32
- }
33
+ .indexTable-body-row-cell.mod-actions {
34
+ @include actions;
35
+ }
33
36
 
34
- .indexTable-body-row-cell.mod-actions {
35
- @include actions;
37
+ .indexTable-head-row-cell,
38
+ .indexTable-body-row-cell,
39
+ .indexTable-body-row-transparentCell,
40
+ .indexTable-foot-row-cell {
41
+ &.mod-alignRight {
42
+ @include alignRight;
36
43
  }
37
44
 
38
- .indexTable-head-row-cell,
39
- .indexTable-body-row-cell,
40
- .indexTable-body-row-transparentCell,
41
- .indexTable-foot-row-cell {
42
- &.mod-alignRight {
43
- @include alignRight;
44
- }
45
-
46
- &.mod-alignCenter {
47
- @include alignCenter;
48
- }
45
+ &.mod-alignCenter {
46
+ @include alignCenter;
49
47
  }
48
+ }
50
49
 
51
- @include media.max('S') {
52
- &.mod-responsiveCardList {
53
- @include responsiveCardList;
54
- }
50
+ // Responsive
51
+ @include media.max('S') {
52
+ &.mod-responsiveCardList {
53
+ @include responsiveCardList;
54
+ }
55
55
 
56
- &.mod-selectable.mod-responsiveCardList {
57
- @include selectableResponsiveCardList;
58
- }
56
+ &.mod-selectable.mod-responsiveCardList {
57
+ @include selectableResponsiveCardList;
58
+ }
59
59
 
60
- &.mod-stackable.mod-responsiveCardList {
61
- @include stackableResponsiveCardList;
62
- }
60
+ &.mod-stackable.mod-responsiveCardList {
61
+ @include stackableResponsiveCardList;
62
+ }
63
63
 
64
- &.mod-selectable.mod-stackable.mod-responsiveCardList {
65
- @include selectableStackableResponsiveCardList;
66
- }
64
+ &.mod-selectable.mod-stackable.mod-responsiveCardList {
65
+ @include selectableStackableResponsiveCardList;
67
66
  }
68
67
  }
69
68
 
70
- @layer mods {
71
- &:not(:has(.indexTable-head[inert='inert'])) {
72
- @include focusedRow;
73
- @include hoveredRow;
74
- }
69
+ // generic states, non tied to a mod
70
+ &:not(:has(.indexTable-head[inert='inert'])) {
71
+ // focus-within
72
+ @include focusedRow;
75
73
 
76
- @include openClosedRow;
74
+ // hover
75
+ @include hoveredRow;
77
76
  }
77
+
78
+ // nested open / closed row
79
+ @include openClosedRow;
78
80
  }