1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00

[ticket/12530] Show logo and policy in responsive

PHPBB3-12530
This commit is contained in:
PayBas 2014-09-19 11:57:20 +02:00
parent 66ecbd8545
commit 757c67b7d8
4 changed files with 19 additions and 19 deletions

View File

@ -1,5 +1,5 @@
<!-- IF S_TYPE == 1 -->
<div class="panel">
<div class="panel captcha-panel">
<div class="inner">
<h3 class="captcha-title">{L_CONFIRMATION}</h3>

View File

@ -1,5 +1,5 @@
<!-- IF S_TYPE == 1 -->
<div class="panel">
<div class="panel captcha-panel">
<div class="inner">
<h3 class="captcha-title">{L_CONFIRMATION}</h3>

View File

@ -1,5 +1,5 @@
<!-- IF S_TYPE == 1 -->
<div class="panel">
<div class="panel captcha-panel">
<div class="inner">
<h3 class="captcha-title">{L_CONFIRMATION}</h3>
@ -12,23 +12,15 @@
<dl>
<dt><label>{L_CONFIRM_CODE}{L_COLON}</label><br /><span>{L_RECAPTCHA_EXPLAIN}</span></dt>
<dd class="captcha">
<script type="text/javascript">
// <![CDATA[
<script>
var RecaptchaOptions = {
lang : '{LA_RECAPTCHA_LANG}',
theme : 'clean',
tabindex : <!-- IF $CAPTCHA_TAB_INDEX -->{$CAPTCHA_TAB_INDEX}<!-- ELSE -->10<!-- ENDIF -->
};
// ]]>
</script>
<script type="text/javascript" src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}"></script>
<script type="text/javascript">
// <![CDATA[
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
document.getElementById('recaptcha_table').style.direction = 'ltr';
<!-- ENDIF -->
// ]]>
</script>
<script src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}"></script>
<noscript>
<div>
<object data="{RECAPTCHA_SERVER}/noscript?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}" type="text/html" height="300" width="500"></object><br />
@ -37,6 +29,8 @@
</div>
</noscript>
<img class="recaptcha-responsive" style="display: none" alt="" width="71" height="36" src="{RECAPTCHA_SERVER}/img/clean/logo.png">
<span class="recaptcha-responsive" style="display: none"><a href="http://www.google.com/intl/{LA_RECAPTCHA_LANG}/policies/" target="_blank">Privacy &amp; Terms</a></span>
</dd>
</dl>
<!-- ELSE -->

View File

@ -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;
}
}