flint-gs 1.3.2 → 1.3.3

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: 990764b2978eec1f7ab24118804c08e54e69bcc3
4
- data.tar.gz: 7ac80e47c010571f308eafc7923ed369ffe4612f
3
+ metadata.gz: 047363843a9efea116706e8f9c192313afdb3531
4
+ data.tar.gz: c3266f12f4a015a2b0dffc6247e903e47f12b319
5
5
  SHA512:
6
- metadata.gz: 9c39256af2c1067b72cf87212426123abd1a455331d107b2b4f06fde7d61e15614c3a6bb3ccde51b68e4f53d84a7297091af725c1c4e2352e041f5a23155eefc
7
- data.tar.gz: 2a147be38c26fa08cefa065f0eb52979d15b8a25a2f1bc9f56c2efb120fb49b1ab3668578f021d7c67c243cc121771b61c4d2c4fef7e1d0b6fc35d78a7447628
6
+ metadata.gz: c5d1a0ee8ebca1da1ab46f69a46f68e897acefb9f4657bb9775b97380670d9fb2084960a2bb99d1726c371ecfa10538dda7241f8c65c741927beed6d9df2850e
7
+ data.tar.gz: cd0275f482409c3cea15a6f99bd136c952fb4d94628c8259acc471b6e001fb8669ac0bc9a9065b07255b2e979c05d349b4a65118068b734e18fbd992f67f23f4
@@ -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.2"
8
+ VERSION = "1.3.3"
9
9
  DATE = "2014-05-20"
10
10
  end
11
11
 
@@ -736,22 +736,22 @@
736
736
  @for $i from 1 through length($key) {
737
737
  @if exists($flint, nth($key, $i)) {
738
738
  @if get-value(settings, grid) == "fluid" {
739
- @if is-highest-breakpoint(nth($key, $i)) {
740
- @media only screen and ( min-width: (calc-breakpoint(next, nth($key, $i), get-index(nth($key, $i))) + 1) ) {
739
+ @if is-highest-breakpoint($calcKey) {
740
+ @media only screen and ( min-width: (calc-breakpoint(next, $calcKey, $i) + 1) ) {
741
741
  @content;
742
742
  }
743
743
  } @else {
744
- @media only screen and ( min-width: (calc-breakpoint(next, nth($key, $i), get-index(nth($key, $i))) + if(is-lowest-breakpoint($key), 0, 1)) ) and ( max-width: calc-breakpoint(alias, nth($key, $i), get-index(nth($key, $i))) ) {
744
+ @media only screen and ( min-width: (calc-breakpoint(next, $calcKey, $i) + if(is-lowest-breakpoint($calcKey), 0, 1)) ) and ( max-width: calc-breakpoint(alias, $calcKey, $i) ) {
745
745
  @content;
746
746
  }
747
747
  }
748
748
  } @else if get-value(settings, grid) == "fixed" {
749
- @if is-highest-breakpoint(nth($key, $i)) {
750
- @media only screen and ( min-width: calc-breakpoint(alias, nth($key, $i), get-index(nth($key, $i))) ) {
749
+ @if is-highest-breakpoint($calcKey) {
750
+ @media only screen and ( min-width: calc-breakpoint(alias, $calcKey, $i) ) {
751
751
  @content;
752
752
  }
753
753
  } @else {
754
- @media only screen and ( min-width: calc-breakpoint(alias, nth($key, $i), get-index(nth($key, $i))) ) and ( max-width: (calc-breakpoint(next, nth($key, $i), get-index(nth($key, $i))) - 1) ) {
754
+ @media only screen and ( min-width: calc-breakpoint(alias, $calcKey, $i) ) and ( max-width: (calc-breakpoint(prev, $calcKey, $i) - 1) ) {
755
755
  @content;
756
756
  }
757
757
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flint-gs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse