Make Show Applications button depress when held down

The way it currently exists is awkward and not how most virtual buttons
work. This patch causes the "clicked" look to occur when the button is held.

https://bugzilla.gnome.org/show_bug.cgi?id=692319
This commit is contained in:
Hashem Nasarat 2013-01-22 14:11:41 -05:00 committed by Allan Day
parent 660cfe707c
commit fe246470ce

View File

@ -959,7 +959,8 @@ StScrollBar StButton#vhandle:active {
color: white; color: white;
} }
.show-apps:checked > .overview-icon { .show-apps:checked > .overview-icon,
.show-apps:active > .overview-icon {
background-gradient-start: rgba(255, 255, 255, .05); background-gradient-start: rgba(255, 255, 255, .05);
background-gradient-end: rgba(255, 255, 255, .15); background-gradient-end: rgba(255, 255, 255, .15);
background-gradient-direction: vertical; background-gradient-direction: vertical;