toolkit 1.3.3 → 1.3.4
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 +5 -5
- data/stylesheets/toolkit/_box-sizing.scss +24 -13
- data/stylesheets/toolkit/_clearfix.scss +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
SHA1:
|
|
3
|
-
metadata.gz: c050c05862aa23102adc818242d723d1a85e2a5d
|
|
4
|
-
data.tar.gz: acd1fbf4e93fb7cea017e7a21904ec907118e8b6
|
|
5
2
|
SHA512:
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
data.tar.gz: aa06bfb8606d349c6a62dbddce9e31e50338a02d4895c25aae8e44b6ad6b7830a67f34d16bae8ed729307f341664cda3507f829c803b69d82fc26bf875b4c81e
|
|
4
|
+
metadata.gz: c01d78d339e08d85f1183c87f37c6e7bfbc7e34805f6ed0141fd088a641ccc29bab9ae864f908ceb87830d5f8911ebc75f907caed9bda4bc8a40fdf6fb8dc69f
|
|
5
|
+
SHA1:
|
|
6
|
+
data.tar.gz: 5989af9ead83e1831610e9fb2dacd22d5fa6791a
|
|
7
|
+
metadata.gz: 4e5c12b73bb9463fa87a8c54aad95279d1924a76
|
|
@@ -3,29 +3,40 @@
|
|
|
3
3
|
$legacy-support-for-ie6: true !default;
|
|
4
4
|
$legacy-support-for-ie7: true !default;
|
|
5
5
|
|
|
6
|
+
$box-sizing-extend: true !default;
|
|
7
|
+
$toolkit-box-sizing: true;
|
|
8
|
+
|
|
6
9
|
//////////////////////////////
|
|
7
10
|
// Updated Box Sizing mixin, allowing for behavior support
|
|
8
11
|
//////////////////////////////
|
|
9
|
-
@mixin box-sizing($bs) {
|
|
10
|
-
$
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
@if $bs == 'border-box' {
|
|
16
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
|
17
|
-
*behavior: stylesheet-url("../behaviors/box-sizing/boxsizing.php");
|
|
18
|
-
}
|
|
12
|
+
@mixin box-sizing($bs, $extend: $box-sizing-extend) {
|
|
13
|
+
@if $extend and $bs == 'border-box' {
|
|
14
|
+
@extend %border-box;
|
|
15
|
+
}
|
|
16
|
+
@else if $extend and $bs == 'content-box' {
|
|
17
|
+
@extend %content-box;
|
|
19
18
|
}
|
|
20
19
|
@else {
|
|
21
|
-
|
|
20
|
+
$bs: unquote($bs);
|
|
21
|
+
@include experimental(box-sizing, $bs,
|
|
22
|
+
-moz, -webkit, not -o, not -ms, not -khtml, official
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
@if $bs == 'border-box' {
|
|
26
|
+
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
|
27
|
+
*behavior: stylesheet-url("../behaviors/box-sizing/boxsizing.php");
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
@else {
|
|
31
|
+
*behavior: none;
|
|
32
|
+
}
|
|
22
33
|
}
|
|
23
34
|
}
|
|
24
35
|
|
|
25
36
|
%border-box {
|
|
26
|
-
@include box-sizing('border-box');
|
|
37
|
+
@include box-sizing('border-box', false);
|
|
27
38
|
}
|
|
28
39
|
|
|
29
40
|
%content-box {
|
|
30
|
-
@include box-sizing('content-box');
|
|
41
|
+
@include box-sizing('content-box', false);
|
|
31
42
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
//////////////////////////////
|
|
7
7
|
$clearfix-extend: false !default;
|
|
8
8
|
$clearfix-direct: false !default;
|
|
9
|
+
$toolkit-clearfix: true;
|
|
9
10
|
|
|
10
11
|
@mixin clearfix($extend: $clearfix-extend, $direct: $clearfix-direct) {
|
|
11
12
|
@if (($legacy-support-for-ie6 or $legacy-support-for-ie7) and not $legacy-support-for-mozilla and $direct != 'legacy' and $direct != 'modern') or ($direct == 'micro') {
|
|
@@ -94,6 +95,6 @@ $clearfix-direct: false !default;
|
|
|
94
95
|
//
|
|
95
96
|
// From http://www.css-101.org/articles/clearfix/latest-new-clearfix-so-far.php
|
|
96
97
|
//////////////////////////////
|
|
97
|
-
%clearfix
|
|
98
|
+
%clearfix {
|
|
98
99
|
@include clearfix(false, 'modern');
|
|
99
100
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: toolkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sam Richard
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date: 2013-07-
|
|
14
|
+
date: 2013-07-21 00:00:00 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: compass
|