normalize-rails 4.0.0 → 4.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2d2f69ea8578ed933a9c17d2647dc825ca13780
4
- data.tar.gz: 3c6d83c2e75b17d783c5016cf0343fca3cd1e567
3
+ metadata.gz: c4a7fab86cce177177ac5e777114bf1357aacd81
4
+ data.tar.gz: b88821ace7d0f9e67bd4b9d0476c96c3c70d843b
5
5
  SHA512:
6
- metadata.gz: 0da206f668d3377f1604015f56a62858c32585bbb22a8a3bb30609d901aa4d4e5107fd988dc8f7fc4cb704d5d4f6a5bb2ec79c8c605a6393b028e8b423202043
7
- data.tar.gz: b5eba69936fe7ceeaf343deb105c52393770fbe3d82b0669e3b3c8c7774b8c0ebf8d6f6c6c4bdf3365d852ddb445200d8ba45d0d0471f1f7a3db6bea822a0781
6
+ metadata.gz: 45abc127e97a2c50baac9975c5207247bcd56523c1a7f5d1531dd9f05a3edb1e64f56a96a0947270d7a6cbe3c2d368b316d0fd908193433d32e11139d1adbdf6
7
+ data.tar.gz: e5efbcc04e07d75211c01abb8dc70b2409b3f3c6304f4d80d5ffec329334ef6f8b469375875d75ecec8ea61d09a0803d7fd106d8b2376ecaca0d90d1df14e0df
@@ -1,5 +1,5 @@
1
1
  module Normalize
2
2
  module Rails
3
- VERSION = "4.0.0"
3
+ VERSION = "4.1.1"
4
4
  end
5
5
  end
@@ -1,4 +1,4 @@
1
- /*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */
1
+ /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
2
2
 
3
3
  /**
4
4
  * 1. Change the default font family in all browsers (opinionated).
@@ -85,11 +85,13 @@ template, /* 1 */
85
85
  ========================================================================== */
86
86
 
87
87
  /**
88
- * Remove the gray background on active links in IE 10.
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+.
89
90
  */
90
91
 
91
92
  a {
92
- background-color: transparent;
93
+ background-color: transparent; /* 1 */
94
+ -webkit-text-decoration-skip: objects; /* 2 */
93
95
  }
94
96
 
95
97
  /**
@@ -248,14 +250,16 @@ hr {
248
250
  ========================================================================== */
249
251
 
250
252
  /**
251
- * Change font properties to `inherit` in all browsers (opinionated).
253
+ * 1. Change font properties to `inherit` in all browsers (opinionated).
254
+ * 2. Remove the margin in Firefox and Safari.
252
255
  */
253
256
 
254
257
  button,
255
258
  input,
256
259
  select,
257
260
  textarea {
258
- font: inherit;
261
+ font: inherit; /* 1 */
262
+ margin: 0; /* 2 */
259
263
  }
260
264
 
261
265
  /**
@@ -269,27 +273,13 @@ optgroup {
269
273
  /**
270
274
  * Show the overflow in IE.
271
275
  * 1. Show the overflow in Edge.
272
- * 2. Show the overflow in Edge, Firefox, and IE.
273
276
  */
274
277
 
275
278
  button,
276
- input, /* 1 */
277
- select { /* 2 */
279
+ input { /* 1 */
278
280
  overflow: visible;
279
281
  }
280
282
 
281
- /**
282
- * Remove the margin in Safari.
283
- * 1. Remove the margin in Firefox and Safari.
284
- */
285
-
286
- button,
287
- input,
288
- select,
289
- textarea { /* 1 */
290
- margin: 0;
291
- }
292
-
293
283
  /**
294
284
  * Remove the inheritance of text transform in Edge, Firefox, and IE.
295
285
  * 1. Remove the inheritance of text transform in Firefox.
@@ -300,29 +290,10 @@ select { /* 1 */
300
290
  text-transform: none;
301
291
  }
302
292
 
303
- /**
304
- * Change the cursor in all browsers (opinionated).
305
- */
306
-
307
- button,
308
- [type="button"],
309
- [type="reset"],
310
- [type="submit"] {
311
- cursor: pointer;
312
- }
313
-
314
- /**
315
- * Restore the default cursor to disabled elements unset by the previous rule.
316
- */
317
-
318
- [disabled] {
319
- cursor: default;
320
- }
321
-
322
293
  /**
323
294
  * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
324
295
  * controls in Android 4.
325
- * 2. Correct the inability to style clickable types in iOS.
296
+ * 2. Correct the inability to style clickable types in iOS and Safari.
326
297
  */
327
298
 
328
299
  button,
@@ -337,8 +308,10 @@ html [type="button"], /* 1 */
337
308
  */
338
309
 
339
310
  button::-moz-focus-inner,
340
- input::-moz-focus-inner {
341
- border: 0;
311
+ [type="button"]::-moz-focus-inner,
312
+ [type="reset"]::-moz-focus-inner,
313
+ [type="submit"]::-moz-focus-inner {
314
+ border-style: none;
342
315
  padding: 0;
343
316
  }
344
317
 
@@ -347,7 +320,9 @@ input::-moz-focus-inner {
347
320
  */
348
321
 
349
322
  button:-moz-focusring,
350
- input:-moz-focusring {
323
+ [type="button"]:-moz-focusring,
324
+ [type="reset"]:-moz-focusring,
325
+ [type="submit"]:-moz-focusring {
351
326
  outline: 1px dotted ButtonText;
352
327
  }
353
328
 
@@ -406,19 +381,39 @@ textarea {
406
381
  }
407
382
 
408
383
  /**
409
- * Correct the odd appearance of search inputs in Chrome and Safari.
384
+ * 1. Correct the odd appearance in Chrome and Safari.
385
+ * 2. Correct the outline style in Safari.
410
386
  */
411
387
 
412
388
  [type="search"] {
413
- -webkit-appearance: textfield;
389
+ -webkit-appearance: textfield; /* 1 */
390
+ outline-offset: -2px; /* 2 */
414
391
  }
415
392
 
416
393
  /**
417
- * Remove the inner padding and cancel buttons in Chrome on OS X and
418
- * Safari on OS X.
394
+ * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
419
395
  */
420
396
 
421
397
  [type="search"]::-webkit-search-cancel-button,
422
398
  [type="search"]::-webkit-search-decoration {
423
399
  -webkit-appearance: none;
424
400
  }
401
+
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
+ /**
412
+ * 1. Correct the inability to style clickable types in iOS and Safari.
413
+ * 2. Change font properties to `inherit` in Safari.
414
+ */
415
+
416
+ ::-webkit-file-upload-button {
417
+ -webkit-appearance: button; /* 1 */
418
+ font: inherit; /* 2 */
419
+ }
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.0.0
4
+ version: 4.1.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-03-24 00:00:00.000000000 Z
13
+ date: 2016-04-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake