mirror of
https://github.com/fleetdm/fleet
synced 2026-05-17 14:08:25 +00:00
44 lines
844 B
SCSS
44 lines
844 B
SCSS
.user-menu {
|
|
button {
|
|
background-color: transparent;
|
|
|
|
&.focus-visible {
|
|
border: 1px solid $ui-vibrant-blue-10;
|
|
border-right: 0;
|
|
}
|
|
&:focus:has(+ .dropdown-button__options--opened) {
|
|
.icon {
|
|
svg {
|
|
transform: rotate(180deg);
|
|
transition: transform 0.25s ease;
|
|
}
|
|
}
|
|
}
|
|
|
|
svg {
|
|
transition: transform 0.25s ease;
|
|
}
|
|
}
|
|
|
|
.dropdown-button__options {
|
|
padding: $pad-small;
|
|
right: 10px;
|
|
margin-top: 2px;
|
|
|
|
button {
|
|
display: inline-block;
|
|
min-width: 125px;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background-color: $ui-vibrant-blue-10;
|
|
color: $core-fleet-black;
|
|
}
|
|
}
|
|
|
|
.dropdown-button__option:last-child,
|
|
.dropdown-button__option:nth-last-child(2) {
|
|
border-top: 1px solid $ui-fleet-black-10;
|
|
}
|
|
}
|
|
}
|