| 1 |
/* User login and signup forms */ |
| 2 |
@import 'mediawiki.skin.variables.less'; |
| 3 |
|
| 4 |
@width-login-form: @size-2800; |
| 5 |
|
| 6 |
.mw-htmlform { |
| 7 |
box-sizing: border-box; |
| 8 |
|
| 9 |
@media ( min-width: @min-width-breakpoint-tablet ) { |
| 10 |
width: @width-login-form; |
| 11 |
} |
| 12 |
} |
| 13 |
|
| 14 |
#mw-createaccount-join, |
| 15 |
.mw-htmlform-submit { |
| 16 |
width: 100%; |
| 17 |
justify-content: center; |
| 18 |
} |
| 19 |
|
| 20 |
.mw-htmlform .mw-secure { |
| 21 |
padding: 0 0 0 11px; |
| 22 |
display: flex; |
| 23 |
align-items: center; |
| 24 |
|
| 25 |
&--icon { |
| 26 |
padding-left: 4px; |
| 27 |
.cdx-mixin-css-icon( @cdx-icon-lock, @color-subtle, @size-icon-x-small ); |
| 28 |
} |
| 29 |
} |
| 30 |
|
| 31 |
#languagelinks { |
| 32 |
font-size: 0.8em; |
| 33 |
} |
| 34 |
|
| 35 |
/* shuffled CAPTCHA */ |
| 36 |
#mw-input-captchaWord { |
| 37 |
margin-top: 0.5em; |
| 38 |
} |
| 39 |
|
| 40 |
/* FIXME: These should be namespaced to mw-ext-confirmedit-fancycaptcha-, and really shouldn't be in core at all */ |
| 41 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 42 |
.fancycaptcha-captcha-container { |
| 43 |
background-color: @background-color-neutral-subtle; |
| 44 |
margin-bottom: 15px; |
| 45 |
border: @border-subtle; |
| 46 |
border-radius: @border-radius-base; |
| 47 |
padding: 8px; |
| 48 |
text-align: center; |
| 49 |
} |
| 50 |
|
| 51 |
.mw-createacct-captcha-assisted { |
| 52 |
display: block; |
| 53 |
margin-top: 0.5em; |
| 54 |
} |
| 55 |
|
| 56 |
/* Put a border around the fancycaptcha-image-container. */ |
| 57 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 58 |
.fancycaptcha-captcha-and-reload { |
| 59 |
border: @border-subtle; |
| 60 |
border-radius: @border-radius-base @border-radius-base 0 0; |
| 61 |
width: 100%; |
| 62 |
box-sizing: border-box; |
| 63 |
background-color: @background-color-base; |
| 64 |
} |
| 65 |
|
| 66 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 67 |
.fancycaptcha-captcha-container .mw-ui-input { |
| 68 |
margin-top: @position-offset-border-width-base; |
| 69 |
border-color: @border-color-subtle; |
| 70 |
border-radius: 0 0 @border-radius-base @border-radius-base; |
| 71 |
} |
| 72 |
|
| 73 |
/* Make the fancycaptcha-image-container full-width within its parent. */ |
| 74 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 75 |
.fancycaptcha-image-container { |
| 76 |
width: 100%; |
| 77 |
} |
| 78 |
|
| 79 |
.mw-createaccount-temp-warning { |
| 80 |
margin-bottom: @spacing-50; |
| 81 |
|
| 82 |
.mw-userLogin-icon { |
| 83 |
&--user-temporary { |
| 84 |
.cdx-mixin-css-icon(@cdx-icon-user-temporary); |
| 85 |
} |
| 86 |
} |
| 87 |
} |
| 88 |
|
| 89 |
.mw-login-flush-right { |
| 90 |
float: right; |
| 91 |
text-align: right; |
| 92 |
padding-right: 0; |
| 93 |
margin-right: 0; |
| 94 |
} |