normalize-scss 4.0.0.beta.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/normalize-scss.gemspec +2 -2
- data/package.json +3 -5
- data/sass/normalize/_normalize-mixin.scss +46 -51
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a09357fac1f89addf98408b7457210235f4db465
|
4
|
+
data.tar.gz: c39484c2b8ebce2b9f636e324f19dd974417fced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a177b68c379818b3df83ec29c2ac8bc1c08e56b689be7471f94ddc257626315424db0eab4e5c22fe5d9a701309c0e9bbb3a45fa68e73a42351054efdec0b1597
|
7
|
+
data.tar.gz: b873200ded9d3756a2cfc70d810d31777b33bb61bd019af12d5d8429282b87fc0309cdf996983dcc70bb80f55f0b6356e523a54fea3dbaf8e68103e5ebe27db7
|
data/README.md
CHANGED
@@ -60,7 +60,7 @@ __Approach 1:__ Download and use normalize-scss as a starting point for your own
|
|
60
60
|
* [fork-versions/default](fork-versions/default) - Fork for libSass or Ruby Sass
|
61
61
|
* [fork-versions/ruby-sass-compass](fork-versions/ruby-sass-compass) - Fork for Ruby Sass with Compass
|
62
62
|
* [fork-versions/typey](fork-versions/typey) - Fork with Typey
|
63
|
-
* fork-versions/typey-kss - Fork with Typey and KSS
|
63
|
+
* [fork-versions/typey-chroma-kss](fork-versions/typey-chroma-kss) - Fork with Typey, Chroma and KSS
|
64
64
|
2. The normalize-scss code uses the `support-for` module, so add it
|
65
65
|
|
66
66
|
__Approach 2:__ Install and include normalize-scss untouched and then build upon it, overriding the defaults later in your Sass when necessary. Just import normalize-scss like any normal Sass module by:
|
data/normalize-scss.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.homepage = 'https://github.com/JohnAlbin/normalize-scss'
|
10
10
|
spec.rubyforge_project =
|
11
11
|
|
12
|
-
spec.version = '4.0.0
|
13
|
-
spec.date = '2015-11-
|
12
|
+
spec.version = '4.0.0'
|
13
|
+
spec.date = '2015-11-19'
|
14
14
|
spec.licenses = ['GPL-2']
|
15
15
|
|
16
16
|
spec.authors = ['John Albin Wilkins']
|
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "normalize-scss",
|
3
|
-
"version": "4.0.0
|
3
|
+
"version": "4.0.0",
|
4
4
|
"description": "This is the Sass version of Normalize.css, a collection of HTML element and attribute rulesets to normalize styles across all browsers. This port aims to use a light dusting of Sass to make Normalize even easier to integrate with your website.",
|
5
5
|
"homepage": "https://github.com/JohnAlbin/normalize-scss",
|
6
6
|
"bugs": {
|
@@ -20,11 +20,8 @@
|
|
20
20
|
"eyeglass": {
|
21
21
|
"exports": "eyeglass-exports.js"
|
22
22
|
},
|
23
|
-
"files": [
|
24
|
-
"LICENSE.md",
|
25
|
-
"sass/_normalize.scss"
|
26
|
-
],
|
27
23
|
"directories": {
|
24
|
+
"lib": "sass",
|
28
25
|
"test": "test"
|
29
26
|
},
|
30
27
|
"scripts": {
|
@@ -37,6 +34,7 @@
|
|
37
34
|
},
|
38
35
|
"devDependencies": {
|
39
36
|
"chai": "^3.4.1",
|
37
|
+
"chroma-sass": "^1.1.2",
|
40
38
|
"eslint": "^1.9.0",
|
41
39
|
"mocha": "^2.3.4",
|
42
40
|
"sassy-test": "^2.0.0"
|
@@ -187,16 +187,6 @@ $_normalize-exclude: ();
|
|
187
187
|
font-weight: bold;
|
188
188
|
}
|
189
189
|
|
190
|
-
@if $normalize-vertical-rhythm or support-for(ie, 7) {
|
191
|
-
/**
|
192
|
-
* Set 1 unit of vertical rhythm on the top and bottom margin.
|
193
|
-
*/
|
194
|
-
|
195
|
-
blockquote {
|
196
|
-
@include normalize-margin(1 $indent-amount);
|
197
|
-
}
|
198
|
-
}
|
199
|
-
|
200
190
|
/**
|
201
191
|
* Address styling not present in Safari and Chrome.
|
202
192
|
*/
|
@@ -273,17 +263,6 @@ $_normalize-exclude: ();
|
|
273
263
|
}
|
274
264
|
}
|
275
265
|
|
276
|
-
@if $normalize-vertical-rhythm or support-for(ie, 7) {
|
277
|
-
/**
|
278
|
-
* Set 1 unit of vertical rhythm on the top and bottom margin.
|
279
|
-
*/
|
280
|
-
|
281
|
-
p,
|
282
|
-
pre {
|
283
|
-
@include normalize-margin(1 0);
|
284
|
-
}
|
285
|
-
}
|
286
|
-
|
287
266
|
/**
|
288
267
|
* Address inconsistent and variable font size in all browsers.
|
289
268
|
*/
|
@@ -313,11 +292,38 @@ $_normalize-exclude: ();
|
|
313
292
|
}
|
314
293
|
}
|
315
294
|
|
316
|
-
@if _normalize-include(
|
317
|
-
|
318
|
-
|
319
|
-
|
295
|
+
@if _normalize-include(embedded) {
|
296
|
+
/* Embedded content
|
297
|
+
========================================================================== */
|
298
|
+
|
299
|
+
@if support-for(ie, 10) {
|
300
|
+
/**
|
301
|
+
* Remove border when inside `a` element in IE 8/9/10.
|
302
|
+
*/
|
303
|
+
|
304
|
+
img {
|
305
|
+
border: 0;
|
306
|
+
@if support-for(ie, 7) {
|
307
|
+
/* Improve image quality when scaled in IE 7. */
|
308
|
+
-ms-interpolation-mode: bicubic;
|
309
|
+
}
|
310
|
+
}
|
311
|
+
}
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Correct overflow not hidden in IE 9/10/11.
|
315
|
+
*/
|
316
|
+
|
317
|
+
svg:not(:root) {
|
318
|
+
overflow: hidden;
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
@if _normalize-include(grouping) {
|
323
|
+
/* Grouping content
|
324
|
+
========================================================================== */
|
320
325
|
|
326
|
+
@if $normalize-vertical-rhythm or support-for(ie, 7) {
|
321
327
|
/**
|
322
328
|
* Address margins set differently in IE 6/7.
|
323
329
|
*/
|
@@ -371,39 +377,17 @@ $_normalize-exclude: ();
|
|
371
377
|
list-style-image: none;
|
372
378
|
}
|
373
379
|
}
|
374
|
-
}
|
375
|
-
|
376
|
-
@if _normalize-include(embedded) {
|
377
|
-
/* Embedded content
|
378
|
-
========================================================================== */
|
379
380
|
|
380
|
-
@if support-for(ie,
|
381
|
+
@if $normalize-vertical-rhythm or support-for(ie, 7) {
|
381
382
|
/**
|
382
|
-
*
|
383
|
+
* Set 1 unit of vertical rhythm on the top and bottom margin.
|
383
384
|
*/
|
384
385
|
|
385
|
-
|
386
|
-
|
387
|
-
@if support-for(ie, 7) {
|
388
|
-
/* Improve image quality when scaled in IE 7. */
|
389
|
-
-ms-interpolation-mode: bicubic;
|
390
|
-
}
|
386
|
+
blockquote {
|
387
|
+
@include normalize-margin(1 $indent-amount);
|
391
388
|
}
|
392
389
|
}
|
393
390
|
|
394
|
-
/**
|
395
|
-
* Correct overflow not hidden in IE 9/10/11.
|
396
|
-
*/
|
397
|
-
|
398
|
-
svg:not(:root) {
|
399
|
-
overflow: hidden;
|
400
|
-
}
|
401
|
-
}
|
402
|
-
|
403
|
-
@if _normalize-include(grouping) {
|
404
|
-
/* Grouping content
|
405
|
-
========================================================================== */
|
406
|
-
|
407
391
|
@if $normalize-vertical-rhythm or support-for(ie, 9) or support-for(safari, 6) {
|
408
392
|
/**
|
409
393
|
* Address margin not present in IE 8/9 and Safari.
|
@@ -426,6 +410,17 @@ $_normalize-exclude: ();
|
|
426
410
|
height: 0;
|
427
411
|
}
|
428
412
|
|
413
|
+
@if $normalize-vertical-rhythm or support-for(ie, 7) {
|
414
|
+
/**
|
415
|
+
* Set 1 unit of vertical rhythm on the top and bottom margin.
|
416
|
+
*/
|
417
|
+
|
418
|
+
p,
|
419
|
+
pre {
|
420
|
+
@include normalize-margin(1 0);
|
421
|
+
}
|
422
|
+
}
|
423
|
+
|
429
424
|
/**
|
430
425
|
* Contain overflow in all browsers.
|
431
426
|
*/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: normalize-scss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Albin Wilkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -75,11 +75,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - "
|
78
|
+
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
80
|
+
version: '0'
|
81
81
|
requirements: []
|
82
|
-
rubyforge_project: 4.0.0
|
82
|
+
rubyforge_project: 4.0.0
|
83
83
|
rubygems_version: 2.4.8
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|