Get rid of pre-iOS-15 -webkit- prefixes

I mean, I don't care about anything lower tbh
This commit is contained in:
daudix
2024-09-14 05:06:48 +03:00
parent 4ead8a1396
commit 4ed42a397b
15 changed files with 28 additions and 112 deletions

View File

@ -1,7 +1,6 @@
input[type="radio"],
input[type="checkbox"],
input[type="color"] {
-webkit-appearance: none;
position: relative;
appearance: none;
transition: var(--transition);
@ -76,13 +75,10 @@ input[type="checkbox"] {
border-radius: calc(var(--rounded-corner-small) / 2);
&::before {
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M13.754 4.668c.176-.2.262-.461.246-.723a1 1 0 0 0-.34-.687 1 1 0 0 0-.726-.246 1 1 0 0 0-.688.34L5.95 10.547 3.707 8.3A1 1 0 0 0 2 9.01a1 1 0 0 0 .293.708l3 3c.195.195.465.3.742.293.278-.012.535-.133.719-.344zm0 0'/%3E%3C/svg%3E");
-webkit-mask-image: var(--icon);
-webkit-mask-size: cover;
top: -0.125rem;
left: -0.125rem;
transform-origin: bottom left;
mask-image: var(--icon);
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M13.754 4.668c.176-.2.262-.461.246-.723a1 1 0 0 0-.34-.687 1 1 0 0 0-.726-.246 1 1 0 0 0-.688.34L5.95 10.547 3.707 8.3A1 1 0 0 0 2 9.01a1 1 0 0 0 .293.708l3 3c.195.195.465.3.742.293.278-.012.535-.133.719-.344zm0 0'/%3E%3C/svg%3E");
mask-size: cover;
width: 1rem;
height: 1rem;
@ -108,7 +104,6 @@ input[type="checkbox"] {
}
&::before {
-webkit-mask-image: none;
top: 0.25rem;
left: 0.25rem;
transform: none;
@ -164,7 +159,6 @@ input[type="color"] {
}
input[type="range"] {
-webkit-appearance: none;
appearance: none;
transition: var(--transition);
box-shadow: var(--edge-highlight);
@ -178,7 +172,6 @@ input[type="range"] {
}
&::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
filter: brightness(0.9);
transition: var(--transition);