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 RK |
51 | prefpane { |
52 | padding-top: 8px; | |
53 | padding-bottom: 10px; | |
54 | -moz-padding-start: 8px; | |
55 | -moz-padding-end: 10px; | |
03f6f39c | 56 | } |
57 | ||
f98e9249 RK |
58 | prefwindow[type="child"] { |
59 | padding-top: 8px; | |
60 | padding-bottom: 10px; | |
61 | -moz-padding-start: 8px; | |
62 | -moz-padding-end: 10px; | |
03f6f39c | 63 | } |
64 | ||
f98e9249 RK |
65 | prefwindow[type="child"] > prefpane { |
66 | padding: 0px; | |
03f6f39c | 67 | } |
68 | ||
f98e9249 RK |
69 | .prefWindow-dlgbuttons { |
70 | padding-bottom: 10px; | |
71 | -moz-padding-start: 8px; | |
72 | -moz-padding-end: 10px; | |
03f6f39c | 73 | } |
74 | ||
f98e9249 RK |
75 | prefwindow[type="child"] .prefWindow-dlgbuttons { |
76 | padding: 0px; | |
03f6f39c | 77 | } |
78 | ||
f98e9249 RK |
79 | radio[pane] { |
80 | margin: 0px 1px 0px 1px; | |
81 | padding: 1px 3px 1px 3px; | |
82 | min-width: 4.5em; | |
83 | -moz-border-radius: 5px; | |
03f6f39c | 84 | } |
85 | ||
f98e9249 RK |
86 | .paneSelector { |
87 | border-bottom: 1px solid #9C9CFF; | |
88 | margin: 0px; | |
89 | -moz-padding-start: 10px; | |
90 | background-color: #000000; | |
91 | color: #FF9F00; | |
03f6f39c | 92 | } |
93 | ||
f98e9249 RK |
94 | .paneButtonIcon { |
95 | width: 32px; | |
96 | height: 32px; | |
03f6f39c | 97 | } |
98 | ||
f98e9249 RK |
99 | radio[pane]:hover { |
100 | background-color: #FFCF00; | |
101 | color: #000000; | |
03f6f39c | 102 | } |
103 | ||
f98e9249 RK |
104 | radio[pane][selected="true"] { |
105 | background-color: #008484; | |
106 | color: #000000; | |
03f6f39c | 107 | } |
f98e9249 | 108 |