Commit | Line | Data |
---|---|---|
50c0175b RK |
1 | /* |
2 | # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- | |
3 | # ***** BEGIN LICENSE BLOCK ***** | |
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
5 | # | |
6 | # The contents of this file are subject to the Mozilla Public License Version | |
7 | # 1.1 (the "License"); you may not use this file except in compliance with | |
8 | # the License. You may obtain a copy of the License at | |
9 | # http://www.mozilla.org/MPL/ | |
10 | # | |
11 | # Software distributed under the License is distributed on an "AS IS" basis, | |
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
13 | # for the specific language governing rights and limitations under the | |
14 | # License. | |
15 | # | |
16 | # The Original Code is the Firefox Preferences System. | |
17 | # | |
18 | # The Initial Developer of the Original Code is | |
19 | # Ben Goodger. | |
20 | # Portions created by the Initial Developer are Copyright (C) 2005 | |
21 | # the Initial Developer. All Rights Reserved. | |
22 | # | |
23 | # Contributor(s): | |
24 | # Ben Goodger <ben@mozilla.org> | |
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 | ||
41 | /* Global Styles */ | |
42 | #BrowserPreferences radio[pane] { | |
43 | list-style-image: url("chrome://browser/skin/preferences/Options.png"); | |
44 | padding: 5px 3px 1px; | |
45 | } | |
46 | ||
47 | radio[pane=paneMain] { | |
48 | -moz-image-region: rect(0, 32px, 32px, 0); | |
49 | } | |
50 | ||
51 | radio[pane=paneMain]:not([selected="true"]):hover { | |
52 | -moz-image-region: rect(32px, 32px, 64px, 0); | |
53 | } | |
54 | ||
55 | radio[pane=paneTabs] { | |
56 | -moz-image-region: rect(0, 64px, 32px, 32px); | |
57 | } | |
58 | ||
59 | radio[pane=paneTabs]:not([selected="true"]):hover { | |
60 | -moz-image-region: rect(32px, 64px, 64px, 32px); | |
61 | } | |
62 | ||
63 | radio[pane=paneContent] { | |
64 | -moz-image-region: rect(0, 96px, 32px, 64px); | |
65 | } | |
66 | ||
67 | radio[pane=paneContent]:not([selected="true"]):hover { | |
68 | -moz-image-region: rect(32px, 96px, 64px, 64px); | |
69 | } | |
70 | ||
71 | radio[pane=paneApplications] { | |
72 | -moz-image-region: rect(0, 128px, 32px, 96px); | |
73 | } | |
74 | ||
75 | radio[pane=paneApplications]:not([selected="true"]):hover { | |
76 | -moz-image-region: rect(32px, 128px, 64px, 96px); | |
77 | } | |
78 | ||
79 | radio[pane=panePrivacy] { | |
80 | -moz-image-region: rect(0, 160px, 32px, 128px); | |
81 | } | |
82 | ||
83 | radio[pane=panePrivacy]:not([selected="true"]):hover { | |
84 | -moz-image-region: rect(32px, 160px, 64px, 128px); | |
85 | } | |
86 | ||
87 | radio[pane=paneSecurity] { | |
88 | -moz-image-region: rect(0, 192px, 32px, 160px); | |
89 | } | |
90 | ||
91 | radio[pane=paneSecurity]:not([selected="true"]):hover { | |
92 | -moz-image-region: rect(32px, 192px, 64px, 160px); | |
93 | } | |
94 | ||
95 | radio[pane=paneAdvanced] { | |
96 | -moz-image-region: rect(0, 224px, 32px, 192px); | |
97 | } | |
98 | ||
99 | radio[pane=paneAdvanced]:not([selected="true"]):hover { | |
100 | -moz-image-region: rect(32px, 224px, 64px, 192px); | |
101 | } | |
102 | ||
103 | radio[pane=paneSync] { | |
104 | list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important; | |
105 | } | |
106 | ||
107 | /* Applications Pane */ | |
108 | #BrowserPreferences[animated="true"] #handlersView { | |
109 | height: 25em; | |
110 | } | |
111 | ||
112 | #BrowserPreferences[animated="false"] #handlersView { | |
113 | -moz-box-flex: 1; | |
114 | } | |
115 | ||
116 | /* Privacy Pane */ | |
117 | ||
118 | /* styles for the link elements copied from .text-link in global.css */ | |
119 | .inline-link { | |
120 | color: blue; | |
121 | text-decoration: underline; | |
122 | cursor: pointer; | |
123 | } | |
124 | ||
125 | .inline-link:-moz-focusring { | |
126 | /* Don't specify the outline-color, we should always use initial value. */ | |
127 | outline: 1px dotted; | |
128 | } | |
129 | ||
130 | /* Modeless Window Dialogs */ | |
131 | .windowDialog, | |
132 | .windowDialog prefpane { | |
133 | padding: 0; | |
134 | } | |
135 | ||
136 | .contentPane { | |
137 | margin: 9px 8px 5px; | |
138 | } | |
139 | ||
140 | .actionButtons { | |
141 | margin: 0 3px 6px !important; | |
142 | } | |
143 | ||
144 | /* Cookies Manager */ | |
145 | #cookiesChildren::-moz-tree-image(domainCol) { | |
146 | width: 16px; | |
147 | height: 16px; | |
148 | margin: 0 2px; | |
dce90fef | 149 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
50c0175b RK |
150 | } |
151 | ||
152 | #cookiesChildren::-moz-tree-image(domainCol, container) { | |
153 | list-style-image: url("chrome://global/skin/filepicker/dir-closed.gif"); | |
154 | } | |
155 | ||
156 | #cookiesChildren::-moz-tree-image(domainCol, container, open) { | |
157 | list-style-image: url("chrome://global/skin/filepicker/dir-open.gif"); | |
158 | } | |
159 | ||
160 | #cookieInfoBox { | |
161 | border: 1px solid #9C9CFF; | |
162 | border-radius: 3px; | |
163 | } | |
164 | ||
165 | /* Advanced Pane */ | |
166 | ||
167 | /* Adding padding-bottom prevents the bottom of the tabpanel from being cutoff | |
168 | when browser.preferences.animateFadeIn = true */ | |
169 | #advancedPrefs { | |
170 | padding-bottom: 8px; | |
171 | } | |
172 | ||
173 | /* bottom-most box containing a groupbox in a prefpane. Prevents the bottom | |
174 | of the groupbox from being cutoff */ | |
175 | .bottomBox { | |
176 | padding-bottom: 4px; | |
177 | } | |
178 | ||
179 | /* Sync Pane */ | |
180 | ||
181 | #syncDesc { | |
8ad8bf83 | 182 | padding: 0 8em; |
50c0175b RK |
183 | } |
184 | ||
185 | .syncGroupBox { | |
186 | padding: 10px; | |
187 | } | |
188 | ||
189 | #accountCaptionImage { | |
190 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); | |
191 | } | |
192 | ||
193 | #syncAddDeviceLabel { | |
194 | margin-top: 1em; | |
195 | margin-bottom: 1em; | |
196 | } | |
197 | ||
198 | #syncEnginesList { | |
199 | height: 11em; | |
200 | } |