Use proper mixins

pull/10616/head
Alex P 2017-05-09 19:42:09 -07:00
parent 655113b17f
commit 1177cf5674
1 changed files with 2 additions and 10 deletions

View File

@ -58,11 +58,7 @@ $sidebar-logo-color: $g8-storm;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: $sidebar-width; width: $sidebar-width;
background: $sidebar-light; @include gradient-v($sidebar-light,$sidebar-dark);
background: -moz-linear-gradient(top, $sidebar-light 0%, $sidebar-dark 100%);
background: -webkit-linear-gradient(top, $sidebar-light 0%,$sidebar-dark 100%);
background: linear-gradient(to bottom, $sidebar-light 0%,$sidebar-dark 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$sidebar-light', endColorstr='$sidebar-dark',GradientType=0 );
&__logo { &__logo {
width: $sidebar-width; width: $sidebar-width;
@ -283,11 +279,7 @@ $sidebar-logo-color: $g8-storm;
} }
} }
&.active { &.active {
background: $sidebar-active-bg; @include gradient-h($sidebar-active-bg,$sidebar-active-accent);
background: -moz-linear-gradient(left, $sidebar-active-bg 0%, $sidebar-active-accent 100%);
background: -webkit-linear-gradient(left, $sidebar-active-bg 0%,$sidebar-active-accent 100%);
background: linear-gradient(to right, $sidebar-active-bg 0%,$sidebar-active-accent 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$sidebar-active-bg', endColorstr='$sidebar-active-accent',GradientType=1 );
color: $sidebar-icon-hover; color: $sidebar-icon-hover;
&:link, &:link,