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