juliana 0.0.8 → 0.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/sass/juliana/_arrows.scss +9 -4
  2. metadata +1 -1
@@ -38,7 +38,6 @@
38
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 ) {
39
39
 
40
40
  position: $position;
41
- -webkit-transform: rotate(360deg); // force antialiasing
42
41
 
43
42
  @if ( $direction == 'down' or $direction == 'up' or $direction == 'right' ) {
44
43
  padding-right: $padding;
@@ -47,11 +46,17 @@
47
46
  @if ( $direction == 'left' ) {
48
47
  padding-left: $padding;
49
48
  }
50
-
51
- &:after,
52
- &:before {
49
+
50
+ $selector: '&:after';
51
+
52
+ @if ( $shadow_color ) {
53
+ $selector: '&:before, ' + $selector;
54
+ }
55
+
56
+ #{$selector} {
53
57
  @include pseudo;
54
58
  right: $offset - $size;
59
+ -webkit-transform: rotate(360deg); // force antialiasing
55
60
  }
56
61
 
57
62
  &:after {
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.8
4
+ version: 0.0.81
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: