@lucca-front/scss 20.2.0-rc.1 → 20.2.0-rc.3

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 (124) 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 +2 -2
  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 +3 -9
  13. package/src/components/breadcrumbs/index.scss +10 -16
  14. package/src/components/button/index.scss +125 -119
  15. package/src/components/button/mods.scss +1 -18
  16. package/src/components/button/states.scss +18 -0
  17. package/src/components/buttonGroup/component.scss +17 -0
  18. package/src/components/buttonGroup/index.scss +8 -20
  19. package/src/components/calendar/index.scss +44 -56
  20. package/src/components/callout/index.scss +4 -8
  21. package/src/components/calloutDisclosure/index.scss +9 -15
  22. package/src/components/card/index.scss +20 -26
  23. package/src/components/checkbox/index.scss +30 -36
  24. package/src/components/checkboxField/index.scss +55 -61
  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 +50 -66
  33. package/src/components/dataTable/mods.scss +2 -2
  34. package/src/components/dataTableSticked/index.scss +24 -32
  35. package/src/components/dateField/index.scss +20 -24
  36. package/src/components/dateRangeField/index.scss +25 -29
  37. package/src/components/dialog/index.scss +33 -37
  38. package/src/components/divider/index.scss +7 -11
  39. package/src/components/dropdown/index.scss +6 -12
  40. package/src/components/emptyState/component.scss +3 -0
  41. package/src/components/emptyState/index.scss +7 -11
  42. package/src/components/errorPage/index.scss +4 -8
  43. package/src/components/fancyBox/index.scss +4 -8
  44. package/src/components/field/index.scss +76 -96
  45. package/src/components/fieldset/index.scss +12 -18
  46. package/src/components/file/index.scss +30 -38
  47. package/src/components/fileEntry/index.scss +18 -24
  48. package/src/components/fileToolbar/index.scss +6 -10
  49. package/src/components/fileUpload/index.scss +31 -37
  50. package/src/components/filterBar/index.scss +13 -17
  51. package/src/components/filterBarDeprecated/index.scss +4 -8
  52. package/src/components/filterPill/index.scss +48 -56
  53. package/src/components/filters/index.scss +8 -14
  54. package/src/components/footer/index.scss +34 -38
  55. package/src/components/form/index.scss +84 -114
  56. package/src/components/form/mods.scss +5 -7
  57. package/src/components/formLabel/index.scss +13 -19
  58. package/src/components/gauge/index.scss +7 -11
  59. package/src/components/grid/index.scss +21 -25
  60. package/src/components/header/index.scss +12 -18
  61. package/src/components/highlightData/index.scss +24 -28
  62. package/src/components/horizontalNavigation/index.scss +36 -42
  63. package/src/components/index.scss +55 -57
  64. package/src/components/indexTable/index.scss +56 -54
  65. package/src/components/inlineMessage/index.scss +12 -18
  66. package/src/components/inputFramed/index.scss +24 -30
  67. package/src/components/label/index.scss +9 -13
  68. package/src/components/layout/index.scss +45 -51
  69. package/src/components/link/index.scss +8 -14
  70. package/src/components/link/mods.scss +1 -1
  71. package/src/components/list/index.scss +11 -15
  72. package/src/components/listing/index.scss +18 -22
  73. package/src/components/loading/index.scss +23 -27
  74. package/src/components/main/index.scss +15 -21
  75. package/src/components/mainLayout/index.scss +20 -26
  76. package/src/components/mobileHeader/index.scss +4 -8
  77. package/src/components/mobileNavigation/index.scss +2 -4
  78. package/src/components/navside/index.scss +56 -78
  79. package/src/components/newBadge/index.scss +4 -8
  80. package/src/components/notchBox/index.scss +13 -17
  81. package/src/components/notchBox/mods.scss +3 -3
  82. package/src/components/numericBadge/index.scss +16 -22
  83. package/src/components/pageHeader/index.scss +22 -26
  84. package/src/components/pagination/index.scss +6 -12
  85. package/src/components/plgPush/index.scss +2 -4
  86. package/src/components/popover/index.scss +2 -4
  87. package/src/components/progress/index.scss +9 -15
  88. package/src/components/radio/index.scss +12 -18
  89. package/src/components/radioButtons/index.scss +9 -15
  90. package/src/components/radioField/index.scss +40 -46
  91. package/src/components/readMore/index.scss +15 -21
  92. package/src/components/richText/index.scss +14 -20
  93. package/src/components/scrollBox/index.scss +10 -14
  94. package/src/components/section/index.scss +12 -16
  95. package/src/components/segmentedControl/index.scss +15 -23
  96. package/src/components/skeleton/index.scss +37 -43
  97. package/src/components/skipLinks/index.scss +2 -4
  98. package/src/components/sortableList/index.scss +6 -12
  99. package/src/components/statusBadge/index.scss +4 -8
  100. package/src/components/switch/index.scss +29 -35
  101. package/src/components/switchField/index.scss +16 -22
  102. package/src/components/table/index.scss +64 -78
  103. package/src/components/tableFixed/index.scss +11 -13
  104. package/src/components/tableFixedDeprecated/index.scss +10 -14
  105. package/src/components/tableOfContent/index.scss +24 -28
  106. package/src/components/tableSortable/index.scss +16 -22
  107. package/src/components/tableSticked/index.scss +24 -28
  108. package/src/components/tableSticked/mods.scss +6 -6
  109. package/src/components/tableStickedDeprecated/index.scss +40 -46
  110. package/src/components/tag/index.scss +12 -16
  111. package/src/components/textField/index.scss +22 -30
  112. package/src/components/textField/mods.scss +1 -1
  113. package/src/components/textFlow/index.scss +2 -4
  114. package/src/components/textfields/index.scss +258 -279
  115. package/src/components/timeline/index.scss +66 -72
  116. package/src/components/timepicker/index.scss +15 -21
  117. package/src/components/title/index.scss +27 -33
  118. package/src/components/title/mods.scss +1 -1
  119. package/src/components/titleSection/index.scss +21 -25
  120. package/src/components/toast/index.scss +4 -8
  121. package/src/components/tooltip/index.scss +21 -25
  122. package/src/components/userPopover/index.scss +2 -4
  123. package/src/components/userTile/index.scss +22 -26
  124. package/src/components/verticalNavigation/index.scss +16 -26
@@ -1,39 +1,55 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .filterPill {
4
- @layer components {
5
- @include vars;
6
- @include component;
4
+ @include vars;
5
+ @include component;
6
+
7
+ &:not(.is-filled) {
8
+ @include notFilled;
7
9
  }
8
10
 
9
- @layer states {
10
- &:not(.is-filled) {
11
- @include notFilled;
12
- }
11
+ &:hover {
12
+ @include hover;
13
+ }
14
+
15
+ &:active,
16
+ &:has(:active) {
17
+ @include active;
18
+ }
19
+
20
+ &.is-comboboxHidden {
21
+ @include comboboxHidden;
22
+ }
23
+
24
+ &:has(.filterPill-combobox:focus-visible) {
25
+ @include focusVisible;
26
+ }
27
+
28
+ &:has(.filterPill-combobox[aria-expanded='true']) {
29
+ @include opened;
30
+ }
31
+
32
+ &.is-filled {
33
+ @include filled;
13
34
 
14
35
  &:hover {
15
- @include hover;
36
+ @include filledHover;
16
37
  }
17
38
 
18
- &:active,
19
- &:has(:active) {
20
- @include active;
39
+ &:has(.filterPill-combobox:active) {
40
+ @include filledActive;
21
41
  }
42
+ }
22
43
 
23
- &.is-comboboxHidden {
24
- @include comboboxHidden;
25
- }
44
+ &.mod-checkbox {
45
+ @include checkbox;
26
46
 
27
- &:has(.filterPill-combobox:focus-visible) {
47
+ &:has(.filterPill-checkbox-input:focus-visible) {
28
48
  @include focusVisible;
29
49
  }
30
50
 
31
- &:has(.filterPill-combobox[aria-expanded='true']) {
32
- @include opened;
33
- }
34
-
35
- &.is-filled {
36
- @include filled;
51
+ &:has(.filterPill-checkbox-input:checked) {
52
+ @include checkboxChecked;
37
53
 
38
54
  &:hover {
39
55
  @include filledHover;
@@ -43,49 +59,25 @@
43
59
  @include filledActive;
44
60
  }
45
61
  }
46
- }
47
62
 
48
- @layer mods {
49
- &.mod-checkbox {
50
- @include checkbox;
51
-
52
- &:has(.filterPill-checkbox-input:focus-visible) {
53
- @include focusVisible;
54
- }
63
+ &:has(.filterPill-checkbox-input:disabled) {
64
+ @include checkboxDisabled;
55
65
 
56
66
  &:has(.filterPill-checkbox-input:checked) {
57
- @include checkboxChecked;
58
-
59
- &:hover {
60
- @include filledHover;
61
- }
62
-
63
- &:has(.filterPill-combobox:active) {
64
- @include filledActive;
65
- }
66
- }
67
-
68
- &:has(.filterPill-checkbox-input:disabled) {
69
- @include checkboxDisabled;
70
-
71
- &:has(.filterPill-checkbox-input:checked) {
72
- @include checkboxCheckedDisabled;
73
- }
67
+ @include checkboxCheckedDisabled;
74
68
  }
75
69
  }
70
+ }
76
71
 
77
- &.mod-button {
78
- @include button;
79
- }
72
+ &.mod-button {
73
+ @include button;
80
74
  }
81
75
 
82
- @layer states {
83
- &:has(.filterPill-combobox:disabled) {
84
- @include disabled;
85
- }
76
+ &:has(.filterPill-combobox:disabled) {
77
+ @include disabled;
78
+ }
86
79
 
87
- &.is-hidden {
88
- @include hidden;
89
- }
80
+ &.is-hidden {
81
+ @include hidden;
90
82
  }
91
83
  }
@@ -1,23 +1,17 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .filters {
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;
12
- }
7
+ &.mod-sticky {
8
+ @include sticky;
13
9
  }
14
10
  }
15
11
 
16
- @layer mods {
17
- .navSide ~ .main-content,
18
- .mod-withMenu .main-content {
19
- .filters.mod-sticky {
20
- @include stickyNavSide;
21
- }
12
+ .navSide ~ .main-content,
13
+ .mod-withMenu .main-content {
14
+ .filters.mod-sticky {
15
+ @include stickyNavSide;
22
16
  }
23
17
  }
@@ -2,57 +2,53 @@
2
2
  @use '@lucca-front/scss/src/commons/utils/media';
3
3
 
4
4
  .footer {
5
- @layer components {
6
- @include vars;
7
- @include component;
5
+ @include vars;
6
+ @include component;
7
+
8
+ &.mod-sticky {
9
+ @include sticky;
8
10
  }
9
11
 
10
- @layer mods {
11
- &.mod-sticky {
12
- @include sticky;
13
- }
12
+ &.mod-narrow {
13
+ @include narrow;
14
+ }
14
15
 
15
- &.mod-narrow {
16
+ // default mod
17
+ &:not([class*='mod-narrow']),
18
+ &.mod-narrowAtMediaMaxXXS {
19
+ @include media.max('XXS') {
16
20
  @include narrow;
17
21
  }
22
+ }
18
23
 
19
- // default mod
20
- &:not([class*='mod-narrow']),
21
- &.mod-narrowAtMediaMaxXXS {
22
- @include media.max('XXS') {
23
- @include narrow;
24
- }
25
- }
26
-
27
- &.mod-narrowAtMediaMaxXS {
28
- @include media.max('XS') {
29
- @include narrow;
30
- }
24
+ &.mod-narrowAtMediaMaxXS {
25
+ @include media.max('XS') {
26
+ @include narrow;
31
27
  }
28
+ }
32
29
 
33
- &.mod-narrowAtMediaMaxS {
34
- @include media.max('S') {
35
- @include narrow;
36
- }
30
+ &.mod-narrowAtMediaMaxS {
31
+ @include media.max('S') {
32
+ @include narrow;
37
33
  }
34
+ }
38
35
 
39
- &.mod-narrowAtMediaMaxM {
40
- @include media.max('M') {
41
- @include narrow;
42
- }
36
+ &.mod-narrowAtMediaMaxM {
37
+ @include media.max('M') {
38
+ @include narrow;
43
39
  }
40
+ }
44
41
 
45
- @include media.min('S') {
46
- @include wide;
47
- }
42
+ @include media.min('S') {
43
+ @include wide;
44
+ }
48
45
 
49
- .dialog &,
50
- .lu-modal-panel & {
51
- @include insideDialog;
52
- }
46
+ .dialog &,
47
+ .lu-modal-panel & {
48
+ @include insideDialog;
49
+ }
53
50
 
54
- &:has(.footer-containerOptional) {
55
- @include withContainer;
56
- }
51
+ &:has(.footer-containerOptional) {
52
+ @include withContainer;
57
53
  }
58
54
  }
@@ -6,108 +6,94 @@
6
6
  @use 'exports' as *;
7
7
 
8
8
  .form {
9
- @layer components {
10
- @include component;
11
- }
9
+ @include component;
12
10
 
13
- @layer mods {
14
- &.mod-maxWidth {
15
- @include maxWidth;
16
- }
11
+ &.mod-maxWidth {
12
+ @include maxWidth;
17
13
  }
18
14
  }
19
15
 
20
16
  .form-fieldset {
21
- @layer mods {
22
- &.mod-inline {
23
- @include inline;
24
- }
17
+ &.mod-inline {
18
+ @include inline;
19
+ }
25
20
 
26
- &.mod-S {
27
- @include S;
28
- }
21
+ &.mod-S {
22
+ @include S;
23
+ }
29
24
 
30
- &:has(~ .box) {
31
- .form-field {
32
- &.mod-withArrow {
33
- @include withArrow;
25
+ &:has(~ .box) {
26
+ .form-field {
27
+ &.mod-withArrow {
28
+ @include withArrow;
34
29
 
35
- &.mod-S {
36
- @include withArrowS;
37
- }
30
+ &.mod-S {
31
+ @include withArrowS;
38
32
  }
39
33
  }
40
34
  }
41
35
  }
42
36
 
43
- @layer states {
44
- &:has(.radioField-input[aria-invalid='true']),
45
- &:has(.checkboxField-input[aria-invalid='true']) {
46
- @include legendInvalid;
47
- }
37
+ &:has(.radioField-input[aria-invalid='true']),
38
+ &:has(.checkboxField-input[aria-invalid='true']) {
39
+ @include legendInvalid;
48
40
  }
49
41
  }
50
42
 
51
43
  .form-field {
52
- @layer mods {
53
- &.mod-S {
54
- @include S;
55
- }
44
+ &.mod-S {
45
+ @include S;
46
+ }
56
47
 
57
- &.mod-XS {
58
- @include XS;
59
- }
48
+ &.mod-XS {
49
+ @include XS;
50
+ }
60
51
 
61
- @each $value in config.$fieldsWidth {
62
- &.mod-width#{$value} {
63
- @include width($value);
64
- }
52
+ @each $value in config.$fieldsWidth {
53
+ &.mod-width#{$value} {
54
+ @include width($value);
65
55
  }
56
+ }
66
57
 
67
- &.mod-checkable,
68
- &:has(.radioField),
69
- &:has(.checkboxField),
70
- &:has(.switchField) {
71
- @include checkable;
72
- }
58
+ &.mod-checkable,
59
+ &:has(.radioField),
60
+ &:has(.checkboxField),
61
+ &:has(.switchField) {
62
+ @include checkable;
73
63
  }
74
64
 
75
- @layer states {
76
- &:not(lu-form-field) {
77
- &:has(
78
- .textField-input-value[aria-invalid='true'],
79
- .timePicker-fieldset-group-textfield-input[aria-invalid='true'],
80
- .simpleSelect-field-input[aria-invalid='true'],
81
- .multipleSelect-displayer-search[aria-invalid='true']
82
- ) {
83
- @include invalid;
84
- }
65
+ &:not(lu-form-field) {
66
+ &:has(
67
+ .textField-input-value[aria-invalid='true'],
68
+ .timePicker-fieldset-group-textfield-input[aria-invalid='true'],
69
+ .simpleSelect-field-input[aria-invalid='true'],
70
+ .multipleSelect-displayer-search[aria-invalid='true']
71
+ ) {
72
+ @include invalid;
85
73
  }
74
+ }
86
75
 
87
- &:has(.radioField-input:disabled),
88
- &:has(.checkboxField-input:disabled),
89
- &:has(.switchField-input:disabled) {
90
- .formLabel {
91
- @include formLabel.disabled;
92
- }
76
+ &:has(.radioField-input:disabled),
77
+ &:has(.checkboxField-input:disabled),
78
+ &:has(.switchField-input:disabled) {
79
+ .formLabel {
80
+ @include formLabel.disabled;
81
+ }
93
82
 
94
- .inlineMessage {
95
- @include inlineMessage.disabled;
96
- }
83
+ .formLabel-tag {
84
+ @include tag.disabled;
85
+ }
97
86
 
98
- .formLabel-tag {
99
- @include tag.disabled;
100
- }
87
+ .inlineMessage {
88
+ @include inlineMessage.disabled;
101
89
  }
102
90
  }
103
91
 
104
- @layer mods {
105
- &.mod-withArrow {
106
- @include withArrow;
92
+ &.mod-withArrow {
93
+ @include withArrow;
107
94
 
108
- &.mod-S {
109
- @include withArrowS;
110
- }
95
+ &.mod-S {
96
+ @include withArrowS;
111
97
  }
112
98
  }
113
99
  }
@@ -116,33 +102,27 @@
116
102
 
117
103
  // stylelint-disable no-duplicate-selectors -- deprecated
118
104
  .form {
119
- @layer components {
120
- @include vars;
121
- }
105
+ @include vars;
122
106
  }
123
107
 
124
108
  .form-group {
125
- @layer components {
126
- @include vars;
127
- @include componentDeprecated;
128
- }
109
+ @include vars;
110
+ @include componentDeprecated;
129
111
  }
130
112
 
131
113
  .form-group-line-col {
132
- @layer mods {
133
- &[class*='mod-overlay'] {
134
- @include overlay;
135
- }
114
+ &[class*='mod-overlay'] {
115
+ @include overlay;
116
+ }
136
117
 
137
- &.mod-overlay-top {
138
- @include overlayTop;
139
- }
118
+ &.mod-overlay-top {
119
+ @include overlayTop;
120
+ }
140
121
 
141
- @each $breakpoint, $value in config.$breakpoints {
142
- @for $i from 1 through 12 {
143
- &.mod-#{$i}\@mediaMin#{$breakpoint} {
144
- @include breakpoint($breakpoint, $i);
145
- }
122
+ @each $breakpoint, $value in config.$breakpoints {
123
+ @for $i from 1 through 12 {
124
+ &.mod-#{$i}\@mediaMin#{$breakpoint} {
125
+ @include breakpoint($breakpoint, $i);
146
126
  }
147
127
  }
148
128
  }
@@ -152,37 +132,29 @@
152
132
  .radiosfield-label,
153
133
  .checkboxesfield-label,
154
134
  .textfield-label {
155
- @layer states {
156
- &:is(.is-required, .required) {
157
- @include required;
158
- }
135
+ &:is(.is-required, .required) {
136
+ @include required;
159
137
  }
160
138
  }
161
139
 
162
140
  .checkboxesfield.mod-framed,
163
141
  .radiosfield.mod-framed,
164
142
  .form.mod-framed .fieldsetWrapper {
165
- @layer mods {
166
- @include framed;
167
- }
143
+ @include framed;
168
144
  }
169
145
 
170
146
  .checkboxesfield.mod-framed,
171
147
  .radiosfield.mod-framed {
172
- @layer mods {
173
- margin-block-start: 0;
174
- padding-block: var(--components-field-framed-side-padding) var(--components-field-framed-bottom-padding);
175
- padding-inline: var(--components-field-framed-side-padding);
176
- }
148
+ margin-block-start: 0;
149
+ padding-block: var(--components-field-framed-side-padding) var(--components-field-framed-bottom-padding);
150
+ padding-inline: var(--components-field-framed-side-padding);
177
151
  }
178
152
 
179
153
  .form-group-label {
180
- @layer states {
181
- &.is-required {
182
- &:not(:empty) {
183
- &::after {
184
- @extend %isRequired;
185
- }
154
+ &.is-required {
155
+ &:not(:empty) {
156
+ &::after {
157
+ @extend %isRequired;
186
158
  }
187
159
  }
188
160
  }
@@ -191,12 +163,10 @@
191
163
  .radiosfield-label,
192
164
  .checkboxesfield-label,
193
165
  .textfield-label {
194
- @layer states {
195
- &.is-required {
196
- &:not(:empty) {
197
- &::after {
198
- @extend %isRequired;
199
- }
166
+ &.is-required {
167
+ &:not(:empty) {
168
+ &::after {
169
+ @extend %isRequired;
200
170
  }
201
171
  }
202
172
  }
@@ -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 states {
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 states {
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,18 +1,14 @@
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
- &.mod-vertical {
15
- @include vertical;
16
- }
11
+ &.mod-vertical {
12
+ @include vertical;
17
13
  }
18
14
  }
@@ -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
  }