From 66ecbd8545ace2f402eeed9c2c10405635efa8b3 Mon Sep 17 00:00:00 2001 From: PayBas Date: Tue, 9 Sep 2014 22:30:37 +0200 Subject: [PATCH 1/3] [ticket/12530] Fix captcha challange image breaking responsive layout PHPBB3-12530 --- .../prosilver/template/captcha_default.html | 2 +- .../styles/prosilver/template/captcha_qa.html | 2 +- .../prosilver/template/captcha_recaptcha.html | 2 +- phpBB/styles/prosilver/theme/responsive.css | 19 +++++++++++++++++++ 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/phpBB/styles/prosilver/template/captcha_default.html b/phpBB/styles/prosilver/template/captcha_default.html index 550962db67..9feb87a391 100644 --- a/phpBB/styles/prosilver/template/captcha_default.html +++ b/phpBB/styles/prosilver/template/captcha_default.html @@ -10,7 +10,7 @@
-
{L_CONFIRM_CODE}
+
{L_CONFIRM_CODE}
diff --git a/phpBB/styles/prosilver/template/captcha_qa.html b/phpBB/styles/prosilver/template/captcha_qa.html index 1671987f63..2962ca893b 100644 --- a/phpBB/styles/prosilver/template/captcha_qa.html +++ b/phpBB/styles/prosilver/template/captcha_qa.html @@ -8,7 +8,7 @@

{L_CONFIRM_QUESTION_EXPLAIN}
-
+
diff --git a/phpBB/styles/prosilver/template/captcha_recaptcha.html b/phpBB/styles/prosilver/template/captcha_recaptcha.html index bde0c9df13..3b6ce29beb 100644 --- a/phpBB/styles/prosilver/template/captcha_recaptcha.html +++ b/phpBB/styles/prosilver/template/captcha_recaptcha.html @@ -11,7 +11,7 @@

{L_RECAPTCHA_EXPLAIN}
-
+
- - + + + +
diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index d15a3a5edc..8653042a69 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -351,23 +351,29 @@ fieldset.quick-login label[for="autologin"] { max-width: 260px; } - dd.captcha { + .captcha-panel dd.captcha { margin-left: 0; } - dd.captcha-image img { + .captcha-panel dd.captcha-image img { width: 100%; } #recaptcha_challenge_image, #recaptcha_response_field, .recaptchatable #recaptcha_image { - margin: 0 !important; width: 100% !important; height: auto !important; } - .recaptchatable #recaptcha_logo { - display: none !important; + + .recaptchatable tr td:last-child { + display: none; + } + + .captcha-panel .recaptcha-responsive { + display: inline-block !important; + margin-top: 10px; + vertical-align: middle; } } From 965894a8757e35261d631ec886137432e89244cc Mon Sep 17 00:00:00 2001 From: PayBas Date: Wed, 15 Oct 2014 12:08:55 +0200 Subject: [PATCH 3/3] [ticket/12530] Combine logo and TOS link into one PHPBB3-12530 --- phpBB/styles/prosilver/template/captcha_recaptcha.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpBB/styles/prosilver/template/captcha_recaptcha.html b/phpBB/styles/prosilver/template/captcha_recaptcha.html index dec999ad5d..aa4c756dcb 100644 --- a/phpBB/styles/prosilver/template/captcha_recaptcha.html +++ b/phpBB/styles/prosilver/template/captcha_recaptcha.html @@ -29,8 +29,7 @@ - - +