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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
/* 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");
/* ::::: tree ::::: */
tree {
color: -moz-DialogText;
background-color: #FFFFFF;
}
/* ::::: tree focusring ::::: */
.focusring > .tree-stack > .tree-rows > .tree-bodybox {
border: 1px solid transparent;
}
.focusring:focus > .tree-stack > .tree-rows > .tree-bodybox {
border: 1px solid -moz-mac-focusring;
}
/* ::::: tree rows ::::: */
treechildren::-moz-tree-row {
border-top: 1px solid transparent;
height: 18px;
background-color: -moz-field;
}
treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd) {
background-color: -moz-oddtreerow;
}
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected) {
background-color: -moz-mac-secondaryhighlight;
}
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, focus) {
background-color: Highlight;
color: HighlightText;
}
/* ::::: tree cells ::::: */
treechildren::-moz-tree-cell-text(selected) {
color: -moz-DialogText;
}
tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected) {
background-color: -moz-mac-secondaryhighlight;
}
tree[seltype="cell"] > treechildren::-moz-tree-cell-text(active, selected) {
color: -moz-DialogText;
}
tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected) {
background-color: -moz-mac-secondaryhighlight;
color: -moz-DialogText;
}
tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, focus) {
background-color: Highlight;
}
/* ::::: lines connecting cells ::::: */
treechildren::-moz-tree-line {
/* XXX there should be no border on Mac, but trees currently
paint the line black by default, so I'll just leave this
for now. */
visibility: hidden;
border: 1px dotted grey;
}
/* ::::: tree separator ::::: */
treechildren::-moz-tree-separator {
border-top: 1px dashed #C7C7C7;
margin: 0 2px;
}
/* ::::: drop feedback ::::: */
tree[seltype="cell"] > treechildren::-moz-tree-cell(primary, dropOn),
tree[seltype="text"] > treechildren::-moz-tree-cell(primary, dropOn),
treechildren::-moz-tree-cell(primary, dropOn) {
background-color: #A1A1A1 !important;
color: #FFF !important;
background-image: none;
}
tree[seltype="cell"] > treechildren::-moz-tree-cell-text(primary, dropOn),
tree[seltype="text"] > treechildren::-moz-tree-cell-text(primary, dropOn),
treechildren::-moz-tree-cell-text(primary, dropOn) {
color: #FFF !important;
}
treechildren::-moz-tree-drop-feedback {
background-color: #A1A1A1;
}
/* ::::: tree progress meter ::::: */
treechildren::-moz-tree-progressmeter {
border: 2px solid;
-moz-border-top-colors: #AAAAAA #000000;
-moz-border-right-colors: #FFFFFF #000000;
-moz-border-bottom-colors: #FFFFFF #000000;
-moz-border-left-colors: #AAAAAA #000000;
}
treechildren::-moz-tree-cell-text(progressmeter) {
-moz-appearance: progressbar;
}
/* ::::: tree columns ::::: */
treecol[hideheader="true"] {
max-height: 0px;
}
/* ..... internal box ..... */
treecol:hover:active,
treecolpicker:hover:active {
border-inline-start: 2px solid;
border-inline-end: 1px solid;
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
-moz-border-right-colors: ThreeDDarkShadow;
-moz-border-bottom-colors: ThreeDDarkShadow;
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
background-color: #666666;
}
/* ::::: column drag and drop styles ::::: */
treecol[dragging="true"] {
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow !important;
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow!important;
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important;
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow !important;
padding: 0px 4px !important;
}
/* ::::: twisty ::::: */
treechildren::-moz-tree-twisty {
-moz-appearance: treetwisty;
padding-inline-end: 2px;
}
treechildren::-moz-tree-twisty(open) {
-moz-appearance: treetwistyopen;
}
treechildren::-moz-tree-twisty(Name, separator) {
-moz-appearance: none;
}
treechildren::-moz-tree-indentation {
width: 16px;
}
/* ::::: gridline style ::::: */
treechildren.gridlines::-moz-tree-cell {
border-inline-end: 1px solid GrayText;
border-bottom: 1px solid GrayText;
}
/* ::::: editable tree ::::: */
.tree-input {
border-width: 0;
box-shadow: 0 0 1px -moz-mac-focusring inset, 0 0 4px 1px -moz-mac-focusring, 0 0 1.5px 1px -moz-mac-focusring;
margin: 0;
margin-inline-start: -2px;
padding: 2px 1px 1px;
}
|