juliana 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/sass/juliana/_arrows.scss +6 -3
  2. metadata +1 -1
@@ -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: relative;
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;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: juliana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: