Commit c971cbf0 authored by Phil Hughes's avatar Phil Hughes Committed by Annabel Dunstone Gray

Fixed sidebar context header hover colors

parent 81fd5764
...@@ -8,8 +8,8 @@ $active-color: $indigo-700; ...@@ -8,8 +8,8 @@ $active-color: $indigo-700;
$active-hover-background: $active-background; $active-hover-background: $active-background;
$active-hover-color: $gl-text-color; $active-hover-color: $gl-text-color;
$inactive-badge-background: rgba(0, 0, 0, .08); $inactive-badge-background: rgba(0, 0, 0, .08);
$hover-background: $indigo-700; $hover-background: $white-light;
$hover-color: $white-light; $hover-color: $gl-text-color;
$inactive-color: $gl-text-color-secondary; $inactive-color: $gl-text-color-secondary;
$new-sidebar-width: 220px; $new-sidebar-width: 220px;
...@@ -31,6 +31,7 @@ $new-sidebar-width: 220px; ...@@ -31,6 +31,7 @@ $new-sidebar-width: 220px;
.context-header { .context-header {
position: relative; position: relative;
margin-right: 2px;
a { a {
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
...@@ -43,22 +44,16 @@ $new-sidebar-width: 220px; ...@@ -43,22 +44,16 @@ $new-sidebar-width: 220px;
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
padding-right: 30px; padding-right: 30px;
} }
}
&:hover { &:hover,
background-color: $hover-background; a:hover {
color: $hover-color; background-color: $hover-background;
border-color: $hover-background; color: $hover-color;
.avatar-container {
border-color: transparent;
}
.settings-avatar {
background-color: $indigo-500;
i { .settings-avatar {
color: $hover-color; i {
} color: $hover-color;
} }
} }
} }
...@@ -74,13 +69,6 @@ $new-sidebar-width: 220px; ...@@ -74,13 +69,6 @@ $new-sidebar-width: 220px;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
&:hover {
.close-nav-button {
color: $white-light;
}
}
.close-nav-button { .close-nav-button {
display: none; display: none;
position: absolute; position: absolute;
...@@ -90,6 +78,7 @@ $new-sidebar-width: 220px; ...@@ -90,6 +78,7 @@ $new-sidebar-width: 220px;
background-color: transparent; background-color: transparent;
border: 0; border: 0;
padding: 0 10px; padding: 0 10px;
color: $gl-text-color-secondary;
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
display: block; display: block;
...@@ -233,7 +222,7 @@ $new-sidebar-width: 220px; ...@@ -233,7 +222,7 @@ $new-sidebar-width: 220px;
&:not(.active) { &:not(.active) {
> a { > a {
margin-left: 1px; margin-left: 1px;
margin-right: 3px; margin-right: 2px;
} }
.sidebar-sub-level-items { .sidebar-sub-level-items {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment