stylesheets/compass-capucine/_helpers.sass in compass-capucine-0.1.2 vs stylesheets/compass-capucine/_helpers.sass in compass-capucine-0.2.0.rc1
- old
+ new
@@ -1,16 +1,6 @@
/*
- +unselectable
- +hidden
- +visually-hidden
- +clear-both
- +scale-img
- +selection
- +pressed-effect
- +vertical-gradient
- +fake-helvetica
- +smart-text-shadow
@import "compass/css3/images"
@import "compass/css3/text-shadow"
=unselectable()
@@ -82,10 +72,21 @@
=fake-helvetica($fonts: sans-serif)
font-family: Arial, $fonts
letter-spacing: -1px
=smart-text-shadow($color: #fff, $pixels: 1px)
- +text-shadow($color 0 $pixels 0)
+ @if $color
+ $c: $color
+ @else
+ $c: #fff
+
+ @if $pixels
+ $p: $pixels
+ @else
+ $p: 1px
+
+
+ +text-shadow($c 0 $p 0)
$capucine-helpers-classes: true !default
@if $capucine-helpers-classes == true
.unselectable