mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-15 03:35:15 +00:00
12361c5f31
This adds HTML, CSS, and JS to FancyCaptcha output to refresh the image, which requests it via a new fancycaptchareload API. It also cleans up the Asirra class a little. Bug: 14230 Change-Id: I4e476f32de199534c9798fc78e8490b3ef91dd45
39 lines
621 B
CSS
39 lines
621 B
CSS
.fancycaptcha-wrapper {
|
|
display: table;
|
|
background-color: #FFF;
|
|
}
|
|
|
|
/* Prevents the size of the container from changing, affecting page
|
|
layout, for normal CAPTCHA sizes. */
|
|
.fancycaptcha-image-container {
|
|
min-height: 95px;
|
|
}
|
|
|
|
.fancycaptcha-reload {
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.client-nojs .fancycaptcha-reload {
|
|
display: none;
|
|
}
|
|
|
|
.fancycaptcha-reload-button {
|
|
padding: 5px;
|
|
}
|
|
|
|
.fancycaptcha-reload-button:hover {
|
|
cursor: pointer;
|
|
cursor: hand;
|
|
}
|
|
|
|
.fancycaptcha-reload-text {
|
|
color: #0645AD;
|
|
display: inline !important;
|
|
}
|
|
|
|
.fancycaptcha-reload-text:hover {
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
cursor: hand;
|
|
}
|