1 @import "recipes/shape/polygon/triangle";
3 @mixin ui-helper-arrow($position: bottom, $width: 6px, $color: #fff)
9 @include ui-helper-arrow-element($position, $width, $color)
13 @mixin ui-helper-arrow-element($position: bottom, $width: 6px, $color: #fff, $margin-side: auto, $margin: auto)
21 $position-offset: 50%;
22 @if ($margin-side == auto)
33 @if ($position == top)
37 @if ($position == bottom)
41 @if ($position == top or $position == bottom)
43 left: $position-offset;
44 @if ($margin-side == center)
50 margin-#{$margin-side}: $margin;
54 @if ($position == left)
58 @if ($position == right)
62 @if ($position == left or $position == right)
64 top: $position-offset;
65 @if ($margin-side == center)
71 margin-#{$margin-side}: $margin;
75 @include triangle($position, $width, 0, $color);