Add top and bottom shadows to app browser

Add a 'vshadow' property to StScrollView, which, when turned on,
overlays gradient shadows on the top and bottom of the StScrollView.

Turn this on for the StScrollView used for the app browser.
https://bugzilla.gnome.org/show_bug.cgi?id=609604
This commit is contained in:
Maxim Ermilov
2010-02-23 01:07:42 +03:00
parent d8800c095a
commit fc39919856
4 changed files with 157 additions and 7 deletions

View File

@ -41,6 +41,22 @@ StScrollView
scrollbar-height: 16px;
}
StScrollView > .top-shadow
{
background-gradient-direction: vertical;
background-gradient-start: rgba(0, 0, 0, 255);
background-gradient-end: rgba(0, 0, 0, 0);
height: 30px;
}
StScrollView > .bottom-shadow
{
background-gradient-direction: vertical;
background-gradient-start: rgba(0, 0, 0, 0);
background-gradient-end: rgba(0, 0, 0, 255);
height: 30px;
}
StScrollBar {
background-color: #080808;
border: 1px solid #2d2d2d;