Adwaita: tweak list row transition

Thanks to Carlos Soriano expertise.
This commit is contained in:
Lapo Calamandrei 2014-10-16 14:12:13 +02:00
parent 142368f095
commit 52e91f1f74
3 changed files with 25 additions and 0 deletions

View File

@ -2485,6 +2485,13 @@ GtkScrolledWindow {
}
}
// transition
.list-row, list-row.button {
transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
&:hover { transition: none; }
}
/*********************
* App Notifications *
*********************/

View File

@ -3695,6 +3695,15 @@ GtkCalendar.header .list-row.button.titlebutton {
.list-row:selected .button:insensitive:active > .label, .list-row:selected .button:insensitive:checked > .label {
color: inherit; }
.list-row, list-row.button, .header-bar list-row.button.titlebutton,
.titlebar list-row.button.titlebutton,
GtkCalendar.header list-row.button.titlebutton {
transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.list-row:hover, list-row.button:hover, .header-bar list-row.button.titlebutton:hover,
.titlebar list-row.button.titlebutton:hover,
GtkCalendar.header list-row.button.titlebutton:hover {
transition: none; }
/*********************
* App Notifications *
*********************/

View File

@ -3856,6 +3856,15 @@ GtkCalendar.header .list-row.button.titlebutton {
.list-row:selected .button:insensitive:active > .label, .list-row:selected .button:insensitive:checked > .label {
color: inherit; }
.list-row, list-row.button, .header-bar list-row.button.titlebutton,
.titlebar list-row.button.titlebutton,
GtkCalendar.header list-row.button.titlebutton {
transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.list-row:hover, list-row.button:hover, .header-bar list-row.button.titlebutton:hover,
.titlebar list-row.button.titlebutton:hover,
GtkCalendar.header list-row.button.titlebutton:hover {
transition: none; }
/*********************
* App Notifications *
*********************/