stylelint: Enable selector-pseudo-element-colon-notation
Via stylelint --fix Change-Id: I77f14cac83e4422c7962339d1177da9e65b6a28e
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"extends": "stylelint-config-wikimedia",
|
||||
"rules": {
|
||||
"declaration-property-unit-disallowed-list": null,
|
||||
"selector-pseudo-element-colon-notation": null
|
||||
"declaration-property-unit-disallowed-list": null
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
// override grid styles, as we use flexbox here
|
||||
&.row {
|
||||
&:before,
|
||||
&:after {
|
||||
&::before,
|
||||
&::after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Generate a caret by embedding in the callout.
|
||||
// Expects callout to have either selector-right or selecter-left class on it to determine directionality.
|
||||
.caret() {
|
||||
&:before,
|
||||
&:after {
|
||||
&::before,
|
||||
&::after {
|
||||
border-top: 10px solid transparent;
|
||||
border-bottom: 10px solid transparent;
|
||||
display: inline-block;
|
||||
@@ -13,14 +13,14 @@
|
||||
}
|
||||
|
||||
&.selector-right {
|
||||
&:before {
|
||||
&::before {
|
||||
/* @noflip */
|
||||
border-left: 10px solid #c8ccd1;
|
||||
/* @noflip */
|
||||
right: -11px;
|
||||
}
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
/* @noflip */
|
||||
border-left: 10px solid #fff;
|
||||
/* @noflip */
|
||||
@@ -29,14 +29,14 @@
|
||||
}
|
||||
|
||||
&.selector-left {
|
||||
&:before {
|
||||
&::before {
|
||||
/* @noflip */
|
||||
border-right: 10px solid #c8ccd1;
|
||||
/* @noflip */
|
||||
left: -11px;
|
||||
}
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
/* @noflip */
|
||||
border-right: 10px solid #fff;
|
||||
/* @noflip */
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
padding-left: 0;
|
||||
|
||||
// Putting the icon in before in order to apply `opacity`.
|
||||
&:before {
|
||||
&::before {
|
||||
content: '';
|
||||
background-image: url( ../../lib/jquery.uls/images/language.svg );
|
||||
// Same values as Vector's `#pt-userpage a`.
|
||||
|
||||
Reference in New Issue
Block a user