2019-12-27 13:53:17 +00:00
|
|
|
/*
|
2022-11-24 03:25:31 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for MediaWiki
|
|
|
|
* Module: mediawiki.special.userlogin.login.styles
|
|
|
|
* Version: REL1_39
|
|
|
|
*
|
|
|
|
* Date: 2022-11-23
|
2019-12-27 13:53:17 +00:00
|
|
|
*/
|
2022-11-25 03:19:52 +00:00
|
|
|
#userloginForm {
|
|
|
|
> .mw-htmlform > div {
|
|
|
|
// Allow to reorder the form through CSS
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Username field
|
|
|
|
.loginText {
|
|
|
|
order: -3;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Password field
|
|
|
|
.loginPassword {
|
|
|
|
order: -2;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Forgot password field
|
|
|
|
// HACK: Move to the bottom of the password field
|
|
|
|
.mw-userlogin-help + .mw-form-related-link-container {
|
|
|
|
order: -1;
|
|
|
|
margin-top: ~'calc( var(--space-sm) * -1 )';
|
|
|
|
font-size: 0.875rem;
|
|
|
|
text-align: end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-userlogin-rememberme {
|
|
|
|
font-size: 0.875rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#mw-createaccount-cta {
|
|
|
|
width: auto; // should align to the rest of the form
|
|
|
|
border-top: 1px solid var( --border-color-base );
|
|
|
|
margin-top: var( --space-md );
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
2019-12-27 13:53:17 +00:00
|
|
|
|
2022-11-24 03:25:31 +00:00
|
|
|
#mw-createaccount-join {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
color: var( --color-primary );
|
2019-12-27 13:53:17 +00:00
|
|
|
|
2022-11-24 03:25:31 +00:00
|
|
|
&:hover {
|
|
|
|
border-color: transparent;
|
|
|
|
background-color: var( --color-surface-2--hover );
|
2019-12-27 13:53:17 +00:00
|
|
|
}
|
|
|
|
|
2022-11-24 03:25:31 +00:00
|
|
|
&:active {
|
|
|
|
border-color: transparent;
|
|
|
|
background-color: var( --color-surface-2--active );
|
|
|
|
color: var( --color-primary );
|
2019-12-27 13:53:17 +00:00
|
|
|
}
|
|
|
|
|
2022-11-24 03:25:31 +00:00
|
|
|
&:focus {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
2019-12-27 13:53:17 +00:00
|
|
|
}
|
|
|
|
}
|