flint-gs 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flint.rb +1 -1
- data/stylesheets/flint/mixins/lib/_flint-main.scss +9 -7
- 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: 210a1129993b21ac6ed638a82454840012f49440
|
4
|
+
data.tar.gz: 716791663896ff7ef1c7fc760d3b6666a7c40cf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cebfb52c50e200c7f2a38043c2ecd9d74a770b46a62a6d6742260bfcdf4e4e13e0a134e819d0fd29e99e326a56d3ae51d1916fea8e1b90c09bca8705e89e737
|
7
|
+
data.tar.gz: f51f260e8361be04529c55d4fbda139793d51743f6b026d4b6628207fd26e22524182e0dd1056aca2d3b9cb61e8637a83a6ba39e2f06b9ccd3f551c63f1ac940
|
data/lib/flint.rb
CHANGED
@@ -5,7 +5,7 @@ Compass::Frameworks.register('flint', :path => extension_path)
|
|
5
5
|
# Version is a number. If a version contains alphas, it will be created as a prerelease version
|
6
6
|
# Date is in the form of YYYY-MM-DD
|
7
7
|
module Flint
|
8
|
-
VERSION = "1.3.
|
8
|
+
VERSION = "1.3.5"
|
9
9
|
DATE = "2014-05-20"
|
10
10
|
end
|
11
11
|
|
@@ -734,24 +734,26 @@
|
|
734
734
|
// for key-x key-y key-z
|
735
735
|
} @else if length($key) > 1 and nth($key, 1) == "for" {
|
736
736
|
@for $i from 1 through length($key) {
|
737
|
-
|
737
|
+
$calcKey: nth($key, $i);
|
738
|
+
|
739
|
+
@if exists($flint, $calcKey) {
|
738
740
|
@if get-value(settings, grid) == "fluid" {
|
739
|
-
@if is-highest-breakpoint(
|
740
|
-
@media only screen and ( min-width: (calc-breakpoint(next,
|
741
|
+
@if is-highest-breakpoint($calcKey) {
|
742
|
+
@media only screen and ( min-width: (calc-breakpoint(next, $calcKey, get-index($calcKey)) + 1) ) {
|
741
743
|
@content;
|
742
744
|
}
|
743
745
|
} @else {
|
744
|
-
@media only screen and ( min-width: (calc-breakpoint(next,
|
746
|
+
@media only screen and ( min-width: (calc-breakpoint(next, $calcKey, get-index($calcKey)) + if(is-lowest-breakpoint($calcKey), 0, 1)) ) and ( max-width: calc-breakpoint(alias, $calcKey, get-index($calcKey)) ) {
|
745
747
|
@content;
|
746
748
|
}
|
747
749
|
}
|
748
750
|
} @else if get-value(settings, grid) == "fixed" {
|
749
|
-
@if is-highest-breakpoint(
|
750
|
-
@media only screen and ( min-width: calc-breakpoint(alias,
|
751
|
+
@if is-highest-breakpoint($calcKey) {
|
752
|
+
@media only screen and ( min-width: calc-breakpoint(alias, $calcKey, get-index($calcKey)) ) {
|
751
753
|
@content;
|
752
754
|
}
|
753
755
|
} @else {
|
754
|
-
@media only screen and ( min-width: calc-breakpoint(alias,
|
756
|
+
@media only screen and ( min-width: calc-breakpoint(alias, $calcKey, get-index($calcKey)) ) and ( max-width: (calc-breakpoint(prev, $calcKey, get-index($calcKey)) - 1) ) {
|
755
757
|
@content;
|
756
758
|
}
|
757
759
|
}
|