mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-30 18:04:15 +00:00
build: Run stylelint for less files
css was converted to less in I2c75e09dd3f89fa11fca311b4e1f8133946b01b1 Change-Id: I7a8a81b80c4b1b34416a3c2c7801e8f2dcca894a
This commit is contained in:
parent
0e4279750c
commit
cec79baa9d
|
@ -19,7 +19,7 @@ module.exports = function ( grunt ) {
|
||||||
},
|
},
|
||||||
stylelint: {
|
stylelint: {
|
||||||
all: [
|
all: [
|
||||||
'**/*.css',
|
'**/*.{css,less}',
|
||||||
'!node_modules/**',
|
'!node_modules/**',
|
||||||
'!vendor/**'
|
'!vendor/**'
|
||||||
]
|
]
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: Remove first selector 30 days after May 2021 parsercache expires */
|
/* TODO: Remove first selector 30 days after May 2021 parsercache expires */
|
||||||
.createboxInput[type="text"]:placeholder-shown ~ .createboxButton,
|
.createboxInput[ type='text' ]:placeholder-shown ~ .createboxButton,
|
||||||
.mw-inputbox-createbox:required:invalid ~ .mw-ui-button {
|
.mw-inputbox-createbox:required:invalid ~ .mw-ui-button {
|
||||||
/* appear like .mw-ui-input:disabled */
|
/* appear like .mw-ui-input:disabled */
|
||||||
background-color: @colorGray12;
|
background-color: @colorGray12;
|
||||||
|
|
Loading…
Reference in a new issue