handysass 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/stylesheets/handysass/mixins/_textdir.scss +9 -9
- 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: 7f74d67697106d65d24cda5f8afe85602b9f6722
|
4
|
+
data.tar.gz: 0fefa90afed353f300e808cc701aec2544f50fcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62ac219c137e7140a318ced819057701725eb094688693b159d383623c0ab5680353be51cc0900a2eae9e50bd69c8ad616249e2084c55145879b846ed2998ba1
|
7
|
+
data.tar.gz: be78d3fe8f7cabee4cf4da28c7a21614c3118091190678efe6832a1ed57b58e2eca210132103ba091fe80cbd13367b7df2a16e98d244959d4070237bde1052b2
|
@@ -4,22 +4,22 @@
|
|
4
4
|
//
|
5
5
|
// .mydiv{
|
6
6
|
// this...
|
7
|
-
// @include dirdep();
|
8
|
-
//
|
7
|
+
// @include dirdep(float);
|
8
|
+
//
|
9
9
|
// becomes...
|
10
10
|
// .ltr &{float: left;}
|
11
11
|
// .rtl &{float: right;}
|
12
12
|
//
|
13
13
|
// this...
|
14
14
|
// @include dirdep(margin, 20px);
|
15
|
-
//
|
15
|
+
//
|
16
16
|
// becomes...
|
17
17
|
// .ltr &{margin-left: 20px;}
|
18
18
|
// .rtl &{margin-right: 20px;}
|
19
|
-
//
|
19
|
+
//
|
20
20
|
// this...
|
21
21
|
// @include dirdep(10px, false);
|
22
|
-
//
|
22
|
+
//
|
23
23
|
// becomes...
|
24
24
|
// .ltr &{right: 10px;}
|
25
25
|
// .rtl &{left: 10px;}
|
@@ -29,14 +29,14 @@
|
|
29
29
|
// @param mixed $value The value for the poperty.
|
30
30
|
// @param mixed $lvr True for Left on LTR, Right on RTL (false for reverse)
|
31
31
|
|
32
|
-
@mixin dirdep($property
|
33
|
-
@if $property == 'float' {
|
32
|
+
@mixin dirdep($property, $value:true, $lvr:true) {
|
33
|
+
@if $property == 'text-align' or $property == 'float' {
|
34
34
|
// Floating; $value becomse $lvr
|
35
35
|
.ltr &{
|
36
|
-
|
36
|
+
$property: if($value, left, right);
|
37
37
|
}
|
38
38
|
.rtl &{
|
39
|
-
|
39
|
+
$property: if($value, right, left);
|
40
40
|
}
|
41
41
|
} @else if type-of($property) == 'number' {
|
42
42
|
// Positioning; $property is the value, $value is $lvr
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handysass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Doug Wollison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compass
|