Merge "Position the "Refresh" link over the image"

This commit is contained in:
jenkins-bot 2013-05-09 07:52:23 +00:00 committed by Gerrit Code Review
commit 87f02d40c3
2 changed files with 9 additions and 1 deletions

View file

@ -119,6 +119,7 @@ class FancyCaptcha extends SimpleCaptcha {
'alt' => ''
)
) .
$captchaReload .
"</div>\n" .
'<p>' .
Html::element( 'label', array(
@ -138,7 +139,6 @@ class FancyCaptcha extends SimpleCaptcha {
'tabindex' => 1
)
) . // tab in before the edit textarea
$captchaReload .
Html::element( 'input', array(
'type' => 'hidden',
'name' => 'wpCaptchaId',

View file

@ -7,6 +7,8 @@
layout, for normal CAPTCHA sizes. */
.fancycaptcha-image-container {
min-height: 95px;
position: relative; /* to position Reload link within this */
display: inline-block;
}
.client-nojs .fancycaptcha-reload {
@ -31,3 +33,9 @@ layout, for normal CAPTCHA sizes. */
/* @embed */
background: url(images/ajax-loader-10x10.gif) no-repeat scroll left center transparent;
}
.fancycaptcha-image-container .fancycaptcha-reload {
position: absolute;
bottom: 0;
right: 4px;
}