rocks 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/app/assets/stylesheets/_type.scss +5 -5
- data/lib/rocks/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -46,13 +46,13 @@ $color-text: #444 !default;
|
|
46
46
|
$border-top: if($border, nth($border, 1), $border-top);
|
47
47
|
$border-bottom: if($border, if(length($border) == 2, nth($border, 2), $border), $border-bottom);
|
48
48
|
|
49
|
-
@if $border-top
|
49
|
+
@if $border-top and unitless($border-top) {
|
50
50
|
@warn 'You should provide border values with units (e.g. px)';
|
51
51
|
}
|
52
|
-
@if $padding
|
52
|
+
@if $padding and ($padding-top or $padding-bottom) {
|
53
53
|
@warn 'You should specify only $padding or $padding-(top|bottom)';
|
54
54
|
}
|
55
|
-
@if $margin
|
55
|
+
@if $margin and ($margin-top or $margin-bottom) {
|
56
56
|
@warn 'You should specify only $margin or $margin-(top|bottom)';
|
57
57
|
}
|
58
58
|
|
@@ -69,14 +69,14 @@ $color-text: #444 !default;
|
|
69
69
|
border-bottom-width: $border-bottom;
|
70
70
|
}
|
71
71
|
@if $padding-top {
|
72
|
-
@if $border-top
|
72
|
+
@if $border-top and $compensate-padding {
|
73
73
|
padding-top: lines($padding-top) - $border-top;
|
74
74
|
} @else {
|
75
75
|
padding-top: lines($padding-top);
|
76
76
|
}
|
77
77
|
}
|
78
78
|
@if($padding-bottom) {
|
79
|
-
@if $border-bottom
|
79
|
+
@if $border-bottom and $compensate-padding {
|
80
80
|
padding-bottom: lines($padding-bottom) - $border-bottom;
|
81
81
|
} @else {
|
82
82
|
padding-bottom: lines($padding-bottom);
|
data/lib/rocks/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.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-
|
12
|
+
date: 2012-07-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|