scut 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dist/_scut.scss +14 -14
- data/lib/scut.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26d6bb84ccf63e3057152e7abea915e2f16e884e
|
4
|
+
data.tar.gz: 7c682f75b5eaa90dda5389d2beb97a8d314b4ce4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b5d2dcf1143481a66924800684358fac1d79974f080df74a09767da0d1dc0329ec063ff9a820f4c79f669ee358bddc670d49fde12c257d0267f02e409c000b
|
7
|
+
data.tar.gz: 642f390a4bb35c97e7816aa892a00168f210a7cce1e9fde5407a1b6746b5ad9c598224d89de16409d1b0810b4af7d282dd7a4f6c812ac10a4ee2514f2bc82f3d
|
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.0.
|
4
|
+
* v1.0.1
|
5
5
|
* Docs at http://davidtheclark.github.io/scut
|
6
6
|
*/
|
7
7
|
|
@@ -238,7 +238,7 @@ $scut-rem-base: 16 !default;
|
|
238
238
|
|
239
239
|
// If $off IS NOT a list and $bg is TRUE,
|
240
240
|
// assign background-color.
|
241
|
-
@else if $bg and not
|
241
|
+
@else if $bg and not($off-is-list) {
|
242
242
|
background-color: $off;
|
243
243
|
$transition-properties: background-color;
|
244
244
|
}
|
@@ -265,7 +265,7 @@ $scut-rem-base: 16 !default;
|
|
265
265
|
background-color: nth($on, 2);
|
266
266
|
}
|
267
267
|
|
268
|
-
@else if $bg and not
|
268
|
+
@else if $bg and not($on-is-list) {
|
269
269
|
background-color: $on;
|
270
270
|
}
|
271
271
|
|
@@ -442,31 +442,31 @@ $scut-rem-base: 16 !default;
|
|
442
442
|
|
443
443
|
// Call them all, minus exclusions!
|
444
444
|
@mixin scut-reset ($exclude: false) {
|
445
|
-
@if not
|
445
|
+
@if not(index($exclude, border-box)) {
|
446
446
|
@include scut-reset-border-box;
|
447
447
|
}
|
448
|
-
@if not
|
448
|
+
@if not(index($exclude, antialias)) {
|
449
449
|
@include scut-reset-antialias;
|
450
450
|
}
|
451
|
-
@if not
|
451
|
+
@if not(index($exclude, semanticize)) {
|
452
452
|
@include scut-reset-semanticize;
|
453
453
|
}
|
454
|
-
@if not
|
454
|
+
@if not(index($exclude, pointer)) {
|
455
455
|
@include scut-reset-pointer;
|
456
456
|
}
|
457
|
-
@if not
|
457
|
+
@if not(index($exclude, form)) {
|
458
458
|
@include scut-reset-form;
|
459
459
|
}
|
460
|
-
@if not
|
460
|
+
@if not(index($exclude, button)) {
|
461
461
|
@include scut-reset-button;
|
462
462
|
}
|
463
|
-
@if not
|
463
|
+
@if not(index($exclude, paragraph)) {
|
464
464
|
@include scut-reset-paragraph;
|
465
465
|
}
|
466
|
-
@if not
|
466
|
+
@if not(index($exclude, media)) {
|
467
467
|
@include scut-reset-media;
|
468
468
|
}
|
469
|
-
@if not
|
469
|
+
@if not(index($exclude, figure)) {
|
470
470
|
@include scut-reset-figure;
|
471
471
|
}
|
472
472
|
}
|
@@ -650,7 +650,7 @@ $scut-rem-base: 16 !default;
|
|
650
650
|
|
651
651
|
$translate-val: null;
|
652
652
|
|
653
|
-
@if not
|
653
|
+
@if not($axis) {
|
654
654
|
$translate-val: translate(-50%, -50%);
|
655
655
|
}
|
656
656
|
@else if $axis != x {
|
@@ -784,7 +784,7 @@ $scut-rem-base: 16 !default;
|
|
784
784
|
}
|
785
785
|
|
786
786
|
& > li + li:#{$pseudo} {
|
787
|
-
@if not
|
787
|
+
@if not($height) {
|
788
788
|
content: $divider;
|
789
789
|
display: inline-block;
|
790
790
|
@content;
|
data/lib/scut.rb
CHANGED
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.0.
|
4
|
+
version: 1.0.1
|
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-
|
11
|
+
date: 2014-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|