patterns 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,11 @@
4
4
  }
5
5
  @mixin float_left_right_container {
6
6
  @include clearfix;
7
- & > :first-child { float: left; }
8
- & > * { float: right; }
7
+ & > :first-child {
8
+ float: left;
9
+
10
+ & + * {
11
+ float: right;
12
+ }
13
+ }
9
14
  }
@@ -1,10 +1,10 @@
1
1
  $line_color: #DDD;
2
2
 
3
- @mixin vertical_line_container($line_color: $line_color, $border_width: 1px) {
3
+ @mixin vertical_line_container($line_color: $line_color, $line_width: 1px) {
4
4
  & > :first-child { border-left: none; }
5
- & > * { border-left: $border_width solid $line_color; }
5
+ & > * { border-left: $line_width solid $line_color; }
6
6
  }
7
- @mixin hortizonal_line_container($line_color: $line_color, $border_width: 1px) {
7
+ @mixin hortizonal_line_container($line_color: $line_color, $line_width: 1px) {
8
8
  & > :first-child { border-top: none; }
9
- & > * { border-top: $border_width solid $line_color; }
9
+ & > * { border-top: $line_width solid $line_color; }
10
10
  }
@@ -1,10 +1,19 @@
1
1
  @mixin overflow_left_container {
2
2
  @include clearfix;
3
- & > :first-child { float: right; }
4
- & > * { overflow: hidden; }
3
+ & > :first-child {
4
+ float: right;
5
+ & + * {
6
+ overflow: hidden;
7
+ }
8
+ }
5
9
  }
6
10
  @mixin overflow_right_container {
7
11
  @include clearfix;
8
- & > :first-child { float: left; }
9
- & > * { overflow: hidden; }
12
+ & > :first-child {
13
+ float: left;
14
+
15
+ & + * {
16
+ overflow: hidden;
17
+ }
18
+ }
10
19
  }
@@ -1,3 +1,3 @@
1
1
  module Patterns
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patterns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
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-11-30 00:00:00.000000000 Z
12
+ date: 2013-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -93,4 +93,3 @@ signing_key:
93
93
  specification_version: 3
94
94
  summary: General styling patterns in SASS for any project.
95
95
  test_files: []
96
- has_rdoc: