Florianschmidtwelzow has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231147

Change subject: Adjust styling of CAPTCHA in alpha
......................................................................

Adjust styling of CAPTCHA in alpha

Add styling rules that let the CAPTCHA section looks more like the
other fields in this form.

Bug: T87256
Change-Id: Iaff53c40c8c5536a87330669c558d3c3760f0190
---
M resources/skins.minerva.special.userlogin.styles/userlogin.less
1 file changed, 25 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/47/231147/1

diff --git a/resources/skins.minerva.special.userlogin.styles/userlogin.less 
b/resources/skins.minerva.special.userlogin.styles/userlogin.less
index 9fcf44d..f0f8493 100644
--- a/resources/skins.minerva.special.userlogin.styles/userlogin.less
+++ b/resources/skins.minerva.special.userlogin.styles/userlogin.less
@@ -128,6 +128,9 @@
                        #wpReason,
                        // real name in account creation is not so important on 
mobile
                        #wpRealName,
+                       // CAPTCHA's are well known by internet users, save the 
space of the explanation
+                       .captcha > p,
+                       .captcha label,
                        // Hide keep me logged in checkbox on mobile.
                        // FIXME: this should be checked by default on mobile. 
Use JavaScript to check this?
                        .mw-ui-checkbox {
@@ -189,5 +192,27 @@
                #mw-createaccount-another {
                        margin-top: @margin;
                }
+
+               // CAPTCHA style improvements
+               .captcha {
+                       text-align: center;
+                       border: solid 1px @colorGrayLight;
+                       border-radius: 2px;
+                       margin-top: @margin;
+
+                       #wpCaptchaWord {
+                               border-top: solid 1px @colorGrayLight;
+                       }
+
+                       // FancyCaptcha things
+                       .fancycaptcha-image-container,
+                       .fancycaptcha-image-container img {
+                               width: 100%;
+                       }
+
+                       .confirmedit-captcha-reload {
+                               position: relative;
+                       }
+               }
        }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/231147
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaff53c40c8c5536a87330669c558d3c3760f0190
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to