...and even more LCARStrek for FF4 work
[themes.git] / LCARStrek / browser / pageInfo.css
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  *
4  * The contents of this file are subject to the Mozilla Public License Version
5  * 1.1 (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  * http://www.mozilla.org/MPL/
8  *
9  * Software distributed under the License is distributed on an "AS IS" basis,
10  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11  * for the specific language governing rights and limitations under the
12  * License.
13  *
14  * The Original Code is mozilla.org code.
15  *
16  * The Initial Developer of the Original Code is
17  * Netscape Communications Corporation.
18  * Portions created by the Initial Developer are Copyright (C) 1998-2004
19  * the Initial Developer. All Rights Reserved.
20  *
21  * Contributor(s):
22  *   Kevin Gerich  <webmail@kmgerich.com>
23  *   Daniel Brooks <db48x@yahoo.com>
24  *   Florian QUEZE <f.qu@queze.net>
25  *
26  * Alternatively, the contents of this file may be used under the terms of
27  * either the GNU General Public License Version 2 or later (the "GPL"), or
28  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29  * in which case the provisions of the GPL or the LGPL are applicable instead
30  * of those above. If you wish to allow use of your version of this file only
31  * under the terms of either the GPL or the LGPL, and not to allow others to
32  * use your version of this file under the terms of the MPL, indicate your
33  * decision by deleting the provisions above and replace them with the notice
34  * and other provisions required by the GPL or the LGPL. If you do not delete
35  * the provisions above, a recipient may use your version of this file under
36  * the terms of any one of the MPL, the GPL or the LGPL.
37  *
38  * ***** END LICENSE BLOCK ***** */
39
40 @import "chrome://global/skin/";
41
42 /* View buttons */
43 #viewGroup {
44   -moz-padding-start: 10px;
45 }
46
47 #viewGroup > radio {
48   list-style-image: url("chrome://browser/skin/pageInfo.png");
49   -moz-box-orient: vertical;
50   -moz-box-align: center;
51   -moz-appearance: none;
52   padding: 5px 3px 1px 3px;
53   margin: 0 1px;
54   min-width: 4.5em;
55   border-radius: 3px;
56 }
57
58 #viewGroup > radio:hover {
59   background-color: #FFCF00;
60   color: #000000;
61 }
62
63 #viewGroup > radio[selected="true"] {
64   background-color: #008484;
65   color: #FFCF00;
66 }
67
68 #topBar {
69   border-bottom: 2px solid #9C9CFF;
70   -moz-padding-start: 10px;
71   background-color: #000000;
72   color: #FF9F00;
73 }
74
75 #generalTab {
76   -moz-image-region: rect(0px, 32px, 32px, 0px)
77 }
78
79 #generalTab:hover, #generalTab[selected="true"] {
80   -moz-image-region: rect(32px, 32px, 64px, 0px)
81 }
82
83 #mediaTab {
84   -moz-image-region: rect(0px, 64px, 32px, 32px)
85 }
86
87 #mediaTab:hover, #mediaTab[selected="true"] {
88   -moz-image-region: rect(32px, 64px, 64px, 32px)
89 }
90
91 #feedTab {
92   -moz-image-region: rect(0px, 96px, 32px, 64px)
93 }
94
95 #feedTab:hover, #feedTab[selected="true"] {
96   -moz-image-region: rect(32px, 96px, 64px, 64px)
97 }
98
99 #permTab {
100   -moz-image-region: rect(0px, 128px, 32px, 96px)
101 }
102
103 #permTab:hover, #permTab[selected="true"] {
104   -moz-image-region: rect(32px, 128px, 64px, 96px)
105 }
106
107 #securityTab {
108   -moz-image-region: rect(0px, 160px, 32px, 128px)
109 }
110
111 #securityTab:hover, #securityTab[selected="true"] {
112   -moz-image-region: rect(32px, 160px, 64px, 128px)
113 }
114
115 deck {
116   padding: 10px 10px 10px 10px;
117 }
118
119 /* Misc */
120 tree {
121   margin: .5em;
122 }
123
124 .gridSeparator {
125   width: .5em;
126 }
127
128 row > label {
129   padding: 3px 0;
130 }
131
132 textbox {
133   background: transparent !important;
134   border: none;
135   padding: 0px;
136   margin-top: 1px;
137   -moz-appearance: none;
138 }
139
140 textbox.header {
141   -moz-margin-start: 0;
142 }
143
144 .iframe {
145   margin: .5em;
146   background: white;
147   overflow: auto;
148 }
149
150 .fixedsize {
151   height: 8.5em;
152 }
153
154 textbox[disabled] {
155   font-style: italic;
156 }
157
158 /* General Tab */
159 groupbox.collapsable caption .caption-icon { 
160   width: 9px;
161   height: 9px;
162   background-repeat: no-repeat;
163   background-position: center;
164   -moz-margin-start: 2px;
165   -moz-margin-end: 2px;
166   background-image: url("chrome://global/skin/tree/twisty-open.gif");
167 }
168
169 groupbox.collapsable[closed="true"] {
170   border: none;
171   margin-bottom: 9px;
172   -moz-appearance: none;
173 }
174
175 groupbox.collapsable[closed="true"] caption .caption-icon { 
176   background-image: url("chrome://global/skin/tree/twisty-closed.gif");
177 }
178
179 groupbox tree { 
180   margin: 0 3px;
181   border: none;
182 }
183
184 #securityBox description { 
185   -moz-margin-start: 10px;
186 }
187
188 #general-security-identity {
189   white-space: pre-wrap;
190   line-height: 2em;
191 }
192
193 /* Media Tab */
194 #imagetree {
195   min-height: 10em;
196   margin-bottom: 0;
197 }
198
199 #mediaSplitter {
200   border-style: none;
201   background: none;
202   height: .8em;
203 }
204
205 #mediaGrid {
206   min-height: 9em;
207 }
208
209 #mediaLabelColumn {
210   min-width: 10em;
211 }
212
213 #thepreviewimage {
214   margin: 1em;
215 }
216
217 treechildren::-moz-tree-cell-text(broken) {
218   font-style: italic;
219   color: #8050B0;
220 }
221
222 /* Feeds Tab */
223 #feedtree {
224   margin-bottom: 0px;
225 }
226
227 #feedListbox richlistitem {
228   padding-top: 6px;
229   padding-bottom: 6px;
230   -moz-padding-start: 7px;
231   -moz-padding-end: 7px;
232   min-height: 25px;
233   border-bottom: 1px dotted #9C9CFF;
234 }
235 /*
236 #feedListbox richlistitem[selected="true"] {
237   background-color: -moz-Dialog;
238   color: -moz-DialogText;
239 }
240
241 #feedListbox {
242   border: 2px solid;
243   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
244   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
245   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
246   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
247 }
248 */
249 .feedTitle { 
250   font-weight: bold;
251 }
252
253 /* Permissions Tab */
254 #permList {
255   margin-top: .5em;
256   overflow: auto;
257   border: 2px solid;
258 /*  -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
259   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
260   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
261   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
262   background-color: -moz-field; */
263 }
264
265 .permission {
266   padding-top: 6px;
267   padding-bottom: 6px;
268   -moz-padding-start: 7px;
269   -moz-padding-end: 7px;
270   min-height: 25px;
271   border-bottom: 1px dotted #9C9CFF;
272 }
273
274 .permissionLabel {
275   font-weight: bold;
276 }
277 /*
278 .permission:hover {
279   background-color: -moz-dialog;
280 }
281 */
282 /* Security Tab */
283 #securityPanel .caption-icon {
284   display: none;
285 }
286
287 #securityPanel .header {
288   font-size: 120%;
289 }
290  
291 #securityPanel .fieldLabel {
292   margin: 2px 10px 3px 10px;
293 }
294
295 #securityPanel .fieldValue {
296   font-weight: bold;
297   margin: 2px 10px 0px 10px;
298 }