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