mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-01 17:36:49 +00:00
03da361b97
- Refactor existing template data-related partials into CitizenComponent components - Re-implement user menu header as UserInfo - Add description text for anon and temp user in UserMenu --------- Co-authored-by: github-actions <github-actions@users.noreply.github.com>
56 lines
684 B
Plaintext
56 lines
684 B
Plaintext
.citizen-userMenu {
|
|
&__card {
|
|
.citizen-header-card( right );
|
|
|
|
.citizen-menu__heading {
|
|
.mixin-screen-reader-text;
|
|
}
|
|
}
|
|
}
|
|
|
|
#pt-createaccount,
|
|
#pt-login,
|
|
#pt-login-private,
|
|
#pt-logout {
|
|
a {
|
|
margin: var( --space-xs );
|
|
border: 1px solid var( --border-color-base );
|
|
border-radius: var( --border-radius--medium );
|
|
}
|
|
}
|
|
|
|
#pt-login {
|
|
a {
|
|
.button-blue;
|
|
|
|
&:hover {
|
|
.button-blue-hover;
|
|
}
|
|
|
|
&:active {
|
|
.button-blue-active;
|
|
}
|
|
}
|
|
}
|
|
|
|
#pt-logout {
|
|
a {
|
|
.button-red;
|
|
|
|
&:hover {
|
|
.button-red-hover;
|
|
}
|
|
|
|
&:active {
|
|
.button-red-active;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Checkbox hack
|
|
#citizen-userMenu__checkbox:checked {
|
|
~ .citizen-userMenu__card {
|
|
.citizen-card-show();
|
|
}
|
|
}
|