mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-23 21:22:52 +00:00
eb74bc6080
To make sure this is code-ified I have added the rule selector-max-specificity to check specificity and error if we ever attempt to change this and to also prevent us from writing overly complicated selectors (for now the default is based on the status quo) Additional change is required to skinStyle file to accomodate the new rule. Bug: T373989 Change-Id: I3921d1fb3a098faae8f5a8bdc895783f1b298daa
13 lines
306 B
Plaintext
13 lines
306 B
Plaintext
/* stylelint-disable selector-max-specificity */
|
|
.skin-vector-legacy {
|
|
#pt-notifications-notice .mw-echo-notifications-badge,
|
|
#pt-notifications-alert .mw-echo-notifications-badge {
|
|
top: -5px;
|
|
}
|
|
|
|
#p-personal #pt-notifications-alert,
|
|
#p-personal #pt-notifications-notice {
|
|
margin-right: 0.4em;
|
|
}
|
|
}
|