normalize-rails 4.1.1 → 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: c4a7fab86cce177177ac5e777114bf1357aacd81
4
- data.tar.gz: b88821ace7d0f9e67bd4b9d0476c96c3c70d843b
2
+ SHA256:
3
+ metadata.gz: 559f90794f47200f435853a187bd13f96ecf3ae08f094952985cff700b9d7cea
4
+ data.tar.gz: e0bf02d55a75b8a6e80064ca006f36a92f35edfc41ef101243826c5a45d03331
5
5
  SHA512:
6
- metadata.gz: 45abc127e97a2c50baac9975c5207247bcd56523c1a7f5d1531dd9f05a3edb1e64f56a96a0947270d7a6cbe3c2d368b316d0fd908193433d32e11139d1adbdf6
7
- data.tar.gz: e5efbcc04e07d75211c01abb8dc70b2409b3f3c6304f4d80d5ffec329334ef6f8b469375875d75ecec8ea61d09a0803d7fd106d8b2376ecaca0d90d1df14e0df
6
+ metadata.gz: f6f43d6dbb63f0966527ea96668de4830719f67ccbc18c143fd5dd69ff13a4ec3a51354ac7caf0096651af19f35515442b889607121148b7450ae08c813f4e4b
7
+ data.tar.gz: a66476bc8d7d62b6fdd0ab269b6ba1ed4c09c1d3c9a5c8890427cb51f8e3eb3f0bfabdcb3164f432e581b88d59aabd24fc0436ac83d8608751ff4f6e909470db
@@ -1,5 +1,5 @@
1
1
  module Normalize
2
2
  module Rails
3
- VERSION = "4.1.1"
3
+ VERSION = "8.0.1"
4
4
  end
5
5
  end
@@ -1,114 +1,84 @@
1
- /*! normalize.css v4.1.1 | 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. Change the default font family in all browsers (opinionated).
5
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
7
+ * 1. Correct the line height in all browsers.
8
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
6
9
  */
7
10
 
8
11
  html {
9
- font-family: sans-serif; /* 1 */
10
- -ms-text-size-adjust: 100%; /* 2 */
12
+ line-height: 1.15; /* 1 */
11
13
  -webkit-text-size-adjust: 100%; /* 2 */
12
14
  }
13
15
 
16
+ /* Sections
17
+ ========================================================================== */
18
+
14
19
  /**
15
- * Remove the margin in all browsers (opinionated).
20
+ * Remove the margin in all browsers.
16
21
  */
17
22
 
18
23
  body {
19
24
  margin: 0;
20
25
  }
21
26
 
22
- /* HTML5 display definitions
23
- ========================================================================== */
24
-
25
- /**
26
- * Add the correct display in IE 9-.
27
- * 1. Add the correct display in Edge, IE, and Firefox.
28
- * 2. Add the correct display in IE.
29
- */
30
-
31
- article,
32
- aside,
33
- details, /* 1 */
34
- figcaption,
35
- figure,
36
- footer,
37
- header,
38
- main, /* 2 */
39
- menu,
40
- nav,
41
- section,
42
- summary { /* 1 */
43
- display: block;
44
- }
45
-
46
27
  /**
47
- * Add the correct display in IE 9-.
28
+ * Render the `main` element consistently in IE.
48
29
  */
49
30
 
50
- audio,
51
- canvas,
52
- progress,
53
- video {
54
- display: inline-block;
31
+ main {
32
+ display: block;
55
33
  }
56
34
 
57
35
  /**
58
- * Add the correct display in iOS 4-7.
36
+ * Correct the font size and margin on `h1` elements within `section` and
37
+ * `article` contexts in Chrome, Firefox, and Safari.
59
38
  */
60
39
 
61
- audio:not([controls]) {
62
- display: none;
63
- height: 0;
40
+ h1 {
41
+ font-size: 2em;
42
+ margin: 0.67em 0;
64
43
  }
65
44
 
45
+ /* Grouping content
46
+ ========================================================================== */
47
+
66
48
  /**
67
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
49
+ * 1. Add the correct box sizing in Firefox.
50
+ * 2. Show the overflow in Edge and IE.
68
51
  */
69
52
 
70
- progress {
71
- vertical-align: baseline;
53
+ hr {
54
+ box-sizing: content-box; /* 1 */
55
+ height: 0; /* 1 */
56
+ overflow: visible; /* 2 */
72
57
  }
73
58
 
74
59
  /**
75
- * Add the correct display in IE 10-.
76
- * 1. Add the correct display in IE.
60
+ * 1. Correct the inheritance and scaling of font size in all browsers.
61
+ * 2. Correct the odd `em` font sizing in all browsers.
77
62
  */
78
63
 
79
- template, /* 1 */
80
- [hidden] {
81
- display: none;
64
+ pre {
65
+ font-family: monospace, monospace; /* 1 */
66
+ font-size: 1em; /* 2 */
82
67
  }
83
68
 
84
- /* Links
69
+ /* Text-level semantics
85
70
  ========================================================================== */
86
71
 
87
72
  /**
88
- * 1. Remove the gray background on active links in IE 10.
89
- * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
73
+ * Remove the gray background on active links in IE 10.
90
74
  */
91
75
 
92
76
  a {
93
- background-color: transparent; /* 1 */
94
- -webkit-text-decoration-skip: objects; /* 2 */
77
+ background-color: transparent;
95
78
  }
96
79
 
97
80
  /**
98
- * Remove the outline on focused links when they are also active or hovered
99
- * in all browsers (opinionated).
100
- */
101
-
102
- a:active,
103
- a:hover {
104
- outline-width: 0;
105
- }
106
-
107
- /* Text-level semantics
108
- ========================================================================== */
109
-
110
- /**
111
- * 1. Remove the bottom border in Firefox 39-.
81
+ * 1. Remove the bottom border in Chrome 57-
112
82
  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
113
83
  */
114
84
 
@@ -118,15 +88,6 @@ abbr[title] {
118
88
  text-decoration: underline dotted; /* 2 */
119
89
  }
120
90
 
121
- /**
122
- * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
123
- */
124
-
125
- b,
126
- strong {
127
- font-weight: inherit;
128
- }
129
-
130
91
  /**
131
92
  * Add the correct font weight in Chrome, Edge, and Safari.
132
93
  */
@@ -137,30 +98,15 @@ strong {
137
98
  }
138
99
 
139
100
  /**
140
- * Add the correct font style in Android 4.3-.
141
- */
142
-
143
- dfn {
144
- font-style: italic;
145
- }
146
-
147
- /**
148
- * Correct the font size and margin on `h1` elements within `section` and
149
- * `article` contexts in Chrome, Firefox, and Safari.
150
- */
151
-
152
- h1 {
153
- font-size: 2em;
154
- margin: 0.67em 0;
155
- }
156
-
157
- /**
158
- * Add the correct background and color in IE 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.
159
103
  */
160
104
 
161
- mark {
162
- background-color: #ff0;
163
- color: #000;
105
+ code,
106
+ kbd,
107
+ samp {
108
+ font-family: monospace, monospace; /* 1 */
109
+ font-size: 1em; /* 2 */
164
110
  }
165
111
 
166
112
  /**
@@ -196,80 +142,32 @@ sup {
196
142
  ========================================================================== */
197
143
 
198
144
  /**
199
- * Remove the border on images inside links in IE 10-.
145
+ * Remove the border on images inside links in IE 10.
200
146
  */
201
147
 
202
148
  img {
203
149
  border-style: none;
204
150
  }
205
151
 
206
- /**
207
- * Hide the overflow in IE.
208
- */
209
-
210
- svg:not(:root) {
211
- overflow: hidden;
212
- }
213
-
214
- /* Grouping content
215
- ========================================================================== */
216
-
217
- /**
218
- * 1. Correct the inheritance and scaling of font size in all browsers.
219
- * 2. Correct the odd `em` font sizing in all browsers.
220
- */
221
-
222
- code,
223
- kbd,
224
- pre,
225
- samp {
226
- font-family: monospace, monospace; /* 1 */
227
- font-size: 1em; /* 2 */
228
- }
229
-
230
- /**
231
- * Add the correct margin in IE 8.
232
- */
233
-
234
- figure {
235
- margin: 1em 40px;
236
- }
237
-
238
- /**
239
- * 1. Add the correct box sizing in Firefox.
240
- * 2. Show the overflow in Edge and IE.
241
- */
242
-
243
- hr {
244
- box-sizing: content-box; /* 1 */
245
- height: 0; /* 1 */
246
- overflow: visible; /* 2 */
247
- }
248
-
249
152
  /* Forms
250
153
  ========================================================================== */
251
154
 
252
155
  /**
253
- * 1. Change font properties to `inherit` in all browsers (opinionated).
156
+ * 1. Change the font styles in all browsers.
254
157
  * 2. Remove the margin in Firefox and Safari.
255
158
  */
256
159
 
257
160
  button,
258
161
  input,
162
+ optgroup,
259
163
  select,
260
164
  textarea {
261
- font: inherit; /* 1 */
165
+ font-family: inherit; /* 1 */
166
+ font-size: 100%; /* 1 */
167
+ line-height: 1.15; /* 1 */
262
168
  margin: 0; /* 2 */
263
169
  }
264
170
 
265
- /**
266
- * Restore the font weight unset by the previous rule.
267
- */
268
-
269
- optgroup {
270
- font-weight: bold;
271
- }
272
-
273
171
  /**
274
172
  * Show the overflow in IE.
275
173
  * 1. Show the overflow in Edge.
@@ -291,16 +189,14 @@ select { /* 1 */
291
189
  }
292
190
 
293
191
  /**
294
- * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
295
- * controls in Android 4.
296
- * 2. Correct the inability to style clickable types in iOS and Safari.
192
+ * Correct the inability to style clickable types in iOS and Safari.
297
193
  */
298
194
 
299
195
  button,
300
- html [type="button"], /* 1 */
196
+ [type="button"],
301
197
  [type="reset"],
302
198
  [type="submit"] {
303
- -webkit-appearance: button; /* 2 */
199
+ -webkit-appearance: button;
304
200
  }
305
201
 
306
202
  /**
@@ -327,13 +223,11 @@ button:-moz-focusring,
327
223
  }
328
224
 
329
225
  /**
330
- * Change the border, margin, and padding in all browsers (opinionated).
226
+ * Correct the padding in Firefox.
331
227
  */
332
228
 
333
229
  fieldset {
334
- border: 1px solid #c0c0c0;
335
- margin: 0 2px;
336
- padding: 0.35em 0.625em 0.75em;
230
+ padding: 0.35em 0.75em 0.625em;
337
231
  }
338
232
 
339
233
  /**
@@ -353,7 +247,15 @@ legend {
353
247
  }
354
248
 
355
249
  /**
356
- * Remove the default vertical scrollbar in IE.
250
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
251
+ */
252
+
253
+ progress {
254
+ vertical-align: baseline;
255
+ }
256
+
257
+ /**
258
+ * Remove the default vertical scrollbar in IE 10+.
357
259
  */
358
260
 
359
261
  textarea {
@@ -361,8 +263,8 @@ textarea {
361
263
  }
362
264
 
363
265
  /**
364
- * 1. Add the correct box sizing in IE 10-.
365
- * 2. Remove the padding in IE 10-.
266
+ * 1. Add the correct box sizing in IE 10.
267
+ * 2. Remove the padding in IE 10.
366
268
  */
367
269
 
368
270
  [type="checkbox"],
@@ -391,23 +293,13 @@ textarea {
391
293
  }
392
294
 
393
295
  /**
394
- * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
296
+ * Remove the inner padding in Chrome and Safari on macOS.
395
297
  */
396
298
 
397
- [type="search"]::-webkit-search-cancel-button,
398
299
  [type="search"]::-webkit-search-decoration {
399
300
  -webkit-appearance: none;
400
301
  }
401
302
 
402
- /**
403
- * Correct the text style of placeholders in Chrome, Edge, and Safari.
404
- */
405
-
406
- ::-webkit-input-placeholder {
407
- color: inherit;
408
- opacity: 0.54;
409
- }
410
-
411
303
  /**
412
304
  * 1. Correct the inability to style clickable types in iOS and Safari.
413
305
  * 2. Change font properties to `inherit` in Safari.
@@ -417,3 +309,41 @@ textarea {
417
309
  -webkit-appearance: button; /* 1 */
418
310
  font: inherit; /* 2 */
419
311
  }
312
+
313
+ /* Interactive
314
+ ========================================================================== */
315
+
316
+ /*
317
+ * Add the correct display in Edge, IE 10+, and Firefox.
318
+ */
319
+
320
+ details {
321
+ display: block;
322
+ }
323
+
324
+ /*
325
+ * Add the correct display in all browsers.
326
+ */
327
+
328
+ summary {
329
+ display: list-item;
330
+ }
331
+
332
+ /* Misc
333
+ ========================================================================== */
334
+
335
+ /**
336
+ * Add the correct display in IE 10+.
337
+ */
338
+
339
+ template {
340
+ display: none;
341
+ }
342
+
343
+ /**
344
+ * Add the correct display in IE 10.
345
+ */
346
+
347
+ [hidden] {
348
+ display: none;
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: 4.1.1
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: 2016-04-19 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.5.1
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