theme: Match list row hover transition type of gtk

Currently we animate in both sides, hover on and hover off, and with
200ms. The downside of that it that it feels sluggish when passing with
the mouse hovering few items because the on transition is slow.

Match what gtk did for fix this for list rows hover state at
commit 52e91f1f74ecb943d, animating only on off hover. However,
gnome-shell doesn't support different kind of transitions for its css,
that will be lovely to have a easeOutQuad as well here.
This commit is contained in:
Carlos Soriano 2014-10-25 20:58:51 +02:00 committed by Florian Müllner
parent 5e9d491480
commit 95a6e52f1a
2 changed files with 2 additions and 2 deletions

View File

@ -559,7 +559,7 @@ StScrollBar {
&:focus .overview-icon, &:focus .overview-icon,
&:selected .overview-icon { &:selected .overview-icon {
background-color: transparentize($fg_color,.9); background-color: transparentize($fg_color,.9);
transition-duration: 200ms; transition-duration: 0ms;
border-image: none; border-image: none;
background-image: none; background-image: none;
} }

View File

@ -1470,7 +1470,7 @@ StScrollBar {
.grid-search-result:focus .overview-icon, .grid-search-result:focus .overview-icon,
.grid-search-result:selected .overview-icon { .grid-search-result:selected .overview-icon {
background-color: rgba(238, 238, 236, 0.1); background-color: rgba(238, 238, 236, 0.1);
transition-duration: 200ms; transition-duration: 0ms;
border-image: none; border-image: none;
background-image: none; } background-image: none; }