|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 #sanitizeDurationChoice { |
|
6 -moz-margin-end: 0; |
|
7 } |
|
8 |
|
9 /* Align the duration label with the warning box and item list */ |
|
10 #sanitizeDurationLabel { |
|
11 -moz-margin-start: 3px; |
|
12 } |
|
13 |
|
14 |
|
15 /* Hide the duration dropdown suffix label if it's empty. Otherwise it |
|
16 takes up a little space, causing the end of the dropdown to not be aligned |
|
17 with the warning box. */ |
|
18 #sanitizeDurationSuffixLabel[value=""] { |
|
19 display: none; |
|
20 } |
|
21 |
|
22 |
|
23 /* Places tree */ |
|
24 #placesTreechildren::-moz-tree-row(selected), |
|
25 #placesTreechildren::-moz-tree-row(grippyRow) { |
|
26 background: #999; |
|
27 } |
|
28 |
|
29 #placesTreechildren::-moz-tree-cell-text(selected) { |
|
30 color: #111; |
|
31 } |
|
32 |
|
33 |
|
34 /* Sanitize everything warning box */ |
|
35 #sanitizeEverythingWarningBox { |
|
36 background-color: Window; |
|
37 border: 1px solid ThreeDDarkShadow; |
|
38 border-radius: 5px; |
|
39 padding: 16px; |
|
40 } |
|
41 |
|
42 #sanitizeEverythingWarningIcon { |
|
43 list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog"); |
|
44 padding: 0; |
|
45 margin: 0; |
|
46 } |
|
47 |
|
48 #sanitizeEverythingWarningDescBox { |
|
49 padding: 0 16px; |
|
50 margin: 0; |
|
51 } |
|
52 |
|
53 |
|
54 /* Progressive disclosure button */ |
|
55 #detailsExpanderWrapper { |
|
56 padding: 0; |
|
57 margin-top: 6px; |
|
58 margin-bottom: 6px; |
|
59 -moz-margin-start: -6px; |
|
60 -moz-margin-end: 0; |
|
61 } |
|
62 |
|
63 .expander-up, |
|
64 .expander-down { |
|
65 min-width: 0; |
|
66 padding: 2px 0; |
|
67 -moz-padding-start: 2px; |
|
68 } |
|
69 |
|
70 .expander-up { |
|
71 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
|
72 } |
|
73 |
|
74 .expander-down { |
|
75 list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); |
|
76 } |
|
77 |
|
78 .expander-down:hover:active { |
|
79 list-style-image: url("chrome://global/skin/arrow/arrow-dn-hov.gif"); |
|
80 } |
|
81 |
|
82 .expander-up:hover:active { |
|
83 list-style-image: url("chrome://global/skin/arrow/arrow-up-hov.gif"); |
|
84 } |
|
85 |
|
86 |
|
87 /* Make the item list the same width as the warning box */ |
|
88 #itemList { |
|
89 -moz-margin-start: 0; |
|
90 -moz-margin-end: 0; |
|
91 } |
|
92 |
|
93 /* Without this a useless scrollbar appears in the listbox when its rows |
|
94 attribute is set to the total number of listitems, as it is currently. See |
|
95 bug 489958 comment 14 and bug 491788. */ |
|
96 #itemList > listitem { |
|
97 padding: 1px 0; |
|
98 } |
|
99 |
|
100 |
|
101 /* Align the last dialog button with the end of the warning box */ |
|
102 .prefWindow-dlgbuttons { |
|
103 -moz-margin-end: 0; |
|
104 } |
|
105 .dialog-button[dlgtype="accept"] { |
|
106 -moz-margin-end: 0; |
|
107 } |