mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 00:01:05 +00:00
feat(core): ✨ change primary action links in user menu into buttons
Link such as sign up and sign in are converted into a button to make it more visible
This commit is contained in:
parent
b07babd2de
commit
ffa7d76df4
|
@ -350,10 +350,6 @@ class SkinHooks implements
|
|||
} else {
|
||||
// Remove anon user page text from user menu and recreate it in user info
|
||||
unset( $links['user-menu']['anonuserpage'] );
|
||||
// Remove links as they are added to the bottom of user menu later
|
||||
// unset( $links['user-menu']['createaccount'] );
|
||||
// unset( $links['user-menu']['login'] );
|
||||
// unset( $links['user-menu']['login-private'] );
|
||||
}
|
||||
|
||||
self::addIconsToMenuItems( $links, 'user-menu' );
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
.citizen-userMenu {
|
||||
&__card {
|
||||
.citizen-header-card( right );
|
||||
|
||||
.citizen-menu__heading {
|
||||
.mixin-screen-reader-text;
|
||||
}
|
||||
}
|
||||
|
||||
&__header {
|
||||
|
@ -84,6 +88,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
#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;
|
||||
|
|
Loading…
Reference in a new issue