toolkit 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,39 @@
|
|
1
|
+
////////////////////////
|
2
|
+
// Compass Imports
|
3
|
+
////////////////////////
|
4
|
+
@import 'compass';
|
5
|
+
|
6
|
+
////////////////////////
|
7
|
+
// Import Intrinsic Ratio
|
8
|
+
////////////////////////
|
9
|
+
@import 'toolkit/intrinsic-ratio';
|
10
|
+
|
11
|
+
////////////////////////
|
12
|
+
// Import Progressive Enhancement
|
13
|
+
////////////////////////
|
14
|
+
@import 'toolkit/pe';
|
15
|
+
|
16
|
+
//////////////////////////////
|
17
|
+
// Import Clearfix
|
18
|
+
//////////////////////////////
|
19
|
+
@import 'toolkit/clearfix';
|
20
|
+
|
21
|
+
//////////////////////////////
|
22
|
+
// Import Vertical Center
|
23
|
+
//////////////////////////////
|
24
|
+
@import 'toolkit/vertical-center';
|
25
|
+
|
26
|
+
//////////////////////////////
|
27
|
+
// Import Color Helpers
|
28
|
+
//////////////////////////////
|
29
|
+
@import 'toolkit/colours';
|
30
|
+
|
31
|
+
//////////////////////////////
|
32
|
+
// Import Triangle
|
33
|
+
//////////////////////////////
|
34
|
+
@import 'toolkit/triangle';
|
35
|
+
|
36
|
+
//////////////////////////////
|
37
|
+
// Import Selector Awesomeness
|
38
|
+
//////////////////////////////
|
39
|
+
@import "toolkit/selectors";
|
@@ -33,10 +33,10 @@ $intrinsic-ratio-extend: true !default;
|
|
33
33
|
@each $element in $elements {
|
34
34
|
#{$element} {
|
35
35
|
@if not $extend {
|
36
|
-
|
36
|
+
@include intrinsic-ratio-child;
|
37
37
|
}
|
38
38
|
@else {
|
39
|
-
|
39
|
+
@extend %intrinsic-ratio-child;
|
40
40
|
}
|
41
41
|
}
|
42
42
|
}
|
@@ -4,6 +4,14 @@
|
|
4
4
|
|
5
5
|
@mixin triangle($color: #000, $height: 1em, $width: 1em, $angle: 0) {
|
6
6
|
|
7
|
+
@if unit($height) == "" or unit($height) == "%" {
|
8
|
+
@debug "in triangle #{$height} is not a compatable unit for height."
|
9
|
+
}
|
10
|
+
|
11
|
+
@if unit($width) == "" or unit($width) == "%" {
|
12
|
+
@debug "in triangle #{$width} is not a compatable unit for width."
|
13
|
+
}
|
14
|
+
|
7
15
|
// offset 45deg to make each side start at 0
|
8
16
|
$deg: $angle + 45;
|
9
17
|
// if units, remove units
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 4
|
9
|
+
version: 0.2.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sam Richard
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-12
|
19
|
+
date: 2011-02-12 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -100,6 +100,7 @@ extra_rdoc_files: []
|
|
100
100
|
|
101
101
|
files:
|
102
102
|
- lib/toolkit.rb
|
103
|
+
- stylesheets/_toolkit-no-css.scss
|
103
104
|
- stylesheets/_toolkit.scss
|
104
105
|
- stylesheets/toolkit/_border-box.scss
|
105
106
|
- stylesheets/toolkit/_children-of-ie.scss
|