Add css for scrolling

Port bits of Mx's default.css into gnome-shell.css, and use some
hand-rolled .pngs with colors from
http://live.gnome.org/GnomeShell/DesignerPlayground/ExpandedViewMockups

https://bugzilla.gnome.org/show_bug.cgi?id=591245
This commit is contained in:
Colin Walters 2009-09-10 01:38:00 -04:00 committed by Owen W. Taylor
parent b8d46422d5
commit 099b73a0c4
6 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,62 @@
/* Copyright 2009, Red Hat, Inc.
*
* Portions adapted from Mx's data/style/default.css
* Copyright 2009 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
* more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
StScrollBar
{
background-color: #354761;
padding: 0px;
}
StScrollView
{
scrollbar-width: 16;
scrollbar-height: 16;
}
StButton#up-stepper
{
border-image: url("file://scroll-button-up.png") 5;
}
StButton#up-stepper:hover,
StButton#up-stepper:active
{
border-image: url("file://scroll-button-up-hover.png") 5;
}
StButton#down-stepper
{
border-image: url("file://scroll-button-down.png") 5;
}
StButton#down-stepper:hover,
StButton#down-stepper:active
{
border-image: url("file://scroll-button-down-hover.png") 5;
}
StScrollBar StButton#vhandle
{
border-image: url("file://scroll-vhandle.png") 5;
}
StScrollBar StButton#vhandle:hover
{
border-image: url("file://scroll-vhandle.png") 5;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

BIN
data/scroll-button-down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

BIN
data/scroll-button-up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

BIN
data/scroll-vhandle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B