summaryrefslogtreecommitdiff
path: root/_sass/common/classes/_split-line.scss
blob: 4434c6f37c8c44c6bb8c7e63cdefb9b6903fc444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@mixin split-line($direction: default, $width: default, $color: default) {
  @if $direction == default {
    $direction: top;
  }
  @if $color == default {
    $color: $border-color-l;
  }
  @if $width == default {
    $width: 1px;
  }
  border: 0 solid $color;
  @if $direction == top {
    border-top-width: $width;
  }
  @if $direction == right {
    border-right-width: $width;
  }
  @if $direction == bottom {
    border-bottom-width: $width;
  }
  @if $direction == left {
    border-left-width: $width;
  }
}