pallote-css 0.3.9 → 0.3.11
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/pallote.min.css +1 -1
- package/dist/pallote.min.css.map +1 -1
- package/package.json +9 -7
- package/dist/pallote.scss +0 -36
- package/dist/scripts/accordion.js +0 -42
- package/dist/scripts/button.js +0 -5
- package/dist/scripts/cookie.js +0 -15
- package/dist/scripts/input.js +0 -18
- package/dist/scripts/nav.js +0 -22
- package/dist/scripts/navbar.js +0 -28
- package/dist/scripts/switch.js +0 -3
- package/dist/scripts/tabs.js +0 -30
- package/dist/styles/common/_editor.scss +0 -177
- package/dist/styles/common/_fontface.scss +0 -28
- package/dist/styles/common/_functions.scss +0 -11
- package/dist/styles/common/_global.scss +0 -154
- package/dist/styles/common/_mixins.scss +0 -162
- package/dist/styles/common/_reset.scss +0 -143
- package/dist/styles/common/_variables.scss +0 -249
- package/dist/styles/components/_accordion.scss +0 -130
- package/dist/styles/components/_alert.scss +0 -194
- package/dist/styles/components/_breadcrumbs.scss +0 -47
- package/dist/styles/components/_button.scss +0 -174
- package/dist/styles/components/_buttons.scss +0 -50
- package/dist/styles/components/_card.scss +0 -265
- package/dist/styles/components/_divider.scss +0 -50
- package/dist/styles/components/_form.scss +0 -55
- package/dist/styles/components/_grid.scss +0 -187
- package/dist/styles/components/_input.scss +0 -294
- package/dist/styles/components/_link.scss +0 -43
- package/dist/styles/components/_list.scss +0 -58
- package/dist/styles/components/_nav.scss +0 -270
- package/dist/styles/components/_navbar.scss +0 -189
- package/dist/styles/components/_page.scss +0 -33
- package/dist/styles/components/_section.scss +0 -189
- package/dist/styles/components/_sidebar.scss +0 -57
- package/dist/styles/components/_snippet.scss +0 -82
- package/dist/styles/components/_status.scss +0 -57
- package/dist/styles/components/_switch.scss +0 -81
- package/dist/styles/components/_tabs.scss +0 -115
- package/dist/styles/components/_tag.scss +0 -75
- package/dist/styles/modules/_cookie.scss +0 -38
- package/dist/styles/utilities/_color.scss +0 -116
- package/dist/styles/utilities/_global.scss +0 -208
- package/dist/styles/utilities/_text.scss +0 -203
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
// —————————————————————————————————————————————————————————————————
|
|
2
|
-
// elements
|
|
3
|
-
// size
|
|
4
|
-
// direction
|
|
5
|
-
// align
|
|
6
|
-
// transparent
|
|
7
|
-
// hasShadow
|
|
8
|
-
// —————————————————————————————————————————————————————————————————
|
|
9
|
-
|
|
10
|
-
// —————————————————————————————————————————————————————————————————
|
|
11
|
-
// elements
|
|
12
|
-
// —————————————————————————————————————————————————————————————————
|
|
13
|
-
|
|
14
|
-
.card {
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
align-items: stretch;
|
|
18
|
-
width: 100%;
|
|
19
|
-
overflow: hidden; // hide corners when CardMedia has fullWidth prop set to true
|
|
20
|
-
border: $border;
|
|
21
|
-
|
|
22
|
-
&:not(.card--transparent) {
|
|
23
|
-
background-color: $background-paper;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__media {
|
|
27
|
-
flex-basis: 0;
|
|
28
|
-
|
|
29
|
-
&Inner {
|
|
30
|
-
background-size: cover;
|
|
31
|
-
background-repeat: no-repeat;
|
|
32
|
-
background-position: center center;
|
|
33
|
-
width: 100%;
|
|
34
|
-
height: 100%;
|
|
35
|
-
background-color: $overlay;
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
padding-bottom: 50%;
|
|
38
|
-
|
|
39
|
-
.card--transparent & {
|
|
40
|
-
background-color: $overlay-contrast;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&__label,
|
|
46
|
-
&__title {
|
|
47
|
-
@extend %text-bold;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&__title {
|
|
51
|
-
line-height: 1.25;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&__subtitle {
|
|
55
|
-
@extend %text-regular;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&__content {
|
|
59
|
-
display: inline-flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
align-items: flex-start;
|
|
62
|
-
|
|
63
|
-
&--fullWidth {
|
|
64
|
-
|
|
65
|
-
.card > &.card__content {
|
|
66
|
-
padding-right: 0;
|
|
67
|
-
padding-left: 0;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&__actions {
|
|
73
|
-
display: flex;
|
|
74
|
-
justify-content: space-between;
|
|
75
|
-
|
|
76
|
-
>*:only-child {
|
|
77
|
-
margin-left: auto;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&--portrait {
|
|
81
|
-
flex-direction: column;
|
|
82
|
-
|
|
83
|
-
>*:not(:last-child) {
|
|
84
|
-
margin-bottom: $spacing-md;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// —————————————————————————————————————————————————————————————————
|
|
91
|
-
// size
|
|
92
|
-
// —————————————————————————————————————————————————————————————————
|
|
93
|
-
|
|
94
|
-
@mixin size($value, $size) {
|
|
95
|
-
|
|
96
|
-
&:not(.card--transparent) {
|
|
97
|
-
border-radius: $size;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&.card--hasShadow {
|
|
101
|
-
box-shadow: 0 0 $size $size*0.25 rgba($main ,0.3);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
> .card__media,
|
|
105
|
-
> .card__header,
|
|
106
|
-
> .card__content,
|
|
107
|
-
> .card__actions {
|
|
108
|
-
padding: $size;
|
|
109
|
-
|
|
110
|
-
&:not(:first-child) {
|
|
111
|
-
padding-top: 0;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
> .card__actions {
|
|
116
|
-
margin-top: auto;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&.card--transparent {
|
|
120
|
-
|
|
121
|
-
> .card__media,
|
|
122
|
-
> .card__header,
|
|
123
|
-
> .card__content,
|
|
124
|
-
> .card__actions {
|
|
125
|
-
padding: 0;
|
|
126
|
-
|
|
127
|
-
&:not(:first-child) {
|
|
128
|
-
padding-top: $size;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
> .card__media .card__mediaInner {
|
|
133
|
-
border-radius: calc($size/2);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.card__media--fullWidth {
|
|
138
|
-
padding-right: 0;
|
|
139
|
-
padding-top: 0;
|
|
140
|
-
padding-left: 0;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.card {
|
|
144
|
-
|
|
145
|
-
&__label {
|
|
146
|
-
@if $value == xs { @extend %overline; }
|
|
147
|
-
@else if $value == sm { @extend %overline; }
|
|
148
|
-
@else if $value == md { @extend %overline; }
|
|
149
|
-
@else if $value == lg { @extend %caption; }
|
|
150
|
-
@else if $value == xl { @extend %body; }
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
&__title {
|
|
154
|
-
@if $value == xs { @extend %body; }
|
|
155
|
-
@else if $value == sm { @extend %subtitle; }
|
|
156
|
-
@else if $value == md { @extend %h6; }
|
|
157
|
-
@else if $value == lg { @extend %h5; }
|
|
158
|
-
@else if $value == xl { @extend %h4; }
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&__subtitle {
|
|
162
|
-
@if $value == xs { @extend %caption; }
|
|
163
|
-
@else if $value == sm { @extend %body; }
|
|
164
|
-
@else if $value == md { @extend %subtitle; }
|
|
165
|
-
@else if $value == lg { @extend %h6; }
|
|
166
|
-
@else if $value == xl { @extend %h5; }
|
|
167
|
-
margin-top: calc($size / 3);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&__mediaInner {
|
|
171
|
-
border-radius: $size*0.25;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
> .card__media--fullWidth .card__mediaInner {
|
|
176
|
-
border-radius: 0;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
&.card--transparent > .card__media--fullWidth .card__mediaInner {
|
|
180
|
-
border-radius: $size*0.5;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
&.card--landscape {
|
|
184
|
-
|
|
185
|
-
> .card__media,
|
|
186
|
-
> .card__header,
|
|
187
|
-
> .card__content,
|
|
188
|
-
> .card__actions {
|
|
189
|
-
padding-top: $size;
|
|
190
|
-
|
|
191
|
-
&:not(:first-child) {
|
|
192
|
-
padding-left: 0;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
> .card__actions {
|
|
197
|
-
margin-left: auto;
|
|
198
|
-
flex-direction: column;
|
|
199
|
-
justify-content: flex-start;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
&.card--transparent {
|
|
203
|
-
|
|
204
|
-
> .card__media,
|
|
205
|
-
> .card__header,
|
|
206
|
-
> .card__content,
|
|
207
|
-
> .card__actions {
|
|
208
|
-
padding: 0;
|
|
209
|
-
|
|
210
|
-
&:not(:first-child) {
|
|
211
|
-
padding-left: $size;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
> .card__media .card__mediaInner {
|
|
216
|
-
border-radius: calc($size/2);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.card__media--fullWidth {
|
|
221
|
-
padding-top: 0;
|
|
222
|
-
padding-bottom: 0;
|
|
223
|
-
padding-left: 0;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.card {
|
|
229
|
-
@include size(md, $spacing-md+$spacing-sm);
|
|
230
|
-
&--xs.card { @include size(xs, $spacing-sm+$spacing-xs); }
|
|
231
|
-
&--sm.card { @include size(sm, $spacing-md); }
|
|
232
|
-
&--lg.card { @include size(lg, $spacing-lg); }
|
|
233
|
-
&--xl.card { @include size(xl, $spacing-lg+$spacing-sm); }
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
// —————————————————————————————————————————————————————————————————
|
|
237
|
-
// direction
|
|
238
|
-
// —————————————————————————————————————————————————————————————————
|
|
239
|
-
|
|
240
|
-
// most of the direction styling is handled by the size mixin
|
|
241
|
-
|
|
242
|
-
.card--landscape {
|
|
243
|
-
flex-direction: row;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
// —————————————————————————————————————————————————————————————————
|
|
247
|
-
// align
|
|
248
|
-
// —————————————————————————————————————————————————————————————————
|
|
249
|
-
|
|
250
|
-
.card {
|
|
251
|
-
|
|
252
|
-
&--center { text-align: center; }
|
|
253
|
-
&--right { text-align: right; }
|
|
254
|
-
}
|
|
255
|
-
// —————————————————————————————————————————————————————————————————
|
|
256
|
-
// transparent
|
|
257
|
-
// —————————————————————————————————————————————————————————————————
|
|
258
|
-
|
|
259
|
-
// the transparent styling is handled by the size mixin
|
|
260
|
-
|
|
261
|
-
// —————————————————————————————————————————————————————————————————
|
|
262
|
-
// hasShadow
|
|
263
|
-
// —————————————————————————————————————————————————————————————————
|
|
264
|
-
|
|
265
|
-
// the shadow styling is handled by the size mixin
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// —————————————————————————————————————————————————————————————————
|
|
2
|
-
// elements
|
|
3
|
-
// direction
|
|
4
|
-
// size
|
|
5
|
-
// —————————————————————————————————————————————————————————————————
|
|
6
|
-
|
|
7
|
-
// —————————————————————————————————————————————————————————————————
|
|
8
|
-
// elements
|
|
9
|
-
// —————————————————————————————————————————————————————————————————
|
|
10
|
-
|
|
11
|
-
.divider {
|
|
12
|
-
display: inline-block;
|
|
13
|
-
background-color: $border-color;
|
|
14
|
-
height: 1px;
|
|
15
|
-
width: 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// —————————————————————————————————————————————————————————————————
|
|
19
|
-
// direction
|
|
20
|
-
// —————————————————————————————————————————————————————————————————
|
|
21
|
-
|
|
22
|
-
.divider {
|
|
23
|
-
|
|
24
|
-
&-portrait {
|
|
25
|
-
height: 100%;
|
|
26
|
-
width: 1px;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// —————————————————————————————————————————————————————————————————
|
|
31
|
-
// size
|
|
32
|
-
// —————————————————————————————————————————————————————————————————
|
|
33
|
-
|
|
34
|
-
@mixin size($size) {
|
|
35
|
-
margin-top: $size;
|
|
36
|
-
margin-bottom: $size;
|
|
37
|
-
|
|
38
|
-
&.divider-portrait {
|
|
39
|
-
margin-top: 0;
|
|
40
|
-
margin-right: $size;
|
|
41
|
-
margin-bottom: 0;
|
|
42
|
-
margin-left: $size;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.divider {
|
|
47
|
-
@include size(1rem);
|
|
48
|
-
&-sm { @include size(.5rem); }
|
|
49
|
-
&-lg { @include size(2rem); }
|
|
50
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
// —————————————————————————————————————————————————————————————————
|
|
2
|
-
// elements
|
|
3
|
-
// dense
|
|
4
|
-
// card
|
|
5
|
-
// —————————————————————————————————————————————————————————————————
|
|
6
|
-
|
|
7
|
-
// —————————————————————————————————————————————————————————————————
|
|
8
|
-
// elements
|
|
9
|
-
// —————————————————————————————————————————————————————————————————
|
|
10
|
-
|
|
11
|
-
.form {
|
|
12
|
-
width: 100%;
|
|
13
|
-
|
|
14
|
-
&_title,
|
|
15
|
-
&_content,
|
|
16
|
-
&_actions {
|
|
17
|
-
|
|
18
|
-
&:not(:last-child) {
|
|
19
|
-
margin-bottom: 1.5rem;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&_title {
|
|
24
|
-
@extend %subtitle;
|
|
25
|
-
font-weight: $font-bold;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// —————————————————————————————————————————————————————————————————
|
|
30
|
-
// dense
|
|
31
|
-
// —————————————————————————————————————————————————————————————————
|
|
32
|
-
|
|
33
|
-
.form-dense {
|
|
34
|
-
|
|
35
|
-
.form {
|
|
36
|
-
|
|
37
|
-
&_title,
|
|
38
|
-
&_content,
|
|
39
|
-
&_actions {
|
|
40
|
-
|
|
41
|
-
&:not(:last-child) {
|
|
42
|
-
margin-bottom: 1rem;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.input:not(:last-child) {
|
|
48
|
-
margin-bottom: .5rem;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&.form-card {
|
|
52
|
-
padding: 1rem;
|
|
53
|
-
border-radius: 1rem;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
// —————————————————————————————————————————————————————————————————
|
|
2
|
-
// variables
|
|
3
|
-
// elements
|
|
4
|
-
// wrap
|
|
5
|
-
// direction
|
|
6
|
-
// justifyContent
|
|
7
|
-
// alignItems
|
|
8
|
-
// alignSelf
|
|
9
|
-
// flexGrow
|
|
10
|
-
// spacing
|
|
11
|
-
// width
|
|
12
|
-
// —————————————————————————————————————————————————————————————————
|
|
13
|
-
|
|
14
|
-
// —————————————————————————————————————————————————————————————————
|
|
15
|
-
// variables
|
|
16
|
-
// —————————————————————————————————————————————————————————————————
|
|
17
|
-
|
|
18
|
-
$col: calc(100% / 12);
|
|
19
|
-
|
|
20
|
-
// —————————————————————————————————————————————————————————————————
|
|
21
|
-
// elements
|
|
22
|
-
// —————————————————————————————————————————————————————————————————
|
|
23
|
-
|
|
24
|
-
.grid {
|
|
25
|
-
display: flex;
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
flex-wrap: wrap;
|
|
29
|
-
|
|
30
|
-
&__item:not(.grid) {
|
|
31
|
-
position: relative;
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
float: left;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// —————————————————————————————————————————————————————————————————
|
|
39
|
-
// wrap
|
|
40
|
-
// —————————————————————————————————————————————————————————————————
|
|
41
|
-
|
|
42
|
-
.grid {
|
|
43
|
-
|
|
44
|
-
// have children wrap automatically
|
|
45
|
-
&--wrap {
|
|
46
|
-
justify-content: center;
|
|
47
|
-
|
|
48
|
-
> .grid__item {
|
|
49
|
-
flex: 1 0 0;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// —————————————————————————————————————————————————————————————————
|
|
55
|
-
// direction
|
|
56
|
-
// —————————————————————————————————————————————————————————————————
|
|
57
|
-
|
|
58
|
-
.grid--column { flex-direction: column; }
|
|
59
|
-
.grid--columnReverse { flex-direction: column-reverse; }
|
|
60
|
-
.grid--row { flex-direction: row; flex-wrap: wrap; }
|
|
61
|
-
.grid--rowReverse { flex-direction: row-reverse; flex-wrap: wrap; }
|
|
62
|
-
|
|
63
|
-
// —————————————————————————————————————————————————————————————————
|
|
64
|
-
// justifyContent
|
|
65
|
-
// —————————————————————————————————————————————————————————————————
|
|
66
|
-
|
|
67
|
-
.grid--jc-center { justify-content: center;}
|
|
68
|
-
.grid--jc-end { justify-content: flex-end;}
|
|
69
|
-
.grid--jc-start { justify-content: flex-start;}
|
|
70
|
-
.grid--jc-spaceAround { justify-content: space-around;}
|
|
71
|
-
.grid--jc-spaceBetween { justify-content: space-between;}
|
|
72
|
-
.grid--jc-spaceEvenly { justify-content: space-evenly;}
|
|
73
|
-
|
|
74
|
-
// —————————————————————————————————————————————————————————————————
|
|
75
|
-
// alignItems
|
|
76
|
-
// —————————————————————————————————————————————————————————————————
|
|
77
|
-
|
|
78
|
-
.grid--ai-stretch { align-items: stretch; }
|
|
79
|
-
.grid--ai-center { align-items: center; }
|
|
80
|
-
.grid--ai-end { align-items: flex-end; }
|
|
81
|
-
.grid--ai-start { align-items: flex-start; }
|
|
82
|
-
.grid--ai-baseline { align-items: baseline; }
|
|
83
|
-
|
|
84
|
-
// —————————————————————————————————————————————————————————————————
|
|
85
|
-
// alignSelf
|
|
86
|
-
// —————————————————————————————————————————————————————————————————
|
|
87
|
-
|
|
88
|
-
.grid--as-stretch { align-self: stretch; }
|
|
89
|
-
.grid--as-center { align-self: center; }
|
|
90
|
-
.grid--as-end { align-self: flex-end; }
|
|
91
|
-
.grid--as-start { align-self: flex-start; }
|
|
92
|
-
.grid--as-baseline { align-self: baseline; }
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
// —————————————————————————————————————————————————————————————————
|
|
96
|
-
// flexGrow
|
|
97
|
-
// —————————————————————————————————————————————————————————————————
|
|
98
|
-
|
|
99
|
-
.grid--fg {
|
|
100
|
-
|
|
101
|
-
&-0 { flex-grow: 0; }
|
|
102
|
-
&-1 { flex-grow: 1; }
|
|
103
|
-
&-auto { flex-grow: auto; }
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// —————————————————————————————————————————————————————————————————
|
|
107
|
-
// spacing
|
|
108
|
-
// —————————————————————————————————————————————————————————————————
|
|
109
|
-
|
|
110
|
-
@for $spacingWidth from 1 through 12 {
|
|
111
|
-
|
|
112
|
-
.grid--spacing#{$spacingWidth} {
|
|
113
|
-
margin: -($spacingWidth * 0.5rem)*0.5;
|
|
114
|
-
width: calc(100% + #{$spacingWidth * 0.5rem});
|
|
115
|
-
|
|
116
|
-
> .grid__item {
|
|
117
|
-
padding: ($spacingWidth * 0.5rem)*0.5;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&.grid__item {
|
|
121
|
-
width: calc(100% + #{$spacingWidth * 0.5rem});
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// —————————————————————————————————————————————————————————————————
|
|
127
|
-
// width
|
|
128
|
-
// —————————————————————————————————————————————————————————————————
|
|
129
|
-
|
|
130
|
-
@for $colWidth from 1 through 12 {
|
|
131
|
-
|
|
132
|
-
.grid--#{$colWidth} {
|
|
133
|
-
width: $colWidth*$col;
|
|
134
|
-
|
|
135
|
-
&.grid {
|
|
136
|
-
width: $colWidth*$col;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
@for $spacingWidth from 1 through 12 {
|
|
140
|
-
|
|
141
|
-
&.grid--spacing#{$spacingWidth} {
|
|
142
|
-
width: calc(#{$colWidth*$col} + #{$spacingWidth * 0.5rem});
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@mixin break-width($breakpoint) {
|
|
149
|
-
|
|
150
|
-
@include responsive(up, $breakpoint) {
|
|
151
|
-
|
|
152
|
-
@for $colWidth from 1 through 12 {
|
|
153
|
-
|
|
154
|
-
&#{$colWidth} {
|
|
155
|
-
width: $colWidth*$col;
|
|
156
|
-
|
|
157
|
-
&.grid {
|
|
158
|
-
width: $colWidth*$col;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
@for $spacingWidth from 1 through 12 {
|
|
162
|
-
|
|
163
|
-
&.grid--spacing#{$spacingWidth} {
|
|
164
|
-
width: calc(#{$colWidth*$col} + #{$spacingWidth * 0.5rem});
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
[class*="grid--xs"],
|
|
173
|
-
[class*="grid--sm"],
|
|
174
|
-
[class*="grid--md"],
|
|
175
|
-
[class*="grid--lg"],
|
|
176
|
-
[class*="grid--xl"] {
|
|
177
|
-
width: 100%;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.grid {
|
|
181
|
-
|
|
182
|
-
&--xs { @include break-width(mobile-sm); }
|
|
183
|
-
&--sm { @include break-width(mobile); }
|
|
184
|
-
&--md { @include break-width(tablet); }
|
|
185
|
-
&--lg { @include break-width(laptop); }
|
|
186
|
-
&--xl { @include break-width(desktop); }
|
|
187
|
-
}
|