stylesheets/stitch/patterns/legacy/_inline-block.scss in stitch-0.0.3 vs stylesheets/stitch/patterns/legacy/_inline-block.scss in stitch-0.1.0
- old
+ new
@@ -1,15 +1,15 @@
/*
Cross-browser inline-block.
+ @see http://www.quirksmode.org/css/display.html
*/
+.__inline-block {
+ display:inline-block;
+
+ /* IE7 fix */
+ *display:inline;
+ *zoom:1;
+}
+
@mixin inline-block {
- & {
- *display : inline;
- }
- display : -moz-inline-box;
- -moz-box-orient : vertical;
- display : inline-block;
- vertical-align : middle;
- & {
- *vertical-align : auto;
- }
+ @extend .__inline-block;
}
\ No newline at end of file