d92b1d8da2
The current CSS3 border-image is close to a superset of what we were doing for -hippo-background-image. Woot! rename StThemeImage to StBorderImage and change parsing to look for: border-image: <url> <number>... Rather than -st-background-image: <url> <length>... percentanges for the border sizes are not currently supported, neither are the keywords for handling of the middle part. We always do 'stretch' for now. https://bugzilla.gnome.org/show_bug.cgi?id=595990
63 lines
1.5 KiB
CSS
63 lines
1.5 KiB
CSS
/* 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: 16px;
|
|
scrollbar-height: 16px;
|
|
}
|
|
|
|
StButton#up-stepper
|
|
{
|
|
border-image: url("scroll-button-up.png") 5;
|
|
}
|
|
|
|
StButton#up-stepper:hover,
|
|
StButton#up-stepper:active
|
|
{
|
|
border-image: url("scroll-button-up-hover.png") 5;
|
|
}
|
|
|
|
StButton#down-stepper
|
|
{
|
|
border-image: url("scroll-button-down.png") 5;
|
|
}
|
|
|
|
StButton#down-stepper:hover,
|
|
StButton#down-stepper:active
|
|
{
|
|
border-image: url("scroll-button-down-hover.png") 5;
|
|
}
|
|
|
|
StScrollBar StButton#vhandle
|
|
{
|
|
border-image: url("scroll-vhandle.png") 5;
|
|
}
|
|
|
|
StScrollBar StButton#vhandle:hover
|
|
{
|
|
border-image: url("scroll-vhandle.png") 5;
|
|
}
|