juliana 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/sass/juliana/_arrows.scss +6 -3
- metadata +1 -1
data/sass/juliana/_arrows.scss
CHANGED
@@ -30,12 +30,15 @@
|
|
30
30
|
//*
|
31
31
|
//* @param string [$padding]
|
32
32
|
//* Padding to add to the side of the element to account for arrow. Defaults to size of offset * 2 to center.
|
33
|
+
//*
|
34
|
+
//* @param string [$position]
|
35
|
+
//* The position of the parent element, defaulted to relative.
|
33
36
|
//*/
|
34
37
|
|
35
|
-
@mixin arrow ( $direction: right, $color: #fff, $parent_height: 27px, $shadow_color: rgba( #000, 0.35 ), $shadow_distance_x: 1px, $shadow_distance_y: 1px, $size: 4px, $offset: $size * 3, $padding: $offset * 2 ) {
|
38
|
+
@mixin arrow ( $direction: right, $color: #fff, $parent_height: 27px, $shadow_color: rgba( #000, 0.35 ), $shadow_distance_x: 1px, $shadow_distance_y: 1px, $size: 4px, $offset: $size * 3, $padding: $offset * 2, $position: relative ) {
|
36
39
|
|
37
|
-
position:
|
38
|
-
-webkit-transform:rotate(360deg); // force antialiasing
|
40
|
+
position: $position;
|
41
|
+
-webkit-transform: rotate(360deg); // force antialiasing
|
39
42
|
|
40
43
|
@if ( $direction == 'down' or $direction == 'up' or $direction == 'right' ) {
|
41
44
|
padding-right: $padding;
|