normalize-scss 3.0.2 → 3.0.3
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 +9 -0
- data/README.md +48 -43
- data/_normalize.scss +11 -20
- data/normalize-scss.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e5e20b69544d934a3f78431dc898a6de304bc1
|
4
|
+
data.tar.gz: 8d0a04cfa5e9eb0b685151fff80eaa2a60dd2491
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64b29d5f1095f8f02e11303d1a718f3dd1810b28599ef47057853392a8ef26f8de6342489c4cd30d246b063fcd07e21bdd5fc583a698451a7914ef291cd7886b
|
7
|
+
data.tar.gz: 6ef04b429c535544472d5ca7faf1b42d57c7a2721fbd582bddba16eab1e36951f739dc605d58cad8be0776c63d25934b13063274c07a43eae02a73d82fbc775e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
=== normalize-scss 3.0.3+normalize.3.0.3 (October 17, 2015)
|
2
|
+
|
3
|
+
* Upgrade to Normalize.css 3.0.3.
|
4
|
+
|
1
5
|
=== normalize-scss 3.0.2+normalize.3.0.2 (November 6, 2014)
|
2
6
|
|
3
7
|
* Upgrade to Normalize.css 3.0.2.
|
@@ -32,6 +36,11 @@
|
|
32
36
|
|
33
37
|
=== HEAD
|
34
38
|
|
39
|
+
=== 3.0.3 (March 30, 2015)
|
40
|
+
|
41
|
+
* Remove unnecessary vendor prefixes.
|
42
|
+
* Add `main` property.
|
43
|
+
|
35
44
|
=== normalize.css 3.0.2 (October 4, 2014)
|
36
45
|
|
37
46
|
* Only alter `background-color` of links in IE 10.
|
data/README.md
CHANGED
@@ -1,32 +1,36 @@
|
|
1
1
|
## Latest downloadable version
|
2
2
|
|
3
|
-
The latest release of _normalize.scss for Sass 3.
|
4
|
-
It combines normalize.css v3.0.
|
3
|
+
The latest release of _normalize.scss for Sass 3.4 or libSass 3.2.0 (and later) is: [4.0.0-alpha.1](https://github.com/JohnAlbin/normalize-scss/releases/tag/4.0.0-alpha.1).
|
4
|
+
It combines normalize.css v3.0.3 and normalize v1.1.3.
|
5
5
|
|
6
|
-
The latest release of _normalize.scss for Sass 3.
|
6
|
+
The latest release of _normalize.scss for Sass 3.3/Compass 1.0 (and later) is: [3.0.3+normalize.3.0.3](https://github.com/JohnAlbin/normalize-scss/releases/tag/3.0.3%2Bnormalize.3.0.3).
|
7
|
+
It combines normalize.css v3.0.3 and normalize v1.1.3.
|
8
|
+
|
9
|
+
The latest release of _normalize.scss for Sass 3.2/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
10
|
It combines normalize.css v2.1.3 and normalize v1.1.3.
|
8
11
|
|
9
12
|
## The Compass port of normalize.css
|
10
13
|
|
11
|
-
__This project is the Sass/Compass version of Normalize.css__, a collection of
|
12
|
-
element and attribute rulesets to normalize styles across all browsers.
|
13
|
-
port aims to use the best partials from Compass to make Normalize even
|
14
|
-
integrate with your website. To learn about why Normalize.css is so
|
15
|
-
skip to the "normalize.css" section below.
|
14
|
+
__This project is the Sass/Compass version of Normalize.css__, a collection of
|
15
|
+
HTML element and attribute rulesets to normalize styles across all browsers.
|
16
|
+
This port aims to use the best partials from Compass to make Normalize even
|
17
|
+
easier to integrate with your website. To learn about why Normalize.css is so
|
18
|
+
amazing, skip to the "normalize.css" section below.
|
16
19
|
|
17
20
|
This Sass/Compass port currently utilizes:
|
18
21
|
|
19
|
-
*
|
22
|
+
* Browser Support variables
|
20
23
|
* CSS3 Box Sizing mixin
|
21
24
|
* Vertical Rhythm mixins
|
22
25
|
|
23
26
|
In addition, Normalize.css has 2 major versions: version 3 (without legacy
|
24
27
|
browser support) and version 1 (with support for IE 6/7, etc.) This Compass port
|
25
28
|
combines the two versions into one file so that you can easily toggle between
|
26
|
-
the two versions using Compass'
|
29
|
+
the two versions using Compass' Browser Support variables.
|
27
30
|
|
28
|
-
Did a client wait until the last minute to mention their CEO uses IE
|
29
|
-
|
31
|
+
Did a client wait until the last minute to mention their CEO uses IE 6? Simply
|
32
|
+
update your `$browser-minimum-versions` variable and recompile your Sass files.
|
33
|
+
Details can be found at https://github.com/JohnAlbin/normalize-scss/wiki
|
30
34
|
|
31
35
|
# normalize.css v3
|
32
36
|
|
@@ -39,18 +43,6 @@ normalizing.
|
|
39
43
|
|
40
44
|
[View the test file](http://necolas.github.io/normalize.css/latest/test.html)
|
41
45
|
|
42
|
-
## Install
|
43
|
-
|
44
|
-
Install using one of the following methods:
|
45
|
-
|
46
|
-
Download from the [project page](https://github.com/JohnAlbin/normalize-scss/releases).
|
47
|
-
|
48
|
-
Install with [Bower](http://bower.io/): `bower install --save normalize.scss`
|
49
|
-
|
50
|
-
Install with [Component(1)](http://component.io/): `component install JohnAlbin/normalize-scss`
|
51
|
-
|
52
|
-
Install with [Ruby Gem](https://rubygems.org/gems/normalize-scss): `sudo gem install normalize-scss`
|
53
|
-
|
54
46
|
## What does it do?
|
55
47
|
|
56
48
|
* Preserves useful defaults, unlike many CSS resets.
|
@@ -59,35 +51,48 @@ Install with [Ruby Gem](https://rubygems.org/gems/normalize-scss): `sudo gem ins
|
|
59
51
|
* Improves usability with subtle improvements.
|
60
52
|
* Explains what code does using detailed comments.
|
61
53
|
|
62
|
-
##
|
54
|
+
## Install
|
63
55
|
|
64
|
-
|
56
|
+
Install using one of the following methods:
|
57
|
+
|
58
|
+
* Download directly from the [project page](https://github.com/JohnAlbin/normalize-scss/releases).
|
59
|
+
* Install with [npm](http://npmjs.org/): `npm install --save normalize-scss`
|
60
|
+
* Install with [Bower](http://bower.io/): `bower install --save normalize.scss`
|
61
|
+
* Install with [Component(1)](http://component.io/): `component install JohnAlbin/normalize-scss`
|
62
|
+
* Install with [Ruby Gem](https://rubygems.org/gems/normalize-scss):
|
63
|
+
`gem install normalize-scss` Note: if you want to alter the _normalize.scss
|
64
|
+
file after installation (see "how to use it" below), you can use the
|
65
|
+
`gem list --details normalize-scss` command to show you where the
|
66
|
+
normalize-scss files were installed.
|
67
|
+
|
68
|
+
## How to use it
|
65
69
|
|
66
|
-
|
70
|
+
There is a fantastic introduction to the project and brief instructions how to
|
71
|
+
use it in the [About normalize.css article](http://nicolasgallagher.com/about-normalize-css/).
|
67
72
|
|
68
|
-
To use the Compass port of Normalize, simply
|
69
|
-
your sass directory and follow the article's suggestions:
|
73
|
+
To use the Compass port of Normalize, simply:
|
70
74
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
75
|
+
1. copy the _normalize.scss file to your sass directory (or if installed with
|
76
|
+
Ruby Gem, add `require "normalize-scss"` to your config.rb file.)
|
77
|
+
2. import the partial into your main Sass file with `@import "normalize";`
|
78
|
+
3. and follow the "About normalize.css" article's suggestions:
|
79
|
+
* __Approach 1:__ use `_normalize.scss` as a starting point for your own
|
80
|
+
project's base Sass, customising the values to match the design's
|
81
|
+
requirements. (The best approach, _IMO_.)
|
82
|
+
* __Approach 2:__ include `_normalize.scss` untouched and build upon it,
|
83
|
+
overriding the defaults later in your Sass when necessary.
|
76
84
|
|
77
85
|
## Browser support
|
78
86
|
|
79
87
|
* Google Chrome (latest)
|
80
88
|
* Mozilla Firefox (latest)
|
81
|
-
* Mozilla Firefox
|
89
|
+
* Mozilla Firefox ESR
|
82
90
|
* Opera (latest)
|
83
91
|
* Apple Safari 6+
|
84
|
-
* Internet Explorer
|
85
|
-
* Internet Explorer 6-7 (when `$legacy-support-for-ie7` or
|
86
|
-
`$legacy-support-for-ie6` is set to `true`)
|
92
|
+
* Internet Explorer 6+
|
87
93
|
|
88
|
-
|
89
|
-
|
90
|
-
but is no longer actively developed.
|
94
|
+
The exact browsers supported in your project is controlled by Compass' Support
|
95
|
+
variables. See https://github.com/JohnAlbin/normalize-scss/wiki
|
91
96
|
|
92
97
|
## Extended details
|
93
98
|
|
@@ -152,7 +157,7 @@ Including:
|
|
152
157
|
* https://github.com/kristerkari/normalize.scss
|
153
158
|
|
154
159
|
Some of the above projects convert normalize into Sass mixins. That makes it
|
155
|
-
impossible to add Normalize using __Approach 1__ (by copying the file into your
|
156
|
-
and customizing/overriding for your needs.)
|
160
|
+
impossible to add Normalize using __Approach 1__ (by copying the file into your
|
161
|
+
website and customizing/overriding for your needs.)
|
157
162
|
|
158
163
|
[](https://travis-ci.org/JohnAlbin/normalize-scss)
|
data/_normalize.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* normalize-scss 3.0.
|
1
|
+
/* normalize-scss 3.0.3+normalize.3.0.3 | MIT/GPLv2 License | bit.ly/normalize-scss */
|
2
2
|
|
3
3
|
|
4
4
|
// Variables and Imports
|
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
// These 3 variables are copies of ones used in Compass' Vertical Rhythm module.
|
12
12
|
|
13
|
-
// The
|
13
|
+
// The font size set on the root html element.
|
14
14
|
$base-font-size: 16px !default;
|
15
15
|
|
16
16
|
// The base line height determines the basic unit of vertical rhythm.
|
@@ -20,18 +20,9 @@
|
|
20
20
|
// Supported values: px, em, rem.
|
21
21
|
$rhythm-unit: 'em' !default;
|
22
22
|
|
23
|
-
// This
|
24
|
-
|
25
|
-
//
|
26
|
-
// remove support for IE 7 and earlier, set $browser-minimum-versions['ie']
|
27
|
-
// to '8'.
|
28
|
-
$browser-minimum-versions: (
|
29
|
-
'chrome': null,
|
30
|
-
'firefox': null,
|
31
|
-
'ie': null,
|
32
|
-
'safari': null,
|
33
|
-
'opera': null
|
34
|
-
) !default;
|
23
|
+
// Note: This project also makes use of variables from Compass' support
|
24
|
+
// module. Documentation for this can be found on the wiki at:
|
25
|
+
// https://github.com/JohnAlbin/normalize-scss/wiki
|
35
26
|
|
36
27
|
|
37
28
|
// Set this to true to force CSS output to exactly match normalize.css.
|
@@ -69,8 +60,8 @@ $indent-amount: 40px !default;
|
|
69
60
|
|
70
61
|
/**
|
71
62
|
* 1. Set default font family to sans-serif.
|
72
|
-
* 2. Prevent iOS text size adjust after orientation change,
|
73
|
-
* user zoom.
|
63
|
+
* 2. Prevent iOS and IE text size adjust after device orientation change,
|
64
|
+
* without disabling user zoom.
|
74
65
|
*/
|
75
66
|
|
76
67
|
html {
|
@@ -155,7 +146,7 @@ audio:not([controls]) {
|
|
155
146
|
}
|
156
147
|
|
157
148
|
/**
|
158
|
-
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
149
|
+
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
159
150
|
*/
|
160
151
|
|
161
152
|
template {
|
@@ -176,7 +167,8 @@ template {
|
|
176
167
|
}
|
177
168
|
|
178
169
|
/**
|
179
|
-
* Improve readability
|
170
|
+
* Improve readability of focused elements when they are also in an
|
171
|
+
* active/hover state.
|
180
172
|
*/
|
181
173
|
|
182
174
|
a:active,
|
@@ -594,8 +586,7 @@ input[type="number"]::-webkit-outer-spin-button {
|
|
594
586
|
|
595
587
|
/**
|
596
588
|
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
597
|
-
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
598
|
-
* (include `-moz` to future-proof).
|
589
|
+
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
599
590
|
*/
|
600
591
|
|
601
592
|
input[type="search"] {
|
data/normalize-scss.gemspec
CHANGED
@@ -9,8 +9,8 @@ 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.
|
13
|
-
s.date = '
|
12
|
+
s.version = '3.0.3'
|
13
|
+
s.date = '2015-10-17'
|
14
14
|
s.licenses = ['GPL-2']
|
15
15
|
|
16
16
|
s.authors = ['John Albin Wilkins']
|
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: 3.0.
|
4
|
+
version: 3.0.3
|
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:
|
11
|
+
date: 2015-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -85,8 +85,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
rubyforge_project: 3.0.
|
89
|
-
rubygems_version: 2.4.
|
88
|
+
rubyforge_project: 3.0.3
|
89
|
+
rubygems_version: 2.4.8
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: The Sass/Compass version of Normalize.css
|