brevis 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/brevis.rb +2 -2
- data/stylesheets/brevis_utilities/_layout.scss +14 -14
- 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: 21448864c476fba6ec05e8ecf66263abce49d393
|
4
|
+
data.tar.gz: 0a53c5182a4c7449a0a690adc832ec332acf73c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90ac435f629dcb92522cae511079e7e7c3a4d33cba48c82c2bcb53f7a936312c562376cea7d8dbc2267dcccfd81d0b9e82a500ab84cb2fc28471c8bcc32a95af
|
7
|
+
data.tar.gz: 86bdc9ccc41dc507e74061958bb7e58a672e8a577881bf97f19d4292391ebbbef7489efd6cbe22eb0a66d463537ad8ff0f5b628f08ae0047b0774cefd8063cbc
|
data/lib/brevis.rb
CHANGED
@@ -19,8 +19,8 @@ Compass::Frameworks.register('brevis', :path => extension_path)
|
|
19
19
|
# a prerelease version
|
20
20
|
# Date is in the form of YYYY-MM-DD
|
21
21
|
module Brevis
|
22
|
-
VERSION = "0.2.
|
23
|
-
DATE = "2015-04-
|
22
|
+
VERSION = "0.2.9"
|
23
|
+
DATE = "2015-04-16"
|
24
24
|
end
|
25
25
|
|
26
26
|
# This is where any custom SassScript should be placed. The functions will be
|
@@ -50,20 +50,20 @@ $sg-rows: 4;
|
|
50
50
|
float: right;
|
51
51
|
}
|
52
52
|
@if $offset {
|
53
|
-
&:nth-
|
53
|
+
&:nth-child(#{$offset}) {
|
54
54
|
width: 100%;
|
55
55
|
}
|
56
|
-
&:nth-
|
56
|
+
&:nth-child(n+#{$offset + 1}) {
|
57
57
|
width: calc((100% / #{$cols}) - #{$minus-margins});
|
58
58
|
}
|
59
59
|
@for $i from 1 through $rows {
|
60
|
-
&:nth-
|
60
|
+
&:nth-child(#{$cols * $i + $offset}) {
|
61
61
|
margin-#{$margin-direction}: 0;
|
62
62
|
}
|
63
|
-
&:nth-
|
63
|
+
&:nth-child(#{$cols * $i + 1 + $offset}) {
|
64
64
|
clear: left;
|
65
65
|
}
|
66
|
-
&:nth-
|
66
|
+
&:nth-child(n + #{$i + $offset}) {
|
67
67
|
margin-top: $sg-spacing;
|
68
68
|
}
|
69
69
|
}
|
@@ -71,13 +71,13 @@ $sg-rows: 4;
|
|
71
71
|
@else {
|
72
72
|
width: calc((100% / #{$cols}) - #{$minus-margins});
|
73
73
|
@for $i from 1 through $rows {
|
74
|
-
&:nth-
|
74
|
+
&:nth-child(#{$cols * $i}) {
|
75
75
|
margin-#{$margin-direction}: 0;
|
76
76
|
}
|
77
|
-
&:nth-
|
77
|
+
&:nth-child(#{$cols * $i + 1}) {
|
78
78
|
clear: left;
|
79
79
|
}
|
80
|
-
&:nth-
|
80
|
+
&:nth-child(n + #{$i * $rows + 1}) {
|
81
81
|
margin-top: $sg-spacing;
|
82
82
|
}
|
83
83
|
}
|
@@ -136,8 +136,8 @@ $sg-rows: 4;
|
|
136
136
|
// NTH CHILD
|
137
137
|
@mixin panel-pane($nth: null, $pane-name: "main-layout-pane") {
|
138
138
|
@if ($nth) {
|
139
|
-
.#{$pane-name}:nth-
|
140
|
-
.panels-ipe-portlet-wrapper:nth-
|
139
|
+
.#{$pane-name}:nth-child(#{$nth}),
|
140
|
+
.panels-ipe-portlet-wrapper:nth-child(#{$nth}) .#{$pane-name} {
|
141
141
|
@content;
|
142
142
|
}
|
143
143
|
}
|
@@ -179,14 +179,14 @@ $sg-rows: 4;
|
|
179
179
|
max-width: 100%;
|
180
180
|
width: calc((100% / 2) - #{$spacing});
|
181
181
|
margin-left: 0;
|
182
|
-
&:nth-
|
182
|
+
&:nth-child(n + 2) {
|
183
183
|
margin-top: $spacing;
|
184
184
|
margin-bottom: 0;
|
185
185
|
margin-left: 0;
|
186
186
|
clear: right;
|
187
187
|
float: right;
|
188
188
|
}
|
189
|
-
&:nth-
|
189
|
+
&:nth-child(n + 3) {
|
190
190
|
margin-top: 0;
|
191
191
|
}
|
192
192
|
}
|
@@ -198,12 +198,12 @@ $sg-rows: 4;
|
|
198
198
|
width: 60%;
|
199
199
|
margin-left: 0%;
|
200
200
|
margin-right: 0%;
|
201
|
-
&:nth-
|
201
|
+
&:nth-child(even) {
|
202
202
|
width: 40%;
|
203
203
|
margin-left: 0%;
|
204
204
|
max-width: 300px;
|
205
205
|
}
|
206
|
-
&:nth-
|
206
|
+
&:nth-child(3) {
|
207
207
|
clear: left;
|
208
208
|
}
|
209
209
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brevis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kendall Totten
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|