sass-zero 0.0.46 → 0.0.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Example.html +1 -1
- data/README.md +1 -0
- data/app/assets/stylesheets/sass-zero/base/normalize.css +159 -223
- data/app/assets/stylesheets/sass-zero/base/preflight.scss +37 -17
- data/app/assets/stylesheets/sass-zero/breadboard.scss +6 -7
- data/app/assets/stylesheets/sass-zero/mixins.scss +0 -36
- data/app/assets/stylesheets/sass-zero/utilities/flex.scss +3 -3
- data/app/assets/stylesheets/sass-zero/utilities/list.scss +6 -6
- data/app/assets/stylesheets/sass-zero/utilities/position.scss +12 -4
- data/app/assets/stylesheets/sass-zero/variables/border.scss +1 -1
- data/app/assets/stylesheets/sass-zero/variables/colors.scss +11 -10
- data/app/assets/stylesheets/sass-zero/variables/height.scss +37 -0
- data/app/assets/stylesheets/sass-zero/variables/spacing.scss +36 -32
- data/app/assets/stylesheets/sass-zero/variables/width.scss +28 -45
- data/app/assets/stylesheets/sass-zero/variables.scss +1 -0
- data/lib/sass/zero/version.rb +1 -1
- data/package.json +1 -1
- data/sass-zero.gemspec +1 -1
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a31299ba5a18323b097072ca19ed18e074a33cceae5d52d8dcb7defdba8ac31
|
4
|
+
data.tar.gz: d21a8567351022034bbcf179130c9dd23a848e42a134419758dc5a902417b129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99218a1afd73ea6f469085ba8ce0540010fcc50a47b36baa03f1e9a59c5f2414077e0d99871ae15165f409306636ea49236209d82b72c7c8330f80c23869c9fa
|
7
|
+
data.tar.gz: a93203f808882fdc36b682499cbfd7792e7c40c7d501b966b91dee5a0387b18404d8cf9c92b9f748ac570b7551a87639e61a94411eecabddfd48bc33b263c846
|
data/Example.html
CHANGED
@@ -26,8 +26,8 @@
|
|
26
26
|
<div class="push-md--bottom">
|
27
27
|
<label for="nameField" class="u-display-b txt--bold">Name</label>
|
28
28
|
<input type="text" placeholder="CJ Patoilo" id="nameField" class="input">
|
29
|
-
<label for="ageRangeField" class="u-display-b txt--bold">Age Range</label>
|
30
29
|
|
30
|
+
<label for="ageRangeField" class="u-display-b txt--bold">Age Range</label>
|
31
31
|
<select id="ageRangeField" class="input input--select">
|
32
32
|
<option value="0-13">0-13</option>
|
33
33
|
<option value="14-17">14-17</option>
|
data/README.md
CHANGED
@@ -46,6 +46,7 @@ Developers should be able to produce your own design, [Refactoring UI](https://r
|
|
46
46
|
- [Transition](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/transition.scss)
|
47
47
|
- [Typography](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/typography.scss)
|
48
48
|
- [Width](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/width.scss)
|
49
|
+
- [Height](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/height.scss)
|
49
50
|
- [Z-Index](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/zindex.scss)
|
50
51
|
|
51
52
|
|
@@ -1,349 +1,285 @@
|
|
1
|
-
/*! normalize
|
1
|
+
/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
2
2
|
|
3
|
-
/*
|
4
|
-
|
3
|
+
/*
|
4
|
+
Document
|
5
|
+
========
|
6
|
+
*/
|
5
7
|
|
6
8
|
/**
|
7
|
-
|
8
|
-
|
9
|
-
*/
|
9
|
+
Use a better box model (opinionated).
|
10
|
+
*/
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
12
|
+
*,
|
13
|
+
::before,
|
14
|
+
::after {
|
15
|
+
box-sizing: border-box;
|
14
16
|
}
|
15
17
|
|
16
|
-
/* Sections
|
17
|
-
========================================================================== */
|
18
|
-
|
19
18
|
/**
|
20
|
-
|
21
|
-
|
19
|
+
1. Correct the line height in all browsers.
|
20
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
21
|
+
3. Use a more readable tab size (opinionated).
|
22
|
+
*/
|
22
23
|
|
23
|
-
|
24
|
-
|
24
|
+
html {
|
25
|
+
line-height: 1.15; /* 1 */
|
26
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
27
|
+
-moz-tab-size: 4; /* 3 */
|
28
|
+
tab-size: 4; /* 3 */
|
25
29
|
}
|
26
30
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
main {
|
32
|
-
display: block;
|
33
|
-
}
|
31
|
+
/*
|
32
|
+
Sections
|
33
|
+
========
|
34
|
+
*/
|
34
35
|
|
35
36
|
/**
|
36
|
-
|
37
|
-
|
38
|
-
|
37
|
+
1. Remove the margin in all browsers.
|
38
|
+
2. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
39
|
+
*/
|
39
40
|
|
40
|
-
|
41
|
-
|
42
|
-
|
41
|
+
body {
|
42
|
+
margin: 0; /* 1 */
|
43
|
+
font-family:
|
44
|
+
system-ui,
|
45
|
+
-apple-system, /* Firefox supports this but not yet `system-ui` */
|
46
|
+
'Segoe UI',
|
47
|
+
Roboto,
|
48
|
+
Helvetica,
|
49
|
+
Arial,
|
50
|
+
sans-serif,
|
51
|
+
'Apple Color Emoji',
|
52
|
+
'Segoe UI Emoji'; /* 2 */
|
43
53
|
}
|
44
54
|
|
45
|
-
/*
|
46
|
-
|
55
|
+
/*
|
56
|
+
Grouping content
|
57
|
+
================
|
58
|
+
*/
|
47
59
|
|
48
60
|
/**
|
49
|
-
|
50
|
-
|
51
|
-
|
61
|
+
1. Add the correct height in Firefox.
|
62
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
63
|
+
*/
|
52
64
|
|
53
65
|
hr {
|
54
|
-
|
55
|
-
|
56
|
-
overflow: visible; /* 2 */
|
57
|
-
}
|
58
|
-
|
59
|
-
/**
|
60
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
61
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
62
|
-
*/
|
63
|
-
|
64
|
-
pre {
|
65
|
-
font-family: monospace, monospace; /* 1 */
|
66
|
-
font-size: 1em; /* 2 */
|
66
|
+
height: 0; /* 1 */
|
67
|
+
color: inherit; /* 2 */
|
67
68
|
}
|
68
69
|
|
69
|
-
/*
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
* Remove the gray background on active links in IE 10.
|
74
|
-
*/
|
75
|
-
|
76
|
-
a {
|
77
|
-
background-color: transparent;
|
78
|
-
}
|
70
|
+
/*
|
71
|
+
Text-level semantics
|
72
|
+
====================
|
73
|
+
*/
|
79
74
|
|
80
75
|
/**
|
81
|
-
|
82
|
-
|
83
|
-
*/
|
76
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
77
|
+
*/
|
84
78
|
|
85
79
|
abbr[title] {
|
86
|
-
|
87
|
-
text-decoration: underline; /* 2 */
|
88
|
-
text-decoration: underline dotted; /* 2 */
|
80
|
+
text-decoration: underline dotted;
|
89
81
|
}
|
90
82
|
|
91
83
|
/**
|
92
|
-
|
93
|
-
|
84
|
+
Add the correct font weight in Edge and Safari.
|
85
|
+
*/
|
94
86
|
|
95
87
|
b,
|
96
88
|
strong {
|
97
|
-
|
89
|
+
font-weight: bolder;
|
98
90
|
}
|
99
91
|
|
100
92
|
/**
|
101
|
-
|
102
|
-
|
103
|
-
|
93
|
+
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
94
|
+
2. Correct the odd 'em' font sizing in all browsers.
|
95
|
+
*/
|
104
96
|
|
105
97
|
code,
|
106
98
|
kbd,
|
107
|
-
samp
|
108
|
-
|
109
|
-
|
99
|
+
samp,
|
100
|
+
pre {
|
101
|
+
font-family:
|
102
|
+
ui-monospace,
|
103
|
+
SFMono-Regular,
|
104
|
+
Consolas,
|
105
|
+
'Liberation Mono',
|
106
|
+
Menlo,
|
107
|
+
monospace; /* 1 */
|
108
|
+
font-size: 1em; /* 2 */
|
110
109
|
}
|
111
110
|
|
112
111
|
/**
|
113
|
-
|
114
|
-
|
112
|
+
Add the correct font size in all browsers.
|
113
|
+
*/
|
115
114
|
|
116
115
|
small {
|
117
|
-
|
116
|
+
font-size: 80%;
|
118
117
|
}
|
119
118
|
|
120
119
|
/**
|
121
|
-
|
122
|
-
|
123
|
-
*/
|
120
|
+
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
|
121
|
+
*/
|
124
122
|
|
125
123
|
sub,
|
126
124
|
sup {
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
125
|
+
font-size: 75%;
|
126
|
+
line-height: 0;
|
127
|
+
position: relative;
|
128
|
+
vertical-align: baseline;
|
131
129
|
}
|
132
130
|
|
133
131
|
sub {
|
134
|
-
|
132
|
+
bottom: -0.25em;
|
135
133
|
}
|
136
134
|
|
137
135
|
sup {
|
138
|
-
|
136
|
+
top: -0.5em;
|
139
137
|
}
|
140
138
|
|
141
|
-
/*
|
142
|
-
|
139
|
+
/*
|
140
|
+
Tabular data
|
141
|
+
============
|
142
|
+
*/
|
143
143
|
|
144
144
|
/**
|
145
|
-
|
146
|
-
|
145
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
146
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
147
|
+
*/
|
147
148
|
|
148
|
-
|
149
|
-
|
149
|
+
table {
|
150
|
+
text-indent: 0; /* 1 */
|
151
|
+
border-color: inherit; /* 2 */
|
150
152
|
}
|
151
153
|
|
152
|
-
/*
|
153
|
-
|
154
|
+
/*
|
155
|
+
Forms
|
156
|
+
=====
|
157
|
+
*/
|
154
158
|
|
155
159
|
/**
|
156
|
-
|
157
|
-
|
158
|
-
|
160
|
+
1. Change the font styles in all browsers.
|
161
|
+
2. Remove the margin in Firefox and Safari.
|
162
|
+
*/
|
159
163
|
|
160
164
|
button,
|
161
165
|
input,
|
162
166
|
optgroup,
|
163
167
|
select,
|
164
168
|
textarea {
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
+
font-family: inherit; /* 1 */
|
170
|
+
font-size: 100%; /* 1 */
|
171
|
+
line-height: 1.15; /* 1 */
|
172
|
+
margin: 0; /* 2 */
|
169
173
|
}
|
170
174
|
|
171
175
|
/**
|
172
|
-
|
173
|
-
|
174
|
-
*/
|
176
|
+
Remove the inheritance of text transform in Edge and Firefox.
|
177
|
+
*/
|
175
178
|
|
176
179
|
button,
|
177
|
-
|
178
|
-
|
180
|
+
select {
|
181
|
+
text-transform: none;
|
179
182
|
}
|
180
183
|
|
181
184
|
/**
|
182
|
-
|
183
|
-
|
184
|
-
*/
|
185
|
+
Correct the inability to style clickable types in iOS and Safari.
|
186
|
+
*/
|
185
187
|
|
186
188
|
button,
|
187
|
-
|
188
|
-
|
189
|
+
[type='button'],
|
190
|
+
[type='reset'],
|
191
|
+
[type='submit'] {
|
192
|
+
-webkit-appearance: button;
|
189
193
|
}
|
190
194
|
|
191
195
|
/**
|
192
|
-
|
193
|
-
|
196
|
+
Remove the inner border and padding in Firefox.
|
197
|
+
*/
|
194
198
|
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
[type="submit"] {
|
199
|
-
-webkit-appearance: button;
|
199
|
+
::-moz-focus-inner {
|
200
|
+
border-style: none;
|
201
|
+
padding: 0;
|
200
202
|
}
|
201
203
|
|
202
204
|
/**
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
button::-moz-focus-inner,
|
207
|
-
[type="button"]::-moz-focus-inner,
|
208
|
-
[type="reset"]::-moz-focus-inner,
|
209
|
-
[type="submit"]::-moz-focus-inner {
|
210
|
-
border-style: none;
|
211
|
-
padding: 0;
|
212
|
-
}
|
205
|
+
Restore the focus styles unset by the previous rule.
|
206
|
+
*/
|
213
207
|
|
214
|
-
|
215
|
-
|
216
|
-
*/
|
217
|
-
|
218
|
-
button:-moz-focusring,
|
219
|
-
[type="button"]:-moz-focusring,
|
220
|
-
[type="reset"]:-moz-focusring,
|
221
|
-
[type="submit"]:-moz-focusring {
|
222
|
-
outline: 1px dotted ButtonText;
|
208
|
+
:-moz-focusring {
|
209
|
+
outline: 1px dotted ButtonText;
|
223
210
|
}
|
224
211
|
|
225
212
|
/**
|
226
|
-
|
227
|
-
|
213
|
+
Remove the additional ':invalid' styles in Firefox.
|
214
|
+
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
|
215
|
+
*/
|
228
216
|
|
229
|
-
|
230
|
-
|
217
|
+
:-moz-ui-invalid {
|
218
|
+
box-shadow: none;
|
231
219
|
}
|
232
220
|
|
233
221
|
/**
|
234
|
-
|
235
|
-
|
236
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
237
|
-
* `fieldset` elements in all browsers.
|
238
|
-
*/
|
222
|
+
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
223
|
+
*/
|
239
224
|
|
240
225
|
legend {
|
241
|
-
|
242
|
-
color: inherit; /* 2 */
|
243
|
-
display: table; /* 1 */
|
244
|
-
max-width: 100%; /* 1 */
|
245
|
-
padding: 0; /* 3 */
|
246
|
-
white-space: normal; /* 1 */
|
226
|
+
padding: 0;
|
247
227
|
}
|
248
228
|
|
249
229
|
/**
|
250
|
-
|
251
|
-
|
230
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
231
|
+
*/
|
252
232
|
|
253
233
|
progress {
|
254
|
-
|
255
|
-
}
|
256
|
-
|
257
|
-
/**
|
258
|
-
* Remove the default vertical scrollbar in IE 10+.
|
259
|
-
*/
|
260
|
-
|
261
|
-
textarea {
|
262
|
-
overflow: auto;
|
263
|
-
}
|
264
|
-
|
265
|
-
/**
|
266
|
-
* 1. Add the correct box sizing in IE 10.
|
267
|
-
* 2. Remove the padding in IE 10.
|
268
|
-
*/
|
269
|
-
|
270
|
-
[type="checkbox"],
|
271
|
-
[type="radio"] {
|
272
|
-
box-sizing: border-box; /* 1 */
|
273
|
-
padding: 0; /* 2 */
|
234
|
+
vertical-align: baseline;
|
274
235
|
}
|
275
236
|
|
276
237
|
/**
|
277
|
-
|
278
|
-
|
238
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
239
|
+
*/
|
279
240
|
|
280
|
-
|
281
|
-
|
282
|
-
|
241
|
+
::-webkit-inner-spin-button,
|
242
|
+
::-webkit-outer-spin-button {
|
243
|
+
height: auto;
|
283
244
|
}
|
284
245
|
|
285
246
|
/**
|
286
|
-
|
287
|
-
|
288
|
-
|
247
|
+
1. Correct the odd appearance in Chrome and Safari.
|
248
|
+
2. Correct the outline style in Safari.
|
249
|
+
*/
|
289
250
|
|
290
|
-
[type=
|
291
|
-
|
292
|
-
|
251
|
+
[type='search'] {
|
252
|
+
-webkit-appearance: textfield; /* 1 */
|
253
|
+
outline-offset: -2px; /* 2 */
|
293
254
|
}
|
294
255
|
|
295
256
|
/**
|
296
|
-
|
297
|
-
|
257
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
258
|
+
*/
|
298
259
|
|
299
|
-
|
300
|
-
|
260
|
+
::-webkit-search-decoration {
|
261
|
+
-webkit-appearance: none;
|
301
262
|
}
|
302
263
|
|
303
264
|
/**
|
304
|
-
|
305
|
-
|
306
|
-
|
265
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
266
|
+
2. Change font properties to 'inherit' in Safari.
|
267
|
+
*/
|
307
268
|
|
308
269
|
::-webkit-file-upload-button {
|
309
|
-
|
310
|
-
|
270
|
+
-webkit-appearance: button; /* 1 */
|
271
|
+
font: inherit; /* 2 */
|
311
272
|
}
|
312
273
|
|
313
|
-
/* Interactive
|
314
|
-
========================================================================== */
|
315
|
-
|
316
274
|
/*
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
details {
|
321
|
-
display: block;
|
322
|
-
}
|
275
|
+
Interactive
|
276
|
+
===========
|
277
|
+
*/
|
323
278
|
|
324
279
|
/*
|
325
|
-
|
326
|
-
|
280
|
+
Add the correct display in Chrome and Safari.
|
281
|
+
*/
|
327
282
|
|
328
283
|
summary {
|
329
|
-
|
330
|
-
}
|
331
|
-
|
332
|
-
/* Misc
|
333
|
-
========================================================================== */
|
334
|
-
|
335
|
-
/**
|
336
|
-
* Add the correct display in IE 10+.
|
337
|
-
*/
|
338
|
-
|
339
|
-
template {
|
340
|
-
display: none;
|
341
|
-
}
|
342
|
-
|
343
|
-
/**
|
344
|
-
* Add the correct display in IE 10.
|
345
|
-
*/
|
346
|
-
|
347
|
-
[hidden] {
|
348
|
-
display: none;
|
284
|
+
display: list-item;
|
349
285
|
}
|
@@ -32,16 +32,6 @@ button {
|
|
32
32
|
background-image: none;
|
33
33
|
}
|
34
34
|
|
35
|
-
/**
|
36
|
-
* Work around a Firefox/IE bug where the transparent `button` background
|
37
|
-
* results in a loss of the default `button` focus styles.
|
38
|
-
*/
|
39
|
-
|
40
|
-
button:focus {
|
41
|
-
outline: 1px dotted;
|
42
|
-
outline: 5px auto -webkit-focus-ring-color;
|
43
|
-
}
|
44
|
-
|
45
35
|
fieldset {
|
46
36
|
margin: 0;
|
47
37
|
padding: 0;
|
@@ -144,6 +134,7 @@ textarea {
|
|
144
134
|
|
145
135
|
input::placeholder,
|
146
136
|
textarea::placeholder {
|
137
|
+
opacity: 1;
|
147
138
|
color: $gray-400;
|
148
139
|
}
|
149
140
|
|
@@ -152,6 +143,18 @@ button,
|
|
152
143
|
cursor: pointer;
|
153
144
|
}
|
154
145
|
|
146
|
+
/**
|
147
|
+
* Override legacy focus reset from Normalize with modern Firefox focus styles.
|
148
|
+
*
|
149
|
+
* This is actually an improvement over the new defaults in Firefox in our testing,
|
150
|
+
* as it triggers the better focus styles even for links, which still use a dotted
|
151
|
+
* outline in Firefox by default.
|
152
|
+
*/
|
153
|
+
|
154
|
+
:-moz-focusring {
|
155
|
+
outline: auto;
|
156
|
+
}
|
157
|
+
|
155
158
|
table {
|
156
159
|
border-collapse: collapse;
|
157
160
|
}
|
@@ -209,11 +212,20 @@ samp {
|
|
209
212
|
}
|
210
213
|
|
211
214
|
/**
|
212
|
-
* Make replaced elements `display: block` by default as that's
|
213
|
-
*
|
214
|
-
*
|
215
|
+
* 1. Make replaced elements `display: block` by default as that's
|
216
|
+
* the behavior you want almost all of the time. Inspired by
|
217
|
+
* CSS Remedy, with `svg` added as well.
|
215
218
|
*
|
216
|
-
*
|
219
|
+
* https://github.com/mozdevs/cssremedy/issues/14
|
220
|
+
*
|
221
|
+
* 2. Add `vertical-align: middle` to align replaced elements more
|
222
|
+
* sensibly by default when overriding `display` by adding a
|
223
|
+
* utility like `inline`.
|
224
|
+
*
|
225
|
+
* This can trigger a poorly considered linting error in some
|
226
|
+
* tools but is included by design.
|
227
|
+
*
|
228
|
+
* https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
|
217
229
|
*/
|
218
230
|
|
219
231
|
img,
|
@@ -224,13 +236,13 @@ audio,
|
|
224
236
|
iframe,
|
225
237
|
embed,
|
226
238
|
object {
|
227
|
-
display: block;
|
228
|
-
vertical-align: middle;
|
239
|
+
display: block; /* 1 */
|
240
|
+
vertical-align: middle; /* 2 */
|
229
241
|
}
|
230
242
|
|
231
243
|
/**
|
232
244
|
* Constrain images and videos to the parent width and preserve
|
233
|
-
* their
|
245
|
+
* their intrinsic aspect ratio.
|
234
246
|
*
|
235
247
|
* https://github.com/mozdevs/cssremedy/issues/14
|
236
248
|
*/
|
@@ -240,3 +252,11 @@ video {
|
|
240
252
|
max-width: 100%;
|
241
253
|
height: auto;
|
242
254
|
}
|
255
|
+
|
256
|
+
/**
|
257
|
+
* Ensure the default browser behavior of the `hidden` attribute.
|
258
|
+
*/
|
259
|
+
|
260
|
+
[hidden] {
|
261
|
+
display: none;
|
262
|
+
}
|
@@ -10,7 +10,7 @@ $radius-button: $rounded;
|
|
10
10
|
--color-bg--main: #{$white};
|
11
11
|
--color-bg--surface: #{$gray-100};
|
12
12
|
--color-primary: #{$gray-900};
|
13
|
-
--color-
|
13
|
+
--color-text: #{$gray-900};
|
14
14
|
--color-focus-ring: #{rgba($gray-900, $opacity-50)};
|
15
15
|
|
16
16
|
--image-bg-select: url('data:image/svg+xml,<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 8l4 4 4-4"/></svg>');
|
@@ -20,7 +20,7 @@ $radius-button: $rounded;
|
|
20
20
|
|
21
21
|
html {
|
22
22
|
background: var(--color-bg--main);
|
23
|
-
color: var(--color-
|
23
|
+
color: var(--color-text);
|
24
24
|
font-family: $font-family;
|
25
25
|
font-size: 16px;
|
26
26
|
}
|
@@ -33,11 +33,6 @@ html {
|
|
33
33
|
padding: $size-2 $size-4;
|
34
34
|
cursor: pointer;
|
35
35
|
|
36
|
-
&:focus {
|
37
|
-
outline: 2px dotted var(--color-primary);
|
38
|
-
outline-offset: 2px;
|
39
|
-
}
|
40
|
-
|
41
36
|
&:disabled {
|
42
37
|
pointer-events: none;
|
43
38
|
opacity: $opacity-50;
|
@@ -52,6 +47,7 @@ html {
|
|
52
47
|
&--secondary {
|
53
48
|
background-color: var(--color-bg--main);
|
54
49
|
border-color: var(--color-primary);
|
50
|
+
color: var(--color-primary);
|
55
51
|
}
|
56
52
|
|
57
53
|
&--tertiary {
|
@@ -61,6 +57,7 @@ html {
|
|
61
57
|
}
|
62
58
|
|
63
59
|
.input {
|
60
|
+
resize: none;
|
64
61
|
appearance: none;
|
65
62
|
background-color: $transparent;
|
66
63
|
border-radius: $radius-input;
|
@@ -128,9 +125,11 @@ code {
|
|
128
125
|
|
129
126
|
pre {
|
130
127
|
background-color: var(--color-bg--surface);
|
128
|
+
border-left-width: $border-4;
|
131
129
|
overflow-y: hidden;
|
132
130
|
|
133
131
|
& > code {
|
132
|
+
border-radius: $rounded-none;
|
134
133
|
display: block;
|
135
134
|
padding: $size-2 $size-3;
|
136
135
|
white-space: pre;
|
@@ -58,42 +58,6 @@
|
|
58
58
|
outline-offset: 2px;
|
59
59
|
}
|
60
60
|
|
61
|
-
@mixin divider($color) {
|
62
|
-
position: relative;
|
63
|
-
z-index: $z-10;
|
64
|
-
|
65
|
-
::before {
|
66
|
-
content: '';
|
67
|
-
position: absolute;
|
68
|
-
top: 50%;
|
69
|
-
left: $size-0;
|
70
|
-
right: $size-0;
|
71
|
-
height: $size-px;
|
72
|
-
background-color: $color;
|
73
|
-
z-index: -1;
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
@mixin space-x($space, $reverse: false) {
|
78
|
-
& > :not([hidden]) ~ :not([hidden]) {
|
79
|
-
@if $reverse {
|
80
|
-
margin-right: $space;
|
81
|
-
} @else {
|
82
|
-
margin-left: $space;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
@mixin space-y($space, $reverse: false) {
|
88
|
-
& > :not([hidden]) ~ :not([hidden]) {
|
89
|
-
@if $reverse {
|
90
|
-
margin-bottom: $space;
|
91
|
-
} @else {
|
92
|
-
margin-top: $space;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
61
|
@mixin make-container($padding-x: $size-4) {
|
98
62
|
width: 100%;
|
99
63
|
padding-right: $padding-x;
|
@@ -10,15 +10,15 @@
|
|
10
10
|
flex-direction: column;
|
11
11
|
}
|
12
12
|
|
13
|
-
.flex--
|
13
|
+
.flex--centered {
|
14
14
|
justify-content: center;
|
15
15
|
}
|
16
16
|
|
17
|
-
.flex--
|
17
|
+
.flex--space-items {
|
18
18
|
justify-content: space-between;
|
19
19
|
}
|
20
20
|
|
21
|
-
.flex--
|
21
|
+
.flex--align-center {
|
22
22
|
align-items: center;
|
23
23
|
}
|
24
24
|
|
@@ -14,8 +14,8 @@
|
|
14
14
|
list-style: none;
|
15
15
|
}
|
16
16
|
|
17
|
-
.list--spaced {
|
18
|
-
|
17
|
+
.list--spaced > li + li {
|
18
|
+
margin-top: $size-2;
|
19
19
|
}
|
20
20
|
|
21
21
|
.list--inside-bulleted {
|
@@ -27,14 +27,14 @@
|
|
27
27
|
border-top-width: $border;
|
28
28
|
}
|
29
29
|
|
30
|
-
.list--inline {
|
31
|
-
@include space-x($size-2);
|
32
|
-
}
|
33
|
-
|
34
30
|
.list--inline > li {
|
35
31
|
display: inline-block;
|
36
32
|
}
|
37
33
|
|
34
|
+
.list--inline > li + li {
|
35
|
+
margin-left: $size-2;
|
36
|
+
}
|
37
|
+
|
38
38
|
.list--ruled > li {
|
39
39
|
padding: $size-4 $size-2;
|
40
40
|
border-top-width: $border;
|
@@ -4,12 +4,20 @@
|
|
4
4
|
|
5
5
|
.u-position {
|
6
6
|
position: absolute;
|
7
|
+
}
|
7
8
|
|
8
|
-
|
9
|
+
.u-position--right {
|
10
|
+
right: 0;
|
11
|
+
}
|
9
12
|
|
10
|
-
|
13
|
+
.u-position--left {
|
14
|
+
left: 0;
|
15
|
+
}
|
11
16
|
|
12
|
-
|
17
|
+
.u-position--top {
|
18
|
+
top: 0;
|
19
|
+
}
|
13
20
|
|
14
|
-
|
21
|
+
.u-position--bottom {
|
22
|
+
bottom: 0;
|
15
23
|
}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
// sass-zero includes a generous palette of great-looking, well-balanced colors that are perfect for prototyping or for kicking off a brand new project.
|
4
4
|
// *******************************************************************
|
5
5
|
$transparent: transparent;
|
6
|
+
$current: currentColor;
|
6
7
|
|
7
8
|
$black: #000;
|
8
9
|
$white: #fff;
|
@@ -84,16 +85,16 @@ $blue-700: #1d4ed8;
|
|
84
85
|
$blue-800: #1e40af;
|
85
86
|
$blue-900: #1e3a8a;
|
86
87
|
|
87
|
-
$
|
88
|
-
$
|
89
|
-
$
|
90
|
-
$
|
91
|
-
$
|
92
|
-
$
|
93
|
-
$
|
94
|
-
$
|
95
|
-
$
|
96
|
-
$
|
88
|
+
$sky-50: #f0f9ff;
|
89
|
+
$sky-100: #e0f2fe;
|
90
|
+
$sky-200: #bae6fd;
|
91
|
+
$sky-300: #7dd3fc;
|
92
|
+
$sky-400: #38bdf8;
|
93
|
+
$sky-500: #0ea5e9;
|
94
|
+
$sky-600: #0284c7;
|
95
|
+
$sky-700: #0369a1;
|
96
|
+
$sky-800: #075985;
|
97
|
+
$sky-900: #0c4a6e;
|
97
98
|
|
98
99
|
$cyan-50: #ecfeff;
|
99
100
|
$cyan-100: #cffafe;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
// *******************************************************************
|
2
|
+
// Height
|
3
|
+
// Variables for setting the height of an element
|
4
|
+
// height: $h-per-1-2;
|
5
|
+
// *******************************************************************
|
6
|
+
$h-per-1-2: 50%;
|
7
|
+
$h-per-1-3: 33.333333%;
|
8
|
+
$h-per-2-3: 66.666667%;
|
9
|
+
$h-per-1-4: 25%;
|
10
|
+
$h-per-2-4: 50%;
|
11
|
+
$h-per-3-4: 75%;
|
12
|
+
$h-per-1-5: 20%;
|
13
|
+
$h-per-2-5: 40%;
|
14
|
+
$h-per-3-5: 60%;
|
15
|
+
$h-per-4-5: 80%;
|
16
|
+
$h-per-1-6: 16.666667%;
|
17
|
+
$h-per-2-6: 33.333333%;
|
18
|
+
$h-per-3-6: 50%;
|
19
|
+
$h-per-4-6: 66.666667%;
|
20
|
+
$h-per-5-6: 83.333333%;
|
21
|
+
|
22
|
+
// *******************************************************************
|
23
|
+
// Min-Height
|
24
|
+
// Variables for setting the minimum height of an element
|
25
|
+
// min-height: $min-h-0;
|
26
|
+
// *******************************************************************
|
27
|
+
$min-h-0: 0px;
|
28
|
+
$min-h-full: 100%;
|
29
|
+
$min-h-screen: 100vh;
|
30
|
+
|
31
|
+
// *******************************************************************
|
32
|
+
// Max-Height
|
33
|
+
// Variables for setting the maximum height of an element
|
34
|
+
// max-height: $max-h-full;
|
35
|
+
// *******************************************************************
|
36
|
+
$max-h-full: 100%;
|
37
|
+
$max-h-screen: 100vh;
|
@@ -1,39 +1,43 @@
|
|
1
1
|
// *******************************************************************
|
2
2
|
// Default spacing scale
|
3
3
|
// By default, Tailwind includes a generous and comprehensive numeric spacing scale.
|
4
|
-
// Use as padding, margin, width, height,
|
4
|
+
// Use as padding, margin, width, height, translate, etc...
|
5
5
|
// *******************************************************************
|
6
|
-
$size-px:
|
7
|
-
$size-0:
|
8
|
-
$size-
|
9
|
-
$size-
|
10
|
-
$size-
|
11
|
-
$size-
|
12
|
-
$size-5:
|
13
|
-
$size-
|
14
|
-
$size-
|
15
|
-
$size-
|
16
|
-
$size-
|
17
|
-
$size-
|
18
|
-
$size-
|
19
|
-
$size-
|
20
|
-
$size-
|
21
|
-
$size-
|
22
|
-
$size-
|
23
|
-
$size-
|
24
|
-
$size-
|
25
|
-
$size-
|
26
|
-
$size-
|
27
|
-
$size-
|
28
|
-
$size-
|
29
|
-
$size-
|
30
|
-
$size-
|
31
|
-
$size-
|
32
|
-
$size-
|
33
|
-
$size-
|
34
|
-
$size-
|
35
|
-
$size-
|
36
|
-
$size-
|
6
|
+
$size-px: 1px;
|
7
|
+
$size-0: 0px;
|
8
|
+
$size-0-5: 0.125rem;
|
9
|
+
$size-1: 0.25rem;
|
10
|
+
$size-1-5: 0.375rem;
|
11
|
+
$size-2: 0.5rem;
|
12
|
+
$size-2-5: 0.625rem;
|
13
|
+
$size-3: 0.75rem;
|
14
|
+
$size-3-5: 0.875rem;
|
15
|
+
$size-4: 1rem;
|
16
|
+
$size-5: 1.25rem;
|
17
|
+
$size-6: 1.5rem;
|
18
|
+
$size-7: 1.75rem;
|
19
|
+
$size-8: 2rem;
|
20
|
+
$size-9: 2.25rem;
|
21
|
+
$size-10: 2.5rem;
|
22
|
+
$size-11: 2.75rem;
|
23
|
+
$size-12: 3rem;
|
24
|
+
$size-14: 3.5rem;
|
25
|
+
$size-16: 4rem;
|
26
|
+
$size-20: 5rem;
|
27
|
+
$size-24: 6rem;
|
28
|
+
$size-28: 7rem;
|
29
|
+
$size-32: 8rem;
|
30
|
+
$size-36: 9rem;
|
31
|
+
$size-40: 10rem;
|
32
|
+
$size-44: 11rem;
|
33
|
+
$size-48: 12rem;
|
34
|
+
$size-52: 13rem;
|
35
|
+
$size-56: 14rem;
|
36
|
+
$size-60: 15rem;
|
37
|
+
$size-64: 16rem;
|
38
|
+
$size-72: 18rem;
|
39
|
+
$size-80: 20rem;
|
40
|
+
$size-96: 24rem;
|
37
41
|
|
38
42
|
$size-auto: auto;
|
39
43
|
$size-full: 100%;
|
@@ -1,34 +1,34 @@
|
|
1
1
|
// *******************************************************************
|
2
2
|
// Width
|
3
3
|
// Variables for setting the width of an element
|
4
|
-
// width: $w-1-2;
|
5
|
-
// *******************************************************************
|
6
|
-
$w-1-2: 50%;
|
7
|
-
$w-1-3: 33.333333%;
|
8
|
-
$w-2-3: 66.666667%;
|
9
|
-
$w-1-4: 25%;
|
10
|
-
$w-2-4: 50%;
|
11
|
-
$w-3-4: 75%;
|
12
|
-
$w-1-5: 20%;
|
13
|
-
$w-2-5: 40%;
|
14
|
-
$w-3-5: 60%;
|
15
|
-
$w-4-5: 80%;
|
16
|
-
$w-1-6: 16.666667%;
|
17
|
-
$w-2-6: 33.333333%;
|
18
|
-
$w-3-6: 50%;
|
19
|
-
$w-4-6: 66.666667%;
|
20
|
-
$w-5-6: 83.333333%;
|
21
|
-
$w-1-12: 8.333333%;
|
22
|
-
$w-2-12: 16.666667%;
|
23
|
-
$w-3-12: 25%;
|
24
|
-
$w-4-12: 33.333333%;
|
25
|
-
$w-5-12: 41.666667%;
|
26
|
-
$w-6-12: 50%;
|
27
|
-
$w-7-12: 58.333333%;
|
28
|
-
$w-8-12: 66.666667%;
|
29
|
-
$w-9-12: 75%;
|
30
|
-
$w-10-12: 83.333333%;
|
31
|
-
$w-11-12: 91.666667%;
|
4
|
+
// width: $w-per-1-2;
|
5
|
+
// *******************************************************************
|
6
|
+
$w-per-1-2: 50%;
|
7
|
+
$w-per-1-3: 33.333333%;
|
8
|
+
$w-per-2-3: 66.666667%;
|
9
|
+
$w-per-1-4: 25%;
|
10
|
+
$w-per-2-4: 50%;
|
11
|
+
$w-per-3-4: 75%;
|
12
|
+
$w-per-1-5: 20%;
|
13
|
+
$w-per-2-5: 40%;
|
14
|
+
$w-per-3-5: 60%;
|
15
|
+
$w-per-4-5: 80%;
|
16
|
+
$w-per-1-6: 16.666667%;
|
17
|
+
$w-per-2-6: 33.333333%;
|
18
|
+
$w-per-3-6: 50%;
|
19
|
+
$w-per-4-6: 66.666667%;
|
20
|
+
$w-per-5-6: 83.333333%;
|
21
|
+
$w-per-1-12: 8.333333%;
|
22
|
+
$w-per-2-12: 16.666667%;
|
23
|
+
$w-per-3-12: 25%;
|
24
|
+
$w-per-4-12: 33.333333%;
|
25
|
+
$w-per-5-12: 41.666667%;
|
26
|
+
$w-per-6-12: 50%;
|
27
|
+
$w-per-7-12: 58.333333%;
|
28
|
+
$w-per-8-12: 66.666667%;
|
29
|
+
$w-per-9-12: 75%;
|
30
|
+
$w-per-10-12: 83.333333%;
|
31
|
+
$w-per-11-12: 91.666667%;
|
32
32
|
|
33
33
|
// *******************************************************************
|
34
34
|
// Min-Width
|
@@ -61,20 +61,3 @@ $max-w-7xl: 80rem;
|
|
61
61
|
$max-w-full: 100%;
|
62
62
|
$max-w-min: min-content;
|
63
63
|
$max-w-max: max-content;
|
64
|
-
|
65
|
-
// *******************************************************************
|
66
|
-
// Min-Height
|
67
|
-
// Variables for setting the minimum height of an element
|
68
|
-
// min-height: $min-h-0;
|
69
|
-
// *******************************************************************
|
70
|
-
$min-h-0: 0px;
|
71
|
-
$min-h-full: 100%;
|
72
|
-
$min-h-screen: 100vh;
|
73
|
-
|
74
|
-
// *******************************************************************
|
75
|
-
// Max-Height
|
76
|
-
// Variables for setting the maximum height of an element
|
77
|
-
// max-height: $max-h-full;
|
78
|
-
// *******************************************************************
|
79
|
-
$max-h-full: 100%;
|
80
|
-
$max-h-screen: 100vh;
|
data/lib/sass/zero/version.rb
CHANGED
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "sass-zero",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.47",
|
4
4
|
"description": "A CSS framework for rapid UI development based on tailwindcss, miligram and BEM.",
|
5
5
|
"homepage": "https://github.com/lazaronixon/sass-zero",
|
6
6
|
"repository": "lazaronixon/sass-zero",
|
data/sass-zero.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.homepage = "http://github.com/lazaronixon/sass-zero"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
15
|
-
spec.add_runtime_dependency "autoprefixer-rails", "
|
15
|
+
spec.add_runtime_dependency "autoprefixer-rails", "~> 10.3"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0")
|
18
18
|
end
|
metadata
CHANGED
@@ -1,30 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.47
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lazaronixon
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autoprefixer-rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '10.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
description:
|
26
|
+
version: '10.3'
|
27
|
+
description:
|
28
28
|
email:
|
29
29
|
- lazaronixon@hotmail.com
|
30
30
|
executables: []
|
@@ -61,6 +61,7 @@ files:
|
|
61
61
|
- app/assets/stylesheets/sass-zero/variables/effects.scss
|
62
62
|
- app/assets/stylesheets/sass-zero/variables/flex.scss
|
63
63
|
- app/assets/stylesheets/sass-zero/variables/grid.scss
|
64
|
+
- app/assets/stylesheets/sass-zero/variables/height.scss
|
64
65
|
- app/assets/stylesheets/sass-zero/variables/spacing.scss
|
65
66
|
- app/assets/stylesheets/sass-zero/variables/transform.scss
|
66
67
|
- app/assets/stylesheets/sass-zero/variables/transition.scss
|
@@ -75,7 +76,7 @@ homepage: http://github.com/lazaronixon/sass-zero
|
|
75
76
|
licenses:
|
76
77
|
- MIT
|
77
78
|
metadata: {}
|
78
|
-
post_install_message:
|
79
|
+
post_install_message:
|
79
80
|
rdoc_options: []
|
80
81
|
require_paths:
|
81
82
|
- lib
|
@@ -91,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
92
|
version: '0'
|
92
93
|
requirements: []
|
93
94
|
rubygems_version: 3.1.4
|
94
|
-
signing_key:
|
95
|
+
signing_key:
|
95
96
|
specification_version: 4
|
96
97
|
summary: A CSS framework for rapid UI development based on tailwindcss, miligram and
|
97
98
|
BEM.
|