mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-03 11:57:13 +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": {
|
"rules": {
|
||||||
"declaration-no-important": null,
|
"declaration-no-important": null,
|
||||||
"selector-max-id": null,
|
"selector-max-id": null,
|
||||||
"declaration-property-unit-disallowed-list": null,
|
"declaration-property-unit-disallowed-list": null
|
||||||
"selector-pseudo-element-colon-notation": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,13 +32,13 @@
|
||||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #36c;
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #36c;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
||||||
&:after {
|
&::after {
|
||||||
border-color: #36c;
|
border-color: #36c;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Counter
|
// Counter
|
||||||
&:after {
|
&::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
&.mw-echo-notifications-badge-long-label {
|
&.mw-echo-notifications-badge-long-label {
|
||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
|
|
||||||
&:after {
|
&::after {
|
||||||
left: 35%;
|
left: 35%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
&.mw-echo-notifications-badge-all-read {
|
&.mw-echo-notifications-badge-all-read {
|
||||||
opacity: 0.51;
|
opacity: 0.51;
|
||||||
|
|
||||||
&:after {
|
&::after {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -79,11 +79,11 @@
|
||||||
|
|
||||||
&.oo-ui-flaggedElement-unseen,
|
&.oo-ui-flaggedElement-unseen,
|
||||||
&.mw-echo-unseen-notifications {
|
&.mw-echo-unseen-notifications {
|
||||||
#pt-notifications-alert &:after {
|
#pt-notifications-alert &::after {
|
||||||
background-color: @badge-counter-background-unseen-alert;
|
background-color: @badge-counter-background-unseen-alert;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pt-notifications-notice &:after {
|
#pt-notifications-notice &::after {
|
||||||
background-color: @badge-counter-background-unseen-message;
|
background-color: @badge-counter-background-unseen-message;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
||||||
&:first-letter {
|
&::first-letter {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue