mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-23 15:57:15 +00:00
stylelint: Enable selector-pseudo-element-colon-notation
Via stylelint --fix Change-Id: I5a9835a0faf610d8401b4bb80bae08999d7b9a0e
This commit is contained in:
parent
bc7a740b5f
commit
6b9eeb34d8
|
@ -2,7 +2,6 @@
|
|||
"extends": "stylelint-config-wikimedia/support-modern",
|
||||
"rules": {
|
||||
"no-descending-specificity": null,
|
||||
"plugin/no-unsupported-browser-features": null,
|
||||
"selector-pseudo-element-colon-notation": null
|
||||
"plugin/no-unsupported-browser-features": null
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,8 +27,8 @@ form#editform {
|
|||
}
|
||||
|
||||
/* This disables margin collapse for the children */
|
||||
.client-js #editform:before,
|
||||
.client-js #editform:after {
|
||||
.client-js #editform::before,
|
||||
.client-js #editform::after {
|
||||
content: ' ';
|
||||
display: table;
|
||||
}
|
||||
|
|
|
@ -131,8 +131,8 @@ body.rtl {
|
|||
}
|
||||
|
||||
/* Self Clearing Floats */
|
||||
.wikieditor-toolbar-table-dimension-fields:after,
|
||||
.wikieditor-toolbar-dialog-wrapper:after {
|
||||
.wikieditor-toolbar-table-dimension-fields::after,
|
||||
.wikieditor-toolbar-dialog-wrapper::after {
|
||||
visibility: hidden;
|
||||
display: block;
|
||||
font-size: 0;
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
/* stylelint-disable-next-line declaration-property-unit-disallowed-list */
|
||||
line-height: 32px;
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
height: 32px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
padding-left: 18px;
|
||||
padding-right: 12px;
|
||||
|
||||
&:before {
|
||||
&::before {
|
||||
content: '';
|
||||
background: url( images/toolbar/arrow-down.svg ) center no-repeat;
|
||||
display: block;
|
||||
|
@ -86,7 +86,7 @@
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:before {
|
||||
&::before {
|
||||
body.ltr &,
|
||||
body.rtl & {
|
||||
transform: rotate( 0 );
|
||||
|
@ -162,7 +162,7 @@
|
|||
text-decoration: none;
|
||||
color: #222;
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
content: '';
|
||||
background: url( images/toolbar/arrow-down.svg ) center no-repeat;
|
||||
display: block;
|
||||
|
@ -174,7 +174,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.options-shown .label:after {
|
||||
&.options-shown .label::after {
|
||||
transform: rotate( 180deg );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue