@trilogy-ds/styles 0.0.1-beta-1
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/framework/src/_all.scss +8 -0
- package/framework/src/base/_all.scss +9 -0
- package/framework/src/base/_color.scss +58 -0
- package/framework/src/base/_elements.scss +34 -0
- package/framework/src/base/_fonts.scss +2 -0
- package/framework/src/base/_generic.scss +68 -0
- package/framework/src/base/_helpers.scss +880 -0
- package/framework/src/base/_loading.scss +102 -0
- package/framework/src/base/_reset.scss +138 -0
- package/framework/src/components/_accordion.scss +178 -0
- package/framework/src/components/_all.scss +30 -0
- package/framework/src/components/_autolayout2.scss +38 -0
- package/framework/src/components/_breadcrumb.scss +45 -0
- package/framework/src/components/_card.scss +298 -0
- package/framework/src/components/_countdown.scss +55 -0
- package/framework/src/components/_disclaimer.scss +84 -0
- package/framework/src/components/_divider.scss +18 -0
- package/framework/src/components/_dropdown.scss +128 -0
- package/framework/src/components/_fab.scss +60 -0
- package/framework/src/components/_level.scss +120 -0
- package/framework/src/components/_media.scss +64 -0
- package/framework/src/components/_menu.scss +213 -0
- package/framework/src/components/_modal.scss +201 -0
- package/framework/src/components/_otp.scss +92 -0
- package/framework/src/components/_pagination.scss +182 -0
- package/framework/src/components/_plus-symbol.scss +32 -0
- package/framework/src/components/_popover.scss +340 -0
- package/framework/src/components/_price.scss +209 -0
- package/framework/src/components/_product-tour.scss +131 -0
- package/framework/src/components/_progress-radial.scss +23 -0
- package/framework/src/components/_range.scss +84 -0
- package/framework/src/components/_scroll-view.scss +19 -0
- package/framework/src/components/_search-modal.scss +197 -0
- package/framework/src/components/_segmented-control.scss +60 -0
- package/framework/src/components/_slices.scss +316 -0
- package/framework/src/components/_slider.scss +92 -0
- package/framework/src/components/_stepper.scss +397 -0
- package/framework/src/components/_switch.scss +209 -0
- package/framework/src/components/_tabs.scss +212 -0
- package/framework/src/components/_timeline.scss +367 -0
- package/framework/src/elements/_alert.scss +91 -0
- package/framework/src/elements/_all.scss +35 -0
- package/framework/src/elements/_badge.scss +81 -0
- package/framework/src/elements/_box.scss +267 -0
- package/framework/src/elements/_button.scss +192 -0
- package/framework/src/elements/_checkbox.scss +39 -0
- package/framework/src/elements/_checkradio.scss +173 -0
- package/framework/src/elements/_chips.scss +100 -0
- package/framework/src/elements/_container.scss +108 -0
- package/framework/src/elements/_dot.scss +6 -0
- package/framework/src/elements/_entry.scss +109 -0
- package/framework/src/elements/_form.scss +593 -0
- package/framework/src/elements/_icon.scss +384 -0
- package/framework/src/elements/_image.scss +59 -0
- package/framework/src/elements/_input-gauge.scss +37 -0
- package/framework/src/elements/_input-icons.scss +41 -0
- package/framework/src/elements/_link.scss +79 -0
- package/framework/src/elements/_list.scss +61 -0
- package/framework/src/elements/_loader.scss +126 -0
- package/framework/src/elements/_notification.scss +151 -0
- package/framework/src/elements/_options.scss +146 -0
- package/framework/src/elements/_other.scss +44 -0
- package/framework/src/elements/_paragraph.scss +101 -0
- package/framework/src/elements/_progress.scss +212 -0
- package/framework/src/elements/_radio.scss +67 -0
- package/framework/src/elements/_select.scss +315 -0
- package/framework/src/elements/_sticker.scss +151 -0
- package/framework/src/elements/_switch.scss +108 -0
- package/framework/src/elements/_table.scss +298 -0
- package/framework/src/elements/_tag.scss +131 -0
- package/framework/src/elements/_textarea.scss +125 -0
- package/framework/src/elements/_timeline.scss +283 -0
- package/framework/src/elements/_title.scss +139 -0
- package/framework/src/elements/_toaster.scss +128 -0
- package/framework/src/grid/_all.scss +3 -0
- package/framework/src/grid/_columns.scss +952 -0
- package/framework/src/grid/_rows.scss +47 -0
- package/framework/src/grid/_tiles.scss +78 -0
- package/framework/src/layout/_all.scss +6 -0
- package/framework/src/layout/_hero.scss +268 -0
- package/framework/src/layout/_main.scss +36 -0
- package/framework/src/layout/_section.scss +65 -0
- package/framework/src/layout/_toolbar.scss +100 -0
- package/framework/src/trilogy-core.scss +16 -0
- package/framework/src/trilogy-mangled.scss +14 -0
- package/framework/src/trilogy-namespaced.scss +14 -0
- package/framework/src/trilogy.scss +8 -0
- package/framework/src/utilities/_all.scss +9 -0
- package/framework/src/utilities/_animations.scss +71 -0
- package/framework/src/utilities/_controls.scss +67 -0
- package/framework/src/utilities/_derived-variables.scss +104 -0
- package/framework/src/utilities/_functions.scss +94 -0
- package/framework/src/utilities/_initial-variables.scss +150 -0
- package/framework/src/utilities/_mixins.scss +745 -0
- package/framework/src/utilities/_post.scss +6 -0
- package/framework/src/utilities/_pre.scss +5 -0
- package/framework/src/utilities/_spacing.scss +10 -0
- package/framework/src/utilities/_tools.scss +3 -0
- package/package.json +22 -0
- package/themes/default/src/_all.scss +1 -0
- package/themes/default/src/assets.scss +11 -0
- package/themes/default/src/utilities/_all.scss +0 -0
- package/themes/default/src/utilities/_post.scss +0 -0
- package/themes/default/src/utilities/_pre.scss +3 -0
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
}
|
|
17
|
+
|
|
18
|
+
&.is-gapless {
|
|
19
|
+
.row:not(:first-child) {
|
|
20
|
+
padding-top: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.row:not(:last-child) {
|
|
24
|
+
padding-bottom: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.is-divider {
|
|
29
|
+
margin-top: 0;
|
|
30
|
+
margin-bottom: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.row {
|
|
34
|
+
display: block;
|
|
35
|
+
flex-grow: 1;
|
|
36
|
+
flex-shrink: 1;
|
|
37
|
+
padding: $row-gap-tablet-desktop;
|
|
38
|
+
|
|
39
|
+
@include mobile {
|
|
40
|
+
padding: $row-gap-mobile;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.is-narrow {
|
|
44
|
+
flex-grow: 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
.tile {
|
|
4
|
+
align-items: stretch;
|
|
5
|
+
display: block;
|
|
6
|
+
flex-basis: 0;
|
|
7
|
+
flex-grow: 1;
|
|
8
|
+
flex-shrink: 1;
|
|
9
|
+
min-height: min-content;
|
|
10
|
+
|
|
11
|
+
&.is-ancestor {
|
|
12
|
+
margin-left: -7.5px;
|
|
13
|
+
margin-right: -7.5px;
|
|
14
|
+
margin-top: -7.5px;
|
|
15
|
+
|
|
16
|
+
&:last-child {
|
|
17
|
+
margin-bottom: -7.5px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:not(:last-child) {
|
|
21
|
+
margin-bottom: 7.5px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.is-child {
|
|
26
|
+
margin: 0 !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.is-parent {
|
|
30
|
+
padding: 7.5px;
|
|
31
|
+
|
|
32
|
+
&.is-multiline {
|
|
33
|
+
> .tile.is-child {
|
|
34
|
+
> *:last-child {
|
|
35
|
+
margin-bottom: 20px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.is-vertical {
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
|
|
44
|
+
& > .tile.is-child:not(:last-child) {
|
|
45
|
+
margin-bottom: 15px !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:not(.is-child) {
|
|
50
|
+
display: flex;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@include mobile {
|
|
54
|
+
@for $i from 1 through 12 {
|
|
55
|
+
&.is-#{$i}-mobile {
|
|
56
|
+
flex: none;
|
|
57
|
+
width: math.div($i, 12) * 100%;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.is-vertical-mobile {
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include tablet {
|
|
67
|
+
&:not(.is-child) {
|
|
68
|
+
display: flex;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@for $i from 1 through 12 {
|
|
72
|
+
&.is-#{$i} {
|
|
73
|
+
flex: none;
|
|
74
|
+
width: math.div($i, 12) * 100%;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
$hero-padding-y: 20px;
|
|
2
|
+
$hero-padding-x: $hero-padding-y;
|
|
3
|
+
$hero-padding-small-y: $hero-padding-y;
|
|
4
|
+
$hero-padding-small-x: $hero-padding-y;
|
|
5
|
+
$hero-padding-medium-y: 40px;
|
|
6
|
+
$hero-padding-medium-x: $hero-padding-y;
|
|
7
|
+
$hero-padding-large-y: 60px;
|
|
8
|
+
$hero-padding-large-x: $hero-padding-y;
|
|
9
|
+
|
|
10
|
+
$hero-padding-desktop-y: 30px;
|
|
11
|
+
$hero-padding-desktop-x: $hero-padding-desktop-y;
|
|
12
|
+
$hero-padding-desktop-small-y: $hero-padding-desktop-y;
|
|
13
|
+
$hero-padding-desktop-small-x: $hero-padding-desktop-y;
|
|
14
|
+
$hero-padding-desktop-medium-y: 60px;
|
|
15
|
+
$hero-padding-desktop-medium-x: $hero-padding-desktop-y;
|
|
16
|
+
$hero-padding-desktop-large-y: 90px;
|
|
17
|
+
$hero-padding-desktop-large-x: $hero-padding-desktop-y;
|
|
18
|
+
|
|
19
|
+
$overlap: 30px;
|
|
20
|
+
$overlap-desktop: 30px;
|
|
21
|
+
|
|
22
|
+
.hero {
|
|
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;
|
|
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
|
+
}
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
> .container {
|
|
71
|
+
flex: 1;
|
|
72
|
+
flex-basis: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.title {
|
|
76
|
+
font-size: 24px;
|
|
77
|
+
|
|
78
|
+
@include desktop {
|
|
79
|
+
font-size: 36px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.has-pattern-dark,
|
|
85
|
+
&.is-instit {
|
|
86
|
+
@include pattern-dark(105%, 50%, 35%);
|
|
87
|
+
|
|
88
|
+
p,
|
|
89
|
+
strong,
|
|
90
|
+
.paragraph,
|
|
91
|
+
.suptitle,
|
|
92
|
+
.title,
|
|
93
|
+
.subtitle,
|
|
94
|
+
a:not(.button):not(.tag) {
|
|
95
|
+
color: getColor('background');
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.subtitle {
|
|
99
|
+
strong,
|
|
100
|
+
a:not(.button) {
|
|
101
|
+
color: getColor('background');
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.is-overlapped {
|
|
107
|
+
.hero-body {
|
|
108
|
+
padding-bottom: 50px;
|
|
109
|
+
}
|
|
110
|
+
|
|
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;
|
|
157
|
+
|
|
158
|
+
@include desktop {
|
|
159
|
+
margin-top: -$hero-padding-desktop-large-y - $overlap-desktop;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
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;
|
|
197
|
+
|
|
198
|
+
@include desktop {
|
|
199
|
+
font-size: 52px;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.button {
|
|
204
|
+
width: auto;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&.is-overlapped {
|
|
209
|
+
.hero-body {
|
|
210
|
+
padding: 30px 20px 60px;
|
|
211
|
+
|
|
212
|
+
@include desktop {
|
|
213
|
+
padding: 60px 20px;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&.is-centered {
|
|
220
|
+
text-align: center;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&.is-primary {
|
|
224
|
+
color: getColor('background');
|
|
225
|
+
|
|
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
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
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
|
+
}
|
|
256
|
+
|
|
257
|
+
.subtitle {
|
|
258
|
+
strong,
|
|
259
|
+
a:not(.button) {
|
|
260
|
+
color: getColor('background');
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.subtitle {
|
|
266
|
+
padding-left: 0.2em;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
body > header,
|
|
2
|
+
body > footer,
|
|
3
|
+
.main-content {
|
|
4
|
+
display: block;
|
|
5
|
+
width: 100%;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
position: relative;
|
|
9
|
+
|
|
10
|
+
&.is-fullwidth {
|
|
11
|
+
@include fullhd {
|
|
12
|
+
max-width: 100%;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.main-content {
|
|
18
|
+
flex-grow: 1;
|
|
19
|
+
max-width: 1500px;
|
|
20
|
+
|
|
21
|
+
&::before {
|
|
22
|
+
content: ' ';
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
transition: background-color 250ms ease-in-out;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.has-overlay {
|
|
28
|
+
&::before {
|
|
29
|
+
@include overlay;
|
|
30
|
+
|
|
31
|
+
position: fixed;
|
|
32
|
+
background-color: rgba(#000, 0.86);
|
|
33
|
+
z-index: zindex('small');
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
.section {
|
|
9
|
+
padding: $section-padding-y $section-padding-x;
|
|
10
|
+
|
|
11
|
+
@include desktop {
|
|
12
|
+
padding: $section-padding-desktop-y $section-padding-desktop-x;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.has-overlap > .container {
|
|
16
|
+
margin-top: -$section-padding-y - $overlap-section;
|
|
17
|
+
|
|
18
|
+
@include desktop {
|
|
19
|
+
margin-top: -$section-padding-desktop-y - $overlap-section-desktop;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:nth-child(even) {
|
|
24
|
+
background-color: getColor('grey-lighter');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:nth-child(odd) {
|
|
28
|
+
background-color: getColor('background');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.is-info {
|
|
32
|
+
background-color: getVariantColor('alternate',2);
|
|
33
|
+
color: getColor('background');
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.has-overlay {
|
|
37
|
+
position: relative;
|
|
38
|
+
z-index: zindex('void');
|
|
39
|
+
color: getColor('background');
|
|
40
|
+
|
|
41
|
+
&::before {
|
|
42
|
+
@include overlay;
|
|
43
|
+
content: '';
|
|
44
|
+
z-index: zindex('subzero');
|
|
45
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.has-pattern-light {
|
|
50
|
+
@include pattern-light(70%, 180px, -30px);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.has-pattern-dark {
|
|
54
|
+
@include pattern-dark(120%, 260px, -30%);
|
|
55
|
+
}
|
|
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
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
$toolbar-height: 60px !default;
|
|
2
|
+
|
|
3
|
+
.toolbar {
|
|
4
|
+
height: $toolbar-height;
|
|
5
|
+
border-bottom: 1px solid getColor('grey-light');
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
|
|
9
|
+
> .container {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
height: 100%;
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
> .container > .toolbar-row,
|
|
17
|
+
> .toolbar-row {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
align-items: center;
|
|
21
|
+
height: 100%;
|
|
22
|
+
border-right: 1px solid getColor('grey-light');
|
|
23
|
+
|
|
24
|
+
&:empty {
|
|
25
|
+
border-right: none;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
> .container > .toolbar-group,
|
|
30
|
+
> .container > .toolbar-row > .toolbar-group,
|
|
31
|
+
> .toolbar-group,
|
|
32
|
+
> .toolbar-row > .toolbar-group {
|
|
33
|
+
margin-top: 0;
|
|
34
|
+
margin-bottom: 0;
|
|
35
|
+
padding: 0 10px;
|
|
36
|
+
height: 100%;
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
|
|
40
|
+
&:not(:first-of-type) {
|
|
41
|
+
border-left: 1px solid getColor('grey-light');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
> .toolbar-item {
|
|
45
|
+
padding-left: 10px;
|
|
46
|
+
padding-right: 10px;
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
|
|
49
|
+
&.is-clipped-to-bottom {
|
|
50
|
+
align-self: flex-end;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@include mobile {
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
align-items: stretch;
|
|
58
|
+
height: auto;
|
|
59
|
+
padding: 0;
|
|
60
|
+
|
|
61
|
+
> .container {
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
align-items: stretch;
|
|
64
|
+
height: auto;
|
|
65
|
+
padding: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
> .container > .toolbar-group,
|
|
69
|
+
> .container > .toolbar-row > .toolbar-group,
|
|
70
|
+
> .toolbar-group,
|
|
71
|
+
> .toolbar-row > .toolbar-group {
|
|
72
|
+
height: $toolbar-height;
|
|
73
|
+
|
|
74
|
+
&:not(:last-of-type) {
|
|
75
|
+
border-right: 0;
|
|
76
|
+
border-bottom: 1px solid getColor('grey-light');
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
> .container > .toolbar-row,
|
|
81
|
+
> .toolbar-row {
|
|
82
|
+
height: $toolbar-height;
|
|
83
|
+
border-right: 0;
|
|
84
|
+
|
|
85
|
+
> .toolbar-group {
|
|
86
|
+
border-bottom: 1px solid getColor('grey-light');
|
|
87
|
+
flex-grow: 1;
|
|
88
|
+
|
|
89
|
+
&:not(:last-of-type) {
|
|
90
|
+
border-right: 1px solid getColor('grey-light');
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.is-elastic,
|
|
97
|
+
.toolbar-space {
|
|
98
|
+
flex-grow: 1;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
|
|
3
|
+
@import "utilities/functions";
|
|
4
|
+
@import "utilities/initial-variables";
|
|
5
|
+
@import "utilities/derived-variables";
|
|
6
|
+
@import "utilities/mixins";
|
|
7
|
+
@import "base/reset";
|
|
8
|
+
@import "base/generic";
|
|
9
|
+
@import "base/fonts";
|
|
10
|
+
@import "grid/columns";
|
|
11
|
+
@import "grid/rows";
|
|
12
|
+
@import "layout/main";
|
|
13
|
+
@import "layout/section";
|
|
14
|
+
@import "elements/box";
|
|
15
|
+
@import "elements/paragraph";
|
|
16
|
+
@import "elements/title";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
|
|
3
|
+
@import "utilities/all";
|
|
4
|
+
|
|
5
|
+
/* All Base Without reset */
|
|
6
|
+
@import "base/fonts";
|
|
7
|
+
@import "base/helpers";
|
|
8
|
+
@import "base/loading";
|
|
9
|
+
@import "base/elements";
|
|
10
|
+
|
|
11
|
+
@import "elements/all";
|
|
12
|
+
@import "components/all";
|
|
13
|
+
@import "grid/all";
|
|
14
|
+
@import "layout/all";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@import './styles/framework/src/utilities/tools';
|
|
2
|
+
|
|
3
|
+
@import './styles/themes/common/src/utilities/pre';
|
|
4
|
+
@import './styles/framework/src/utilities/pre';
|
|
5
|
+
|
|
6
|
+
@import './styles/framework/src/utilities/post';
|
|
7
|
+
@import './styles/themes/common/src/utilities/post';
|
|
8
|
+
|
|
9
|
+
@import './styles/framework/src/all';
|
|
10
|
+
|
|
11
|
+
// Fonts
|
|
12
|
+
@import './styles/dist/fonts/css/all.scss';
|
|
13
|
+
|
|
14
|
+
@import './styles/themes/common/src/_all';
|