scss_helpers 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -0
- data/README.md +1 -0
- data/lib/assets/stylesheets/helpers.scss +19 -0
- data/lib/scss_helpers/version.rb +1 -1
- metadata +3 -2
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use --create 1.9.3@scss_heplers
|
data/README.md
CHANGED
@@ -36,6 +36,20 @@
|
|
36
36
|
width: ($r * 2);
|
37
37
|
}
|
38
38
|
|
39
|
+
@mixin inline-block() {
|
40
|
+
display: inline-block;
|
41
|
+
.ie7 & {
|
42
|
+
display: inline;
|
43
|
+
zoom: 1;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
@mixin border-box() {
|
48
|
+
-webkit-box-sizing: border-box;
|
49
|
+
-moz-box-sizing: border-box;
|
50
|
+
box-sizing: border-box;
|
51
|
+
}
|
52
|
+
|
39
53
|
@mixin transition( $args: all .6s linear ) {
|
40
54
|
-webkit-transition: $args;
|
41
55
|
-moz-transition: $args;
|
@@ -55,6 +69,11 @@
|
|
55
69
|
-webkit-transition-duration: $duration;
|
56
70
|
transition-duration: $duration;
|
57
71
|
}
|
72
|
+
@mixin transition-property( $property: all ) {
|
73
|
+
-moz-transition-property: $property;
|
74
|
+
-webkit-transition-property: $property;
|
75
|
+
transition-property: $property;
|
76
|
+
}
|
58
77
|
@mixin rotation( $deg: 90deg ) {
|
59
78
|
-webkit-transform: rotate( $deg );
|
60
79
|
-moz-transform: rotate( $deg );
|
data/lib/scss_helpers/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scss_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-17 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Cross-broswer css mixins
|
15
15
|
email:
|
@@ -19,6 +19,7 @@ extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
21
|
- .gitignore
|
22
|
+
- .rvmrc
|
22
23
|
- Gemfile
|
23
24
|
- LICENSE
|
24
25
|
- README.md
|