use unprefixed CSS filter, available since Chrome 53

This commit is contained in:
tophf 2020-10-12 15:31:39 +03:00
parent 3c6a10f211
commit 32e38538c7
3 changed files with 1 additions and 10 deletions

View File

@ -550,8 +550,6 @@ a:hover {
.newUI .update-done .updated svg {
top: -4px;
position: relative;
/* unprefixed since Chrome 53 */
-webkit-filter: drop-shadow(0 4px 0 currentColor);
filter: drop-shadow(0 5px 0 currentColor);
}
@ -663,8 +661,6 @@ a:hover {
margin-left: -20px;
margin-right: 4px;
transition: opacity .5s, filter .5s;
/* unprefixed since Chrome 53 */
-webkit-filter: grayscale(1);
filter: grayscale(1);
/* workaround for the buggy CSS filter: images in the hidden overflow are shown on Mac */
backface-visibility: hidden;
@ -682,9 +678,7 @@ a:hover {
.newUI .entry:hover .target img {
opacity: 1;
/* unprefixed since Chrome 53 */
-webkit-filter: grayscale(0);
filter: grayscale(0);
filter: none;
}
/* Default, no update buttons */

View File

@ -631,13 +631,11 @@ function switchUI({styleOnly} = {}) {
}
` + (newUI.faviconsGray ? `
.newUI .target img {
-webkit-filter: grayscale(1);
filter: grayscale(1);
opacity: .25;
}
` : `
.newUI .target img {
-webkit-filter: none;
filter: none;
opacity: 1;
}

View File

@ -306,7 +306,6 @@
}
.colorpicker-theme-dark .colorpicker-input::-webkit-inner-spin-button {
-webkit-filter: invert(1);
filter: invert(1);
}