Add tint effect on card icons under "Apps"

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Robert Martinez authored and James Valleroy committed 2018-09-29 22:35:44 -04:00
1 parent 647139f17e
commit 4b0d48839e
1 file changed
+21
+21
View File
@@ -276,6 +276,27 @@ footer license-info p {
justify-content: center;
}
.card-icon img {
transition: filter 0.3s;
/* --- .installed ---*/
filter: contrast(0.2) sepia(1) hue-rotate(171deg) contrast(2);
/* TODO #1309: uninstalled state */
/* --- .uninstalled ---*/
/* filter: grayscale(1) opacity(0.5); */
/* --- .uninstalled:hover ---*/
/* filter: grayscale(1) opacity(1); */
}
/* #container-wrapper .card-icon img – is a bad hook! see #1349 */
.card:hover .card-icon img, #container-wrapper .card-icon img {
/* --- .installed:hover ---*/
filter: none;
}
a.menu_link {
text-decoration: none;
}