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

Via stylelint --fix

Change-Id: I14b992b0313f093325c9c6f5109bae9ce26ebc2c
This commit is contained in:
Umherirrender 2023-03-30 00:24:47 +02:00
parent a08e5287ec
commit 03d44330a6
3 changed files with 8 additions and 9 deletions

View file

@ -6,7 +6,6 @@
"rules": {
"declaration-no-important": null,
"selector-max-id": null,
"declaration-property-unit-disallowed-list": null,
"selector-pseudo-element-colon-notation": null
"declaration-property-unit-disallowed-list": null
}
}

View file

@ -32,13 +32,13 @@
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #36c;
opacity: 1;
&:after {
&::after {
border-color: #36c;
}
}
// Counter
&:after {
&::after {
position: absolute;
display: inline-block;
cursor: pointer;
@ -63,7 +63,7 @@
&.mw-echo-notifications-badge-long-label {
margin-right: 0.5em;
&:after {
&::after {
left: 35%;
}
}
@ -71,7 +71,7 @@
&.mw-echo-notifications-badge-all-read {
opacity: 0.51;
&:after {
&::after {
visibility: hidden;
}
}
@ -79,11 +79,11 @@
&.oo-ui-flaggedElement-unseen,
&.mw-echo-unseen-notifications {
#pt-notifications-alert &:after {
#pt-notifications-alert &::after {
background-color: @badge-counter-background-unseen-alert;
}
#pt-notifications-notice &:after {
#pt-notifications-notice &::after {
background-color: @badge-counter-background-unseen-message;
}
}

View file

@ -16,7 +16,7 @@
margin-right: 0.5em;
display: inline-block;
&:first-letter {
&::first-letter {
text-transform: uppercase;
}
}