[gnome-shell/wip/sass: 43/73] theme: Match list row hover transition type of gtk
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/sass: 43/73] theme: Match list row hover transition type of gtk
- Date: Fri, 23 Jan 2015 14:35:55 +0000 (UTC)
commit 50edf910a0962287ca8127a82441d936a27921af
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Sat Oct 25 20:58:51 2014 +0200
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.
data/theme/_common.scss | 2 +-
data/theme/gnome-shell.css | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/_common.scss b/data/theme/_common.scss
index 914b323..dbe90cf 100644
--- a/data/theme/_common.scss
+++ b/data/theme/_common.scss
@@ -562,7 +562,7 @@ StScrollBar {
&:focus > .overview-icon,
&:selected > .overview-icon {
background-color: transparentize($fg_color,.9);
- transition-duration: 200ms;
+ transition-duration: 0ms;
border-image: none;
background-image: none;
}
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index b42ef56..ad0037b 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1477,7 +1477,7 @@ StScrollBar {
.grid-search-result:focus > .overview-icon,
.grid-search-result:selected > .overview-icon {
background-color: rgba(238, 238, 236, 0.1);
- transition-duration: 200ms;
+ transition-duration: 0ms;
border-image: none;
background-image: none; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]