mediawiki-extensions-Confir.../FancyCaptcha/resources/ext.confirmEdit.fancyCaptcha.less
Bartosz Dziewoński 6b88d04657 Fix captcha image overflow
Bug: T358024
Change-Id: Ibbbd434a06f683ed9aae0d80ec04ee4df9864a50
(cherry picked from commit 24ca43e5ca)
2024-04-24 00:32:24 +00:00

45 lines
942 B
Plaintext

@import 'mediawiki.mixins.less';
/* Prevents the size of the container from changing, affecting page
layout, for normal CAPTCHA sizes. */
.fancycaptcha-image-container {
min-height: 95px;
position: relative; /* to position Reload link within this */
display: inline-block;
}
.fancycaptcha-image {
max-width: 100%;
}
.fancycaptcha-reload {
.background-image( 'images/refresh.svg' );
background-position: left center;
background-repeat: no-repeat;
background-size: 12px 12px;
margin: 0 0 0 3px;
padding: 1px 2px 1px 12px;
color: #0645ad;
cursor: pointer;
cursor: hand;
}
.client-nojs .fancycaptcha-reload {
display: none;
}
.fancycaptcha-reload:hover {
text-decoration: underline;
}
.fancycaptcha-reload-loading {
/* @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;
}