sass-zero 1.1.5 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.sass-zero-references.scss +20 -21
  3. data/Gemfile.lock +1 -1
  4. data/README.md +73 -42
  5. data/app/assets/stylesheets/sass-zero/{mixins.scss → _mixins.scss} +9 -4
  6. data/app/assets/stylesheets/sass-zero/base.scss +363 -1
  7. data/app/assets/stylesheets/sass-zero/variables/{border.scss → _border.scss} +1 -1
  8. data/app/assets/stylesheets/sass-zero/variables/{breakpoints.scss → _breakpoints.scss} +1 -1
  9. data/app/assets/stylesheets/sass-zero/variables/{colors.scss → _colors.scss} +3 -1
  10. data/app/assets/stylesheets/sass-zero/variables/{effects.scss → _effects.scss} +1 -18
  11. data/app/assets/stylesheets/sass-zero/variables/{filters.scss → _filters.scss} +9 -9
  12. data/app/assets/stylesheets/sass-zero/variables/{flex.scss → _flex.scss} +4 -4
  13. data/lib/sass_zero/version.rb +1 -1
  14. metadata +32 -33
  15. data/app/assets/stylesheets/sass-zero/base/preflight.scss +0 -363
  16. /data/app/assets/stylesheets/sass-zero/{variables.scss → _variables.scss} +0 -0
  17. /data/app/assets/stylesheets/sass-zero/utilities/{align.scss → _align.scss} +0 -0
  18. /data/app/assets/stylesheets/sass-zero/utilities/{animation.scss → _animation.scss} +0 -0
  19. /data/app/assets/stylesheets/sass-zero/utilities/{border.scss → _border.scss} +0 -0
  20. /data/app/assets/stylesheets/sass-zero/utilities/{container.scss → _container.scss} +0 -0
  21. /data/app/assets/stylesheets/sass-zero/utilities/{flex.scss → _flex.scss} +0 -0
  22. /data/app/assets/stylesheets/sass-zero/utilities/{flush.scss → _flush.scss} +0 -0
  23. /data/app/assets/stylesheets/sass-zero/utilities/{layout.scss → _layout.scss} +0 -0
  24. /data/app/assets/stylesheets/sass-zero/utilities/{list.scss → _list.scss} +0 -0
  25. /data/app/assets/stylesheets/sass-zero/utilities/{pad.scss → _pad.scss} +0 -0
  26. /data/app/assets/stylesheets/sass-zero/utilities/{position.scss → _position.scss} +0 -0
  27. /data/app/assets/stylesheets/sass-zero/utilities/{pull.scss → _pull.scss} +0 -0
  28. /data/app/assets/stylesheets/sass-zero/utilities/{push.scss → _push.scss} +0 -0
  29. /data/app/assets/stylesheets/sass-zero/utilities/{text.scss → _text.scss} +0 -0
  30. /data/app/assets/stylesheets/sass-zero/utilities/{unpad.scss → _unpad.scss} +0 -0
  31. /data/app/assets/stylesheets/sass-zero/variables/{grid.scss → _grid.scss} +0 -0
  32. /data/app/assets/stylesheets/sass-zero/variables/{height.scss → _height.scss} +0 -0
  33. /data/app/assets/stylesheets/sass-zero/variables/{sizing.scss → _sizing.scss} +0 -0
  34. /data/app/assets/stylesheets/sass-zero/variables/{transform.scss → _transform.scss} +0 -0
  35. /data/app/assets/stylesheets/sass-zero/variables/{transition.scss → _transition.scss} +0 -0
  36. /data/app/assets/stylesheets/sass-zero/variables/{typography.scss → _typography.scss} +0 -0
  37. /data/app/assets/stylesheets/sass-zero/variables/{width.scss → _width.scss} +0 -0
  38. /data/app/assets/stylesheets/sass-zero/variables/{zindex.scss → _zindex.scss} +0 -0
@@ -1,363 +0,0 @@
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
- }