@trilogy-ds/styles 0.0.1-beta.9 → 0.0.1-calendar

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 (143) hide show
  1. package/dist/default/trilogy-mangled.css +1 -1
  2. package/dist/default/trilogy-partials.css +1 -1
  3. package/dist/default/trilogy.css +1 -1
  4. package/framework/src/_all.scss +2 -2
  5. package/framework/src/base/_all.scss +1 -1
  6. package/framework/src/base/_color.scss +1 -52
  7. package/framework/src/base/_elements.scss +1 -1
  8. package/framework/src/base/_generic.scss +9 -1
  9. package/framework/src/base/_helpers.scss +34 -44
  10. package/framework/src/base/_loading.scss +9 -2
  11. package/framework/src/base/_reset.scss +11 -1
  12. package/framework/src/components/_accordion.scss +55 -89
  13. package/framework/src/components/_autocomplete.scss +38 -0
  14. package/framework/src/components/_autolayout.scss +332 -0
  15. package/framework/src/components/_badge.scss +87 -0
  16. package/framework/src/components/_box.scss +168 -0
  17. package/framework/src/components/_breadcrumb.scss +29 -38
  18. package/framework/src/components/_button.scss +79 -0
  19. package/framework/src/components/_calendar.scss +125 -0
  20. package/framework/src/components/_card.scss +33 -87
  21. package/framework/src/components/_checkbox.scss +71 -0
  22. package/framework/src/components/_chips.scss +84 -0
  23. package/framework/src/{elements → components}/_container.scss +7 -39
  24. package/framework/src/components/_countdown.scss +49 -47
  25. package/framework/src/components/_divider.scss +25 -14
  26. package/framework/src/components/_fab.scss +25 -38
  27. package/framework/src/components/_flex-box.scss +457 -0
  28. package/framework/src/{elements → components}/_icon.scss +4 -4
  29. package/framework/src/components/_image.scss +69 -0
  30. package/framework/src/components/_index.scss +48 -0
  31. package/framework/src/components/_link.scss +58 -0
  32. package/framework/src/components/_list.scss +66 -0
  33. package/framework/src/{elements → components}/_loader.scss +2 -2
  34. package/framework/src/components/_modal.scss +182 -158
  35. package/framework/src/components/_otp.scss +11 -30
  36. package/framework/src/components/_pagination.scss +60 -159
  37. package/framework/src/components/_popover.scss +260 -260
  38. package/framework/src/components/_price.scss +140 -165
  39. package/framework/src/components/_product-tour.scss +2 -4
  40. package/framework/src/components/_radio.scss +82 -0
  41. package/framework/src/components/_range.scss +73 -72
  42. package/framework/src/components/_segmented-control.scss +55 -53
  43. package/framework/src/components/_select.scss +131 -0
  44. package/framework/src/components/_stepper.scss +42 -222
  45. package/framework/src/{elements → components}/_sticker.scss +25 -28
  46. package/framework/src/components/_switch.scss +97 -191
  47. package/framework/src/components/_table.scss +244 -0
  48. package/framework/src/components/_tabs.scss +101 -98
  49. package/framework/src/components/_tag.scss +114 -0
  50. package/framework/src/components/_text.scss +55 -0
  51. package/framework/src/components/_textarea.scss +46 -0
  52. package/framework/src/components/_timeline.scss +28 -113
  53. package/framework/src/components/_title.scss +151 -0
  54. package/framework/src/{elements → components/alert}/_alert.scss +13 -10
  55. package/framework/src/components/alert/_index.scss +2 -0
  56. package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
  57. package/framework/src/components/input/_entry.scss +135 -0
  58. package/framework/src/{elements → components/input}/_form.scss +42 -33
  59. package/framework/src/components/input/_index.scss +4 -0
  60. package/framework/src/components/input/_input-gauge.scss +44 -0
  61. package/framework/src/components/input/_input-icons.scss +55 -0
  62. package/framework/src/components/progress/_index.scss +2 -0
  63. package/framework/src/components/progress/_progress-radial.scss +28 -0
  64. package/framework/src/{elements → components/progress}/_progress.scss +34 -23
  65. package/framework/src/elements/_index.scss +5 -0
  66. package/framework/src/elements/_other.scss +0 -41
  67. package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
  68. package/framework/src/grid/_columns.scss +278 -763
  69. package/framework/src/grid/_rows.scss +45 -38
  70. package/framework/src/layout/_all.scss +0 -1
  71. package/framework/src/layout/_hero.scss +92 -214
  72. package/framework/src/layout/_section.scss +10 -29
  73. package/framework/src/theming/_all.scss +3 -0
  74. package/framework/src/theming/buttons_partial.scss +32 -0
  75. package/framework/src/theming/common_partials.scss +10 -0
  76. package/framework/src/theming/links_partial.scss +20 -0
  77. package/framework/src/trilogy-mangled.scss +3 -3
  78. package/framework/src/trilogy.scss +2 -2
  79. package/framework/src/utilities/_a11y.scss +13 -0
  80. package/framework/src/utilities/_all.scss +4 -0
  81. package/framework/src/utilities/_background.scss +21 -0
  82. package/framework/src/utilities/_controls.scss +38 -49
  83. package/framework/src/utilities/_derived-variables.scss +0 -103
  84. package/framework/src/utilities/_initial-variables.scss +4 -144
  85. package/framework/src/utilities/_pre.scss +4 -1
  86. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  87. package/framework/src/utilities/mixins/_delete.scss +86 -0
  88. package/framework/src/utilities/mixins/_index.scss +11 -0
  89. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  90. package/framework/src/utilities/mixins/_mixins.scss +293 -0
  91. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  92. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  93. package/framework/src/utilities/mixins/_responsiveness.scss +84 -0
  94. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  95. package/framework/src/utilities/mixins/_state.scss +25 -0
  96. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  97. package/framework/src/utilities/mixins/_utils.scss +24 -0
  98. package/framework/src/utilities/variables/_animation.scss +2 -0
  99. package/framework/src/utilities/variables/_color.scss +85 -0
  100. package/framework/src/utilities/variables/_font.scss +97 -0
  101. package/framework/src/utilities/variables/_index.scss +6 -0
  102. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  103. package/framework/src/utilities/variables/_shadow.scss +3 -0
  104. package/framework/src/utilities/variables/_zindex.scss +14 -0
  105. package/package.json +3 -3
  106. package/framework/src/components/_all.scss +0 -30
  107. package/framework/src/components/_autolayout2.scss +0 -38
  108. package/framework/src/components/_disclaimer.scss +0 -84
  109. package/framework/src/components/_dropdown.scss +0 -128
  110. package/framework/src/components/_level.scss +0 -120
  111. package/framework/src/components/_media.scss +0 -64
  112. package/framework/src/components/_menu.scss +0 -213
  113. package/framework/src/components/_progress-radial.scss +0 -23
  114. package/framework/src/components/_search-modal.scss +0 -197
  115. package/framework/src/components/_slices.scss +0 -316
  116. package/framework/src/components/_slider.scss +0 -92
  117. package/framework/src/elements/_all.scss +0 -35
  118. package/framework/src/elements/_badge.scss +0 -81
  119. package/framework/src/elements/_box.scss +0 -267
  120. package/framework/src/elements/_button.scss +0 -192
  121. package/framework/src/elements/_checkbox.scss +0 -39
  122. package/framework/src/elements/_checkradio.scss +0 -173
  123. package/framework/src/elements/_chips.scss +0 -100
  124. package/framework/src/elements/_dot.scss +0 -6
  125. package/framework/src/elements/_entry.scss +0 -109
  126. package/framework/src/elements/_image.scss +0 -59
  127. package/framework/src/elements/_input-gauge.scss +0 -37
  128. package/framework/src/elements/_input-icons.scss +0 -41
  129. package/framework/src/elements/_link.scss +0 -79
  130. package/framework/src/elements/_list.scss +0 -61
  131. package/framework/src/elements/_notification.scss +0 -151
  132. package/framework/src/elements/_options.scss +0 -146
  133. package/framework/src/elements/_paragraph.scss +0 -101
  134. package/framework/src/elements/_radio.scss +0 -67
  135. package/framework/src/elements/_select.scss +0 -315
  136. package/framework/src/elements/_switch.scss +0 -108
  137. package/framework/src/elements/_table.scss +0 -298
  138. package/framework/src/elements/_tag.scss +0 -131
  139. package/framework/src/elements/_textarea.scss +0 -125
  140. package/framework/src/elements/_timeline.scss +0 -283
  141. package/framework/src/elements/_title.scss +0 -139
  142. package/framework/src/layout/_toolbar.scss +0 -100
  143. package/framework/src/utilities/_mixins.scss +0 -744
@@ -1,47 +1,54 @@
1
- .rows {
2
- display: flex;
3
- flex-direction: column;
4
- margin: -$row-gap-tablet-desktop;
5
- flex: 1 1 auto;
6
- justify-self: stretch;
7
- height: calc(100% + #{$row-gap-tablet-desktop * 2});
8
-
9
- @include mobile {
10
- margin: -$row-gap-mobile;
11
- height: calc(100% + #{$row-gap-mobile * 2});
12
- }
13
-
14
- &.is-aligned-end {
15
- justify-content: flex-end;
16
- }
1
+ $gap: 4px,
2
+ 8px,
3
+ 12px,
4
+ 16px,
5
+ 24px,
6
+ 32px,
7
+ 40px,
8
+ 48px,
9
+ 54px,
10
+ 62px;
17
11
 
18
- &.is-gapless {
19
- .row:not(:first-child) {
20
- padding-top: 0;
21
- }
22
12
 
23
- .row:not(:last-child) {
24
- padding-bottom: 0;
25
- }
13
+ .rows {
14
+ display: flex;
15
+ flex-direction: column;
16
+ flex: 1 1 auto;
17
+ justify-self: stretch;
18
+ height: 100%;
19
+ gap: 24px;
20
+
21
+ @include mobile {
22
+ gap: 16px;
23
+ }
24
+
25
+ @for $i from 1 through length($gap) {
26
+ $item: nth($gap, $i);
27
+ &.has-gap-#{$i} {
28
+ gap: $item;
26
29
  }
30
+ }
27
31
 
28
- .is-divider {
29
- margin-top: 0;
30
- margin-bottom: 0;
31
- }
32
+ &.is-aligned-end {
33
+ justify-content: flex-end;
34
+ }
35
+
36
+ &.is-gapless {
37
+ gap: 0;
38
+ }
32
39
 
33
- .row {
34
- display: block;
35
- flex-grow: 1;
36
- flex-shrink: 1;
37
- padding: $row-gap-tablet-desktop;
40
+ .is-divider {
41
+ margin-top: 0;
42
+ margin-bottom: 0;
43
+ }
38
44
 
39
- @include mobile {
40
- padding: $row-gap-mobile;
41
- }
45
+ .row {
46
+ display: block;
47
+ flex-grow: 1;
48
+ flex-shrink: 1;
42
49
 
43
- &.is-narrow {
44
- flex-grow: 0;
45
- }
50
+ &.is-narrow {
51
+ flex-grow: 0;
46
52
  }
53
+ }
47
54
  }
@@ -3,4 +3,3 @@
3
3
  @import "main";
4
4
  @import "section";
5
5
  @import "hero";
6
- @import "toolbar";
@@ -20,249 +20,127 @@ $overlap: 30px;
20
20
  $overlap-desktop: 30px;
21
21
 
22
22
  .hero {
23
- align-items: stretch;
24
- background-color: getColor('background');
25
- display: flex;
26
- flex-direction: column;
27
- justify-content: space-between;
23
+ align-items: stretch;
24
+ background-color: getColor('background');
25
+ display: flex;
26
+ flex-direction: column;
27
+ justify-content: space-between;
28
+ position: relative;
29
+
30
+ .hero-body {
31
+ flex-grow: 1;
32
+ flex-shrink: 0;
28
33
  position: relative;
34
+ display: flex;
35
+ flex-wrap: wrap;
36
+ align-items: center;
37
+ padding: 20px;
29
38
 
30
- .hero-body {
31
- flex-grow: 1;
32
- flex-shrink: 0;
33
- position: relative;
34
- display: flex;
35
- flex-wrap: wrap;
36
- align-items: center;
37
- padding: 20px;
38
-
39
- @include desktop {
40
- padding: 30px 20px;
41
- }
42
-
43
- .hero-back {
44
- position: relative;
45
- flex-basis: 100%;
46
- opacity: .7;
47
- margin-bottom: 20px;
48
- min-width: 100%;
49
- padding-left: 26px;
50
- transition: opacity 300ms linear;
51
-
52
- &::before {
53
- @include arrow(inherit);
54
-
55
- transform: rotate(90deg);
56
- top: 0;
57
- bottom: 0;
58
- left: 5px;
59
- width: 11px;
60
- height: 6px;
61
- font-size: 12px;
62
- margin: auto;
63
- }
39
+ @include desktop {
40
+ padding: 30px 20px;
41
+ }
64
42
 
65
- &:hover {
66
- opacity: 1;
67
- }
68
- }
43
+ > .container {
44
+ flex: 1;
45
+ flex-basis: 100%;
46
+ }
69
47
 
70
- > .container {
71
- flex: 1;
72
- flex-basis: 100%;
73
- }
48
+ .title {
49
+ font-size: 24px;
74
50
 
75
- .title {
76
- font-size: 24px;
51
+ @include desktop {
52
+ font-size: 36px;
53
+ }
54
+ }
55
+ }
77
56
 
78
- @include desktop {
79
- font-size: 36px;
80
- }
81
- }
57
+ &.is-overlapped {
58
+ .hero-body {
59
+ padding-bottom: 50px;
82
60
  }
83
61
 
84
- &.has-pattern-dark,
85
- &.is-instit {
86
- @include pattern-dark(105%, 50%, 35%);
62
+ + .section {
63
+ @include mobile {
64
+ margin-left: -$hero-padding-y;
65
+ margin-right: -$hero-padding-y;
87
66
 
88
- p,
89
- strong,
90
- .paragraph,
91
- .suptitle,
92
- .title,
93
- .subtitle,
94
- a:not(.button):not(.tag) {
95
- color: getColor('background');
67
+ .box {
68
+ box-shadow: none;
69
+ //@todo need confirmation
70
+ border-radius: 24px 24px 0 0;
71
+ overflow: hidden;
96
72
  }
73
+ }
97
74
 
98
- .subtitle {
99
- strong,
100
- a:not(.button) {
101
- color: getColor('background');
102
- }
103
- }
104
- }
75
+ > .container {
76
+ margin-top: -$hero-padding-y - $overlap;
105
77
 
106
- &.is-overlapped {
107
- .hero-body {
108
- padding-bottom: 50px;
78
+ @include desktop {
79
+ margin-top: -$hero-padding-desktop-y - $overlap-desktop;
109
80
  }
81
+ }
110
82
 
111
- + .section {
112
- @include mobile {
113
- margin-left: -$hero-padding-y;
114
- margin-right: -$hero-padding-y;
115
-
116
- .box {
117
- box-shadow: none;
118
- border-radius: 24px 24px 0 0;
119
-
120
- .box-content:only-child {
121
- border-radius: 24px 24px 0 0;
122
- }
123
- }
124
- }
125
-
126
- > .container {
127
- margin-top: -$hero-padding-y - $overlap;
128
-
129
- @include desktop {
130
- margin-top: -$hero-padding-desktop-y - $overlap-desktop;
131
- }
132
- }
133
-
134
- &.is-small {
135
- > .container {
136
- margin-top: -$hero-padding-small-y - $overlap;
137
-
138
- @include desktop {
139
- margin-top: -$hero-padding-desktop-small-y - $overlap-desktop;
140
- }
141
- }
142
- }
143
-
144
- &.is-medium {
145
- > .container {
146
- margin-top: -$hero-padding-medium-y - $overlap;
147
-
148
- @include desktop {
149
- margin-top: -$hero-padding-desktop-medium-y - $overlap-desktop;
150
- }
151
- }
152
- }
153
-
154
- &.is-large {
155
- > .container {
156
- margin-top: -$hero-padding-large-y - $overlap;
83
+ &.is-small {
84
+ > .container {
85
+ margin-top: -$hero-padding-small-y - $overlap;
157
86
 
158
- @include desktop {
159
- margin-top: -$hero-padding-desktop-large-y - $overlap-desktop;
160
- }
161
- }
162
- }
87
+ @include desktop {
88
+ margin-top: -$hero-padding-desktop-small-y - $overlap-desktop;
89
+ }
163
90
  }
164
- }
165
-
166
- &.has-background {
167
- background-repeat: no-repeat;
168
- background-size: cover;
169
- }
170
-
171
- &.has-pattern-dark,
172
- &.has-background {
173
- .hero-body {
174
- text-align: center;
175
- padding: 100px 20px;
176
-
177
- @include desktop {
178
- text-align: left;
179
- padding-top: 80px;
180
- padding-bottom: 80px;
181
- }
182
-
183
- .suptitle {
184
- display: none;
185
-
186
- @include desktop {
187
- display: block;
188
- margin-bottom: 30px;
189
- font-size: 19px;
190
- text-transform: uppercase;
191
- }
192
- }
193
-
194
- .title {
195
- font-size: 32px;
196
- margin-bottom: 25px;
91
+ }
197
92
 
198
- @include desktop {
199
- font-size: 52px;
200
- }
201
- }
93
+ &.is-medium {
94
+ > .container {
95
+ margin-top: -$hero-padding-medium-y - $overlap;
202
96
 
203
- .button {
204
- width: auto;
205
- }
97
+ @include desktop {
98
+ margin-top: -$hero-padding-desktop-medium-y - $overlap-desktop;
99
+ }
206
100
  }
101
+ }
207
102
 
208
- &.is-overlapped {
209
- .hero-body {
210
- padding: 30px 20px 60px;
103
+ &.is-large {
104
+ > .container {
105
+ margin-top: -$hero-padding-large-y - $overlap;
211
106
 
212
- @include desktop {
213
- padding: 60px 20px;
214
- }
215
- }
107
+ @include desktop {
108
+ margin-top: -$hero-padding-desktop-large-y - $overlap-desktop;
109
+ }
216
110
  }
111
+ }
217
112
  }
113
+ }
218
114
 
219
- &.is-centered {
220
- text-align: center;
221
- }
222
-
223
- &.is-primary {
224
- color: getColor('background');
115
+ &.has-background {
116
+ background-repeat: no-repeat;
117
+ background-size: cover;
118
+ }
225
119
 
226
- p,
227
- strong,
228
- .paragraph,
229
- .suptitle,
230
- .title,
231
- .subtitle,
232
- a:not(.button):not(.tag) {
233
- color: getColor('background');
234
- }
235
-
236
- .subtitle {
237
- strong,
238
- a:not(.button) {
239
- color: getColor('background');
240
- }
241
- }
120
+ &.has-background {
121
+ .hero-body {
122
+ text-align: center;
123
+ padding: 100px 20px;
124
+
125
+ @include desktop {
126
+ text-align: left;
127
+ padding-top: 80px;
128
+ padding-bottom: 80px;
129
+ }
242
130
  }
243
131
 
244
- &.is-info {
245
- background: getVariantColor('alternate',2);
246
-
247
- p,
248
- strong,
249
- .paragraph,
250
- .suptitle,
251
- .title,
252
- .subtitle,
253
- a:not(.button):not(.tag) {
254
- color: getColor('background');
255
- }
132
+ &.is-overlapped {
133
+ .hero-body {
134
+ padding: 30px 20px 60px;
256
135
 
257
- .subtitle {
258
- strong,
259
- a:not(.button) {
260
- color: getColor('background');
261
- }
136
+ @include desktop {
137
+ padding: 60px 20px;
262
138
  }
139
+ }
263
140
  }
141
+ }
264
142
 
265
- .subtitle {
266
- padding-left: 0.2em;
267
- }
143
+ &.has-pattern-dark {
144
+ @include pattern-dark(105%, 50%, 35%);
145
+ }
268
146
  }
@@ -1,35 +1,25 @@
1
- $section-padding-y: $spacing-6;
2
- $section-padding-x: $spacing-5;
3
- $section-padding-desktop-y: $spacing-8;
4
- $section-padding-desktop-x: $spacing-5;
5
- $overlap-section: $spacing-4 !default;
6
- $overlap-section-desktop: $spacing-4 !default;
7
-
8
1
  .section {
9
- padding: $section-padding-y $section-padding-x;
2
+ padding: $spacing-6 $spacing-4;
10
3
 
11
4
  @include desktop {
12
- padding: $section-padding-desktop-y $section-padding-desktop-x;
5
+ padding: $spacing-8 $spacing-5;
6
+ }
7
+
8
+ &.has-background {
9
+ background-size: cover;
10
+ background-position: center;
13
11
  }
14
12
 
15
13
  &.has-overlap > .container {
16
- margin-top: -$section-padding-y - $overlap-section;
14
+ margin-top: -$spacing-6 - $spacing-4;
17
15
 
18
16
  @include desktop {
19
- margin-top: -$section-padding-desktop-y - $overlap-section-desktop;
17
+ margin-top: -$spacing-8 - $spacing-4;
20
18
  }
21
19
  }
22
20
 
23
- &:nth-child(even) {
24
- background-color: getColor('grey-lighter');
25
- }
26
-
27
- &:nth-child(odd) {
28
- background-color: getColor('background');
29
- }
30
-
31
21
  &.is-info {
32
- background-color: getVariantColor('alternate',2);
22
+ background-color: getColor('info');
33
23
  color: getColor('background');
34
24
  }
35
25
 
@@ -53,13 +43,4 @@ $overlap-section-desktop: $spacing-4 !default;
53
43
  &.has-pattern-dark {
54
44
  @include pattern-dark(120%, 260px, -30%);
55
45
  }
56
-
57
- }
58
-
59
- .section:nth-child(2n).is-inverted {
60
- background-color: getColor('background');
61
- }
62
-
63
- .section:nth-child(2n-1).is-inverted {
64
- background-color: getColor('grey-lighter');
65
46
  }
@@ -0,0 +1,3 @@
1
+ @import "common_partials";
2
+ @import "links_partial";
3
+ @import "buttons_partial";
@@ -0,0 +1,32 @@
1
+ $noDisabled: ":not(:disabled):not([aria-disabled=true]):not(.is-loading)";
2
+
3
+ /*
4
+ Colors for buttons
5
+ @string slug name used in classname (You can use your brand name)
6
+ @color-background The name of the color in the color map for the background
7
+ @color-text The name of the color in the color map for the text
8
+ */
9
+ $button-colors: (
10
+ 'accent':['conversion', 'accent', 'background'],
11
+ 'primary': ['primary', 'main', 'background'],
12
+ 'secondary': ['secondary', 'main-fade', 'main'],
13
+ 'ghost': ['ghost', 'transparent', 'main']
14
+ ) !default;
15
+
16
+ %buttons-states {
17
+ #{$hoverSelector} {
18
+ filter: brightness(0.8);
19
+ &.is-primary {
20
+ filter: brightness(1.2);
21
+ }
22
+ }
23
+ &:active:not(:disabled) {
24
+ filter: brightness(0.7);
25
+ }
26
+
27
+ &:focus-visible,
28
+ &:focus:focus-visible {
29
+ outline: 2px solid getColor('font') !important;
30
+ outline-offset: 2px;
31
+ }
32
+ }
@@ -0,0 +1,10 @@
1
+ @import "../base/_color.scss";
2
+
3
+ :root {
4
+ --radius: 8px;
5
+ --radius-medium: 8px;
6
+ --radius-small: 4px;
7
+ --radius-large: 16px;
8
+ --border: 1px solid #{getColor('stroke')};
9
+ --border-active: 2px solid #{getColor('main')};
10
+ }
@@ -0,0 +1,20 @@
1
+ $link-colors: 'info' !default;
2
+
3
+ %link-over {
4
+ &:hover {
5
+ filter: brightness(0.8);
6
+ }
7
+ }
8
+
9
+ %link-states {
10
+ @extend %link-over;
11
+ &:active {
12
+ filter: brightness(0.9);
13
+ }
14
+ &:focus-visible,
15
+ &:focus:focus-visible {
16
+ outline: 2px solid currentColor;
17
+ border-radius: $radius-small;
18
+ padding: 0 4px;
19
+ }
20
+ }
@@ -2,13 +2,13 @@
2
2
 
3
3
  @import "utilities/all";
4
4
 
5
- /* All Base Without reset */
5
+ /* All Base Without elements */
6
6
  @import "base/fonts";
7
7
  @import "base/helpers";
8
8
  @import "base/loading";
9
9
  @import "base/elements";
10
10
 
11
- @import "elements/all";
12
- @import "components/all";
11
+ @import "elements";
12
+ @import "components";
13
13
  @import "grid/all";
14
14
  @import "layout/all";
@@ -2,7 +2,7 @@
2
2
 
3
3
  @import "utilities/all";
4
4
  @import "base/all";
5
- @import "elements/all";
6
- @import "components/all";
5
+ @import "elements";
6
+ @import "components";
7
7
  @import "grid/all";
8
8
  @import "layout/all";
@@ -0,0 +1,13 @@
1
+ .sr-only {
2
+ position: absolute;
3
+ width: 1px;
4
+ height: 1px;
5
+ margin: -1px;
6
+ padding: 0;
7
+ border: 0;
8
+ overflow: hidden;
9
+ clip: rect(0, 0, 0, 0);
10
+ white-space: nowrap;
11
+ top: 0;
12
+ left: 0;
13
+ }
@@ -3,7 +3,11 @@
3
3
  @import "initial-variables";
4
4
  @import "functions";
5
5
  @import "derived-variables";
6
+ @import '../theming/links_partial';
7
+ @import '../theming/buttons_partial';
6
8
  @import "mixins";
7
9
  @import "controls";
10
+ @import "background";
8
11
  @import "animations";
9
12
  @import "spacing";
13
+ @import "a11y";
@@ -0,0 +1,21 @@
1
+ .is-inverted {
2
+ color: getColor('background');
3
+ }
4
+
5
+ .is-inverted {
6
+ .box, .section, .view, .hero {
7
+ &:not(.is-inverted) {
8
+ color: getColor('font');
9
+ }
10
+ }
11
+ }
12
+
13
+ .has-background {
14
+ background-repeat: no-repeat;
15
+ background-size: cover;
16
+ background-position: center;
17
+
18
+ .box-content {
19
+ background-color: transparent;
20
+ }
21
+ }