finish sync of LCARStrek with Firefox 24 windows theme changes
[themes.git] / EarlyBlue / global / splitter.css
... / ...
CommitLineData
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5/* ===== splitter.css ===================================================
6 == Styles used by the XUL splitter element.
7 ======================================================================= */
8
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
11/* ::::: splitter (vertical) ::::: */
12
13splitter {
14 -moz-box-align: center;
15 -moz-box-pack: center;
16 cursor: ew-resize;
17 border: none;
18 border-left: 1px solid #9999CC;
19 border-right: 1px solid #9999CC;
20 min-width: 8px;
21 background-color: #CCD0DD;
22}
23
24splitter[state="dragging"],
25splitter:hover:active {
26 background-color: #999999;
27}
28
29splitter[state="collapsed"][collapse="before"],
30splitter[state="collapsed"][substate="before"],
31splitter[state="collapsed"][collapse="after"]:-moz-locale-dir(rtl),
32splitter[state="collapsed"][substate="after"]:-moz-locale-dir(rtl) {
33 cursor: e-resize;
34}
35
36splitter[state="collapsed"][collapse="after"],
37splitter[state="collapsed"][substate="after"],
38splitter[state="collapsed"][collapse="before"]:-moz-locale-dir(rtl),
39splitter[state="collapsed"][substate="before"]:-moz-locale-dir(rtl) {
40 cursor: w-resize;
41}
42
43splitter:-moz-lwtheme {
44 background: none;
45}
46
47/* ::::: splitter (horizontal) ::::: */
48
49splitter[orient="vertical"] {
50 cursor: ns-resize;
51 border: none;
52 border-top: 1px solid #9999CC;
53 border-bottom: 1px solid #9999CC;
54 min-height: 8px;
55}
56
57splitter[orient="vertical"][state="collapsed"][collapse="before"],
58splitter[orient="vertical"][state="collapsed"][substate="before"] {
59 cursor: s-resize;
60}
61
62splitter[orient="vertical"][state="collapsed"][collapse="after"],
63splitter[orient="vertical"][state="collapsed"][substate="after"] {
64 cursor: n-resize;
65}
66
67splitter[disabled="true"] {
68 cursor: default !important;
69}
70
71/* ::::: splitter grippy ::::: */
72
73grippy {
74 cursor: pointer;
75 border: 1px outset #CCD0DD;
76 min-width: 6px;
77 min-height: 115px;
78 background-color: #CCCCCC;
79 background-repeat: no-repeat;
80}
81
82grippy:hover {
83 background-color: #99CCFF;
84}
85
86grippy:hover:active {
87 border: 1px inset #CCD0DD;
88}
89
90splitter[orient="vertical"] > grippy {
91 min-width: 115px;
92 min-height: 6px;
93}
94
95/* ..... normal state ..... */
96
97/* vertical grippies */
98splitter[collapse="before"] > grippy,
99splitter[collapse="after"] > grippy:-moz-locale-dir(rtl) {
100 background-image: url("chrome://global/skin/splitter/grip-left.gif");
101}
102
103splitter[collapse="after"] > grippy,
104splitter[collapse="before"] > grippy:-moz-locale-dir(rtl) {
105 background-image: url("chrome://global/skin/splitter/grip-right.gif");
106}
107
108/* horizontal grippies */
109splitter[collapse="before"][orient="vertical"] > grippy {
110 background-image: url("chrome://global/skin/splitter/grip-top.gif");
111}
112
113splitter[collapse="after"][orient="vertical"] > grippy {
114 background-image: url("chrome://global/skin/splitter/grip-bottom.gif");
115}
116
117/* ..... collapsed state ..... */
118
119/* vertical grippies */
120splitter[collapse="before"][state="collapsed"] > grippy,
121splitter[collapse="after"][state="collapsed"] > grippy:-moz-locale-dir(rtl) {
122 background-image: url("chrome://global/skin/splitter/grip-right.gif");
123}
124
125splitter[collapse="after"][state="collapsed"] > grippy,
126splitter[collapse="before"][state="collapsed"] > grippy:-moz-locale-dir(rtl) {
127 background-image: url("chrome://global/skin/splitter/grip-left.gif");
128}
129
130/* horizontal grippies */
131splitter[collapse="before"][state="collapsed"][orient="vertical"] > grippy {
132 background-image: url("chrome://global/skin/splitter/grip-bottom.gif");
133}
134
135splitter[collapse="after"][state="collapsed"][orient="vertical"] > grippy {
136 background-image: url("chrome://global/skin/splitter/grip-top.gif");
137}