sass-zero 1.1.5 → 1.1.7
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.
- checksums.yaml +4 -4
- data/.sass-zero-references.scss +20 -21
- data/Gemfile.lock +1 -1
- data/README.md +73 -42
- data/app/assets/stylesheets/sass-zero/{mixins.scss → _mixins.scss} +9 -4
- data/app/assets/stylesheets/sass-zero/base.scss +363 -1
- data/app/assets/stylesheets/sass-zero/variables/{border.scss → _border.scss} +1 -1
- data/app/assets/stylesheets/sass-zero/variables/{breakpoints.scss → _breakpoints.scss} +1 -1
- data/app/assets/stylesheets/sass-zero/variables/{colors.scss → _colors.scss} +3 -1
- data/app/assets/stylesheets/sass-zero/variables/{effects.scss → _effects.scss} +1 -18
- data/app/assets/stylesheets/sass-zero/variables/{filters.scss → _filters.scss} +9 -9
- data/app/assets/stylesheets/sass-zero/variables/{flex.scss → _flex.scss} +4 -4
- data/lib/sass_zero/version.rb +1 -1
- metadata +32 -33
- data/app/assets/stylesheets/sass-zero/base/preflight.scss +0 -363
- /data/app/assets/stylesheets/sass-zero/{variables.scss → _variables.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{align.scss → _align.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{animation.scss → _animation.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{border.scss → _border.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{container.scss → _container.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{flex.scss → _flex.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{flush.scss → _flush.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{layout.scss → _layout.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{list.scss → _list.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{pad.scss → _pad.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{position.scss → _position.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{pull.scss → _pull.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{push.scss → _push.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{text.scss → _text.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/utilities/{unpad.scss → _unpad.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/variables/{grid.scss → _grid.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/variables/{height.scss → _height.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/variables/{sizing.scss → _sizing.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/variables/{transform.scss → _transform.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/variables/{transition.scss → _transition.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/variables/{typography.scss → _typography.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/variables/{width.scss → _width.scss} +0 -0
- /data/app/assets/stylesheets/sass-zero/variables/{zindex.scss → _zindex.scss} +0 -0
@@ -1 +1,363 @@
|
|
1
|
-
@import "
|
1
|
+
@import "variables/colors";
|
2
|
+
@import "variables/typography";
|
3
|
+
|
4
|
+
/*
|
5
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
6
|
+
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
7
|
+
*/
|
8
|
+
|
9
|
+
*,
|
10
|
+
::before,
|
11
|
+
::after {
|
12
|
+
box-sizing: border-box; /* 1 */
|
13
|
+
border-width: 0; /* 2 */
|
14
|
+
border-style: solid; /* 2 */
|
15
|
+
border-color: $gray-200; /* 2 */
|
16
|
+
}
|
17
|
+
|
18
|
+
::before,
|
19
|
+
::after {
|
20
|
+
--tw-content: '';
|
21
|
+
}
|
22
|
+
|
23
|
+
/*
|
24
|
+
1. Use a consistent sensible line-height in all browsers.
|
25
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
26
|
+
3. Use a more readable tab size.
|
27
|
+
4. Use the user's configured `sans` font-family by default.
|
28
|
+
*/
|
29
|
+
|
30
|
+
html {
|
31
|
+
line-height: 1.5; /* 1 */
|
32
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
33
|
+
-moz-tab-size: 4; /* 3 */
|
34
|
+
tab-size: 4; /* 3 */
|
35
|
+
font-family: $font-sans; /* 4 */
|
36
|
+
}
|
37
|
+
|
38
|
+
/*
|
39
|
+
1. Remove the margin in all browsers.
|
40
|
+
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
41
|
+
*/
|
42
|
+
|
43
|
+
body {
|
44
|
+
margin: 0; /* 1 */
|
45
|
+
line-height: inherit; /* 2 */
|
46
|
+
}
|
47
|
+
|
48
|
+
/*
|
49
|
+
1. Add the correct height in Firefox.
|
50
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
51
|
+
3. Ensure horizontal rules are visible by default.
|
52
|
+
*/
|
53
|
+
|
54
|
+
hr {
|
55
|
+
height: 0; /* 1 */
|
56
|
+
color: inherit; /* 2 */
|
57
|
+
border-top-width: 1px; /* 3 */
|
58
|
+
}
|
59
|
+
|
60
|
+
/*
|
61
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
62
|
+
*/
|
63
|
+
|
64
|
+
abbr:where([title]) {
|
65
|
+
text-decoration: underline dotted;
|
66
|
+
}
|
67
|
+
|
68
|
+
/*
|
69
|
+
Remove the default font size and weight for headings.
|
70
|
+
*/
|
71
|
+
|
72
|
+
h1,
|
73
|
+
h2,
|
74
|
+
h3,
|
75
|
+
h4,
|
76
|
+
h5,
|
77
|
+
h6 {
|
78
|
+
font-size: inherit;
|
79
|
+
font-weight: inherit;
|
80
|
+
}
|
81
|
+
|
82
|
+
/*
|
83
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
84
|
+
*/
|
85
|
+
|
86
|
+
a {
|
87
|
+
color: inherit;
|
88
|
+
text-decoration: inherit;
|
89
|
+
}
|
90
|
+
|
91
|
+
/*
|
92
|
+
Add the correct font weight in Edge and Safari.
|
93
|
+
*/
|
94
|
+
|
95
|
+
b,
|
96
|
+
strong {
|
97
|
+
font-weight: bolder;
|
98
|
+
}
|
99
|
+
|
100
|
+
/*
|
101
|
+
1. Use the user's configured `mono` font family by default.
|
102
|
+
2. Correct the odd `em` font sizing in all browsers.
|
103
|
+
*/
|
104
|
+
|
105
|
+
code,
|
106
|
+
kbd,
|
107
|
+
samp,
|
108
|
+
pre {
|
109
|
+
font-family: $font-mono; /* 1 */
|
110
|
+
font-size: 1em; /* 2 */
|
111
|
+
}
|
112
|
+
|
113
|
+
/*
|
114
|
+
Add the correct font size in all browsers.
|
115
|
+
*/
|
116
|
+
|
117
|
+
small {
|
118
|
+
font-size: 80%;
|
119
|
+
}
|
120
|
+
|
121
|
+
/*
|
122
|
+
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
123
|
+
*/
|
124
|
+
|
125
|
+
sub,
|
126
|
+
sup {
|
127
|
+
font-size: 75%;
|
128
|
+
line-height: 0;
|
129
|
+
position: relative;
|
130
|
+
vertical-align: baseline;
|
131
|
+
}
|
132
|
+
|
133
|
+
sub {
|
134
|
+
bottom: -0.25em;
|
135
|
+
}
|
136
|
+
|
137
|
+
sup {
|
138
|
+
top: -0.5em;
|
139
|
+
}
|
140
|
+
|
141
|
+
/*
|
142
|
+
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)
|
143
|
+
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)
|
144
|
+
3. Remove gaps between table borders by default.
|
145
|
+
*/
|
146
|
+
|
147
|
+
table {
|
148
|
+
text-indent: 0; /* 1 */
|
149
|
+
border-color: inherit; /* 2 */
|
150
|
+
border-collapse: collapse; /* 3 */
|
151
|
+
}
|
152
|
+
|
153
|
+
/*
|
154
|
+
1. Change the font styles in all browsers.
|
155
|
+
2. Remove the margin in Firefox and Safari.
|
156
|
+
3. Remove default padding in all browsers.
|
157
|
+
*/
|
158
|
+
|
159
|
+
button,
|
160
|
+
input,
|
161
|
+
optgroup,
|
162
|
+
select,
|
163
|
+
textarea {
|
164
|
+
font-family: inherit; /* 1 */
|
165
|
+
font-size: 100%; /* 1 */
|
166
|
+
font-weight: inherit; /* 1 */
|
167
|
+
line-height: inherit; /* 1 */
|
168
|
+
color: inherit; /* 1 */
|
169
|
+
margin: 0; /* 2 */
|
170
|
+
padding: 0; /* 3 */
|
171
|
+
}
|
172
|
+
|
173
|
+
/*
|
174
|
+
Remove the inheritance of text transform in Edge and Firefox.
|
175
|
+
*/
|
176
|
+
|
177
|
+
button,
|
178
|
+
select {
|
179
|
+
text-transform: none;
|
180
|
+
}
|
181
|
+
|
182
|
+
/*
|
183
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
184
|
+
2. Remove default button styles.
|
185
|
+
*/
|
186
|
+
|
187
|
+
button,
|
188
|
+
[type='button'],
|
189
|
+
[type='reset'],
|
190
|
+
[type='submit'] {
|
191
|
+
-webkit-appearance: button; /* 1 */
|
192
|
+
background-color: transparent; /* 2 */
|
193
|
+
background-image: none; /* 2 */
|
194
|
+
}
|
195
|
+
|
196
|
+
/*
|
197
|
+
Use the modern Firefox focus style for all focusable elements.
|
198
|
+
*/
|
199
|
+
|
200
|
+
:-moz-focusring {
|
201
|
+
outline: auto;
|
202
|
+
}
|
203
|
+
|
204
|
+
/*
|
205
|
+
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
206
|
+
*/
|
207
|
+
|
208
|
+
:-moz-ui-invalid {
|
209
|
+
box-shadow: none;
|
210
|
+
}
|
211
|
+
|
212
|
+
/*
|
213
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
214
|
+
*/
|
215
|
+
|
216
|
+
progress {
|
217
|
+
vertical-align: baseline;
|
218
|
+
}
|
219
|
+
|
220
|
+
/*
|
221
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
222
|
+
*/
|
223
|
+
|
224
|
+
::-webkit-inner-spin-button,
|
225
|
+
::-webkit-outer-spin-button {
|
226
|
+
height: auto;
|
227
|
+
}
|
228
|
+
|
229
|
+
/*
|
230
|
+
1. Correct the odd appearance in Chrome and Safari.
|
231
|
+
2. Correct the outline style in Safari.
|
232
|
+
*/
|
233
|
+
|
234
|
+
[type='search'] {
|
235
|
+
-webkit-appearance: textfield; /* 1 */
|
236
|
+
outline-offset: -2px; /* 2 */
|
237
|
+
}
|
238
|
+
|
239
|
+
/*
|
240
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
241
|
+
*/
|
242
|
+
|
243
|
+
::-webkit-search-decoration {
|
244
|
+
-webkit-appearance: none;
|
245
|
+
}
|
246
|
+
|
247
|
+
/*
|
248
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
249
|
+
2. Change font properties to `inherit` in Safari.
|
250
|
+
*/
|
251
|
+
|
252
|
+
::-webkit-file-upload-button {
|
253
|
+
-webkit-appearance: button; /* 1 */
|
254
|
+
font: inherit; /* 2 */
|
255
|
+
}
|
256
|
+
|
257
|
+
/*
|
258
|
+
Add the correct display in Chrome and Safari.
|
259
|
+
*/
|
260
|
+
|
261
|
+
summary {
|
262
|
+
display: list-item;
|
263
|
+
}
|
264
|
+
|
265
|
+
/*
|
266
|
+
Removes the default spacing and border for appropriate elements.
|
267
|
+
*/
|
268
|
+
|
269
|
+
blockquote,
|
270
|
+
dl,
|
271
|
+
dd,
|
272
|
+
h1,
|
273
|
+
h2,
|
274
|
+
h3,
|
275
|
+
h4,
|
276
|
+
h5,
|
277
|
+
h6,
|
278
|
+
hr,
|
279
|
+
figure,
|
280
|
+
p,
|
281
|
+
pre {
|
282
|
+
margin: 0;
|
283
|
+
}
|
284
|
+
|
285
|
+
fieldset {
|
286
|
+
margin: 0;
|
287
|
+
padding: 0;
|
288
|
+
}
|
289
|
+
|
290
|
+
legend {
|
291
|
+
padding: 0;
|
292
|
+
}
|
293
|
+
|
294
|
+
ol,
|
295
|
+
ul,
|
296
|
+
menu {
|
297
|
+
list-style: none;
|
298
|
+
margin: 0;
|
299
|
+
padding: 0;
|
300
|
+
}
|
301
|
+
|
302
|
+
/*
|
303
|
+
Prevent resizing textareas horizontally by default.
|
304
|
+
*/
|
305
|
+
|
306
|
+
textarea {
|
307
|
+
resize: vertical;
|
308
|
+
}
|
309
|
+
|
310
|
+
/*
|
311
|
+
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
312
|
+
2. Set the default placeholder color to the user's configured gray 400 color.
|
313
|
+
*/
|
314
|
+
|
315
|
+
input::placeholder,
|
316
|
+
textarea::placeholder {
|
317
|
+
opacity: 1; /* 1 */
|
318
|
+
color: $gray-400; /* 2 */
|
319
|
+
}
|
320
|
+
|
321
|
+
/*
|
322
|
+
Set the default cursor for buttons.
|
323
|
+
*/
|
324
|
+
|
325
|
+
button,
|
326
|
+
[role="button"] {
|
327
|
+
cursor: pointer;
|
328
|
+
}
|
329
|
+
|
330
|
+
/*
|
331
|
+
Make sure disabled buttons don't get the pointer cursor.
|
332
|
+
*/
|
333
|
+
:disabled {
|
334
|
+
cursor: default;
|
335
|
+
}
|
336
|
+
|
337
|
+
/*
|
338
|
+
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
339
|
+
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
340
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
341
|
+
*/
|
342
|
+
|
343
|
+
img,
|
344
|
+
svg,
|
345
|
+
video,
|
346
|
+
canvas,
|
347
|
+
audio,
|
348
|
+
iframe,
|
349
|
+
embed,
|
350
|
+
object {
|
351
|
+
display: block; /* 1 */
|
352
|
+
vertical-align: middle; /* 2 */
|
353
|
+
}
|
354
|
+
|
355
|
+
/*
|
356
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
357
|
+
*/
|
358
|
+
|
359
|
+
img,
|
360
|
+
video {
|
361
|
+
max-width: 100%;
|
362
|
+
height: auto;
|
363
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// *******************************************************************
|
2
2
|
// Border Style
|
3
|
-
// Variables for controlling the
|
3
|
+
// Variables for controlling the border radius of an element.
|
4
4
|
// border-radius: $rounded-none;
|
5
5
|
// *******************************************************************
|
6
6
|
$rounded-none: 0;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// *******************************************************************
|
2
2
|
// Breakpoints
|
3
|
-
//
|
3
|
+
// Five breakpoints inspired by common device resolutions.
|
4
4
|
// @media (min-width: $breakpoint-md) { }
|
5
5
|
// *******************************************************************
|
6
6
|
$breakpoint-sm: 640px;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
// *******************************************************************
|
2
2
|
// Default color palette
|
3
|
-
//
|
3
|
+
// Sass-zero includes an expertly-crafted default color palette
|
4
|
+
// out-of-the-box that is a great starting point if you don’t
|
5
|
+
// have your own specific branding in mind.
|
4
6
|
// *******************************************************************
|
5
7
|
$transparent: transparent;
|
6
8
|
$current: currentColor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// *******************************************************************
|
2
2
|
// Box Shadow
|
3
|
-
// Variables for controlling the
|
3
|
+
// Variables for controlling the color of a box shadow.
|
4
4
|
// box-shadow: $shadow;
|
5
5
|
// *******************************************************************
|
6
6
|
$shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
@@ -32,20 +32,3 @@ $opacity-80: 0.8;
|
|
32
32
|
$opacity-90: 0.9;
|
33
33
|
$opacity-95: 0.95;
|
34
34
|
$opacity-100: 1;
|
35
|
-
|
36
|
-
// *******************************************************************
|
37
|
-
// Ring
|
38
|
-
// Function for creating outline rings with box-shadows.
|
39
|
-
// box-shadow: ring($width: 4px);
|
40
|
-
// *******************************************************************
|
41
|
-
@function ring($width: 2px, $color: rgba($blue-500, 0.5), $offset-width: 0px, $offset-color: $white, $inset: false) {
|
42
|
-
@if $inset {
|
43
|
-
$ring-offset-shadow: inset 0 0 0 $offset-width $offset-color;
|
44
|
-
$ring-shadow: inset 0 0 0 ($width + $offset-width) $color;
|
45
|
-
@return $ring-offset-shadow, $ring-shadow, 0 0 #0000;
|
46
|
-
} @else {
|
47
|
-
$ring-offset-shadow: 0 0 0 $offset-width $offset-color;
|
48
|
-
$ring-shadow: 0 0 0 ($width + $offset-width) $color;
|
49
|
-
@return $ring-offset-shadow, $ring-shadow, 0 0 #0000;
|
50
|
-
}
|
51
|
-
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// *******************************************************************
|
2
2
|
// Blur
|
3
3
|
// Variables for applying blur filters to an element.
|
4
|
-
// filter
|
4
|
+
// filter|backdrop-filter: $blur;
|
5
5
|
// *******************************************************************
|
6
6
|
$blur-none: blur(0);
|
7
7
|
$blur-sm: blur(4px);
|
@@ -15,7 +15,7 @@ $blur-3xl: blur(64px);
|
|
15
15
|
// *******************************************************************
|
16
16
|
// Brightness
|
17
17
|
// Variables for applying brightness filters to an element.
|
18
|
-
// filter
|
18
|
+
// filter|backdrop-filter: $brightness-50;
|
19
19
|
// *******************************************************************
|
20
20
|
$brightness-0: brightness(0);
|
21
21
|
$brightness-50: brightness(0.5);
|
@@ -32,7 +32,7 @@ $brightness-200: brightness(2);
|
|
32
32
|
// *******************************************************************
|
33
33
|
// Contrast
|
34
34
|
// Variables for applying brightness filters to an element.
|
35
|
-
// filter
|
35
|
+
// filter|backdrop-filter: $contrast-50;
|
36
36
|
// *******************************************************************
|
37
37
|
$contrast-0: contrast(0);
|
38
38
|
$contrast-50: contrast(0.5);
|
@@ -45,7 +45,7 @@ $contrast-200: contrast(2);
|
|
45
45
|
// *******************************************************************
|
46
46
|
// Drop Shadow
|
47
47
|
// Variables for applying drop-shadow filters to an element.
|
48
|
-
// filter
|
48
|
+
// filter|backdrop-filter: $drop-shadow;
|
49
49
|
// *******************************************************************
|
50
50
|
$drop-shadow-none: drop-shadow(0 0 #0000);
|
51
51
|
$drop-shadow-sm: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
|
@@ -58,7 +58,7 @@ $drop-shadow-2xl: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
|
|
58
58
|
// *******************************************************************
|
59
59
|
// Grayscale
|
60
60
|
// Variables for applying grayscale filters to an element.
|
61
|
-
// filter
|
61
|
+
// filter|backdrop-filter: $grayscale;
|
62
62
|
// *******************************************************************
|
63
63
|
$grayscale-0: grayscale(0);
|
64
64
|
$grayscale: grayscale(100%);
|
@@ -66,7 +66,7 @@ $grayscale: grayscale(100%);
|
|
66
66
|
// *******************************************************************
|
67
67
|
// Hue Rotate
|
68
68
|
// Variables for applying hue-rotate filters to an element.
|
69
|
-
// filter
|
69
|
+
// filter|backdrop-filter: $hue-rotate-30;
|
70
70
|
// *******************************************************************
|
71
71
|
$hue-rotate-0: hue-rotate(0deg);
|
72
72
|
$hue-rotate-15: hue-rotate(15deg);
|
@@ -78,7 +78,7 @@ $hue-rotate-180: hue-rotate(180deg);
|
|
78
78
|
// *******************************************************************
|
79
79
|
// Invert
|
80
80
|
// Variables for applying invert filters to an element.
|
81
|
-
// filter
|
81
|
+
// filter|backdrop-filter: $invert;
|
82
82
|
// *******************************************************************
|
83
83
|
$invert-0: invert(0);
|
84
84
|
$invert: invert(100%);
|
@@ -86,7 +86,7 @@ $invert: invert(100%);
|
|
86
86
|
// *******************************************************************
|
87
87
|
// Saturate
|
88
88
|
// Variables for applying saturation filters to an element.
|
89
|
-
// filter
|
89
|
+
// filter|backdrop-filter: $saturate-50;
|
90
90
|
// *******************************************************************
|
91
91
|
$saturate-0: saturate(0);
|
92
92
|
$saturate-50: saturate(0.5);
|
@@ -97,7 +97,7 @@ $saturate-200: saturate(2);
|
|
97
97
|
// *******************************************************************
|
98
98
|
// Sepia
|
99
99
|
// Variables for applying sepia filters to an element.
|
100
|
-
// filter
|
100
|
+
// filter|backdrop-filter: $sepia;
|
101
101
|
// *******************************************************************
|
102
102
|
$sepia-0: sepia(0);
|
103
103
|
$sepia: sepia(100%);
|
@@ -3,10 +3,10 @@
|
|
3
3
|
// Variables for controlling how flex items both grow and shrink.
|
4
4
|
// flex: $flex-1;
|
5
5
|
// *******************************************************************
|
6
|
-
$flex-1: 1 1 0%;
|
7
|
-
$flex-auto: 1 1 auto;
|
8
|
-
$flex-initial: 0 1 auto;
|
9
|
-
$flex-none: none;
|
6
|
+
$flex-1: 1 1 0%; // Allow grow and shrink, ignoring its initial size.
|
7
|
+
$flex-auto: 1 1 auto; // Allow grow and shrink, considering its initial size.
|
8
|
+
$flex-initial: 0 1 auto; // Allow shrink but not grow, considering its initial size.
|
9
|
+
$flex-none: none; // Prevent grow or shrink.
|
10
10
|
|
11
11
|
// *******************************************************************
|
12
12
|
// Flex Grow
|
data/lib/sass_zero/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lazaronixon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -25,40 +25,39 @@ files:
|
|
25
25
|
- Gemfile.lock
|
26
26
|
- README.md
|
27
27
|
- Rakefile
|
28
|
+
- app/assets/stylesheets/sass-zero/_mixins.scss
|
29
|
+
- app/assets/stylesheets/sass-zero/_variables.scss
|
28
30
|
- app/assets/stylesheets/sass-zero/base.scss
|
29
|
-
- app/assets/stylesheets/sass-zero/base/preflight.scss
|
30
31
|
- app/assets/stylesheets/sass-zero/breadboard.scss
|
31
|
-
- app/assets/stylesheets/sass-zero/mixins.scss
|
32
32
|
- app/assets/stylesheets/sass-zero/utilities.scss
|
33
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
34
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
35
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
36
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
37
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
38
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
39
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
40
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
41
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
42
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
43
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
44
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
45
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
46
|
-
- app/assets/stylesheets/sass-zero/utilities/
|
47
|
-
- app/assets/stylesheets/sass-zero/variables.scss
|
48
|
-
- app/assets/stylesheets/sass-zero/variables/
|
49
|
-
- app/assets/stylesheets/sass-zero/variables/
|
50
|
-
- app/assets/stylesheets/sass-zero/variables/
|
51
|
-
- app/assets/stylesheets/sass-zero/variables/
|
52
|
-
- app/assets/stylesheets/sass-zero/variables/
|
53
|
-
- app/assets/stylesheets/sass-zero/variables/
|
54
|
-
- app/assets/stylesheets/sass-zero/variables/
|
55
|
-
- app/assets/stylesheets/sass-zero/variables/
|
56
|
-
- app/assets/stylesheets/sass-zero/variables/
|
57
|
-
- app/assets/stylesheets/sass-zero/variables/
|
58
|
-
- app/assets/stylesheets/sass-zero/variables/
|
59
|
-
- app/assets/stylesheets/sass-zero/variables/
|
60
|
-
- app/assets/stylesheets/sass-zero/variables/
|
61
|
-
- app/assets/stylesheets/sass-zero/variables/zindex.scss
|
33
|
+
- app/assets/stylesheets/sass-zero/utilities/_align.scss
|
34
|
+
- app/assets/stylesheets/sass-zero/utilities/_animation.scss
|
35
|
+
- app/assets/stylesheets/sass-zero/utilities/_border.scss
|
36
|
+
- app/assets/stylesheets/sass-zero/utilities/_container.scss
|
37
|
+
- app/assets/stylesheets/sass-zero/utilities/_flex.scss
|
38
|
+
- app/assets/stylesheets/sass-zero/utilities/_flush.scss
|
39
|
+
- app/assets/stylesheets/sass-zero/utilities/_layout.scss
|
40
|
+
- app/assets/stylesheets/sass-zero/utilities/_list.scss
|
41
|
+
- app/assets/stylesheets/sass-zero/utilities/_pad.scss
|
42
|
+
- app/assets/stylesheets/sass-zero/utilities/_position.scss
|
43
|
+
- app/assets/stylesheets/sass-zero/utilities/_pull.scss
|
44
|
+
- app/assets/stylesheets/sass-zero/utilities/_push.scss
|
45
|
+
- app/assets/stylesheets/sass-zero/utilities/_text.scss
|
46
|
+
- app/assets/stylesheets/sass-zero/utilities/_unpad.scss
|
47
|
+
- app/assets/stylesheets/sass-zero/variables/_border.scss
|
48
|
+
- app/assets/stylesheets/sass-zero/variables/_breakpoints.scss
|
49
|
+
- app/assets/stylesheets/sass-zero/variables/_colors.scss
|
50
|
+
- app/assets/stylesheets/sass-zero/variables/_effects.scss
|
51
|
+
- app/assets/stylesheets/sass-zero/variables/_filters.scss
|
52
|
+
- app/assets/stylesheets/sass-zero/variables/_flex.scss
|
53
|
+
- app/assets/stylesheets/sass-zero/variables/_grid.scss
|
54
|
+
- app/assets/stylesheets/sass-zero/variables/_height.scss
|
55
|
+
- app/assets/stylesheets/sass-zero/variables/_sizing.scss
|
56
|
+
- app/assets/stylesheets/sass-zero/variables/_transform.scss
|
57
|
+
- app/assets/stylesheets/sass-zero/variables/_transition.scss
|
58
|
+
- app/assets/stylesheets/sass-zero/variables/_typography.scss
|
59
|
+
- app/assets/stylesheets/sass-zero/variables/_width.scss
|
60
|
+
- app/assets/stylesheets/sass-zero/variables/_zindex.scss
|
62
61
|
- example.html
|
63
62
|
- lib/sass-zero.rb
|
64
63
|
- lib/sass_zero.rb
|