Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 %if 0
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 %endif
7 @import url("chrome://global/skin/");
9 /* View buttons */
10 #viewGroup > radio {
11 list-style-image: url("chrome://browser/skin/pageInfo.png");
12 -moz-box-orient: vertical;
13 -moz-box-align: center;
14 -moz-appearance: none;
15 min-width: 4.5em;
16 margin: 0;
17 padding: 3px;
18 color: -moz-FieldText;
19 }
21 #viewGroup > radio[selected="true"] {
22 background-color: Highlight;
23 color: HighlightText;
24 }
26 #topBar {
27 -moz-appearance: listbox;
28 margin: 8px 8px 0;
29 }
31 #generalTab {
32 -moz-image-region: rect(0px, 32px, 32px, 0px)
33 }
35 #mediaTab {
36 -moz-image-region: rect(0px, 64px, 32px, 32px)
37 }
39 #feedTab {
40 -moz-image-region: rect(0px, 96px, 32px, 64px)
41 }
43 #permTab {
44 -moz-image-region: rect(0px, 128px, 32px, 96px)
45 }
47 #securityTab {
48 -moz-image-region: rect(0px, 160px, 32px, 128px)
49 }
51 #mainDeck {
52 padding-left: 2px;
53 padding-right: 2px;
54 }
56 deck {
57 padding: 10px 10px 10px 10px;
58 }
60 /* Misc */
61 tree {
62 margin: .5em;
63 }
65 .gridSeparator {
66 width: .5em;
67 }
69 textbox {
70 background: transparent !important;
71 border: none;
72 padding: 0px;
73 margin-top: 1px;
74 -moz-appearance: none;
75 }
77 textbox.header {
78 -moz-margin-start: 0;
79 }
81 .iframe {
82 margin: .5em;
83 background: white;
84 overflow: auto;
85 }
87 .fixedsize {
88 height: 8.5em;
89 }
91 textbox[disabled] {
92 font-style: italic;
93 }
95 /* General Tab */
96 #generalPanel > #titletext {
97 -moz-margin-start: 5px;
98 }
100 groupbox.collapsable caption .caption-icon {
101 width: 9px;
102 height: 9px;
103 background-repeat: no-repeat;
104 background-position: center;
105 -moz-margin-start: 1px;
106 -moz-margin-end: 3px;
107 background-image: url("chrome://global/skin/tree/twisty-open.png");
108 }
110 groupbox.collapsable[closed="true"] {
111 border: none;
112 }
114 groupbox.collapsable[closed="true"] caption .caption-icon {
115 background-image: url("chrome://global/skin/tree/twisty-clsd.png");
116 }
118 groupbox tree {
119 margin: 0;
120 border: none;
121 }
123 groupbox.treebox .groupbox-body {
124 -moz-margin-start: 5px;
125 -moz-margin-end: 1px;
126 padding-top: 0;
127 }
129 #securityBox description {
130 -moz-margin-start: 10px;
131 }
133 #general-security-identity {
134 white-space: pre-wrap;
135 line-height: 2em;
136 }
138 /* Media Tab */
139 #imagetree {
140 min-height: 10em;
141 margin-top: 2px;
142 margin-bottom: 0;
143 }
145 #mediaSplitter {
146 -moz-appearance: none;
147 height: .8em;
148 }
150 #mediaGrid {
151 min-height: 9em;
152 }
154 #mediaLabelColumn {
155 min-width: 10em;
156 }
158 #thepreviewimage {
159 margin: 1em;
160 }
162 treechildren::-moz-tree-cell-text(broken) {
163 font-style: italic;
164 color: graytext;
165 }
167 #mediaPreviewBox .inset {
168 -moz-appearance: listbox;
169 margin-bottom: 0;
170 }
172 /* Feeds Tab */
173 #feedPanel {
174 margin-left: 2px;
175 margin-right: 2px;
176 }
178 #feedtree {
179 margin-bottom: 0px;
180 }
182 #feedListbox richlistitem {
183 padding-top: 6px;
184 padding-bottom: 6px;
185 -moz-padding-start: 7px;
186 -moz-padding-end: 7px;
187 min-height: 25px;
188 border-bottom: 1px dotted #C0C0C0;
189 color: -moz-FieldText;
190 }
192 #feedListbox richlistitem[selected="true"] {
193 background-color: -moz-Dialog;
194 color: -moz-DialogText;
195 }
197 #feedListbox {
198 margin-bottom: 0;
199 border: 2px solid;
200 -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
201 -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
202 -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
203 -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
204 }
206 .feedTitle {
207 font-weight: bold;
208 }
210 /* Permissions Tab */
211 #permPanel {
212 margin-left: 6px;
213 margin-right: 6px;
214 }
216 #permList {
217 -moz-appearance: listbox;
218 margin-top: .5em;
219 overflow: auto;
220 border: 2px solid;
221 -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
222 -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
223 -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
224 -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
225 background-color: -moz-field;
226 color: -moz-FieldText;
227 }
229 .permission {
230 padding-top: 6px;
231 padding-bottom: 6px;
232 -moz-padding-start: 7px;
233 -moz-padding-end: 7px;
234 min-height: 25px;
235 border-bottom: 1px dotted #C0C0C0;
236 }
238 .permissionLabel {
239 font-weight: bold;
240 }
242 .permission:hover {
243 background-color: -moz-dialog;
244 color: -moz-DialogText;
245 }
247 /* Security Tab */
248 #securityPanel .caption-icon {
249 display: none;
250 }
252 #securityPanel .header {
253 font-size: 120%;
254 }
256 #securityPanel .fieldLabel {
257 margin: 2px 10px 3px 10px;
258 }
260 #securityPanel .fieldValue {
261 font-weight: bold;
262 margin: 2px 10px 0px 10px;
263 }
265 /* Icons for context menus */
266 menuitem:not([type]) {
267 -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
268 }
270 #menu_selectall {
271 list-style-image: url("moz-icon://stock/gtk-select-all?size=menu");
272 }
274 #menu_copy {
275 list-style-image: url("moz-icon://stock/gtk-copy?size=menu");
276 }