normalize-rails 3.0.3 → 8.0.1

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
- SHA1:
3
- metadata.gz: 94db39d2f403b1a2cccbcd8f81257c2d9d6dad3e
4
- data.tar.gz: aa64d3ae2b6f3fcb185f07c9a8ad482130640071
2
+ SHA256:
3
+ metadata.gz: 559f90794f47200f435853a187bd13f96ecf3ae08f094952985cff700b9d7cea
4
+ data.tar.gz: e0bf02d55a75b8a6e80064ca006f36a92f35edfc41ef101243826c5a45d03331
5
5
  SHA512:
6
- metadata.gz: dce8fecc142c13b9d72d655c30920c6ac02684f65880c8bf0e44da168fabccdcb55e54b3cf7a366fc4c0939d32c390e5601e95ed7e136a0531a882bb6177a489
7
- data.tar.gz: 77ee8d6534b20c4afda5f3596bcef6a28bed107ac89624833cfc9634fac1fe3c94f04de6116e4574fd803be3b5ca00612cc276e285afc9b35ed3d19522faf2e3
6
+ metadata.gz: f6f43d6dbb63f0966527ea96668de4830719f67ccbc18c143fd5dd69ff13a4ec3a51354ac7caf0096651af19f35515442b889607121148b7450ae08c813f4e4b
7
+ data.tar.gz: a66476bc8d7d62b6fdd0ab269b6ba1ed4c09c1d3c9a5c8890427cb51f8e3eb3f0bfabdcb3164f432e581b88d59aabd24fc0436ac83d8608751ff4f6e909470db
data/LICENSE CHANGED
@@ -1 +1,21 @@
1
- Public domain
1
+ # The MIT License (MIT)
2
+
3
+ Copyright © Mark McConachie and Paul Beattie
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9
+ of the Software, and to permit persons to whom the Software is furnished to do
10
+ so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,5 +1,5 @@
1
1
  module Normalize
2
2
  module Rails
3
- VERSION = "3.0.3"
3
+ VERSION = "8.0.1"
4
4
  end
5
5
  end
@@ -1 +1 @@
1
- @import 'normalize-rails/normalize'
1
+ @import 'normalize-rails/normalize';
@@ -1 +1 @@
1
- @import 'normalize-rails/normalize'
1
+ @import 'normalize-rails/normalize';
@@ -1,89 +1,76 @@
1
- /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
+
3
+ /* Document
4
+ ========================================================================== */
2
5
 
3
6
  /**
4
- * 1. Set default font family to sans-serif.
5
- * 2. Prevent iOS and IE text size adjust after device orientation change,
6
- * without disabling user zoom.
7
+ * 1. Correct the line height in all browsers.
8
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
7
9
  */
8
10
 
9
11
  html {
10
- font-family: sans-serif; /* 1 */
11
- -ms-text-size-adjust: 100%; /* 2 */
12
+ line-height: 1.15; /* 1 */
12
13
  -webkit-text-size-adjust: 100%; /* 2 */
13
14
  }
14
15
 
16
+ /* Sections
17
+ ========================================================================== */
18
+
15
19
  /**
16
- * Remove default margin.
20
+ * Remove the margin in all browsers.
17
21
  */
18
22
 
19
23
  body {
20
24
  margin: 0;
21
25
  }
22
26
 
23
- /* HTML5 display definitions
24
- ========================================================================== */
25
-
26
27
  /**
27
- * Correct `block` display not defined for any HTML5 element in IE 8/9.
28
- * Correct `block` display not defined for `details` or `summary` in IE 10/11
29
- * and Firefox.
30
- * Correct `block` display not defined for `main` in IE 11.
31
- */
32
-
33
- article,
34
- aside,
35
- details,
36
- figcaption,
37
- figure,
38
- footer,
39
- header,
40
- hgroup,
41
- main,
42
- menu,
43
- nav,
44
- section,
45
- summary {
28
+ * Render the `main` element consistently in IE.
29
+ */
30
+
31
+ main {
46
32
  display: block;
47
33
  }
48
34
 
49
35
  /**
50
- * 1. Correct `inline-block` display not defined in IE 8/9.
51
- * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
36
+ * Correct the font size and margin on `h1` elements within `section` and
37
+ * `article` contexts in Chrome, Firefox, and Safari.
52
38
  */
53
39
 
54
- audio,
55
- canvas,
56
- progress,
57
- video {
58
- display: inline-block; /* 1 */
59
- vertical-align: baseline; /* 2 */
40
+ h1 {
41
+ font-size: 2em;
42
+ margin: 0.67em 0;
60
43
  }
61
44
 
45
+ /* Grouping content
46
+ ========================================================================== */
47
+
62
48
  /**
63
- * Prevent modern browsers from displaying `audio` without controls.
64
- * Remove excess height in iOS 5 devices.
49
+ * 1. Add the correct box sizing in Firefox.
50
+ * 2. Show the overflow in Edge and IE.
65
51
  */
66
52
 
67
- audio:not([controls]) {
68
- display: none;
69
- height: 0;
53
+ hr {
54
+ box-sizing: content-box; /* 1 */
55
+ height: 0; /* 1 */
56
+ overflow: visible; /* 2 */
70
57
  }
71
58
 
72
59
  /**
73
- * Address `[hidden]` styling not present in IE 8/9/10.
74
- * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
60
+ * 1. Correct the inheritance and scaling of font size in all browsers.
61
+ * 2. Correct the odd `em` font sizing in all browsers.
75
62
  */
76
63
 
77
- [hidden],
78
- template {
79
- display: none;
64
+ pre {
65
+ font-family: monospace, monospace; /* 1 */
66
+ font-size: 1em; /* 2 */
80
67
  }
81
68
 
82
- /* Links
69
+ /* Text-level semantics
83
70
  ========================================================================== */
84
71
 
85
72
  /**
86
- * Remove the gray background color from active links in IE 10.
73
+ * Remove the gray background on active links in IE 10.
87
74
  */
88
75
 
89
76
  a {
@@ -91,64 +78,39 @@ a {
91
78
  }
92
79
 
93
80
  /**
94
- * Improve readability of focused elements when they are also in an
95
- * active/hover state.
96
- */
97
-
98
- a:active,
99
- a:hover {
100
- outline: 0;
101
- }
102
-
103
- /* Text-level semantics
104
- ========================================================================== */
105
-
106
- /**
107
- * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
81
+ * 1. Remove the bottom border in Chrome 57-
82
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
108
83
  */
109
84
 
110
85
  abbr[title] {
111
- border-bottom: 1px dotted;
86
+ border-bottom: none; /* 1 */
87
+ text-decoration: underline; /* 2 */
88
+ text-decoration: underline dotted; /* 2 */
112
89
  }
113
90
 
114
91
  /**
115
- * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
92
+ * Add the correct font weight in Chrome, Edge, and Safari.
116
93
  */
117
94
 
118
95
  b,
119
96
  strong {
120
- font-weight: bold;
121
- }
122
-
123
- /**
124
- * Address styling not present in Safari and Chrome.
125
- */
126
-
127
- dfn {
128
- font-style: italic;
129
- }
130
-
131
- /**
132
- * Address variable `h1` font-size and margin within `section` and `article`
133
- * contexts in Firefox 4+, Safari, and Chrome.
134
- */
135
-
136
- h1 {
137
- font-size: 2em;
138
- margin: 0.67em 0;
97
+ font-weight: bolder;
139
98
  }
140
99
 
141
100
  /**
142
- * Address styling not present in IE 8/9.
101
+ * 1. Correct the inheritance and scaling of font size in all browsers.
102
+ * 2. Correct the odd `em` font sizing in all browsers.
143
103
  */
144
104
 
145
- mark {
146
- background: #ff0;
147
- color: #000;
105
+ code,
106
+ kbd,
107
+ samp {
108
+ font-family: monospace, monospace; /* 1 */
109
+ font-size: 1em; /* 2 */
148
110
  }
149
111
 
150
112
  /**
151
- * Address inconsistent and variable font size in all browsers.
113
+ * Add the correct font size in all browsers.
152
114
  */
153
115
 
154
116
  small {
@@ -156,7 +118,8 @@ small {
156
118
  }
157
119
 
158
120
  /**
159
- * Prevent `sub` and `sup` affecting `line-height` in all browsers.
121
+ * Prevent `sub` and `sup` elements from affecting the line height in
122
+ * all browsers.
160
123
  */
161
124
 
162
125
  sub,
@@ -167,258 +130,220 @@ sup {
167
130
  vertical-align: baseline;
168
131
  }
169
132
 
170
- sup {
171
- top: -0.5em;
172
- }
173
-
174
133
  sub {
175
134
  bottom: -0.25em;
176
135
  }
177
136
 
137
+ sup {
138
+ top: -0.5em;
139
+ }
140
+
178
141
  /* Embedded content
179
142
  ========================================================================== */
180
143
 
181
144
  /**
182
- * Remove border when inside `a` element in IE 8/9/10.
145
+ * Remove the border on images inside links in IE 10.
183
146
  */
184
147
 
185
148
  img {
186
- border: 0;
187
- }
188
-
189
- /**
190
- * Correct overflow not hidden in IE 9/10/11.
191
- */
192
-
193
- svg:not(:root) {
194
- overflow: hidden;
149
+ border-style: none;
195
150
  }
196
151
 
197
- /* Grouping content
152
+ /* Forms
198
153
  ========================================================================== */
199
154
 
200
155
  /**
201
- * Address margin not present in IE 8/9 and Safari.
156
+ * 1. Change the font styles in all browsers.
157
+ * 2. Remove the margin in Firefox and Safari.
202
158
  */
203
159
 
204
- figure {
205
- margin: 1em 40px;
206
- }
207
-
208
- /**
209
- * Address differences between Firefox and other browsers.
210
- */
211
-
212
- hr {
213
- box-sizing: content-box;
214
- height: 0;
160
+ button,
161
+ input,
162
+ optgroup,
163
+ select,
164
+ textarea {
165
+ font-family: inherit; /* 1 */
166
+ font-size: 100%; /* 1 */
167
+ line-height: 1.15; /* 1 */
168
+ margin: 0; /* 2 */
215
169
  }
216
170
 
217
171
  /**
218
- * Contain overflow in all browsers.
172
+ * Show the overflow in IE.
173
+ * 1. Show the overflow in Edge.
219
174
  */
220
175
 
221
- pre {
222
- overflow: auto;
176
+ button,
177
+ input { /* 1 */
178
+ overflow: visible;
223
179
  }
224
180
 
225
181
  /**
226
- * Address odd `em`-unit font size rendering in all browsers.
182
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
183
+ * 1. Remove the inheritance of text transform in Firefox.
227
184
  */
228
185
 
229
- code,
230
- kbd,
231
- pre,
232
- samp {
233
- font-family: monospace, monospace;
234
- font-size: 1em;
186
+ button,
187
+ select { /* 1 */
188
+ text-transform: none;
235
189
  }
236
190
 
237
- /* Forms
238
- ========================================================================== */
239
-
240
- /**
241
- * Known limitation: by default, Chrome and Safari on OS X allow very limited
242
- * styling of `select`, unless a `border` property is set.
243
- */
244
-
245
191
  /**
246
- * 1. Correct color not being inherited.
247
- * Known issue: affects color of disabled elements.
248
- * 2. Correct font properties not being inherited.
249
- * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
192
+ * Correct the inability to style clickable types in iOS and Safari.
250
193
  */
251
194
 
252
195
  button,
253
- input,
254
- optgroup,
255
- select,
256
- textarea {
257
- color: inherit; /* 1 */
258
- font: inherit; /* 2 */
259
- margin: 0; /* 3 */
196
+ [type="button"],
197
+ [type="reset"],
198
+ [type="submit"] {
199
+ -webkit-appearance: button;
260
200
  }
261
201
 
262
202
  /**
263
- * Address `overflow` set to `hidden` in IE 8/9/10/11.
203
+ * Remove the inner border and padding in Firefox.
264
204
  */
265
205
 
266
- button {
267
- overflow: visible;
206
+ button::-moz-focus-inner,
207
+ [type="button"]::-moz-focus-inner,
208
+ [type="reset"]::-moz-focus-inner,
209
+ [type="submit"]::-moz-focus-inner {
210
+ border-style: none;
211
+ padding: 0;
268
212
  }
269
213
 
270
214
  /**
271
- * Address inconsistent `text-transform` inheritance for `button` and `select`.
272
- * All other form control elements do not inherit `text-transform` values.
273
- * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
274
- * Correct `select` style inheritance in Firefox.
215
+ * Restore the focus styles unset by the previous rule.
275
216
  */
276
217
 
277
- button,
278
- select {
279
- text-transform: none;
218
+ button:-moz-focusring,
219
+ [type="button"]:-moz-focusring,
220
+ [type="reset"]:-moz-focusring,
221
+ [type="submit"]:-moz-focusring {
222
+ outline: 1px dotted ButtonText;
280
223
  }
281
224
 
282
225
  /**
283
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
284
- * and `video` controls.
285
- * 2. Correct inability to style clickable `input` types in iOS.
286
- * 3. Improve usability and consistency of cursor style between image-type
287
- * `input` and others.
226
+ * Correct the padding in Firefox.
288
227
  */
289
228
 
290
- button,
291
- html input[type="button"], /* 1 */
292
- input[type="reset"],
293
- input[type="submit"] {
294
- -webkit-appearance: button; /* 2 */
295
- cursor: pointer; /* 3 */
229
+ fieldset {
230
+ padding: 0.35em 0.75em 0.625em;
296
231
  }
297
232
 
298
233
  /**
299
- * Re-set default cursor for disabled elements.
234
+ * 1. Correct the text wrapping in Edge and IE.
235
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
236
+ * 3. Remove the padding so developers are not caught out when they zero out
237
+ * `fieldset` elements in all browsers.
300
238
  */
301
239
 
302
- button[disabled],
303
- html input[disabled] {
304
- cursor: default;
240
+ legend {
241
+ box-sizing: border-box; /* 1 */
242
+ color: inherit; /* 2 */
243
+ display: table; /* 1 */
244
+ max-width: 100%; /* 1 */
245
+ padding: 0; /* 3 */
246
+ white-space: normal; /* 1 */
305
247
  }
306
248
 
307
249
  /**
308
- * Remove inner padding and border in Firefox 4+.
250
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
309
251
  */
310
252
 
311
- button::-moz-focus-inner,
312
- input::-moz-focus-inner {
313
- border: 0;
314
- padding: 0;
253
+ progress {
254
+ vertical-align: baseline;
315
255
  }
316
256
 
317
257
  /**
318
- * Address Firefox 4+ setting `line-height` on `input` using `!important` in
319
- * the UA stylesheet.
258
+ * Remove the default vertical scrollbar in IE 10+.
320
259
  */
321
260
 
322
- input {
323
- line-height: normal;
261
+ textarea {
262
+ overflow: auto;
324
263
  }
325
264
 
326
265
  /**
327
- * It's recommended that you don't attempt to style these elements.
328
- * Firefox's implementation doesn't respect box-sizing, padding, or width.
329
- *
330
- * 1. Address box sizing set to `content-box` in IE 8/9/10.
331
- * 2. Remove excess padding in IE 8/9/10.
266
+ * 1. Add the correct box sizing in IE 10.
267
+ * 2. Remove the padding in IE 10.
332
268
  */
333
269
 
334
- input[type="checkbox"],
335
- input[type="radio"] {
270
+ [type="checkbox"],
271
+ [type="radio"] {
336
272
  box-sizing: border-box; /* 1 */
337
273
  padding: 0; /* 2 */
338
274
  }
339
275
 
340
276
  /**
341
- * Fix the cursor style for Chrome's increment/decrement buttons. For certain
342
- * `font-size` values of the `input`, it causes the cursor style of the
343
- * decrement button to change from `default` to `text`.
277
+ * Correct the cursor style of increment and decrement buttons in Chrome.
344
278
  */
345
279
 
346
- input[type="number"]::-webkit-inner-spin-button,
347
- input[type="number"]::-webkit-outer-spin-button {
280
+ [type="number"]::-webkit-inner-spin-button,
281
+ [type="number"]::-webkit-outer-spin-button {
348
282
  height: auto;
349
283
  }
350
284
 
351
285
  /**
352
- * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
353
- * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
286
+ * 1. Correct the odd appearance in Chrome and Safari.
287
+ * 2. Correct the outline style in Safari.
354
288
  */
355
289
 
356
- input[type="search"] {
290
+ [type="search"] {
357
291
  -webkit-appearance: textfield; /* 1 */
358
- box-sizing: content-box; /* 2 */
292
+ outline-offset: -2px; /* 2 */
359
293
  }
360
294
 
361
295
  /**
362
- * Remove inner padding and search cancel button in Safari and Chrome on OS X.
363
- * Safari (but not Chrome) clips the cancel button when the search input has
364
- * padding (and `textfield` appearance).
296
+ * Remove the inner padding in Chrome and Safari on macOS.
365
297
  */
366
298
 
367
- input[type="search"]::-webkit-search-cancel-button,
368
- input[type="search"]::-webkit-search-decoration {
299
+ [type="search"]::-webkit-search-decoration {
369
300
  -webkit-appearance: none;
370
301
  }
371
302
 
372
303
  /**
373
- * Define consistent border, margin, and padding.
304
+ * 1. Correct the inability to style clickable types in iOS and Safari.
305
+ * 2. Change font properties to `inherit` in Safari.
374
306
  */
375
307
 
376
- fieldset {
377
- border: 1px solid #c0c0c0;
378
- margin: 0 2px;
379
- padding: 0.35em 0.625em 0.75em;
308
+ ::-webkit-file-upload-button {
309
+ -webkit-appearance: button; /* 1 */
310
+ font: inherit; /* 2 */
380
311
  }
381
312
 
382
- /**
383
- * 1. Correct `color` not being inherited in IE 8/9/10/11.
384
- * 2. Remove padding so people aren't caught out if they zero out fieldsets.
385
- */
386
-
387
- legend {
388
- border: 0; /* 1 */
389
- padding: 0; /* 2 */
390
- }
313
+ /* Interactive
314
+ ========================================================================== */
391
315
 
392
- /**
393
- * Remove default vertical scrollbar in IE 8/9/10/11.
316
+ /*
317
+ * Add the correct display in Edge, IE 10+, and Firefox.
394
318
  */
395
319
 
396
- textarea {
397
- overflow: auto;
320
+ details {
321
+ display: block;
398
322
  }
399
323
 
400
- /**
401
- * Don't inherit the `font-weight` (applied by a rule above).
402
- * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
324
+ /*
325
+ * Add the correct display in all browsers.
403
326
  */
404
327
 
405
- optgroup {
406
- font-weight: bold;
328
+ summary {
329
+ display: list-item;
407
330
  }
408
331
 
409
- /* Tables
332
+ /* Misc
410
333
  ========================================================================== */
411
334
 
412
335
  /**
413
- * Remove most spacing between table cells.
336
+ * Add the correct display in IE 10+.
414
337
  */
415
338
 
416
- table {
417
- border-collapse: collapse;
418
- border-spacing: 0;
339
+ template {
340
+ display: none;
419
341
  }
420
342
 
421
- td,
422
- th {
423
- padding: 0;
343
+ /**
344
+ * Add the correct display in IE 10.
345
+ */
346
+
347
+ [hidden] {
348
+ display: none;
424
349
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: normalize-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 8.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Gallagher
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-05-01 00:00:00.000000000 Z
13
+ date: 2020-08-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -65,8 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubyforge_project:
69
- rubygems_version: 2.4.5
68
+ rubygems_version: 3.0.3
70
69
  signing_key:
71
70
  specification_version: 4
72
71
  summary: Normalize.css is a customisable CSS file that makes browsers render all elements