Commit | Line | Data |
---|---|---|
03f6f39c | 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 | * | |
f98e9249 | 14 | * The Original Code is the Preferences UI System. |
03f6f39c | 15 | * |
16 | * The Initial Developer of the Original Code is | |
f98e9249 RK |
17 | * Ben Goodger. |
18 | * Portions created by the Initial Developer are Copyright (C) 2005-2007 | |
03f6f39c | 19 | * the Initial Developer. All Rights Reserved. |
20 | * | |
21 | * Contributor(s): | |
f98e9249 RK |
22 | * Ben Goodger <ben@mozilla.org> |
23 | * Robert kaiser <kairo@kairo.at> | |
03f6f39c | 24 | * |
25 | * Alternatively, the contents of this file may be used under the terms of | |
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
28 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
29 | * of those above. If you wish to allow use of your version of this file only | |
30 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
31 | * use your version of this file under the terms of the MPL, indicate your | |
32 | * decision by deleting the provisions above and replace them with the notice | |
33 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
34 | * the provisions above, a recipient may use your version of this file under | |
35 | * the terms of any one of the MPL, the GPL or the LGPL. | |
36 | * | |
37 | * ***** END LICENSE BLOCK ***** */ | |
38 | ||
f98e9249 RK |
39 | /* ===== preferences.css ===================================================== |
40 | == Styles used by the XUL prefwindow element. | |
41 | ======================================================================= */ | |
03f6f39c | 42 | |
f98e9249 | 43 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
03f6f39c | 44 | |
f98e9249 | 45 | /* ::::: dialog ::::: */ |
03f6f39c | 46 | |
f98e9249 RK |
47 | prefwindow { |
48 | padding: 0px; | |
03f6f39c | 49 | } |
50 | ||
f98e9249 | 51 | prefpane { |
dd676468 RK |
52 | padding-top: 3px; |
53 | padding-bottom: 0px; | |
54 | -moz-padding-start: 3px; | |
55 | -moz-padding-end: 0px; | |
03f6f39c | 56 | } |
57 | ||
f98e9249 | 58 | prefwindow[type="child"] { |
dd676468 RK |
59 | padding-top: 3px; |
60 | padding-bottom: 0px; | |
61 | -moz-padding-start: 3px; | |
62 | -moz-padding-end: 0px; | |
03f6f39c | 63 | } |
64 | ||
f98e9249 RK |
65 | prefwindow[type="child"] > prefpane { |
66 | padding: 0px; | |
03f6f39c | 67 | } |
68 | ||
f98e9249 | 69 | .prefWindow-dlgbuttons { |
dd676468 | 70 | padding-top: 3px; |
03f6f39c | 71 | } |
72 | ||
f98e9249 RK |
73 | prefwindow[type="child"] .prefWindow-dlgbuttons { |
74 | padding: 0px; | |
03f6f39c | 75 | } |
76 | ||
f98e9249 | 77 | radio[pane] { |
02920d2b RK |
78 | margin: 0px 1px; |
79 | padding: 1px 3px; | |
f98e9249 | 80 | min-width: 4.5em; |
569543b3 | 81 | border-radius: 5px; |
03f6f39c | 82 | } |
83 | ||
f98e9249 RK |
84 | .paneSelector { |
85 | border-bottom: 1px solid #9C9CFF; | |
86 | margin: 0px; | |
dd676468 | 87 | margin-bottom: 3px; |
f98e9249 RK |
88 | -moz-padding-start: 10px; |
89 | background-color: #000000; | |
90 | color: #FF9F00; | |
03f6f39c | 91 | } |
92 | ||
f98e9249 RK |
93 | .paneButtonIcon { |
94 | width: 32px; | |
95 | height: 32px; | |
03f6f39c | 96 | } |
97 | ||
f98e9249 RK |
98 | radio[pane]:hover { |
99 | background-color: #FFCF00; | |
100 | color: #000000; | |
03f6f39c | 101 | } |
102 | ||
f98e9249 RK |
103 | radio[pane][selected="true"] { |
104 | background-color: #008484; | |
105 | color: #000000; | |
03f6f39c | 106 | } |