stipe 0.0.3.7 → 0.0.3.8

Sign up to get free protection for your applications and to get access to all the features.
data/readme.md CHANGED
@@ -16,6 +16,9 @@ Stipe is a Compass Extension, so Compass is set as a depdency. You will need to
16
16
  For [reasons explained](/Anotheruiguy/toadstool/blob/master/doc-src/exploited-bug.md) please continue using the alpha gem and upgrading to Sass 3.2 will break Toadstool and Stipe.
17
17
 
18
18
  # Stipe Changelog
19
+ ## 0.0.3.8
20
+ * Addressed bugs with new Flexbox spec ... yeah, I did it wrong ;(
21
+
19
22
  ## 0.0.3.7
20
23
  * Updates to Toadstool nav and grid display for legacy browsers
21
24
  * Updates to flexbox to support legacy and new based on current support
@@ -141,6 +141,10 @@ $inset_shadow: em($ih-shadow) em($iv-shadow) em($iblur) em($is-shadow);
141
141
 
142
142
  ///////// flexbox arguments /////////
143
143
  // -----------------------------------
144
+ // Flexbox is still very experimental and there are issues with each browser implementation of this.
145
+ // As seen in tests, Webkit's version causes odd appearances of bottom scroll bar appearance
146
+ // based on number of items in the flexbox when encompassing the full width of the view.
147
+ // As result, Stipe's engineering is based on using flexboxlegacy and flexbox modernizer tests.
144
148
  @mixin flexbox (
145
149
  $width,
146
150
  $height,
@@ -159,18 +163,21 @@ $legacyPrefixes: $moz_webkit_support) {
159
163
  #{$prefix}box-align: $align;
160
164
  }
161
165
  }
162
- // As of 15.0.1 Mozilla does not support the new Flexbox spec
163
- @each $prefix in $webkit_ms_support {
166
+ //As of 15.0.1 Mozilla does not support the new Flexbox spec
167
+ //As of Chrome 21.0.1180.89 Webkit is to buggy to impliment, causes lower scoll bar
168
+ //IE10 only supports the newer flexbox spec and does not exibit the issues that Chrome/Webkit does
169
+ @each $prefix in $ms_support {
164
170
  .flexbox & {
165
171
  display: -ms-flexbox;
166
- display: -webkit-flex;
167
172
  #{$prefix}flex-direction: $direction;
168
173
  #{$prefix}flex-align: $align;
169
174
  #{$prefix}flex-pack: $pack;
170
175
  #{$prefix}flex-wrap: $wrap;
171
176
  }
172
177
  }
173
- .no-flexbox & {
178
+ // no-flexboxlegacy needs to be tested as Mozilla reports no-flexbox when testing for flexboxlegacy
179
+ // and causes a false positive when simply testing for no-flexbox.
180
+ .no-flexboxlegacy & {
174
181
  width: 100%;
175
182
  float: left;
176
183
  }
@@ -188,12 +195,12 @@ $legacyPrefixes: $moz_webkit_support) {
188
195
  #{$prefix}box-flex: $value;
189
196
  }
190
197
  }
191
- @each $prefix in $prefixes {
198
+ @each $prefix in $ms_support {
192
199
  .flexbox & {
193
200
  #{$prefix}flex: $value;
194
201
  }
195
202
  }
196
- .no-flexbox & {
203
+ .no-flexboxlegacy & {
197
204
  float: left;
198
205
  }
199
206
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.7
4
+ version: 0.0.3.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: