From ac3ca9d8f82a8ec29034eea1c359e6d6654b29f9 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Wed, 9 Sep 2015 14:03:54 -0700 Subject: [PATCH] fix(thread-list): Depressed+active state needs to be different for immediate click feedback --- internal_packages/thread-list/stylesheets/thread-list.less | 7 ++++++- static/components/extra.less | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/internal_packages/thread-list/stylesheets/thread-list.less b/internal_packages/thread-list/stylesheets/thread-list.less index 9aff6b80a..f0af76e34 100644 --- a/internal_packages/thread-list/stylesheets/thread-list.less +++ b/internal_packages/thread-list/stylesheets/thread-list.less @@ -272,7 +272,12 @@ // stars -.thread-list .thread-icon-star:hover, +.thread-list .thread-icon-star:hover +{ + background-image:url(../static/images/thread-list/icon-star-@2x.png); + background-size: 16px; + -webkit-filter: brightness(90%); +} .thread-list .list-item:hover .thread-icon-none:hover { background-image:url(../static/images/thread-list/icon-star-action-hover-@2x.png); background-size: 16px; diff --git a/static/components/extra.less b/static/components/extra.less index bccb78c54..bbca240f1 100644 --- a/static/components/extra.less +++ b/static/components/extra.less @@ -81,3 +81,8 @@ background-image:url(../static/images/important/Icon-Important-HoverActive@2x.png); background-size: 16px; } +.mail-important-icon.active:hover { + background-image:url(../static/images/important/Icon-Important-Active@2x.png); + background-size: 16px; + -webkit-filter: brightness(90%); +}