Drop usage of mobile.ajax.styles
From now on we'll make use of ConfirmEdit's styles. Depends-On: Ic3a8c2cfce92659d5efc4da8799613afba544cea Bug: T213775 Change-Id: I0a602a20178998ae997b6e5498b6548610936acd
This commit is contained in:
parent
de3439ffff
commit
8cf642aa00
@ -149,9 +149,6 @@ class MinervaHooks {
|
|||||||
break;
|
break;
|
||||||
case 'Userlogin':
|
case 'Userlogin':
|
||||||
case 'CreateAccount':
|
case 'CreateAccount':
|
||||||
// FIXME: Note mobile.ajax.styles should not be necessary here.
|
|
||||||
// It's used by the Captcha extension (see T162196)
|
|
||||||
$out->addModuleStyles( [ 'mobile.ajax.styles' ] );
|
|
||||||
// Add default warning message to Special:UserLogin and Special:UserCreate
|
// Add default warning message to Special:UserLogin and Special:UserCreate
|
||||||
// if no warning message set.
|
// if no warning message set.
|
||||||
if (
|
if (
|
||||||
|
@ -29,22 +29,6 @@
|
|||||||
&.fancycaptcha-reload {
|
&.fancycaptcha-reload {
|
||||||
color: @colorGray7;
|
color: @colorGray7;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: none;
|
|
||||||
|
|
||||||
/* stylelint-disable no-descending-specificity */
|
|
||||||
&:before {
|
|
||||||
// Note icon is provided in mobile.ajax
|
|
||||||
content: '';
|
|
||||||
background-position: center left;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
.background-size( 16px, 16px );
|
|
||||||
width: 1em;
|
|
||||||
height: 1em;
|
|
||||||
display: inline-block;
|
|
||||||
padding-right: 8px;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
/* stylelint-enable no-descending-specificity */
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user