some corrections and finishing touches to that LCARStrek works well for Firefox 55...
[themes.git] / skin / EarlyBlue / global / scrollbars.css
... / ...
CommitLineData
1@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* set default namespace to XUL */
2
3/********* XP Scrollbar *********/
4
5scrollbar
6 {
7 -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#scrollbar");
8 cursor : default;
9 }
10
11/********* XP Scrollbar *********/
12
13thumb
14 {
15 -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#thumbh");
16 background-color : #CCCCCC;
17 border : 1px outset #CCCCCC;
18 list-style-image : url("chrome://global/skin/scroll-thumb-horiz.gif");
19 -moz-box-pack : center;
20 -moz-box-align : center;
21 }
22
23thumb[disabled="true"] {
24 list-style-image : url("chrome://global/skin/scroll-thumb-horiz-disabled.gif");
25}
26
27scrollbar[orient="vertical"] > slider > thumb {
28 -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#thumbv");
29 list-style-image : url("chrome://global/skin/scroll-thumb-vert.gif")
30}
31
32scrollbar[orient="vertical"] > slider > thumb[disabled="true"] {
33 list-style-image : url("chrome://global/skin/scroll-thumb-vert-disabled.gif")
34}
35
36thumb:active {
37 background-color: #DDDDDD;
38}
39
40
41/**
42 * Scrollbar button
43 **/
44scrollbarbutton
45 {
46 -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#scrollbarbutton");
47 border : 1px outset white;
48 background-color : #CCCCCC;
49 }
50
51.scrollbarbutton-box
52 {
53 padding : 1px;
54 }
55
56scrollbarbutton:hover:active
57 {
58 border-style : inset;
59 }
60
61scrollbarbutton:hover:active > .scrollbarbutton-box
62 {
63 padding : 2px 0px 0px 2px;
64 }
65
66scrollbarbutton[type="decrement"]
67 {
68 list-style-image : url("chrome://global/skin/scroll-left.gif")
69 }
70
71scrollbarbutton[type="decrement"][disabled="true"]
72 {
73 list-style-image : url("chrome://global/skin/scroll-left-disabled.gif")
74 }
75
76scrollbarbutton[type="increment"]
77 {
78 list-style-image : url("chrome://global/skin/scroll-right.gif")
79 }
80
81
82scrollbarbutton[type="increment"][disabled="true"]
83 {
84 list-style-image : url("chrome://global/skin/scroll-right-disabled.gif")
85 }
86
87
88scrollbarbutton[type="decrement"][sborient="vertical"]
89 {
90 list-style-image : url("chrome://global/skin/scroll-up.gif")
91 }
92
93scrollbarbutton[type="decrement"][disabled="true"][sborient="vertical"]
94 {
95 list-style-image : url("chrome://global/skin/scroll-up-disabled.gif")
96 }
97
98scrollbarbutton[type="increment"][sborient="vertical"]
99 {
100 list-style-image : url("chrome://global/skin/scroll-down.gif")
101 }
102
103scrollbarbutton[type="increment"][disabled="true"][sborient="vertical"]
104 {
105 list-style-image : url("chrome://global/skin/scroll-down-disabled.gif")
106 }
107
108slider
109 {
110 background-color : #999999;
111 }
112
113
114