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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 984afb2d650c7896bdbb9e28804dad110bfa1f34
4
- data.tar.gz: 44b2171f9275ba6c28fc3dd6ad95587bbbb7af11
3
+ metadata.gz: 7f74d67697106d65d24cda5f8afe85602b9f6722
4
+ data.tar.gz: 0fefa90afed353f300e808cc701aec2544f50fcd
5
5
  SHA512:
6
- metadata.gz: 77e67229ae79606f381ee3199096640053071202b80a924e34c3816d352d8db0b2d3766cb102cedfadb630b5e6d13a9d221bbd6a392992747084ad261941ec2a
7
- data.tar.gz: f7fb1d90ed63b54c7fe0a6864ce38dc8773c546c69456d1dd7850d2e4a4f7b51d527d41802a8294bbb2280206e75f8d3db8ffc2e16d42fb215dbb4e3b0717ab1
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:float, $value:true, $lvr:true) {
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
- float: if($value, left, right);
36
+ $property: if($value, left, right);
37
37
  }
38
38
  .rtl &{
39
- float: if($value, right, left);
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
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-02-24 00:00:00.000000000 Z
11
+ date: 2014-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass