more global menu fixes

This commit is contained in:
lvuch 2019-03-14 11:40:53 -07:00
parent 9bab605022
commit 82f950f3cf
1 changed files with 26 additions and 9 deletions

View File

@ -120,6 +120,11 @@ $nav-spacing: 4px;
background-color: $user-btn; background-color: $user-btn;
a { a {
&:hover {
text-decoration: none;
}
&::after { &::after {
content: ''; content: '';
border-left: 8px solid $user-btn; border-left: 8px solid $user-btn;
@ -130,17 +135,25 @@ $nav-spacing: 4px;
right: -8px; right: -8px;
} }
&:first-of-type:hover { &.text-white:hover {
color: white; background: mix($user-btn, black, 80%);
text-decoration: none;
background-color: mix($user-btn, black, 80%);
&::after { &::after {
border-left-color: mix($user-btn, black, 80%); border-left-color: mix($user-btn, black, 80%);
}
} }
} }
// &:first-of-type:hover {
// color: white;
// text-decoration: none;
// background: red;
// &::after {
// border-left-color: mix($user-btn, black, 80%);
// }
// }
}
.project-menu .global ul li a:hover { .project-menu .global ul li a:hover {
background: transparent; background: transparent;
} }
@ -305,8 +318,12 @@ $nav-spacing: 4px;
border-bottom: $table-border-color; border-bottom: $table-border-color;
ul .item.active { ul .item.active {
background: darken($accent-bg,2%); // background: darken($accent-bg,2%);
color: $link-color; background: $primary;
a {
// color: $link-color;
color: white;
}
} }
} }