scut 0.10.2 → 0.10.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/dist/_scut.scss +16 -4
  3. data/lib/scut.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4371e18570ddef0cc2de0474c1cc14b505cddfd1
4
- data.tar.gz: 8703a4253e0a4561d17f083e22bd479a5e77b982
3
+ metadata.gz: 598424ae6c29e1a8dda6a777418be2212b2e4671
4
+ data.tar.gz: d46603c1627baea02b3477024e49e3d144f684dd
5
5
  SHA512:
6
- metadata.gz: cf67ab7bc60e2b857c434bbe6edbe9acee888d91b6ae32c4b59aad79917efd14a6f3f88af1105f835b878998dac18e750c8beed7535873a2c7b125af8bf41128
7
- data.tar.gz: 9ddadc1e1562b587ae1d2900fcb54f37ebd5369e17fe5197841124f18492236a95dd9d0cccb64c88ded3147e2c8add4c0e93905ba83381c22a8fdd9b7ebdd8b1
6
+ metadata.gz: 3ee5ff3ba753893e094f05f0cee3332ae802fda6f53a549c137101439e01abb3e294aa7b93ed0b279a6021314a0bddc62ce4a718d817a5a801a0b870cca80532
7
+ data.tar.gz: 6301f2e9f3d39fb01a969319ede7a406bf875302d58e643b2901d23d11ef1c306e680713ca9f18cba811d215019734472126309881f692ca7578b9db1f72fef5
data/dist/_scut.scss CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Scut, a collection of Sass utilities
3
3
  * to ease and improve our implementations of common style-code patterns.
4
- * v0.10.2
4
+ * v0.10.3
5
5
  * Docs at http://davidtheclark.github.io/scut
6
6
  */
7
7
 
@@ -387,7 +387,9 @@ $scut-rem-base: 16 !default;
387
387
  @mixin scut-reset-button {
388
388
  // Reset default button styles, which are never used.
389
389
  button,
390
- input[type="button"] {
390
+ input[type="button"],
391
+ input[type="submit"],
392
+ input[type="reset"] {
391
393
  background: transparent;
392
394
  border: 0;
393
395
  color: inherit;
@@ -403,8 +405,8 @@ $scut-rem-base: 16 !default;
403
405
  -ms-user-select: none;
404
406
  user-select: none;
405
407
  &::-moz-focus-inner {
406
- padding:0;
407
- border:0;
408
+ padding: 0;
409
+ border: 0;
408
410
  }
409
411
  }
410
412
  }
@@ -428,6 +430,13 @@ $scut-rem-base: 16 !default;
428
430
  }
429
431
  }
430
432
 
433
+ @mixin scut-reset-figure {
434
+ // Remove default margins:
435
+ figure {
436
+ margin: 0;
437
+ }
438
+ }
439
+
431
440
  // Call them all, minus exclusions!
432
441
  @mixin scut-reset ($exclude: false) {
433
442
  @if not index($exclude, border-box) {
@@ -454,6 +463,9 @@ $scut-rem-base: 16 !default;
454
463
  @if not index($exclude, media) {
455
464
  @include scut-reset-media;
456
465
  }
466
+ @if not index($exclude, figure) {
467
+ @include scut-reset-figure;
468
+ }
457
469
  }
458
470
  @mixin scut-selected (
459
471
  $active: false
data/lib/scut.rb CHANGED
@@ -5,6 +5,6 @@ stylesheets_dir = File.join(base_directory, 'dist')
5
5
  Compass::Frameworks.register('Scut', :stylesheets_directory => stylesheets_dir)
6
6
 
7
7
  module Scut
8
- VERSION = "0.10.2"
9
- DATE = "2014-03-22"
8
+ VERSION = "0.10.3"
9
+ DATE = "2014-04-02"
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scut
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-22 00:00:00.000000000 Z
11
+ date: 2014-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass