stylelint: Enable selector-pseudo-element-colon-notation

Via stylelint --fix

Change-Id: I5a9835a0faf610d8401b4bb80bae08999d7b9a0e
This commit is contained in:
Umherirrender 2023-03-30 01:14:34 +02:00
parent bc7a740b5f
commit 6b9eeb34d8
5 changed files with 10 additions and 11 deletions

View file

@ -2,7 +2,6 @@
"extends": "stylelint-config-wikimedia/support-modern",
"rules": {
"no-descending-specificity": null,
"plugin/no-unsupported-browser-features": null,
"selector-pseudo-element-colon-notation": null
"plugin/no-unsupported-browser-features": null
}
}

View file

@ -27,8 +27,8 @@ form#editform {
}
/* This disables margin collapse for the children */
.client-js #editform:before,
.client-js #editform:after {
.client-js #editform::before,
.client-js #editform::after {
content: ' ';
display: table;
}

View file

@ -131,8 +131,8 @@ body.rtl {
}
/* Self Clearing Floats */
.wikieditor-toolbar-table-dimension-fields:after,
.wikieditor-toolbar-dialog-wrapper:after {
.wikieditor-toolbar-table-dimension-fields::after,
.wikieditor-toolbar-dialog-wrapper::after {
visibility: hidden;
display: block;
font-size: 0;

View file

@ -38,7 +38,7 @@
/* stylelint-disable-next-line declaration-property-unit-disallowed-list */
line-height: 32px;
&:after {
&::after {
height: 32px;
}
}

View file

@ -53,7 +53,7 @@
padding-left: 18px;
padding-right: 12px;
&:before {
&::before {
content: '';
background: url( images/toolbar/arrow-down.svg ) center no-repeat;
display: block;
@ -86,7 +86,7 @@
text-decoration: none;
}
&:before {
&::before {
body.ltr &,
body.rtl & {
transform: rotate( 0 );
@ -162,7 +162,7 @@
text-decoration: none;
color: #222;
&:after {
&::after {
content: '';
background: url( images/toolbar/arrow-down.svg ) center no-repeat;
display: block;
@ -174,7 +174,7 @@
}
}
&.options-shown .label:after {
&.options-shown .label::after {
transform: rotate( 180deg );
}