aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/browser/sanitizeDialog.css
blob: 28d4e7eb306766897dc8b29f3514f1425ffb035a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#sanitizeDurationChoice {
  margin-inline-end: 0;
}

/* Align the duration label with the warning box and item list */
#sanitizeDurationLabel {
  margin-inline-start: 3px;
}


/* Hide the duration dropdown suffix label if it's empty.  Otherwise it
   takes up a little space, causing the end of the dropdown to not be aligned
   with the warning box. */
#sanitizeDurationSuffixLabel[value=""] {
  display: none;
}


/* Places tree */
#placesTreechildren::-moz-tree-row(selected),
#placesTreechildren::-moz-tree-row(grippyRow) {
  background: #999;
}

#placesTreechildren::-moz-tree-cell-text(selected) {
  color: #111;
}


/* Sanitize everything warning box */
#sanitizeEverythingWarningBox {
  background-color: Window;
  border: 1px solid ThreeDDarkShadow;
  border-radius: 5px;
  padding: 16px;
}

#sanitizeEverythingWarningIcon {
  list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog");
  padding: 0;
  margin: 0;
}

#sanitizeEverythingWarningDescBox {
  padding: 0 16px;
  margin: 0;
}


/* Progressive disclosure button */
#detailsExpanderWrapper {
  padding: 0;
  margin-top: 6px;
  margin-bottom: 6px;
  margin-inline-start: -6px;
  margin-inline-end: 0;
}

.expander-up,
.expander-down {
  min-width: 0;
  padding: 2px 0;
  padding-inline-start: 2px;
}

.expander-up {
  list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
}

.expander-down {
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}

.expander-down:hover:active {
  list-style-image: url("chrome://global/skin/arrow/arrow-dn-hov.gif");
}

.expander-up:hover:active {
  list-style-image: url("chrome://global/skin/arrow/arrow-up-hov.gif");
}


/* Make the item list the same width as the warning box */
#itemList {
  margin-inline-start: 0;
  margin-inline-end: 0;
}

/* Without this a useless scrollbar appears in the listbox when its rows
   attribute is set to the total number of listitems, as it is currently.  See
   bug 489958 comment 14 and bug 491788. */
#itemList > listitem {
  padding: 1px 0;
}


/* Align the last dialog button with the end of the warning box */
.prefWindow-dlgbuttons {
  margin-inline-end: 0;
}
.dialog-button[dlgtype="accept"] {
  margin-inline-end: 0;
}