toolkit 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/stylesheets/toolkit/_clearfix.scss +65 -35
- data/stylesheets/toolkit/_triangle.scss +29 -0
- metadata +91 -67
- checksums.yaml +0 -7
@@ -1,3 +1,65 @@
|
|
1
|
+
//////////////////////////////
|
2
|
+
// Legacy Clearfix
|
3
|
+
//
|
4
|
+
// For when you need full Legacy support, including old IE and old Firefox
|
5
|
+
//
|
6
|
+
// From http://www.css-101.org/articles/clearfix/latest-new-clearfix-so-far.php
|
7
|
+
//////////////////////////////
|
8
|
+
%clearfix-legacy {
|
9
|
+
/* for IE 6/7 */
|
10
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).style.cssText="clear:both;font:0/0 serif");
|
11
|
+
/* non-JS fallback */
|
12
|
+
*zoom: 1;
|
13
|
+
|
14
|
+
&:before,
|
15
|
+
&:after {
|
16
|
+
content: ".";
|
17
|
+
display: block;
|
18
|
+
height: 0;
|
19
|
+
overflow: hidden;
|
20
|
+
}
|
21
|
+
|
22
|
+
&:after {
|
23
|
+
clear: both;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
//////////////////////////////
|
28
|
+
// Micro Clearfix
|
29
|
+
//
|
30
|
+
// For when you need old IE support, but not concerned with old Firefox
|
31
|
+
// From http://nicolasgallagher.com/better-float-containment-in-ie/
|
32
|
+
//////////////////////////////
|
33
|
+
%clearfix-micro {
|
34
|
+
/* for IE 6/7 */
|
35
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).style.cssText="clear:both;font:0/0 serif");
|
36
|
+
/* non-JS fallback */
|
37
|
+
*zoom: 1;
|
38
|
+
|
39
|
+
&:before,
|
40
|
+
&:after {
|
41
|
+
content: "";
|
42
|
+
display: table;
|
43
|
+
}
|
44
|
+
|
45
|
+
&:after {
|
46
|
+
clear: both;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
//////////////////////////////
|
51
|
+
// Modern Clearfix
|
52
|
+
//
|
53
|
+
// Clearfix for modern browsers, especiall when using border-box
|
54
|
+
//
|
55
|
+
// From http://www.css-101.org/articles/clearfix/latest-new-clearfix-so-far.php
|
56
|
+
//////////////////////////////
|
57
|
+
%clearfix:after {
|
58
|
+
content: "";
|
59
|
+
display: table;
|
60
|
+
clear: both;
|
61
|
+
}
|
62
|
+
|
1
63
|
//////////////////////////////
|
2
64
|
// Massive Clearfix Mixin
|
3
65
|
//
|
@@ -7,8 +69,8 @@
|
|
7
69
|
$clearfix-extend: false !default;
|
8
70
|
$legacy-support-for-mozilla: true !default;
|
9
71
|
|
10
|
-
@mixin clearfix($extend: $clearfix-extend
|
11
|
-
@if
|
72
|
+
@mixin clearfix($extend: $clearfix-extend) {
|
73
|
+
@if $legacy-support-for-ie6 and $legacy-support-for-ie7 and not $legacy-support-for-mozilla {
|
12
74
|
@if $extend {
|
13
75
|
@extend %clearfix-micro;
|
14
76
|
}
|
@@ -29,7 +91,7 @@ $legacy-support-for-mozilla: true !default;
|
|
29
91
|
}
|
30
92
|
}
|
31
93
|
}
|
32
|
-
@else if
|
94
|
+
@else if $legacy-support-for-ie6 and $legacy-support-for-ie7 and $legacy-support-for-mozilla {
|
33
95
|
@if $extend {
|
34
96
|
@extend %clearfix-legacy;
|
35
97
|
}
|
@@ -64,36 +126,4 @@ $legacy-support-for-mozilla: true !default;
|
|
64
126
|
}
|
65
127
|
}
|
66
128
|
}
|
67
|
-
}
|
68
|
-
|
69
|
-
//////////////////////////////
|
70
|
-
// Legacy Clearfix
|
71
|
-
//
|
72
|
-
// For when you need full Legacy support, including old IE and old Firefox
|
73
|
-
//
|
74
|
-
// From http://www.css-101.org/articles/clearfix/latest-new-clearfix-so-far.php
|
75
|
-
//////////////////////////////
|
76
|
-
%clearfix-legacy {
|
77
|
-
@include clearfix(false, 'legacy');
|
78
|
-
}
|
79
|
-
|
80
|
-
//////////////////////////////
|
81
|
-
// Micro Clearfix
|
82
|
-
//
|
83
|
-
// For when you need old IE support, but not concerned with old Firefox
|
84
|
-
// From http://nicolasgallagher.com/better-float-containment-in-ie/
|
85
|
-
//////////////////////////////
|
86
|
-
%clearfix-micro {
|
87
|
-
@include clearfix(false, 'micro');
|
88
|
-
}
|
89
|
-
|
90
|
-
//////////////////////////////
|
91
|
-
// Modern Clearfix
|
92
|
-
//
|
93
|
-
// Clearfix for modern browsers, especiall when using border-box
|
94
|
-
//
|
95
|
-
// From http://www.css-101.org/articles/clearfix/latest-new-clearfix-so-far.php
|
96
|
-
//////////////////////////////
|
97
|
-
%clearfix:after {
|
98
|
-
@include clearfix(false, 'modern');
|
99
129
|
}
|
@@ -4,6 +4,35 @@
|
|
4
4
|
|
5
5
|
@mixin triangle($color: #000, $height: 1em, $width: 1em, $angle: 0) {
|
6
6
|
|
7
|
+
@if nth($angle, 1) == "top" or nth($angle, 1) == "bottom" {
|
8
|
+
$angle: "#{$angle}";
|
9
|
+
}
|
10
|
+
|
11
|
+
@if $angle == "top" {
|
12
|
+
$angle: 0;
|
13
|
+
}
|
14
|
+
@if $angle == "top right" {
|
15
|
+
$angle: 45 * 7;
|
16
|
+
}
|
17
|
+
@if $angle == "right" {
|
18
|
+
$angle: 45 * 2;
|
19
|
+
}
|
20
|
+
@if $angle == "bottom right" {
|
21
|
+
$angle: 45 * 1;
|
22
|
+
}
|
23
|
+
@if $angle == "bottom" {
|
24
|
+
$angle: 45 * 4;
|
25
|
+
}
|
26
|
+
@if $angle == "bottom left" {
|
27
|
+
$angle: 45 * 3;
|
28
|
+
}
|
29
|
+
@if $angle == "left" {
|
30
|
+
$angle: 45 * 6;
|
31
|
+
}
|
32
|
+
@if $angle == "top left" {
|
33
|
+
$angle: 45 * 5;
|
34
|
+
}
|
35
|
+
|
7
36
|
@if unit($height) == "" or unit($height) == "%" {
|
8
37
|
@debug "in triangle #{$height} is not a compatable unit for height."
|
9
38
|
}
|
metadata
CHANGED
@@ -1,80 +1,107 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: toolkit
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
|
-
authors:
|
7
|
+
authors:
|
7
8
|
- Sam Richard
|
8
9
|
- Scott Kellum
|
9
10
|
- Mason Wendell
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
date: 2013-05-18 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
17
|
name: compass
|
18
|
-
|
19
|
-
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
23
|
version: 0.12.2
|
24
24
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: singularitygs
|
28
25
|
prerelease: false
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ! '>='
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: 0.12.2
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: singularitygs
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
36
|
+
requirements:
|
37
|
+
- - ! '>='
|
38
|
+
- !ruby/object:Gem::Version
|
33
39
|
version: 1.0.7
|
34
40
|
type: :runtime
|
35
|
-
version_requirements: *id002
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: breakpoint
|
38
41
|
prerelease: false
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.0.7
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: breakpoint
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
43
55
|
version: 2.0.2
|
44
56
|
type: :runtime
|
45
|
-
version_requirements: *id003
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: sassy-strings
|
48
57
|
prerelease: false
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
60
|
+
requirements:
|
61
|
+
- - ! '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 2.0.2
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: sassy-strings
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0.1'
|
54
72
|
type: :runtime
|
55
|
-
version_requirements: *id004
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: color-schemer
|
58
73
|
prerelease: false
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0.1'
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: color-schemer
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
63
87
|
version: 0.2.3
|
64
88
|
type: :runtime
|
65
|
-
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 0.2.3
|
66
96
|
description: Toolkit for Progressive Enhancement and Responsive Web Design
|
67
|
-
email:
|
97
|
+
email:
|
68
98
|
- sam@snug.ug
|
69
99
|
- scott@scottkellum.com
|
70
100
|
- mason@zivtech.com
|
71
101
|
executables: []
|
72
|
-
|
73
102
|
extensions: []
|
74
|
-
|
75
103
|
extra_rdoc_files: []
|
76
|
-
|
77
|
-
files:
|
104
|
+
files:
|
78
105
|
- lib/toolkit.rb
|
79
106
|
- stylesheets/_toolkit-no-css.scss
|
80
107
|
- stylesheets/_toolkit.scss
|
@@ -117,32 +144,29 @@ files:
|
|
117
144
|
- templates/shared/style.scss
|
118
145
|
- LICENSE.txt
|
119
146
|
homepage: https://github.com/Snugug/toolkit
|
120
|
-
licenses:
|
147
|
+
licenses:
|
121
148
|
- MIT
|
122
149
|
- GPL
|
123
|
-
metadata: {}
|
124
|
-
|
125
150
|
post_install_message:
|
126
151
|
rdoc_options: []
|
127
|
-
|
128
|
-
require_paths:
|
152
|
+
require_paths:
|
129
153
|
- lib
|
130
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
154
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
155
|
+
none: false
|
156
|
+
requirements:
|
157
|
+
- - ! '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '1.2'
|
140
166
|
requirements: []
|
141
|
-
|
142
167
|
rubyforge_project: toolkit
|
143
|
-
rubygems_version:
|
168
|
+
rubygems_version: 1.8.25
|
144
169
|
signing_key:
|
145
|
-
specification_version:
|
170
|
+
specification_version: 3
|
146
171
|
summary: Progressive Enhancement and RWD toolkit of awesomeness
|
147
172
|
test_files: []
|
148
|
-
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA512:
|
3
|
-
data.tar.gz: 11f80b4c6dfd2cbe7b03b34b3f4b5a2b102765b17e9002dc3d4633b8a91e411acc9fbaa1394632c3142c3c78c5200c424312a28d6cca0163d21ee11f9ce878e7
|
4
|
-
metadata.gz: c000087f542900e55fae23857ef982e61949aabeb6837431867b007d9fc1146915926e3616d000828df994d2d437533a506ec628ed3d40be3a7538a2ac6c4b10
|
5
|
-
SHA1:
|
6
|
-
data.tar.gz: 7f6528d4b5fc8f97f2dfae80114eb757d030daf3
|
7
|
-
metadata.gz: 958309647231aec256be27c897bbb66283823e9a
|