browser/themes/windows/preferences/preferences.css

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:67a6ae7de6e1
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 /* Global Styles */
9 #BrowserPreferences radio[pane] {
10 list-style-image: url("chrome://browser/skin/preferences/Options.png");
11 padding: 5px 3px 1px;
12 }
13
14 radio[pane=paneMain] {
15 -moz-image-region: rect(0, 32px, 32px, 0);
16 }
17
18 radio[pane=paneTabs] {
19 -moz-image-region: rect(0, 64px, 32px, 32px);
20 }
21
22 radio[pane=paneContent] {
23 -moz-image-region: rect(0, 96px, 32px, 64px);
24 }
25
26 radio[pane=paneApplications] {
27 -moz-image-region: rect(0, 128px, 32px, 96px);
28 }
29
30 radio[pane=panePrivacy] {
31 -moz-image-region: rect(0, 160px, 32px, 128px);
32 }
33
34 radio[pane=paneSecurity] {
35 -moz-image-region: rect(0, 192px, 32px, 160px);
36 }
37
38 radio[pane=paneAdvanced] {
39 -moz-image-region: rect(0, 224px, 32px, 192px);
40 }
41
42 %ifdef MOZ_SERVICES_SYNC
43 radio[pane=paneSync] {
44 list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important;
45 }
46 %endif
47
48 label.small {
49 font-size: smaller;
50 }
51
52 #tabPrefsBox {
53 margin: 6px;
54 }
55
56 /* Applications Pane */
57 #BrowserPreferences[animated="true"] #handlersView {
58 height: 25em;
59 }
60
61 #BrowserPreferences[animated="false"] #handlersView {
62 -moz-box-flex: 1;
63 }
64
65 /* Privacy Pane */
66
67 /* styles for the link elements copied from .text-link in global.css */
68 .inline-link {
69 color: -moz-nativehyperlinktext;
70 text-decoration: none;
71 }
72
73 .inline-link:hover {
74 text-decoration: underline;
75 }
76
77 /* Modeless Window Dialogs */
78 .windowDialog,
79 .windowDialog prefpane {
80 padding: 0;
81 }
82
83 .contentPane {
84 margin: 9px 8px 5px;
85 }
86
87 .actionButtons {
88 margin: 0 3px 6px !important;
89 }
90
91 /* Cookies Manager */
92 #cookiesChildren::-moz-tree-image(domainCol) {
93 width: 16px;
94 height: 16px;
95 margin: 0 2px;
96 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png") !important;
97 }
98
99 #cookiesChildren::-moz-tree-image(domainCol, container) {
100 list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
101 -moz-image-region: rect(0, 32px, 16px, 16px);
102 }
103
104 #cookiesChildren::-moz-tree-image(domainCol, container, open) {
105 -moz-image-region: rect(16px, 32px, 32px, 16px);
106 }
107
108 #cookieInfoBox {
109 border: 1px solid ThreeDShadow;
110 border-radius: 0;
111 margin: 4px;
112 padding: 0;
113 }
114
115 /* Advanced Pane */
116
117 /* Adding padding-bottom prevents the bottom of the tabpanel from being cutoff
118 when browser.preferences.animateFadeIn = true */
119 #advancedPrefs {
120 padding-bottom: 8px;
121 }
122
123 /* bottom-most box containing a groupbox in a prefpane. Prevents the bottom
124 of the groupbox from being cutoff */
125 .bottomBox {
126 padding-bottom: 4px;
127 }
128
129 %ifdef MOZ_SERVICES_SYNC
130 /* Sync Pane */
131
132 #syncDesc {
133 padding: 0 8em;
134 }
135
136 .syncGroupBox {
137 padding: 10px;
138 }
139
140 #accountCaptionImage {
141 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
142 }
143
144 #syncAddDeviceLabel {
145 margin-top: 1em;
146 margin-bottom: 1em;
147 }
148
149 #noFxaAccount {
150 margin: 6px;
151 line-height: 1.2em;
152 }
153
154 #noFxaAccount > label:first-child {
155 margin-bottom: 0.6em;
156 }
157
158 #fxa-pweng-help-link > label {
159 margin: 0;
160 }
161
162 #fxa-pweng-help-link > image {
163 list-style-image: url("chrome://global/skin/icons/question-16.png");
164 }
165
166 %endif

mercurial