browser/themes/osx/preferences/preferences.css

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:e93a8b7f20f4
1 /*
2 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 */
7
8 %include ../../../../toolkit/themes/osx/global/shared.inc
9
10 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
11 @namespace html url("http://www.w3.org/1999/xhtml");
12
13 .windowDialog {
14 padding: 12px;
15 font: -moz-dialog;
16 }
17
18 .paneSelector {
19 list-style-image: url("chrome://browser/skin/preferences/Options.png");
20 }
21
22 /* ----- GENERAL BUTTON ----- */
23
24 radio[pane=paneGeneral],
25 radio[pane=paneMain] {
26 -moz-image-region: rect(0px, 32px, 32px, 0px);
27 }
28
29 /* ----- TABS BUTTON ----- */
30
31 radio[pane=paneTabs] {
32 -moz-image-region: rect(0px, 64px, 32px, 32px);
33 }
34
35 /* ----- CONTENT BUTTON ----- */
36
37 radio[pane=paneContent] {
38 -moz-image-region: rect(0px, 96px, 32px, 64px);
39 }
40
41 /* ----- APPLICATIONS BUTTON ----- */
42
43 radio[pane=paneApplications] {
44 -moz-image-region: rect(0px, 128px, 32px, 96px);
45 }
46
47 /* ----- PRIVACY BUTTON ----- */
48
49 radio[pane=panePrivacy] {
50 -moz-image-region: rect(0px, 160px, 32px, 128px);
51 }
52
53 /* ----- SECURITY BUTTON ----- */
54
55 radio[pane=paneSecurity] {
56 -moz-image-region: rect(0px, 192px, 32px, 160px);
57 }
58
59 /* ----- ADVANCED BUTTON ----- */
60
61 radio[pane=paneAdvanced] {
62 -moz-image-region: rect(0px, 224px, 32px, 192px);
63 }
64
65 %ifdef MOZ_SERVICES_SYNC
66 /* ----- SYNC BUTTON ----- */
67
68 radio[pane=paneSync] {
69 list-style-image: url("chrome://browser/skin/preferences/Options-sync.png");
70 }
71 %endif
72
73 label.small {
74 font-size: smaller;
75 }
76
77 /* ----- APPLICATIONS PREFPANE ----- */
78 #BrowserPreferences[animated="true"] #handlersView {
79 height: 25em;
80 }
81
82 #BrowserPreferences[animated="false"] #handlersView {
83 -moz-box-flex: 1;
84 }
85
86 description {
87 font: small-caption;
88 font-weight: normal;
89 line-height: 1.3em;
90 margin-bottom: 4px !important;
91 }
92
93 prefpane .groupbox-body {
94 -moz-appearance: none;
95 padding: 8px 4px 4px 4px;
96 }
97
98 #paneTabs > groupbox {
99 margin: 0;
100 }
101
102 #tabPrefsBox {
103 margin: 12px 4px;
104 }
105
106 prefpane .groupbox-title {
107 background: url("chrome://global/skin/50pct_transparent_grey.png") repeat-x bottom left;
108 margin-bottom: 4px;
109 }
110
111 tabpanels {
112 padding: 20px 7px 7px;
113 }
114
115 caption {
116 -moz-padding-start: 5px;
117 padding-top: 4px;
118 padding-bottom: 2px;
119 }
120
121 #paneMain description,
122 #paneContent description,
123 #paneAdvanced description,
124 #paneSecurity description {
125 font: -moz-dialog;
126 }
127
128 #paneContent {
129 padding-top: 8px;
130 }
131
132 #paneContent row {
133 padding: 2px 4px;
134 -moz-box-align: center;
135 }
136
137 #popupPolicyRow,
138 #enableSoftwareInstallRow,
139 #enableImagesRow {
140 margin-bottom: 4px !important;
141 padding-bottom: 4px !important;
142 border-bottom: 1px solid #ccc;
143 }
144
145 #browserUseCurrent,
146 #browserUseBookmark,
147 #browserUseBlank {
148 margin-top: 10px;
149 }
150
151 #advancedPrefs {
152 margin: 0 8px;
153 }
154
155 #privacyPrefs {
156 padding: 0 4px;
157 }
158
159 #privacyPrefs > tabpanels {
160 padding: 18px 10px 10px;
161 }
162
163 #OCSPDialogPane {
164 font: message-box !important;
165 }
166
167 /**
168 * Privacy Pane
169 */
170
171 html|a.inline-link {
172 color: -moz-nativehyperlinktext;
173 text-decoration: none;
174 }
175
176 html|a.inline-link:hover {
177 text-decoration: underline;
178 }
179
180 html|a.inline-link:-moz-focusring {
181 outline-width: 0;
182 box-shadow: @focusRingShadow@;
183 }
184
185 /**
186 * Update Preferences
187 */
188 #autoInstallOptions {
189 -moz-margin-start: 20px;
190 }
191
192 .updateControls {
193 -moz-margin-start: 10px;
194 }
195
196 /**
197 * Clear Private Data
198 */
199 #SanitizeDialogPane > groupbox {
200 margin-top: 0;
201 }
202
203
204 %ifdef MOZ_SERVICES_SYNC
205 /* ----- SYNC PANE ----- */
206
207 #syncDesc {
208 padding: 0 8em;
209 }
210
211 #accountCaptionImage {
212 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
213 }
214
215 #syncAddDeviceLabel {
216 margin-top: 1em;
217 margin-bottom: 1em;
218 }
219
220 #fxaUnlinkButton {
221 margin: 0;
222 }
223
224 #noFxaAccount {
225 margin: 12px 4px;
226 line-height: 1.2em;
227 }
228
229 #noFxaAccount > label:first-child {
230 margin-bottom: 0.6em;
231 }
232
233 #fxa-pweng-help-link > label {
234 margin: 0;
235 }
236
237 #fxa-pweng-help-link > image {
238 width: 16px;
239 height: 16px;
240 list-style-image: url("chrome://global/skin/icons/question-16.png");
241 }
242
243 @media (min-resolution: 2dppx) {
244 #fxa-pweng-help-link > image {
245 list-style-image: url("chrome://global/skin/icons/question-32.png");
246 }
247 }
248
249 %endif

mercurial