From 2a344ecc9061292b37bd868a6c5cc1b3e067f612 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Fri, 21 Aug 2015 10:45:29 -0400 Subject: [PATCH] updated the arrows --- root/scss/mixins/_off-canvas-arrow.scss | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/root/scss/mixins/_off-canvas-arrow.scss b/root/scss/mixins/_off-canvas-arrow.scss index 4beb816..07180f3 100644 --- a/root/scss/mixins/_off-canvas-arrow.scss +++ b/root/scss/mixins/_off-canvas-arrow.scss @@ -9,4 +9,34 @@ border-top: $size solid $color; border-bottom: 0; } +} +@mixin off-canvas-point($direction: right, $color: red, $size: 1rem) { + @if $direction == 'down' { + content: '>'; + transform: rotate(90deg); + color: $color; + height: $size; + width: $size; + font-size: $size; + font-weight: bold; + display: block; + } @if $direction == 'up' { + content: '>'; + transform: rotate(-90deg); + color: $color; + height: $size; + width: $size; + font-size: $size; + font-weight: bold; + display: block; + } @else if $direction == 'right' { + content: '>'; + transform: rotate(0deg); + color: $color; + height: $size; + width: $size; + font-size: $size; + font-weight: bold; + display: block; + } } \ No newline at end of file -- 2.17.1