patterns 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
|
|
1
1
|
$line_color: #DDD;
|
2
2
|
|
3
|
-
@mixin vertical_line_container($line_color: $line_color, $
|
3
|
+
@mixin vertical_line_container($line_color: $line_color, $line_width: 1px) {
|
4
4
|
& > :first-child { border-left: none; }
|
5
|
-
& > * { border-left: $
|
5
|
+
& > * { border-left: $line_width solid $line_color; }
|
6
6
|
}
|
7
|
-
@mixin hortizonal_line_container($line_color: $line_color, $
|
7
|
+
@mixin hortizonal_line_container($line_color: $line_color, $line_width: 1px) {
|
8
8
|
& > :first-child { border-top: none; }
|
9
|
-
& > * { border-top: $
|
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 {
|
4
|
-
|
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 {
|
9
|
-
|
12
|
+
& > :first-child {
|
13
|
+
float: left;
|
14
|
+
|
15
|
+
& + * {
|
16
|
+
overflow: hidden;
|
17
|
+
}
|
18
|
+
}
|
10
19
|
}
|
data/lib/patterns/version.rb
CHANGED
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
|
+
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:
|
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:
|