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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cd48cee251cfbc7d06e0d81f04214b7ee6d4eae
4
- data.tar.gz: 8e0e0802e38a22f8b8c577c4520d5e25b943e23b
3
+ metadata.gz: 21448864c476fba6ec05e8ecf66263abce49d393
4
+ data.tar.gz: 0a53c5182a4c7449a0a690adc832ec332acf73c3
5
5
  SHA512:
6
- metadata.gz: 732a7411dec1781aaa45d635775ea58d5b2543297b75d201f1082f8e6f30e6028eb4c20f68e167debef8df8d8ac912836be664ff5bddf60455f477d01f34c9a4
7
- data.tar.gz: 115ed0699398fc6746fdb533ee560cd1e22f9b1dc4c7f7b6852617ded8558a9af3b16d07d52af25024e6d610e6d19b17455236ac6af33c2339aa640b5774b58a
6
+ metadata.gz: 90ac435f629dcb92522cae511079e7e7c3a4d33cba48c82c2bcb53f7a936312c562376cea7d8dbc2267dcccfd81d0b9e82a500ab84cb2fc28471c8bcc32a95af
7
+ data.tar.gz: 86bdc9ccc41dc507e74061958bb7e58a672e8a577881bf97f19d4292391ebbbef7489efd6cbe22eb0a66d463537ad8ff0f5b628f08ae0047b0774cefd8063cbc
@@ -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.8"
23
- DATE = "2015-04-13"
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-of-type(#{$offset}) {
53
+ &:nth-child(#{$offset}) {
54
54
  width: 100%;
55
55
  }
56
- &:nth-of-type(n+#{$offset + 1}) {
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-of-type(#{$cols * $i + $offset}) {
60
+ &:nth-child(#{$cols * $i + $offset}) {
61
61
  margin-#{$margin-direction}: 0;
62
62
  }
63
- &:nth-of-type(#{$cols * $i + 1 + $offset}) {
63
+ &:nth-child(#{$cols * $i + 1 + $offset}) {
64
64
  clear: left;
65
65
  }
66
- &:nth-of-type(n + #{$i + $offset}) {
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-of-type(#{$cols * $i}) {
74
+ &:nth-child(#{$cols * $i}) {
75
75
  margin-#{$margin-direction}: 0;
76
76
  }
77
- &:nth-of-type(#{$cols * $i + 1}) {
77
+ &:nth-child(#{$cols * $i + 1}) {
78
78
  clear: left;
79
79
  }
80
- &:nth-of-type(n + #{$i * $rows + 1}) {
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-of-type(#{$nth}),
140
- .panels-ipe-portlet-wrapper:nth-of-type(#{$nth}) .#{$pane-name} {
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-of-type(n + 2) {
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-of-type(n + 3) {
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-of-type(even) {
201
+ &:nth-child(even) {
202
202
  width: 40%;
203
203
  margin-left: 0%;
204
204
  max-width: 300px;
205
205
  }
206
- &:nth-of-type(3) {
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.8
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-13 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass