yannstatic/_sass/common/classes/_split-line.scss

25 lines
516 B
SCSS
Raw Normal View History

2024-10-31 20:18:37 +01:00
@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;
}
}