dist/_scut.scss in scut-0.10.2 vs dist/_scut.scss in scut-0.10.3

- old
+ new

@@ -1,9 +1,9 @@ /* * Scut, a collection of Sass utilities * to ease and improve our implementations of common style-code patterns. -* v0.10.2 +* v0.10.3 * Docs at http://davidtheclark.github.io/scut */ @mixin scut-clearfix { @@ -385,11 +385,13 @@ } @mixin scut-reset-button { // Reset default button styles, which are never used. button, - input[type="button"] { + input[type="button"], + input[type="submit"], + input[type="reset"] { background: transparent; border: 0; color: inherit; font: inherit; margin: 0; @@ -401,12 +403,12 @@ -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; &::-moz-focus-inner { - padding:0; - border:0; + padding: 0; + border: 0; } } } @mixin scut-reset-paragraph { @@ -426,10 +428,17 @@ max-width: 100%; height: auto; } } +@mixin scut-reset-figure { + // Remove default margins: + figure { + margin: 0; + } +} + // Call them all, minus exclusions! @mixin scut-reset ($exclude: false) { @if not index($exclude, border-box) { @include scut-reset-border-box; } @@ -451,9 +460,12 @@ @if not index($exclude, paragraph) { @include scut-reset-paragraph; } @if not index($exclude, media) { @include scut-reset-media; + } + @if not index($exclude, figure) { + @include scut-reset-figure; } } @mixin scut-selected ( $active: false ) { \ No newline at end of file