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:
parent
529f74c0e5
commit
c1f91def74
@ -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;
|
||||
}
|
BIN
data/scroll-button-down-hover.png
Normal file
BIN
data/scroll-button-down-hover.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 225 B |
BIN
data/scroll-button-down.png
Normal file
BIN
data/scroll-button-down.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 225 B |
BIN
data/scroll-button-up-hover.png
Normal file
BIN
data/scroll-button-up-hover.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 211 B |
BIN
data/scroll-button-up.png
Normal file
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
BIN
data/scroll-vhandle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 323 B |
Loading…
Reference in New Issue
Block a user