mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
stylelint: Enable selector-pseudo-element-colon-notation
Via stylelint --fix Change-Id: I14b992b0313f093325c9c6f5109bae9ce26ebc2c
This commit is contained in:
parent
a08e5287ec
commit
03d44330a6
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
margin-right: 0.5em;
|
||||
display: inline-block;
|
||||
|
||||
&:first-letter {
|
||||
&::first-letter {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue