mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
Update styles for active links
This commit is contained in:
@@ -1,21 +1,28 @@
|
|||||||
/** @define MenuItem */
|
/** @define MenuItem */
|
||||||
|
|
||||||
@import (reference) "shared/utilities/icons.less";
|
@import (reference) "shared/utilities/icons.less";
|
||||||
|
@import "shared/branding/colors.less";
|
||||||
|
|
||||||
.MenuItem {
|
.MenuItem {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: none;
|
flex: none;
|
||||||
|
|
||||||
|
transition: color 60ms;
|
||||||
|
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
min-height: 5.8rem;
|
min-height: 5.8rem;
|
||||||
min-width: 9.2rem;
|
min-width: 9.2rem;
|
||||||
color: black;
|
|
||||||
margin-right: 2rem;
|
margin-right: 2rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&:hover {
|
&, &:active, &:focus {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: @blue;
|
||||||
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
@@ -55,14 +62,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--active {
|
&--active {
|
||||||
flex-direction: column !important;
|
font-weight: bold;
|
||||||
justify-content: center !important;
|
|
||||||
background-color: rgba(255,255,255,0.35);
|
|
||||||
.MenuItem-hoverIcon {
|
|
||||||
display: flex;
|
|
||||||
opacity: 1 !important;
|
|
||||||
height: 22px !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&--right {
|
&--right {
|
||||||
|
|||||||
Reference in New Issue
Block a user