Skip to content

Commit 60e28f0

Browse files
committed
re-add property-no-vendor-prefix
1 parent 5b6bef0 commit 60e28f0

10 files changed

Lines changed: 7 additions & 37 deletions

File tree

frontend/src/styles/account.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152

153153
&.history {
154154
table td {
155-
-webkit-appearance: unset;
155+
appearance: unset;
156156
}
157157

158158
table tr {
@@ -170,9 +170,8 @@
170170
padding: 0.5rem;
171171
border-radius: var(--roundness);
172172
cursor: pointer;
173-
-webkit-transition: 0.25s;
174173
transition: 0.25s;
175-
-webkit-user-select: none;
174+
user-select: none;
176175
display: -ms-grid;
177176
display: grid;
178177
-ms-flex-line-pack: center;

frontend/src/styles/buttons.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ input[type="submit"] {
3737
border-radius: var(--roundness);
3838
background: var(--sub-alt-color);
3939
text-align: center;
40-
-webkit-user-select: none;
4140
user-select: none;
4241
align-content: center;
4342
align-items: center;
@@ -114,7 +113,6 @@ button.text,
114113
border-radius: var(--roundness);
115114
background: none;
116115
text-align: center;
117-
-webkit-user-select: none;
118116
user-select: none;
119117
align-content: center;
120118
height: -moz-min-content;

frontend/src/styles/commandline.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
max-height: calc(100vh - 12rem - 3rem);
6666
display: grid;
6767
cursor: pointer;
68-
-webkit-user-select: none;
6968
user-select: none;
7069

7170
.command {

frontend/src/styles/core.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ kbd {
320320
color: var(--text-color);
321321
border-radius: calc(var(--roundness) / 2);
322322
// padding: 0.15em 0.5em;
323-
-webkit-user-select: none;
324323
user-select: none;
325324
display: grid;
326325
grid-template-columns: max-content auto;
@@ -400,7 +399,6 @@ table {
400399
z-index: 0;
401400
td.sortable:hover {
402401
cursor: pointer;
403-
-webkit-user-select: none;
404402
user-select: none;
405403
background-color: var(--sub-alt-color);
406404
}

frontend/src/styles/inputs.scss

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ textarea {
2525
top: -1.75rem;
2626
right: 0.25rem;
2727
color: var(--sub-color);
28-
-webkit-user-select: none;
2928
user-select: none;
3029
&.error {
3130
color: var(--error-color);
@@ -41,13 +40,13 @@ textarea {
4140
}
4241

4342
input[type="range"] {
44-
-webkit-appearance: none;
43+
appearance: none;
4544
padding: 0;
4645
width: 100%;
4746
height: 1.25em;
4847
border-radius: var(--roundness);
4948
&::-webkit-slider-thumb {
50-
-webkit-appearance: none;
49+
appearance: none;
5150
padding: 0;
5251
border: none;
5352
width: 25%;
@@ -63,7 +62,7 @@ input[type="range"] {
6362
}
6463

6564
&::-moz-range-thumb {
66-
-webkit-appearance: none;
65+
appearance: none;
6766
padding: 0;
6867
border: none;
6968
width: 25%;
@@ -175,15 +174,11 @@ textarea:disabled {
175174

176175
input[type="number"]::-webkit-inner-spin-button,
177176
input[type="number"]::-webkit-outer-spin-button {
178-
-webkit-appearance: none;
179-
-moz-appearance: none;
180177
appearance: none;
181178
margin: 0;
182179
}
183180

184181
input[type="number"] {
185-
-moz-appearance: textfield;
186-
-webkit-appearance: textfield;
187182
appearance: textfield;
188183
}
189184

@@ -201,7 +196,7 @@ select:-webkit-autofill:focus {
201196
outline: 0.15em solid var(--main-color);
202197
font-family: inherit;
203198
-webkit-text-fill-color: var(--text-color);
204-
-webkit-box-shadow: 0 0 0 1000000px var(--sub-alt-color) inset;
199+
box-shadow: 0 0 0 1000000px var(--sub-alt-color) inset;
205200
caret-color: var(--text-color);
206201
}
207202

@@ -314,7 +309,7 @@ select:-webkit-autofill:focus {
314309
color: var(--sub-color);
315310
}
316311
&::-webkit-search-cancel-button {
317-
-webkit-appearance: none;
312+
appearance: none;
318313
}
319314
}
320315
}

frontend/src/styles/keymap.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// height: 140px;
88
gap: 0.25rem;
99
margin-top: 1rem;
10-
-webkit-user-select: none;
1110
user-select: none;
1211

1312
.row {

frontend/src/styles/popups.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ body.darkMode {
258258
max-width: 465px;
259259
z-index: 100000001;
260260
// outline: 0.5rem solid var(--bg-color)
261-
-webkit-user-select: none;
262261
user-select: none;
263262
.main {
264263
display: grid;

frontend/src/styles/standalone.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ header {
4343
z-index: 3;
4444
align-items: center;
4545
gap: 0.5rem;
46-
-webkit-user-select: none;
4746
user-select: none;
4847

4948
#logo {
@@ -92,7 +91,6 @@ header {
9291
margin-top: -0.23em;
9392
}
9493
white-space: nowrap;
95-
-webkit-user-select: none;
9694
user-select: none;
9795
}
9896
}

frontend/src/styles/test.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@
197197
flex-wrap: wrap;
198198
width: 100%;
199199
align-content: flex-start;
200-
-webkit-user-select: none;
201200
user-select: none;
202201

203202
.newline {
@@ -343,7 +342,6 @@
343342
&.blurred {
344343
opacity: 0.25;
345344
filter: blur(4px);
346-
-webkit-filter: blur(4px);
347345
}
348346

349347
&.blind {
@@ -896,7 +894,6 @@
896894

897895
#resultReplay .words {
898896
user-select: none;
899-
-webkit-user-select: none;
900897
}
901898

902899
.chart {
@@ -1337,7 +1334,6 @@
13371334

13381335
&.blurred {
13391336
opacity: 0.25;
1340-
-webkit-filter: blur(4px);
13411337
filter: blur(4px);
13421338
}
13431339
}
@@ -1354,13 +1350,6 @@
13541350
overflow: visible clip;
13551351
&.tape {
13561352
overflow: hidden;
1357-
-webkit-mask-image: linear-gradient(
1358-
90deg,
1359-
rgba(0, 0, 0, 0) 1%,
1360-
rgb(0, 0, 0) 10%,
1361-
rgb(0, 0, 0) 90%,
1362-
rgba(0, 0, 0, 0) 99%
1363-
);
13641353
mask-image: linear-gradient(
13651354
90deg,
13661355
rgba(0, 0, 0, 0) 1%,
@@ -1388,7 +1377,6 @@
13881377
position: absolute;
13891378
transform: translateX(-50%);
13901379
top: -6rem;
1391-
-webkit-user-select: none;
13921380
user-select: none;
13931381
pointer-events: none;
13941382
opacity: 0;
@@ -1401,7 +1389,6 @@
14011389
z-index: 999;
14021390
position: absolute;
14031391
width: 100%;
1404-
-webkit-user-select: none;
14051392
user-select: none;
14061393
pointer-events: none;
14071394
}
@@ -1415,7 +1402,6 @@
14151402
margin-bottom: 0.5rem;
14161403
transition: opacity 0.125s;
14171404
justify-content: center;
1418-
-webkit-user-select: none;
14191405
user-select: none;
14201406

14211407
.textButton {

stylelint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export default {
1616

1717
"length-zero-no-unit": null, // default: [true, {ignore: ['custom-properties'], ignorePreludeOfAtRules: ['function', 'mixin'],},]
1818

19-
"property-no-vendor-prefix": null, // add
2019
"value-no-vendor-prefix": null, // add // default: [true, {ignoreValues: ['box', 'inline-box'],},] // `-webkit-box` is allowed as standard. See https://www.w3.org/TR/css-overflow-3/#webkit-line-clamp
2120

2221
"at-rule-empty-line-before": null, // default: ['always', {except: ['blockless-after-same-name-blockless', 'first-nested'], ignore: ['after-comment'],},]

0 commit comments

Comments
 (0)