Commit 948deb97 authored by Phil Hughes's avatar Phil Hughes

updated hover text color of main links in sidebar

fixed colors in fly-out navigation
fixed spacing in fly-out navigation
parent d6b2c870
...@@ -195,23 +195,32 @@ $new-sidebar-width: 220px; ...@@ -195,23 +195,32 @@ $new-sidebar-width: 220px;
> li { > li {
> a { > a {
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
margin-left: 4px;
margin-right: 2px; margin-right: 2px;
} }
&:hover {
color: $gl-text-color;
}
} }
&:not(.active) { &:not(.active) {
a {
margin-left: 1px;
margin-right: 3px;
}
.sidebar-sub-level-items { .sidebar-sub-level-items {
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
position: fixed; position: fixed;
top: 0; top: 0;
left: 219px; left: 220px;
width: 150px; width: 150px;
margin-top: -1px; margin-top: -1px;
padding: 1px; padding: 8px 1px;
background-color: $white-light; background-color: $white-light;
box-shadow: 2px 1px 3px $dropdown-shadow-color; box-shadow: 2px 1px 3px $dropdown-shadow-color;
border: 1px solid $gray-darker; border: 1px solid $gray-darker;
border-left: 0;
border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0;
&::before { &::before {
...@@ -248,6 +257,8 @@ $new-sidebar-width: 220px; ...@@ -248,6 +257,8 @@ $new-sidebar-width: 220px;
} }
a { a {
color: $gl-text-color;
&:hover, &:hover,
&:focus { &:focus {
background-color: $gray-darker; background-color: $gray-darker;
...@@ -266,6 +277,10 @@ $new-sidebar-width: 220px; ...@@ -266,6 +277,10 @@ $new-sidebar-width: 220px;
&.active { &.active {
background: $active-background; background: $active-background;
> a {
margin-left: 4px;
}
.badge { .badge {
color: $active-color; color: $active-color;
font-weight: 600; font-weight: 600;
...@@ -279,11 +294,6 @@ $new-sidebar-width: 220px; ...@@ -279,11 +294,6 @@ $new-sidebar-width: 220px;
&:not(.active):hover > a, &:not(.active):hover > a,
> a:hover { > a:hover {
background-color: $white-light; background-color: $white-light;
.badge {
background-color: $indigo-500;
color: $hover-color;
}
} }
} }
} }
......
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