normalize-scss 3.0.0.alpha.2 → 3.0.0
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/CHANGELOG.md +12 -0
- data/README.md +41 -5
- data/_normalize.scss +42 -63
- data/normalize-scss.gemspec +4 -4
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26ff3942cd4d3ea8e649e306d374e48f1e46b50e
|
4
|
+
data.tar.gz: f9976fa1927f65b256342e5b42372b8b2f63962c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 486d0ae54db4789e684434f427dcd1e147e131c70b2038b808b7eeb9230625c03cedde4fe8e56b4f2e6969e25e00527f79aa09701462d1cadab69e0422480d27
|
7
|
+
data.tar.gz: 2644b28f0c800711034e5a212a62f095df68d8a4073d93380c45cbe90567dec4c5404ebd82bb7c0dddfafd7903bdbc81cdadd61784cd4cc33de24e77103cb505
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
=== normalize-scss 3.0.0+normalize.3.0.1 (August 26, 2014)
|
2
|
+
|
3
|
+
* Upgrade to Normalize.css 3.0.1.
|
4
|
+
* Remove forked additional support-legacy-browser() to match Compass 1.0.0.
|
5
|
+
* Update legend ruleset IE check to be IE 11 and lower.
|
6
|
+
|
1
7
|
=== normalize-scss 3.0.0-alpha.2+normalize.3.0.0 (February 11, 2014)
|
2
8
|
|
3
9
|
* Upgrade to Normalize.css 3.0.0.
|
@@ -15,8 +21,14 @@
|
|
15
21
|
|
16
22
|
== normalize.css change log
|
17
23
|
|
24
|
+
=== normalize.css 3.0.1 (March 27, 2014)
|
25
|
+
|
26
|
+
* Add package.json for npm support.
|
27
|
+
|
18
28
|
=== normalize.css 3.0.0 (January 28, 2014)
|
19
29
|
|
30
|
+
=== normalize.css 3.0.0-rc.1 (January 26, 2014)
|
31
|
+
|
20
32
|
* Explicit tests for each normalization.
|
21
33
|
* Fix i18n for `q` element.
|
22
34
|
* Fix `pre` text formatting and overflow.
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
## Latest downloadable version
|
2
2
|
|
3
|
-
The latest release of _normalize.scss for Sass 3.3 and Compass 1.0 is: [3.0.0
|
4
|
-
It combines normalize.css v3.0.
|
3
|
+
The latest release of _normalize.scss for Sass 3.3 and Compass 1.0 is: [3.0.0+normalize.3.0.1](https://github.com/JohnAlbin/normalize-scss/releases/tag/3.0.0%2Bnormalize.3.0.1).
|
4
|
+
It combines normalize.css v3.0.1 and normalize v1.1.3.
|
5
5
|
|
6
|
-
The latest release of _normalize.scss for Sass 3.2 and Compass 0.12 is: [2.2.0+normalize.2.1.3(https://github.com/JohnAlbin/normalize-scss/releases/tag/2.2.0%2Bnormalize.2.1.3).
|
6
|
+
The latest release of _normalize.scss for Sass 3.2 and Compass 0.12 is: [2.2.0+normalize.2.1.3](https://github.com/JohnAlbin/normalize-scss/releases/tag/2.2.0%2Bnormalize.2.1.3).
|
7
7
|
It combines normalize.css v2.1.3 and normalize v1.1.3.
|
8
8
|
|
9
9
|
## The Compass port of normalize.css
|
@@ -45,7 +45,7 @@ Install using one of the following methods:
|
|
45
45
|
|
46
46
|
Download from the [project page](https://github.com/JohnAlbin/normalize-scss/releases).
|
47
47
|
|
48
|
-
Install with [Bower](http://bower.io/): `bower install --save normalize.scss` (or to install the latest pre-release version: `bower install --save normalize.scss#3.0.0
|
48
|
+
Install with [Bower](http://bower.io/): `bower install --save normalize.scss` (or to install the latest pre-release version: `bower install --save normalize.scss#3.0.0+normalize.3.0.1`)
|
49
49
|
|
50
50
|
Install with [Component(1)](http://component.io/): `component install JohnAlbin/normalize-scss`
|
51
51
|
|
@@ -89,8 +89,44 @@ the defaults later in your Sass if necessary.
|
|
89
89
|
support](https://github.com/necolas/normalize.css/tree/v1) (IE 6+, Safari 4+),
|
90
90
|
but is no longer actively developed.
|
91
91
|
|
92
|
-
##
|
92
|
+
## Extended details
|
93
|
+
|
94
|
+
Additional detail and explanation of the esoteric parts of normalize.css.
|
95
|
+
|
96
|
+
#### `pre, code, kbd, samp`
|
97
|
+
|
98
|
+
The `font-family: monospace, monospace` hack fixes the inheritance and scaling
|
99
|
+
of font-size for preformated text. The duplication of `monospace` is
|
100
|
+
intentional. [Source](http://en.wikipedia.org/wiki/User:Davidgothberg/Test59).
|
101
|
+
|
102
|
+
#### `sub, sup`
|
103
|
+
|
104
|
+
Normally, using `sub` or `sup` affects the line-box height of text in all
|
105
|
+
browsers. [Source](http://gist.github.com/413930).
|
106
|
+
|
107
|
+
#### `svg:not(:root)`
|
93
108
|
|
109
|
+
Adding `overflow: hidden` fixes IE9's SVG rendering. Earlier versions of IE
|
110
|
+
don't support SVG, so we can safely use the `:not()` and `:root` selectors that
|
111
|
+
modern browsers use in the default UA stylesheets to apply this style. [SVG
|
112
|
+
Mailing List discussion](http://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0339.html)
|
113
|
+
|
114
|
+
#### `input[type="search"]`
|
115
|
+
|
116
|
+
The search input is not fully stylable by default. In Chrome and Safari on
|
117
|
+
OSX/iOS you can't control `font`, `padding`, `border`, or `background`. In
|
118
|
+
Chrome and Safari on Windows you can't control `border` properly. It will apply
|
119
|
+
`border-width` but will only show a border color (which cannot be controlled)
|
120
|
+
for the outer 1px of that border. Applying `-webkit-appearance: textfield`
|
121
|
+
addresses these issues without removing the benefits of search inputs (e.g.
|
122
|
+
showing past searches).
|
123
|
+
|
124
|
+
#### `legend`
|
125
|
+
|
126
|
+
Adding `border: 0` corrects an IE 8–11 bug where `color` (yes, `color`) is not
|
127
|
+
inherited by `legend`.
|
128
|
+
|
129
|
+
## Contributing
|
94
130
|
Please read Necolas' [contributing
|
95
131
|
guidelines](CONTRIBUTING.md).
|
96
132
|
|
data/_normalize.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* normalize-scss 3.0.0
|
1
|
+
/* normalize-scss 3.0.0+normalize.3.0.1 | MIT/GPLv2 License | bit.ly/normalize-scss */
|
2
2
|
|
3
3
|
|
4
4
|
// Variables and Imports
|
@@ -57,28 +57,6 @@ $indent-amount: 40px !default;
|
|
57
57
|
@import "compass/typography/vertical_rhythm";
|
58
58
|
|
59
59
|
|
60
|
-
// To work around a bug in compass-core 1.0.0-alpha.17, we override Compass'
|
61
|
-
// support-legacy-browser() function with a version of our own.
|
62
|
-
// @TODO Remove this monkey patch after it's fixed in Compass.
|
63
|
-
// @see https://github.com/chriseppstein/compass/pull/1524
|
64
|
-
// @see also https://github.com/chriseppstein/compass/pull/1520
|
65
|
-
@function support-legacy-browser($browser, $min-version, $max-version: null, $threshold: $critical-usage-threshold) {
|
66
|
-
@if not index($supported-browsers, $browser) {
|
67
|
-
@return false;
|
68
|
-
}
|
69
|
-
// Check against declared minimums.
|
70
|
-
$min-required-version: map-get($browser-minimum-versions, $browser);
|
71
|
-
@if $min-required-version {
|
72
|
-
@return compare-browser-versions($browser, $max-version or $min-version, $min-required-version) >= 0;
|
73
|
-
} @else {
|
74
|
-
// Check against usage stats.
|
75
|
-
$usage: if($max-version,
|
76
|
-
omitted-usage($browser, $min-version, $max-version),
|
77
|
-
omitted-usage($browser, $min-version));
|
78
|
-
@return $usage > $threshold;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
60
|
/* Base
|
83
61
|
========================================================================== */
|
84
62
|
|
@@ -118,8 +96,9 @@ body {
|
|
118
96
|
========================================================================== */
|
119
97
|
|
120
98
|
/**
|
121
|
-
* Correct `block` display not defined in IE 8/9.
|
122
|
-
* not defined
|
99
|
+
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
100
|
+
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
|
101
|
+
* Correct `block` display not defined for `main` in IE 11.
|
123
102
|
*/
|
124
103
|
|
125
104
|
article,
|
@@ -177,7 +156,7 @@ audio:not([controls]) {
|
|
177
156
|
}
|
178
157
|
|
179
158
|
/**
|
180
|
-
* Hide the `template` element in IE, Safari, and Firefox < 22.
|
159
|
+
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
181
160
|
*/
|
182
161
|
|
183
162
|
template {
|
@@ -210,7 +189,7 @@ a:hover {
|
|
210
189
|
========================================================================== */
|
211
190
|
|
212
191
|
/**
|
213
|
-
* Address styling not present in IE, Safari
|
192
|
+
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
214
193
|
*/
|
215
194
|
|
216
195
|
abbr[title] {
|
@@ -218,7 +197,7 @@ abbr[title] {
|
|
218
197
|
}
|
219
198
|
|
220
199
|
/**
|
221
|
-
* Address style set to `bolder` in Firefox 4+, Safari
|
200
|
+
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
222
201
|
*/
|
223
202
|
|
224
203
|
b,
|
@@ -237,22 +216,7 @@ strong {
|
|
237
216
|
}
|
238
217
|
|
239
218
|
/**
|
240
|
-
* Address
|
241
|
-
*/
|
242
|
-
|
243
|
-
code,
|
244
|
-
kbd,
|
245
|
-
pre,
|
246
|
-
samp {
|
247
|
-
font-family: monospace, serif;
|
248
|
-
@if support-legacy-browser(ie, "6") {
|
249
|
-
_font-family: 'courier new', monospace;
|
250
|
-
}
|
251
|
-
font-size: 1em;
|
252
|
-
}
|
253
|
-
|
254
|
-
/**
|
255
|
-
* Address styling not present in Safari 5 and Chrome.
|
219
|
+
* Address styling not present in Safari and Chrome.
|
256
220
|
*/
|
257
221
|
|
258
222
|
dfn {
|
@@ -261,7 +225,7 @@ dfn {
|
|
261
225
|
|
262
226
|
/**
|
263
227
|
* Address variable `h1` font-size and margin within `section` and `article`
|
264
|
-
* contexts in Firefox 4+, Safari
|
228
|
+
* contexts in Firefox 4+, Safari, and Chrome.
|
265
229
|
*/
|
266
230
|
|
267
231
|
h1 {
|
@@ -332,14 +296,6 @@ h1 {
|
|
332
296
|
}
|
333
297
|
}
|
334
298
|
|
335
|
-
/**
|
336
|
-
* Contain overflow in all browsers.
|
337
|
-
*/
|
338
|
-
|
339
|
-
pre {
|
340
|
-
overflow: auto;
|
341
|
-
}
|
342
|
-
|
343
299
|
/**
|
344
300
|
* Address inconsistent and variable font size in all browsers.
|
345
301
|
*/
|
@@ -438,7 +394,7 @@ sub {
|
|
438
394
|
}
|
439
395
|
|
440
396
|
/**
|
441
|
-
* Correct overflow
|
397
|
+
* Correct overflow not hidden in IE 9/10/11.
|
442
398
|
*/
|
443
399
|
|
444
400
|
svg:not(:root) {
|
@@ -450,7 +406,7 @@ svg:not(:root) {
|
|
450
406
|
|
451
407
|
@if support-legacy-browser(ie, "9") or support-legacy-browser(safari, "5") {
|
452
408
|
/**
|
453
|
-
* Address margin not present in IE 8/9 and Safari
|
409
|
+
* Address margin not present in IE 8/9 and Safari.
|
454
410
|
*/
|
455
411
|
|
456
412
|
figure {
|
@@ -467,6 +423,29 @@ hr {
|
|
467
423
|
height: 0;
|
468
424
|
}
|
469
425
|
|
426
|
+
/**
|
427
|
+
* Contain overflow in all browsers.
|
428
|
+
*/
|
429
|
+
|
430
|
+
pre {
|
431
|
+
overflow: auto;
|
432
|
+
}
|
433
|
+
|
434
|
+
/**
|
435
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
436
|
+
*/
|
437
|
+
|
438
|
+
code,
|
439
|
+
kbd,
|
440
|
+
pre,
|
441
|
+
samp {
|
442
|
+
font-family: monospace, monospace;
|
443
|
+
@if support-legacy-browser(ie, "6") {
|
444
|
+
_font-family: 'courier new', monospace;
|
445
|
+
}
|
446
|
+
font-size: 1em;
|
447
|
+
}
|
448
|
+
|
470
449
|
/* Forms
|
471
450
|
========================================================================== */
|
472
451
|
|
@@ -489,7 +468,7 @@ hr {
|
|
489
468
|
* 1. Correct color not being inherited.
|
490
469
|
* Known issue: affects color of disabled elements.
|
491
470
|
* 2. Correct font properties not being inherited.
|
492
|
-
* 3. Address margins set differently in Firefox 4+, Safari
|
471
|
+
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
493
472
|
* 4. Address `font-family` inconsistency between `textarea` and other form in IE 7
|
494
473
|
* 5. Improve appearance and consistency with IE 6/7.
|
495
474
|
*/
|
@@ -509,7 +488,7 @@ textarea {
|
|
509
488
|
}
|
510
489
|
|
511
490
|
/**
|
512
|
-
* Address `overflow` set to `hidden` in IE.
|
491
|
+
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
513
492
|
*/
|
514
493
|
|
515
494
|
button {
|
@@ -519,7 +498,7 @@ button {
|
|
519
498
|
/**
|
520
499
|
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
521
500
|
* All other form control elements do not inherit `text-transform` values.
|
522
|
-
* Correct `button` style inheritance in Firefox, IE, and Opera.
|
501
|
+
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
523
502
|
* Correct `select` style inheritance in Firefox.
|
524
503
|
*/
|
525
504
|
|
@@ -611,8 +590,8 @@ input[type="number"]::-webkit-outer-spin-button {
|
|
611
590
|
}
|
612
591
|
|
613
592
|
/**
|
614
|
-
* 1. Address `appearance` set to `searchfield` in Safari
|
615
|
-
* 2. Address `box-sizing` set to `border-box` in Safari
|
593
|
+
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
594
|
+
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
616
595
|
* (include `-moz` to future-proof).
|
617
596
|
*/
|
618
597
|
|
@@ -647,13 +626,13 @@ fieldset {
|
|
647
626
|
}
|
648
627
|
|
649
628
|
/**
|
650
|
-
* 1. Correct `color` not being inherited in IE.
|
629
|
+
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
651
630
|
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
652
631
|
* 3. Correct alignment displayed oddly in IE 6/7.
|
653
632
|
*/
|
654
633
|
|
655
634
|
legend {
|
656
|
-
@if support-legacy-browser(ie, "
|
635
|
+
@if support-legacy-browser(ie, "11") {
|
657
636
|
border: 0; /* 1 */
|
658
637
|
}
|
659
638
|
padding: 0; /* 2 */
|
@@ -663,7 +642,7 @@ legend {
|
|
663
642
|
}
|
664
643
|
|
665
644
|
/**
|
666
|
-
* Remove default vertical scrollbar in IE.
|
645
|
+
* Remove default vertical scrollbar in IE 8/9/10/11.
|
667
646
|
*/
|
668
647
|
|
669
648
|
textarea {
|
data/normalize-scss.gemspec
CHANGED
@@ -9,15 +9,15 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.homepage = 'https://github.com/JohnAlbin/normalize-scss'
|
10
10
|
s.rubyforge_project =
|
11
11
|
|
12
|
-
s.version = '3.0.0
|
13
|
-
s.date = '2014-
|
12
|
+
s.version = '3.0.0'
|
13
|
+
s.date = '2014-08-26'
|
14
14
|
s.licenses = ['GPL-2']
|
15
15
|
|
16
16
|
s.authors = ['John Albin Wilkins']
|
17
17
|
s.email = 'virtually.johnalbin@gmail.com'
|
18
18
|
|
19
|
-
s.add_runtime_dependency('sass', ">= 3.3.0
|
20
|
-
s.add_runtime_dependency('compass-core', ">= 1.0.0
|
19
|
+
s.add_runtime_dependency('sass', ">= 3.3.0")
|
20
|
+
s.add_runtime_dependency('compass-core', ">= 1.0.0")
|
21
21
|
|
22
22
|
s.files = %w[
|
23
23
|
_normalize.scss
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: normalize-scss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0
|
4
|
+
version: 3.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: 2014-
|
11
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.3.0
|
19
|
+
version: 3.3.0
|
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: 3.3.0
|
26
|
+
version: 3.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: compass-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.0
|
33
|
+
version: 1.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0.0
|
40
|
+
version: 1.0.0
|
41
41
|
description: This is the Sass/Compass version of Normalize.css, a collection of HTML
|
42
42
|
element and attribute rulesets to normalize styles across all browsers. This port
|
43
43
|
aims to use the best partials from Compass to make Normalize even easier to integrate
|
@@ -64,17 +64,17 @@ require_paths:
|
|
64
64
|
- lib
|
65
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubyforge_project: 3.0.0
|
77
|
-
rubygems_version: 2.
|
76
|
+
rubyforge_project: 3.0.0
|
77
|
+
rubygems_version: 2.4.1
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: The Sass/Compass version of Normalize.css
|