mirror of https://github.com/rancher/ui.git
more global menu fixes
This commit is contained in:
parent
9bab605022
commit
82f950f3cf
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue