scut 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/dist/_scut.scss +9 -14
  3. data/lib/scut.rb +2 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b874beb3563ac3e8dc0012ef552f4633766c652
4
- data.tar.gz: 7eb61588f55795b70d2ade7a94248a229bda9a10
3
+ metadata.gz: c0aa0817ef1dc8b253654ae8d00af73ec1212936
4
+ data.tar.gz: 0b8d373965194c99b12ef56920055ac844358b68
5
5
  SHA512:
6
- metadata.gz: 06cea17ac58b218564d26a97a6d816b341241660358ed381f8131e239f32a46304dcc12dd9f6f5220cae3ba87e063b9edc91cb956279c101cdcc40bd365f538f
7
- data.tar.gz: ff35ad314cb2acc806d660c15b1cf8343170b30969ee9ef732d677b7b758c0817d8875c52e4d00046fa7d4f8139b9274f697d1fc291ce6dbd1c538a66b771881
6
+ metadata.gz: 37949554692289385f6b7ab03ac3a35a8b760899f445c03cc1827fa921dcf990a833e5754d6109811ad04dbab8326e028e556bf1166d64b6f235cf1a04155af9
7
+ data.tar.gz: 2e9d66764536703aa99b85fdafc333b701e0113eba3244869fed1b7955c9c630737b361ae96b33f6b700491eef94b06e06c3f6c10ad6079e9b22bc5d7a0bdf01
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
- * v1.1.2
4
+ * v1.1.3
5
5
  * Docs at http://davidtheclark.github.io/scut
6
6
  */
7
7
 
@@ -279,13 +279,14 @@ $scut-rem-base: 16 !default;
279
279
  $ratio: 1.3
280
280
  ) {
281
281
 
282
- @media (-o-min-device-pixel-ratio: #{$ratio}/1),
283
- (-webkit-min-device-pixel-ratio: #{$ratio}),
284
- (min-resolution: #{round(96 * $ratio)}dpi) {
282
+ @media (-o-min-device-pixel-ratio: ($ratio / 1)),
283
+ (-webkit-min-device-pixel-ratio: $ratio),
284
+ (min-resolution: (round(96 * $ratio) * 1dpi)) {
285
285
  @content;
286
286
  }
287
287
 
288
288
  }
289
+
289
290
  @mixin scut-hide-visually {
290
291
 
291
292
  border: 0;
@@ -307,12 +308,14 @@ $scut-rem-base: 16 !default;
307
308
  text-indent: 102%;
308
309
  white-space: nowrap;
309
310
  overflow: hidden;
311
+ padding: 0;
310
312
 
311
313
  }
312
314
 
313
315
  %scut-image-replace {
314
316
  @include scut-image-replace;
315
317
  }
318
+
316
319
  // Depends on scut-rem and scut-strip-unit
317
320
 
318
321
  @mixin scut-rem-fallback (
@@ -334,11 +337,9 @@ $scut-rem-base: 16 !default;
334
337
  @mixin scut-reset-border-box {
335
338
  // Make everything a border-box, because why not?
336
339
  html {
337
- -moz-box-sizing: border-box;
338
340
  box-sizing: border-box;
339
341
  }
340
342
  *, *:before, *:after {
341
- -moz-box-sizing: inherit;
342
343
  box-sizing: inherit;
343
344
  }
344
345
  }
@@ -1417,18 +1418,12 @@ $scut-swhitesquare: "\25ab";
1417
1418
  @include scut-link-bb;
1418
1419
  }
1419
1420
  @mixin scut-reverse-italics (
1420
- $elements: false
1421
+ $elements: null
1421
1422
  ) {
1422
1423
 
1423
1424
  $element-list: em, cite, i;
1424
- @each $el in $elements {
1425
- @if type_of($el) == 'string' {
1426
- $element-list: append($element-list, unquote($el), comma);
1427
- }
1428
- }
1429
-
1430
1425
  font-style: italic;
1431
- #{$element-list} {
1426
+ #{join($element-list, $elements)} {
1432
1427
  font-style: normal;
1433
1428
  }
1434
1429
 
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 = "1.1.2"
9
- DATE = "2015-02-11"
8
+ VERSION = "1.1.3"
9
+ DATE = "2015-05-06"
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: 1.1.2
4
+ version: 1.1.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: 2015-02-11 00:00:00.000000000 Z
11
+ date: 2015-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project: scut
63
- rubygems_version: 2.2.2
63
+ rubygems_version: 2.4.5
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: Sass utilities for the frontend laborer.