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", "extends": "stylelint-config-wikimedia/support-modern",
"rules": { "rules": {
"no-descending-specificity": null, "no-descending-specificity": null,
"plugin/no-unsupported-browser-features": null, "plugin/no-unsupported-browser-features": null
"selector-pseudo-element-colon-notation": null
} }
} }

View file

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

View file

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

View file

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

View file

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