normalize-scss 6.0.0 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc665af8ff46726afa0b2ed71e9174472b77f30c
4
- data.tar.gz: 5a9fbc319a173b71d9e229d9994d49c3def79459
3
+ metadata.gz: dba1ab4c53bbbbc4bb1d04451bf49dcd65625e49
4
+ data.tar.gz: a2ca6fb20b0be34278a16918ad7ad6a8ed467876
5
5
  SHA512:
6
- metadata.gz: 9b1f429480989b81205a11e91ad8812a26fe34f06a468ede019cec3ef42f2d6bc7b6931e89f65ba578719dfd46e7a89487929b8bdfb3891190067ab96cbf8e15
7
- data.tar.gz: 796ee6abfeedeb720c54cf27ab0f9760fd7750c5905391da7202c9c101fb14fcf605642430a8032f3db6339ef99c3928223435dd286e2271a6002862663146ce
6
+ metadata.gz: 6adbd6aab5a7d3ddc19fc39246feddc313d726cef21abc7ca5ec82ce37c47c5123c7aa2c2f56e251c948336aa807aa0f7660d3992771b56ea69cfcc067b12480
7
+ data.tar.gz: '0633299bdcc9d539e1c1d30255a83796f49506603b388b037951f70f936cbf542c81b5c3476f199f2c9d77c3b7048d9539731adcb32a5576b329c012c6e5d8fc'
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  For use with… | normalize-scss version
6
6
  -----------------------------|-----------------------
7
- Sass 3.4 or libSass | [6.0.0](https://github.com/JohnAlbin/normalize-scss/releases/tag/6.0.0)<br> combining normalize.css v5.0.0 with v1.1.3
7
+ Sass 3.4 or libSass | [7.0.0](https://github.com/JohnAlbin/normalize-scss/releases/tag/7.0.0)<br> combining normalize.css v7.0.0 with v1.1.3
8
8
  Ruby Sass 3.3 | [3.0.3](https://github.com/JohnAlbin/normalize-scss/releases/tag/3.0.3)<br> combining normalize.css v3.0.3 with v1.1.3
9
9
  Ruby Sass 3.2 | [2.2.0+normalize.2.1.3](https://github.com/JohnAlbin/normalize-scss/releases/tag/2.2.0%2Bnormalize.2.1.3)<br> combining normalize.css v2.1.3 with v1.1.3
10
10
 
@@ -103,8 +103,8 @@ browsers. [Source](https://gist.github.com/413930).
103
103
 
104
104
  Adding `overflow: hidden` fixes IE9's SVG rendering. Earlier versions of IE
105
105
  don't support SVG, so we can safely use the `:not()` and `:root` selectors that
106
- modern browsers use in the default UA stylesheets to apply this style. [Source]
107
- (https://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0339.html).
106
+ modern browsers use in the default UA stylesheets to apply this style.
107
+ [Source](https://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0339.html).
108
108
 
109
109
  #### `select`
110
110
 
@@ -133,12 +133,6 @@ addresses these issues without removing the benefits of search inputs (e.g.
133
133
  showing past searches). Safari (but not Chrome) will clip the cancel button on
134
134
  when it has padding (and `textfield` appearance).
135
135
 
136
- #### `::placeholder`
137
-
138
- In Edge, placeholders will disappear on `relative` or `absolute` positioned
139
- `<input>` elements if you use `opacity` less than `1` due to a [bug](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3901363/).
140
-
141
-
142
136
  ## Contributing
143
137
 
144
138
  Please read Normalize.css' [contributing guidelines](https://github.com/necolas/normalize.css/blob/master/CONTRIBUTING.md).
data/bower.json CHANGED
@@ -19,7 +19,6 @@
19
19
  "homepage": "https://github.com/JohnAlbin/normalize-scss",
20
20
  "ignore": [
21
21
  "**/.*",
22
- "CHANGELOG.md",
23
22
  "CONTRIBUTING.md",
24
23
  "lib",
25
24
  "node_modules",
@@ -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 = '6.0.0'
13
- spec.date = '2016-10-24'
12
+ spec.version = '7.0.0'
13
+ spec.date = '2017-05-17'
14
14
  spec.licenses = ['MIT', 'GPL-2.0']
15
15
 
16
16
  spec.authors = ['John Albin Wilkins']
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.files = `git ls-files`.split($/).select {|f| File.exist?(f) && f =~ %r{^(lib|sass)/} }
22
22
  spec.files += %w(
23
23
  bower.json
24
- CHANGELOG.md
25
24
  CONTRIBUTING.md
26
25
  LICENSE.md
27
26
  normalize-scss.gemspec
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "normalize-scss",
3
- "version": "6.0.0",
3
+ "version": "7.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": {
@@ -31,10 +31,8 @@
31
31
  $init: _normalize-include($include, $exclude);
32
32
 
33
33
  // If we've customized any font variables, we'll need extra properties.
34
- @if $base-font-size != 16px
35
- or $base-line-height != 24px
34
+ @if $base-line-height != 24px
36
35
  or $base-unit != 'em'
37
- or $h1-font-size != 2 * $base-font-size
38
36
  or $h2-font-size != 1.5 * $base-font-size
39
37
  or $h3-font-size != 1.17 * $base-font-size
40
38
  or $h4-font-size != 1 * $base-font-size
@@ -50,25 +48,29 @@
50
48
  ========================================================================== */
51
49
 
52
50
  /**
53
- * 1. Change the default font family in all browsers (opinionated).
54
- * 2. Correct the line height in all browsers.
55
- * 3. Prevent adjustments of font size after orientation changes in
51
+ * 1. Correct the line height in all browsers.
52
+ * 2. Prevent adjustments of font size after orientation changes in
56
53
  * IE on Windows Phone and in iOS.
57
54
  */
58
55
 
59
56
  html {
60
- font-family: $base-font-family; /* 1 */
61
- @if $normalize-vertical-rhythm {
57
+ @if $base-font-family {
58
+ /* Change the default font family in all browsers (opinionated). */
59
+ font-family: $base-font-family;
60
+ }
61
+ @if $base-font-size != 16px or $normalize-vertical-rhythm {
62
62
  // Correct old browser bug that prevented accessible resizing of text
63
63
  // when root font-size is set with px or em.
64
64
  font-size: ($base-font-size / 16px) * 100%;
65
- line-height: ($base-line-height / $base-font-size) * 1em; /* 2 */
65
+ }
66
+ @if $normalize-vertical-rhythm {
67
+ line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */
66
68
  }
67
69
  @else {
68
- line-height: 1.15; /* 2 */
70
+ line-height: 1.15; /* 1 */
69
71
  }
70
- -ms-text-size-adjust: 100%; /* 3 */
71
- -webkit-text-size-adjust: 100%; /* 3 */
72
+ -ms-text-size-adjust: 100%; /* 2 */
73
+ -webkit-text-size-adjust: 100%; /* 2 */
72
74
  }
73
75
  }
74
76
 
@@ -267,16 +269,6 @@
267
269
  background-color: transparent; /* 1 */
268
270
  -webkit-text-decoration-skip: objects; /* 2 */
269
271
  }
270
-
271
- /**
272
- * Remove the outline on focused links when they are also active or hovered
273
- * in all browsers (opinionated).
274
- */
275
-
276
- a:active,
277
- a:hover {
278
- outline-width: 0;
279
- }
280
272
  }
281
273
 
282
274
  @if _normalize-include(text) {
@@ -284,7 +276,7 @@
284
276
  ========================================================================== */
285
277
 
286
278
  /**
287
- * 1. Remove the bottom border in Firefox 39-.
279
+ * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
288
280
  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
289
281
  */
290
282
 
@@ -424,7 +416,7 @@
424
416
  optgroup,
425
417
  select,
426
418
  textarea {
427
- font-family: $base-font-family; /* 1 */
419
+ font-family: if($base-font-family, $base-font-family, sans-serif); /* 1 */
428
420
  font-size: 100%; /* 1 */
429
421
  @if $normalize-vertical-rhythm {
430
422
  line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */
@@ -547,13 +539,11 @@
547
539
  }
548
540
 
549
541
  /**
550
- * Change the border, margin, and padding in all browsers (opinionated).
542
+ * Correct the padding in Firefox.
551
543
  */
552
544
 
553
545
  fieldset {
554
- border: 1px solid #c0c0c0;
555
- margin: 0 2px;
556
- padding: 0.35em 0.625em 0.75em;
546
+ padding: 0.35em 0.75em 0.625em;
557
547
  }
558
548
 
559
549
  /**
@@ -15,7 +15,7 @@ $base-line-height: 24px !default;
15
15
  $base-unit: 'em' !default;
16
16
 
17
17
  // The default font family.
18
- $base-font-family: sans-serif !default;
18
+ $base-font-family: null !default;
19
19
 
20
20
  // The font sizes for h1-h6.
21
21
  $h1-font-size: 2 * $base-font-size !default;
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: 6.0.0
4
+ version: 7.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: 2016-10-24 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -33,7 +33,6 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - CHANGELOG.md
37
36
  - CONTRIBUTING.md
38
37
  - LICENSE.md
39
38
  - README.md
@@ -66,8 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
65
  - !ruby/object:Gem::Version
67
66
  version: '0'
68
67
  requirements: []
69
- rubyforge_project: 6.0.0
70
- rubygems_version: 2.6.4
68
+ rubyforge_project: 7.0.0
69
+ rubygems_version: 2.6.12
71
70
  signing_key:
72
71
  specification_version: 4
73
72
  summary: The Sass version of Normalize.css
@@ -1,146 +0,0 @@
1
- === normalize-scss 3.0.3 (October 17, 2015)
2
-
3
- * Upgrade to Normalize.css 3.0.3.
4
-
5
- === normalize-scss 3.0.2+normalize.3.0.2 (November 6, 2014)
6
-
7
- * Upgrade to Normalize.css 3.0.2.
8
- * Added Compass' output-rhythm() mixin.
9
-
10
- === normalize-scss 3.0.1+normalize.3.0.1 (August 26, 2014)
11
-
12
- * Update figure ruleset to output for Safari 6.
13
-
14
- === normalize-scss 3.0.0+normalize.3.0.1 (August 26, 2014)
15
-
16
- * Upgrade to Normalize.css 3.0.1.
17
- * Remove forked additional support-legacy-browser() to match Compass 1.0.0.
18
- * Update legend ruleset IE check to be IE 11 and lower.
19
-
20
- === normalize-scss 3.0.0-alpha.2+normalize.3.0.0 (February 11, 2014)
21
-
22
- * Upgrade to Normalize.css 3.0.0.
23
- * Add additional support-legacy-browser() so IE 8/9/10 and Safari 5 support can be removed.
24
-
25
- === normalize-scss 3.0.0-alpha.1+normalize.2.1.3 (January 22, 2014)
26
-
27
- * Upgrade to Compass 1.0's support module.
28
- * Use Compass 1.0.0's improved establish-baseline() mixin.
29
- * Use vertical rhythm's $rhythm-unit variable.
30
- * Add docs showing proper debug-vertical-alignment() usage.
31
- * Fix a bug in Compass 1.0.0-alpha.17 by overriding its support-legacy-browser() function.
32
- * Font size of "code, kbd, pre, samp" should always be 1em relative to parent.
33
-
34
-
35
- == normalize.css change log
36
-
37
- === HEAD
38
-
39
- === 3.0.3 (March 30, 2015)
40
-
41
- * Remove unnecessary vendor prefixes.
42
- * Add `main` property.
43
-
44
- === normalize.css 3.0.2 (October 4, 2014)
45
-
46
- * Only alter `background-color` of links in IE 10.
47
- * Add `menu` element to HTML5 display definitions.
48
-
49
- === normalize.css 3.0.1 (March 27, 2014)
50
-
51
- * Add package.json for npm support.
52
-
53
- === normalize.css 3.0.0 (January 28, 2014)
54
-
55
- === normalize.css 3.0.0-rc.1 (January 26, 2014)
56
-
57
- * Explicit tests for each normalization.
58
- * Fix i18n for `q` element.
59
- * Fix `pre` text formatting and overflow.
60
- * Fix vertical alignment of `progress`.
61
- * Address `button` overflow in IE 8/9/10.
62
- * Revert `textarea` alignment modification.
63
- * Fix number input button cursor in Chrome on OS X.
64
- * Remove `a:focus` outline normalization.
65
- * Fix `figure` margin normalization.
66
- * Normalize `optgroup`.
67
- * Remove default table cell padding.
68
- * Set correct display for `progress` in IE 8/9.
69
- * Fix `font` and `color` inheritance for forms.
70
-
71
- === normalize.css 2.1.3 (August 26, 2013)
72
-
73
- * Fix component.json.
74
- * Remove the gray background color from active links in IE 10.
75
-
76
- === normalize.css 2.1.2 (May 11, 2013)
77
-
78
- * Revert root `color` and `background` normalizations.
79
-
80
- === normalize.css 2.1.1 (April 8, 2013)
81
-
82
- * Normalize root `color` and `background` to counter the effects of system
83
- color schemes.
84
-
85
- === normalize.css 2.1.0 (January 21, 2013)
86
-
87
- * Normalize `text-transform` for `button` and `select`.
88
- * Normalize `h1` margin when within HTML5 sectioning elements.
89
- * Normalize `hr` element.
90
- * Remove unnecessary `pre` styles.
91
- * Add `main` element to HTML5 display definitions.
92
- * Fix cursor style for disabled button `input`.
93
-
94
- === normalize.css 2.0.1 (August 20, 2012)
95
-
96
- * Remove stray IE 6/7 `inline-block` hack from HTML5 display settings.
97
-
98
- === normalize.css 2.0.0 (August 19, 2012)
99
-
100
- * Remove legacy browser form normalizations.
101
- * Remove all list normalizations.
102
- * Add `quotes` normalizations.
103
- * Remove all heading normalizations except `h1` font size.
104
- * Form elements automatically inherit `font-family` from ancestor.
105
- * Drop support for IE 6/7, Firefox < 4, and Safari < 5.
106
-
107
- === normalize.css 1.1.3 (August 30, 2013)
108
-
109
- * Update component.json to fit new specification
110
-
111
- === normalize.css 1.1.2 (May 11, 2013)
112
-
113
- * Revert root `color` and `background` normalizations.
114
-
115
- === normalize.css 1.1.1 (April 8, 2013)
116
-
117
- * Normalize root `color` and `background` to counter the effects of system
118
- color schemes.
119
-
120
- === normalize.css 1.1.0 (January 21, 2013)
121
-
122
- * Normalize `text-transform` for `button` and `select`.
123
- * Normalize `hr` element (excluding IE 6/7).
124
- * Add `main` element to HTML5 display definitions.
125
- * Fix cursor style for disabled button `input`.
126
-
127
- === normalize.css 1.0.2 (November 17, 2012)
128
-
129
- * Correct `h6` font size normalization.
130
-
131
- === normalize.css 1.0.1 (August 19, 2012)
132
-
133
- * Adjust `small` font size normalization.
134
-
135
- === normalize.css 1.0.0 (August 14, 2012)
136
-
137
- (Only the notable changes since public release)
138
-
139
- * Add MIT License.
140
- * Hide `audio` elements without controls in iOS 5 (#69).
141
- * Normalize heading margins and font size.
142
- * Move font-family normalization from `body` to `html` (#62).
143
- * Remove scrollbar normalization (#64 #65).
144
- * Remove excess padding from checkbox and radio inputs in IE 7 (#42).
145
- * Add IE9 correction for SVG overflow (#16).
146
- * Add fix for legend not inheriting color in IE 6/7/8/9.