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:
@ -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;
|
||||
|
Reference in New Issue
Block a user