gridle 1.0.9.2 → 1.0.9.3
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/gridle.rb +1 -1
- data/stylesheets/gridle/_gridle.scss +24 -23
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5555850d30c1d4dd3e269fddad75eabfe43f25b7
|
4
|
+
data.tar.gz: 5931f964befad51bcef61f9fae1d18cb077ce170
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 248d729e8f88c2265e48072e3a5d95765035f587fb91b09193e75abb0d56f3408aa8ff67274b74fc09877b3aced4cfe592d4b3abde6f637b679bfe56497614d3
|
7
|
+
data.tar.gz: 2cb83bb5b226fdb96744f9de4caafa0c32a442960c0b0976705809129cc08834927ec3e43dc243e5af78d4a3dec4511f782ab6fb5f829229071672093c041420
|
data/lib/gridle.rb
CHANGED
@@ -31,7 +31,7 @@
|
|
31
31
|
// @created 25.03.13
|
32
32
|
// @updated 20.11.13
|
33
33
|
// @author Olivier Bossel <olivier.bossel@gmail.com>
|
34
|
-
// @version 1.0.9.
|
34
|
+
// @version 1.0.9.3
|
35
35
|
// |------------------------------------------------------
|
36
36
|
// |------------------------------------------------------
|
37
37
|
|
@@ -217,7 +217,7 @@ $_gridle-state-15-classes : true !default;
|
|
217
217
|
-moz-box-sizing: border-box;
|
218
218
|
box-sizing: border-box;
|
219
219
|
|
220
|
-
@extend %gridle-clearfix
|
220
|
+
@extend %gridle-clearfix;
|
221
221
|
}
|
222
222
|
%gridle-container-debug-common {
|
223
223
|
background-color:#f5f5f5;
|
@@ -276,26 +276,7 @@ $_gridle-state-15-classes : true !default;
|
|
276
276
|
|
277
277
|
|
278
278
|
// Common css that cannot be extended cause of variables :
|
279
|
-
@mixin _gridle_grid_common() {
|
280
|
-
@extend %gridle-grid-common;
|
281
|
-
@if $gridle-direction == rtl {
|
282
|
-
float:right;
|
283
|
-
direction:rtl;
|
284
|
-
} @else {
|
285
|
-
float:left;
|
286
|
-
direction:ltr;
|
287
|
-
}
|
288
|
-
|
289
|
-
// set padding :;
|
290
|
-
padding:0 $gridle-gutter-width/2;
|
291
|
-
@if $gridle-debug == true {
|
292
|
-
#{$gridle-debug-selector} {
|
293
|
-
@extend %gridle-grid-debug-common;
|
294
|
-
}
|
295
|
-
}
|
296
|
-
}
|
297
279
|
@mixin _gridle_container_common() {
|
298
|
-
@extend %gridle-clearfix;
|
299
280
|
@extend %gridle-container-common;
|
300
281
|
// debug part :
|
301
282
|
@if ($gridle-debug == true) {
|
@@ -316,6 +297,27 @@ $_gridle-state-15-classes : true !default;
|
|
316
297
|
}
|
317
298
|
}
|
318
299
|
}
|
300
|
+
@mixin _gridle_grid_common() {
|
301
|
+
@extend %gridle-grid-common;
|
302
|
+
@if $gridle-direction == rtl {
|
303
|
+
float:right;
|
304
|
+
direction:rtl;
|
305
|
+
} @else {
|
306
|
+
float:left;
|
307
|
+
direction:ltr;
|
308
|
+
}
|
309
|
+
|
310
|
+
// set padding :;
|
311
|
+
padding:0 $gridle-gutter-width/2;
|
312
|
+
@if $gridle-debug == true {
|
313
|
+
#{$gridle-debug-selector} {
|
314
|
+
@extend %gridle-grid-debug-common;
|
315
|
+
}
|
316
|
+
}
|
317
|
+
}
|
318
|
+
@mixin _gridle_parent_common() {
|
319
|
+
@extend %gridle-parent-common;
|
320
|
+
}
|
319
321
|
@mixin _gridle_push_common() {
|
320
322
|
// extend common :
|
321
323
|
@extend %gridle-push-pull-common;
|
@@ -1132,6 +1134,7 @@ $_gridle-state-15-classes : true !default;
|
|
1132
1134
|
@mixin gridle_parent(
|
1133
1135
|
$state : null
|
1134
1136
|
) {
|
1137
|
+
@include _gridle_parent_common();
|
1135
1138
|
@if $state {
|
1136
1139
|
@include gridle_state($state) {
|
1137
1140
|
@include _gridle_parent();
|
@@ -1141,8 +1144,6 @@ $_gridle-state-15-classes : true !default;
|
|
1141
1144
|
}
|
1142
1145
|
}
|
1143
1146
|
@mixin _gridle_parent() {
|
1144
|
-
@extend %gridle-parent-common;
|
1145
|
-
|
1146
1147
|
@include gridle_no_gutter();
|
1147
1148
|
}
|
1148
1149
|
|