mediawiki-skins-Citizen/resources/skins.citizen.styles/components/UserMenu.less
alistair3149 76a39eafdf
perf(preferences): ️ rewrite to use dropdown component
Dropdown + Menu component are already doing the same thing.
We can just extend those and drop all the custom handling
2024-11-12 20:13:47 -05:00

51 lines
649 B
Plaintext

.citizen-userMenu {
.citizen-menu__card {
.citizen-menu__heading {
.sr-only;
}
}
}
#pt-createaccount,
#pt-login,
#pt-login-private,
#pt-logout {
a {
margin: var( --space-xs );
border: var( --border-width-base ) solid var( --border-color-base );
border-radius: var( --border-radius-medium );
}
.citizen-keyboard-hint-key {
display: none;
}
}
#pt-login {
a {
.button-progressive;
&:hover {
.button-progressive-hover;
}
&:active {
.button-progressive-active;
}
}
}
#pt-logout {
a {
.button-destructive;
&:hover {
.button-destructive-hover;
}
&:active {
.button-destructive-active;
}
}
}