grip-grid-rails 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/grip-grid-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/_grip.scss +21 -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: 44a59dea21b49afc6295786c539901225e2d92a1
|
4
|
+
data.tar.gz: 5ee387ad6ae4893583fae02134557eb3d4f3d59c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39463cc9159348f38ef6ede05b05e290b4e8ddf5ff8af44ad4dfe64837ef65f780bcd59036bed7691bd88d3775162bc679c4e173e2d600b66d51addee97456b6
|
7
|
+
data.tar.gz: 1f645f9b2b83672b63e9a968c6727a13b47ce04fa9da5493af5088679464e05627f927243e69420362ecccf4bc6c63c23edede343f11dfb11e179ddf2a414968
|
@@ -130,29 +130,6 @@ $grip-enable-grid-cell-content-right: false !default;
|
|
130
130
|
}
|
131
131
|
|
132
132
|
|
133
|
-
////////////////////////////////////////
|
134
|
-
// #RESPOND-TO-MIXIN
|
135
|
-
////////////////////////////////////////
|
136
|
-
//
|
137
|
-
// Provides a way to hook into the breakpoints defined in `$grip-breakpoints`.
|
138
|
-
//
|
139
|
-
// 1. search breakpoint for alias
|
140
|
-
// 2. if alias exists, print out media query
|
141
|
-
//
|
142
|
-
@mixin grip-respond-to($alias) {
|
143
|
-
$query: map-get($grip-breakpoints, $alias); // [1]
|
144
|
-
|
145
|
-
@if ($query) { // [2]
|
146
|
-
@media #{$query} {
|
147
|
-
@content;
|
148
|
-
}
|
149
|
-
}
|
150
|
-
@else{
|
151
|
-
@error "No breakpoint found for #{$alias}";
|
152
|
-
}
|
153
|
-
}
|
154
|
-
|
155
|
-
|
156
133
|
|
157
134
|
|
158
135
|
|
@@ -317,3 +294,24 @@ $grip-enable-grid-cell-content-right: false !default;
|
|
317
294
|
text-align: right;
|
318
295
|
}
|
319
296
|
}
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
////////////////////////////////////////
|
303
|
+
// #GRID-WIDTHS
|
304
|
+
////////////////////////////////////////
|
305
|
+
//
|
306
|
+
// 1. output default width modifiers
|
307
|
+
// 2. if responsive flag is enabled, add responsive width modifiers
|
308
|
+
//
|
309
|
+
@include grip-create-widths($grip-widths); // [1]
|
310
|
+
|
311
|
+
@if $grip-enable-responsive { // [2]
|
312
|
+
@each $alias, $query in $grip-breakpoints {
|
313
|
+
@media #{$query} {
|
314
|
+
@include grip-create-widths($grip-widths, -at-#{$alias});
|
315
|
+
}
|
316
|
+
}
|
317
|
+
}
|