Skip to content

Commit 9324c19

Browse files
committed
re-add selector-pseudo-element-colon-notation: double
1 parent b16eb84 commit 9324c19

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

frontend/src/styles/core.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ kbd {
374374
}
375375

376376
// mouseover texts
377-
[aria-label][data-balloon-pos]:after {
377+
[aria-label][data-balloon-pos]::after {
378378
font-family: var(--font);
379379
font-size: var(--balloon-font-size);
380380
line-height: var(--balloon-font-size);

frontend/src/styles/inputs.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ input[type="checkbox"] {
110110
position: relative;
111111
transition: background 0.125s;
112112
flex-shrink: 0;
113-
&:after {
113+
&::after {
114114
font-family: "Font Awesome";
115115
content: "\f00c";
116116
top: 0;
@@ -128,23 +128,23 @@ input[type="checkbox"] {
128128
color: transparent;
129129
}
130130

131-
&:checked:after {
131+
&:checked::after {
132132
color: var(--main-color);
133133
}
134-
&:hover:after {
134+
&:hover::after {
135135
color: var(--bg-color);
136136
}
137-
&:hover:checked:after {
137+
&:hover:checked::after {
138138
color: var(--text-color);
139139
}
140140

141141
&[disabled] {
142142
opacity: 0.33;
143143
pointer-events: none;
144-
&:hover:after {
144+
&:hover::after {
145145
color: var(--sub-alt-color);
146146
}
147-
&:hover:checked:after {
147+
&:hover:checked::after {
148148
color: var(--main-color);
149149
}
150150
}

frontend/src/styles/test.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,8 @@
740740
}
741741

742742
&.noBalloons {
743-
[aria-label][data-balloon-pos]:before,
744-
[aria-label][data-balloon-pos]:after {
743+
[aria-label][data-balloon-pos]::before,
744+
[aria-label][data-balloon-pos]::after {
745745
display: none;
746746
}
747747
}

stylelint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export default {
3131
"hue-degree-notation": null, // default: angle
3232
"media-feature-range-notation": null, // default: context
3333
"selector-not-notation": null, // default: complex
34-
"selector-pseudo-element-colon-notation": null, // add // default: double
3534

3635
// default pattern for these rules is a kebab case pattern
3736
"custom-property-pattern": null,

0 commit comments

Comments
 (0)