Move border color to variable.

header/meta/side-by-side
Icedream 2018-07-13 14:31:13 +02:00
parent 5e5cc47428
commit 4d50ca10ed
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 4 additions and 4 deletions

View File

@ -82,12 +82,12 @@ body {
@if $icedream-nav-tab-fix { @if $icedream-nav-tab-fix {
&:not(.active) { &:not(.active) {
border: 1px transparent solid; border: 1px transparent solid;
border-bottom-color: #aaa; border-bottom-color: $rekt-border-color;
&+div { &+div {
// rules here for all but first child that don't follow an active tab // rules here for all but first child that don't follow an active tab
&:hover { &:hover {
border-left-color: #aaa; border-left-color: $rekt-border-color;
} }
} }
} }
@ -95,13 +95,13 @@ body {
&:not(:last-child) { &:not(:last-child) {
// rules here for all but last child // rules here for all but last child
&:hover { &:hover {
border-right-color: #aaa; border-right-color: $rekt-border-color;
} }
} }
// rules here for all children // rules here for all children
&:hover { &:hover {
border-bottom-color: transparent; border-bottom-color: transparent;
border-top-color: #aaa; border-top-color: $rekt-border-color;
} }
} }
} }