Permalink
Browse files

Enabled all Sass 3.2 features

  • Loading branch information...
1 parent cd309cc commit 1cb8dcbfafd6f18319355af2994518ff865071c7 @anthonyshort committed May 11, 2012
View
@@ -1,3 +1,3 @@
module Stitch
- VERSION = "0.2.0.alpha"
+ VERSION = "0.1.5"
end
View
@@ -1,2 +1 @@
-@import 'stitch/patterns';
-@import 'stitch/reset';
+@import 'stitch/patterns';
@@ -1,7 +1,6 @@
@import 'utilities';
@import 'patterns/accessibility';
@import 'patterns/animation';
-//@import 'patterns/css3';
@import 'patterns/color';
@import 'patterns/forms';
@import 'patterns/images';
@@ -11,3 +10,6 @@
@import 'patterns/print';
@import 'patterns/text';
@import 'patterns/responsive';
+
+// Disabled by default. Need to opt in to use them
+// @import 'patterns/vendor-prefixes';
@@ -1,3 +1,3 @@
@import 'animation/hardware-acceleration';
@import 'animation/timing-functions';
-//@import 'animation/keyframes';
+@import 'animation/keyframes';
@@ -1,3 +1,3 @@
@import 'legacy/has-layout';
@import 'legacy/inline-block';
-//@import 'legacy/hacks';
+@import 'legacy/hacks';
@@ -3,4 +3,4 @@
@import 'text/hyphens';
@import 'text/rem';
@import 'text/justify';
-//@import 'text/selection';
+@import 'text/selection';
@@ -1,17 +1,17 @@
//
// Removes any text from an element and replaces it with an image
//
-.__image-replace {
+%stitch-image-replace {
display : block;
text-indent : -9999em;
overflow : hidden;
- background-repeat : no-repeat;
+ background-repeat : no-repeat;
text-align : left;
direction : ltr;
}
@mixin image-replace($img) {
- @extend .__image-replace;
+ @extend %stitch-image-replace;
height:image-height($img);
width:image-width($img);
background-image:image-url($img);
@@ -4,7 +4,7 @@
// Normally the parent will have no height.
// @see http://nicolasgallagher.com/micro-clearfix-hack/
//
-.__clearfix {
+.%stitch-clearfix {
&:before,
&:after {
content:"";
@@ -17,5 +17,5 @@
}
@mixin clear-floats {
- @extend .__clearfix;
+ @extend %stitch-clearfix;
}
@@ -1,7 +1,7 @@
@mixin ie6-hack {
- * html { @content }
+ * html & { @content }
}
@mixin ie7-hack {
- *+html { @content }
+ *+html & { @content }
}
@@ -2,7 +2,7 @@
// Cross-browser inline-block.
// @see http://www.quirksmode.org/css/display.html
//
-.__inline-block {
+%stitch-inline-block {
display:inline-block;
// IE7 fix
@@ -11,5 +11,5 @@
}
@mixin inline-block {
- @extend .__inline-block;
+ @extend %stitch-inline-block;
}

0 comments on commit 1cb8dcb

Please sign in to comment.