brevis 0.2.7 → 0.2.8
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.
- checksums.yaml +4 -4
- data/lib/brevis.rb +2 -2
- data/stylesheets/brevis_utilities/_layout.scss +14 -14
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6cd48cee251cfbc7d06e0d81f04214b7ee6d4eae
|
|
4
|
+
data.tar.gz: 8e0e0802e38a22f8b8c577c4520d5e25b943e23b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 732a7411dec1781aaa45d635775ea58d5b2543297b75d201f1082f8e6f30e6028eb4c20f68e167debef8df8d8ac912836be664ff5bddf60455f477d01f34c9a4
|
|
7
|
+
data.tar.gz: 115ed0699398fc6746fdb533ee560cd1e22f9b1dc4c7f7b6852617ded8558a9af3b16d07d52af25024e6d610e6d19b17455236ac6af33c2339aa640b5774b58a
|
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-
|
|
22
|
+
VERSION = "0.2.8"
|
|
23
|
+
DATE = "2015-04-13"
|
|
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-of-type(#{$offset}) {
|
|
54
54
|
width: 100%;
|
|
55
55
|
}
|
|
56
|
-
&:nth-
|
|
56
|
+
&:nth-of-type(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-of-type(#{$cols * $i + $offset}) {
|
|
61
61
|
margin-#{$margin-direction}: 0;
|
|
62
62
|
}
|
|
63
|
-
&:nth-
|
|
63
|
+
&:nth-of-type(#{$cols * $i + 1 + $offset}) {
|
|
64
64
|
clear: left;
|
|
65
65
|
}
|
|
66
|
-
&:nth-
|
|
66
|
+
&:nth-of-type(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-of-type(#{$cols * $i}) {
|
|
75
75
|
margin-#{$margin-direction}: 0;
|
|
76
76
|
}
|
|
77
|
-
&:nth-
|
|
77
|
+
&:nth-of-type(#{$cols * $i + 1}) {
|
|
78
78
|
clear: left;
|
|
79
79
|
}
|
|
80
|
-
&:nth-
|
|
80
|
+
&:nth-of-type(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-of-type(#{$nth}),
|
|
140
|
+
.panels-ipe-portlet-wrapper:nth-of-type(#{$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-of-type(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-of-type(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-of-type(even) {
|
|
202
202
|
width: 40%;
|
|
203
203
|
margin-left: 0%;
|
|
204
204
|
max-width: 300px;
|
|
205
205
|
}
|
|
206
|
-
&:nth-
|
|
206
|
+
&:nth-of-type(3) {
|
|
207
207
|
clear: left;
|
|
208
208
|
}
|
|
209
209
|
}
|
metadata
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
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.8
|
|
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-
|
|
11
|
+
date: 2015-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sass
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '3.4'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '3.4'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: compass
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '1.0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '1.0'
|
|
41
41
|
description: A collection of Sass utilities
|
|
@@ -91,12 +91,12 @@ require_paths:
|
|
|
91
91
|
- lib
|
|
92
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- -
|
|
94
|
+
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
|
99
|
-
- -
|
|
99
|
+
- - ">="
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
101
|
version: 1.3.6
|
|
102
102
|
requirements: []
|