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