Move border color to variable.
parent
5e5cc47428
commit
4d50ca10ed
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue