@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.
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/_all.scss +2 -2
- package/framework/src/base/_all.scss +1 -1
- package/framework/src/base/_color.scss +1 -52
- package/framework/src/base/_elements.scss +1 -1
- package/framework/src/base/_generic.scss +9 -1
- package/framework/src/base/_helpers.scss +34 -44
- package/framework/src/base/_loading.scss +9 -2
- package/framework/src/base/_reset.scss +11 -1
- package/framework/src/components/_accordion.scss +55 -89
- package/framework/src/components/_autocomplete.scss +38 -0
- package/framework/src/components/_autolayout.scss +332 -0
- package/framework/src/components/_badge.scss +87 -0
- package/framework/src/components/_box.scss +168 -0
- package/framework/src/components/_breadcrumb.scss +29 -38
- package/framework/src/components/_button.scss +79 -0
- package/framework/src/components/_calendar.scss +125 -0
- package/framework/src/components/_card.scss +33 -87
- package/framework/src/components/_checkbox.scss +71 -0
- package/framework/src/components/_chips.scss +84 -0
- package/framework/src/{elements → components}/_container.scss +7 -39
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_divider.scss +25 -14
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_flex-box.scss +457 -0
- package/framework/src/{elements → components}/_icon.scss +4 -4
- package/framework/src/components/_image.scss +69 -0
- package/framework/src/components/_index.scss +48 -0
- package/framework/src/components/_link.scss +58 -0
- package/framework/src/components/_list.scss +66 -0
- package/framework/src/{elements → components}/_loader.scss +2 -2
- package/framework/src/components/_modal.scss +182 -158
- package/framework/src/components/_otp.scss +11 -30
- package/framework/src/components/_pagination.scss +60 -159
- package/framework/src/components/_popover.scss +260 -260
- package/framework/src/components/_price.scss +140 -165
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_radio.scss +82 -0
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +55 -53
- package/framework/src/components/_select.scss +131 -0
- package/framework/src/components/_stepper.scss +42 -222
- package/framework/src/{elements → components}/_sticker.scss +25 -28
- package/framework/src/components/_switch.scss +97 -191
- package/framework/src/components/_table.scss +244 -0
- package/framework/src/components/_tabs.scss +101 -98
- package/framework/src/components/_tag.scss +114 -0
- package/framework/src/components/_text.scss +55 -0
- package/framework/src/components/_textarea.scss +46 -0
- package/framework/src/components/_timeline.scss +28 -113
- package/framework/src/components/_title.scss +151 -0
- package/framework/src/{elements → components/alert}/_alert.scss +13 -10
- package/framework/src/components/alert/_index.scss +2 -0
- package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
- package/framework/src/components/input/_entry.scss +135 -0
- package/framework/src/{elements → components/input}/_form.scss +42 -33
- package/framework/src/components/input/_index.scss +4 -0
- package/framework/src/components/input/_input-gauge.scss +44 -0
- package/framework/src/components/input/_input-icons.scss +55 -0
- package/framework/src/components/progress/_index.scss +2 -0
- package/framework/src/components/progress/_progress-radial.scss +28 -0
- package/framework/src/{elements → components/progress}/_progress.scss +34 -23
- package/framework/src/elements/_index.scss +5 -0
- package/framework/src/elements/_other.scss +0 -41
- package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
- package/framework/src/grid/_columns.scss +278 -763
- package/framework/src/grid/_rows.scss +45 -38
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +92 -214
- package/framework/src/layout/_section.scss +10 -29
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +32 -0
- package/framework/src/theming/common_partials.scss +10 -0
- package/framework/src/theming/links_partial.scss +20 -0
- package/framework/src/trilogy-mangled.scss +3 -3
- package/framework/src/trilogy.scss +2 -2
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +4 -0
- package/framework/src/utilities/_background.scss +21 -0
- package/framework/src/utilities/_controls.scss +38 -49
- package/framework/src/utilities/_derived-variables.scss +0 -103
- package/framework/src/utilities/_initial-variables.scss +4 -144
- package/framework/src/utilities/_pre.scss +4 -1
- package/framework/src/utilities/mixins/_arrow.scss +21 -0
- package/framework/src/utilities/mixins/_delete.scss +86 -0
- package/framework/src/utilities/mixins/_index.scss +11 -0
- package/framework/src/utilities/mixins/_markup-group.scss +27 -0
- package/framework/src/utilities/mixins/_mixins.scss +293 -0
- package/framework/src/utilities/mixins/_overlay.scss +7 -0
- package/framework/src/utilities/mixins/_pattern.scss +10 -0
- package/framework/src/utilities/mixins/_responsiveness.scss +84 -0
- package/framework/src/utilities/mixins/_spinner.scss +12 -0
- package/framework/src/utilities/mixins/_state.scss +25 -0
- package/framework/src/utilities/mixins/_unselectable.scss +10 -0
- package/framework/src/utilities/mixins/_utils.scss +24 -0
- package/framework/src/utilities/variables/_animation.scss +2 -0
- package/framework/src/utilities/variables/_color.scss +85 -0
- package/framework/src/utilities/variables/_font.scss +97 -0
- package/framework/src/utilities/variables/_index.scss +6 -0
- package/framework/src/utilities/variables/_responsiveness.scss +7 -0
- package/framework/src/utilities/variables/_shadow.scss +3 -0
- package/framework/src/utilities/variables/_zindex.scss +14 -0
- package/package.json +3 -3
- package/framework/src/components/_all.scss +0 -30
- package/framework/src/components/_autolayout2.scss +0 -38
- package/framework/src/components/_disclaimer.scss +0 -84
- package/framework/src/components/_dropdown.scss +0 -128
- package/framework/src/components/_level.scss +0 -120
- package/framework/src/components/_media.scss +0 -64
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_progress-radial.scss +0 -23
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/elements/_all.scss +0 -35
- package/framework/src/elements/_badge.scss +0 -81
- package/framework/src/elements/_box.scss +0 -267
- package/framework/src/elements/_button.scss +0 -192
- package/framework/src/elements/_checkbox.scss +0 -39
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_chips.scss +0 -100
- package/framework/src/elements/_dot.scss +0 -6
- package/framework/src/elements/_entry.scss +0 -109
- package/framework/src/elements/_image.scss +0 -59
- package/framework/src/elements/_input-gauge.scss +0 -37
- package/framework/src/elements/_input-icons.scss +0 -41
- package/framework/src/elements/_link.scss +0 -79
- package/framework/src/elements/_list.scss +0 -61
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_paragraph.scss +0 -101
- package/framework/src/elements/_radio.scss +0 -67
- package/framework/src/elements/_select.scss +0 -315
- package/framework/src/elements/_switch.scss +0 -108
- package/framework/src/elements/_table.scss +0 -298
- package/framework/src/elements/_tag.scss +0 -131
- package/framework/src/elements/_textarea.scss +0 -125
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/elements/_title.scss +0 -139
- package/framework/src/layout/_toolbar.scss +0 -100
- package/framework/src/utilities/_mixins.scss +0 -744
|
@@ -1,47 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
24
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
&.is-aligned-end {
|
|
33
|
+
justify-content: flex-end;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.is-gapless {
|
|
37
|
+
gap: 0;
|
|
38
|
+
}
|
|
32
39
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
padding: $row-gap-tablet-desktop;
|
|
40
|
+
.is-divider {
|
|
41
|
+
margin-top: 0;
|
|
42
|
+
margin-bottom: 0;
|
|
43
|
+
}
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
.row {
|
|
46
|
+
display: block;
|
|
47
|
+
flex-grow: 1;
|
|
48
|
+
flex-shrink: 1;
|
|
42
49
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
50
|
+
&.is-narrow {
|
|
51
|
+
flex-grow: 0;
|
|
46
52
|
}
|
|
53
|
+
}
|
|
47
54
|
}
|
|
@@ -20,249 +20,127 @@ $overlap: 30px;
|
|
|
20
20
|
$overlap-desktop: 30px;
|
|
21
21
|
|
|
22
22
|
.hero {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
43
|
+
> .container {
|
|
44
|
+
flex: 1;
|
|
45
|
+
flex-basis: 100%;
|
|
46
|
+
}
|
|
69
47
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
flex-basis: 100%;
|
|
73
|
-
}
|
|
48
|
+
.title {
|
|
49
|
+
font-size: 24px;
|
|
74
50
|
|
|
75
|
-
|
|
76
|
-
|
|
51
|
+
@include desktop {
|
|
52
|
+
font-size: 36px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
77
56
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
57
|
+
&.is-overlapped {
|
|
58
|
+
.hero-body {
|
|
59
|
+
padding-bottom: 50px;
|
|
82
60
|
}
|
|
83
61
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
62
|
+
+ .section {
|
|
63
|
+
@include mobile {
|
|
64
|
+
margin-left: -$hero-padding-y;
|
|
65
|
+
margin-right: -$hero-padding-y;
|
|
87
66
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
99
|
-
|
|
100
|
-
a:not(.button) {
|
|
101
|
-
color: getColor('background');
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
75
|
+
> .container {
|
|
76
|
+
margin-top: -$hero-padding-y - $overlap;
|
|
105
77
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
padding-bottom: 50px;
|
|
78
|
+
@include desktop {
|
|
79
|
+
margin-top: -$hero-padding-desktop-y - $overlap-desktop;
|
|
109
80
|
}
|
|
81
|
+
}
|
|
110
82
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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
|
-
|
|
159
|
-
|
|
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
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
93
|
+
&.is-medium {
|
|
94
|
+
> .container {
|
|
95
|
+
margin-top: -$hero-padding-medium-y - $overlap;
|
|
202
96
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
97
|
+
@include desktop {
|
|
98
|
+
margin-top: -$hero-padding-desktop-medium-y - $overlap-desktop;
|
|
99
|
+
}
|
|
206
100
|
}
|
|
101
|
+
}
|
|
207
102
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
103
|
+
&.is-large {
|
|
104
|
+
> .container {
|
|
105
|
+
margin-top: -$hero-padding-large-y - $overlap;
|
|
211
106
|
|
|
212
|
-
|
|
213
|
-
|
|
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
|
-
|
|
220
|
-
|
|
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
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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-
|
|
245
|
-
|
|
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
|
-
|
|
258
|
-
|
|
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
|
-
|
|
266
|
-
|
|
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: $
|
|
2
|
+
padding: $spacing-6 $spacing-4;
|
|
10
3
|
|
|
11
4
|
@include desktop {
|
|
12
|
-
padding: $
|
|
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: -$
|
|
14
|
+
margin-top: -$spacing-6 - $spacing-4;
|
|
17
15
|
|
|
18
16
|
@include desktop {
|
|
19
|
-
margin-top: -$
|
|
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:
|
|
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,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,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
|
|
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
|
|
12
|
-
@import "components
|
|
11
|
+
@import "elements";
|
|
12
|
+
@import "components";
|
|
13
13
|
@import "grid/all";
|
|
14
14
|
@import "layout/all";
|
|
@@ -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
|
+
}
|