use unprefixed CSS filter, available since Chrome 53
This commit is contained in:
parent
3c6a10f211
commit
32e38538c7
|
@ -550,8 +550,6 @@ a:hover {
|
||||||
.newUI .update-done .updated svg {
|
.newUI .update-done .updated svg {
|
||||||
top: -4px;
|
top: -4px;
|
||||||
position: relative;
|
position: relative;
|
||||||
/* unprefixed since Chrome 53 */
|
|
||||||
-webkit-filter: drop-shadow(0 4px 0 currentColor);
|
|
||||||
filter: drop-shadow(0 5px 0 currentColor);
|
filter: drop-shadow(0 5px 0 currentColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -663,8 +661,6 @@ a:hover {
|
||||||
margin-left: -20px;
|
margin-left: -20px;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
transition: opacity .5s, filter .5s;
|
transition: opacity .5s, filter .5s;
|
||||||
/* unprefixed since Chrome 53 */
|
|
||||||
-webkit-filter: grayscale(1);
|
|
||||||
filter: grayscale(1);
|
filter: grayscale(1);
|
||||||
/* workaround for the buggy CSS filter: images in the hidden overflow are shown on Mac */
|
/* workaround for the buggy CSS filter: images in the hidden overflow are shown on Mac */
|
||||||
backface-visibility: hidden;
|
backface-visibility: hidden;
|
||||||
|
@ -682,9 +678,7 @@ a:hover {
|
||||||
|
|
||||||
.newUI .entry:hover .target img {
|
.newUI .entry:hover .target img {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
/* unprefixed since Chrome 53 */
|
filter: none;
|
||||||
-webkit-filter: grayscale(0);
|
|
||||||
filter: grayscale(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Default, no update buttons */
|
/* Default, no update buttons */
|
||||||
|
|
|
@ -631,13 +631,11 @@ function switchUI({styleOnly} = {}) {
|
||||||
}
|
}
|
||||||
` + (newUI.faviconsGray ? `
|
` + (newUI.faviconsGray ? `
|
||||||
.newUI .target img {
|
.newUI .target img {
|
||||||
-webkit-filter: grayscale(1);
|
|
||||||
filter: grayscale(1);
|
filter: grayscale(1);
|
||||||
opacity: .25;
|
opacity: .25;
|
||||||
}
|
}
|
||||||
` : `
|
` : `
|
||||||
.newUI .target img {
|
.newUI .target img {
|
||||||
-webkit-filter: none;
|
|
||||||
filter: none;
|
filter: none;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -306,7 +306,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.colorpicker-theme-dark .colorpicker-input::-webkit-inner-spin-button {
|
.colorpicker-theme-dark .colorpicker-input::-webkit-inner-spin-button {
|
||||||
-webkit-filter: invert(1);
|
|
||||||
filter: invert(1);
|
filter: invert(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user