2232a92ba8
The current CSS3 border-image is close to a superset of what we were doing for -hippo-background-image. Woot! rename ShellThemeImage to ShellBorderImage and change parsing to look for: border-image: <url> <number>... Rather than -shell-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.
63 lines
1.5 KiB
CSS
63 lines
1.5 KiB
CSS
/* Copyright 2009, Red Hat, Inc.
|
|
*
|
|
* Portions adapted from NBTK'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.
|
|
*/
|
|
|
|
NbtkScrollBar
|
|
{
|
|
background-color: #354761;
|
|
padding: 0px;
|
|
}
|
|
|
|
NbtkScrollView
|
|
{
|
|
scrollbar-width: 16px;
|
|
scrollbar-height: 16px;
|
|
}
|
|
|
|
NbtkButton#up-stepper
|
|
{
|
|
border-image: url("scroll-button-up.png") 5;
|
|
}
|
|
|
|
NbtkButton#up-stepper:hover,
|
|
NbtkButton#up-stepper:active
|
|
{
|
|
border-image: url("scroll-button-up-hover.png") 5;
|
|
}
|
|
|
|
NbtkButton#down-stepper
|
|
{
|
|
border-image: url("scroll-button-down.png") 5;
|
|
}
|
|
|
|
NbtkButton#down-stepper:hover,
|
|
NbtkButton#down-stepper:active
|
|
{
|
|
border-image: url("scroll-button-down-hover.png") 5;
|
|
}
|
|
|
|
NbtkScrollBar NbtkButton#vhandle
|
|
{
|
|
border-image: url("scroll-vhandle.png") 5;
|
|
}
|
|
|
|
NbtkScrollBar NbtkButton#vhandle:hover
|
|
{
|
|
border-image: url("scroll-vhandle.png") 5;
|
|
}
|