Backed out 2 changesets (bug 1908320) for causing wr failures on align-items-baseline...
[gecko.git] / browser / themes / shared / sanitizeDialog_v2.css
blob9f5df748f4fce8ec7f0a70d9b984c0224e64a5fd
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/. */
5 /* Sanitize everything warnings */
7 #sanitizeEverythingWarning,
8 #sanitizeEverythingUndoWarning {
9 white-space: pre-wrap;
12 /* Add padding to the left to create space between
13 the duration choicemenu (#sanitizeDurationChoice)
14 and the label
16 #sanitizeDurationSuffixLabel {
17 margin-inline-start: var(--space-small);
20 /* Hide the duration dropdown suffix label if it's empty. Otherwise it
21 takes up a little space, causing the end of the dropdown to not be aligned
22 with the warning box. */
23 #sanitizeDurationSuffixLabel[value=""] {
24 display: none;
27 #sanitizeDurationLabel[value=""] + #sanitizeDurationChoice {
28 margin-inline-start: 0;
31 /* Sanitize everything warning box */
32 #sanitizeEverythingWarningBox {
33 /* Fallback colors are used when the dialog is open outside of in-content prefs */
34 background-color: var(--in-content-box-background, Window);
35 border: 1px solid var(--in-content-box-border-color, ThreeDDarkShadow);
36 border-radius: 5px;
37 padding: 16px;
38 margin-block: 6px;
41 #sanitizeEverythingWarningIcon {
42 padding: 0;
43 margin: 0;
46 #sanitizeEverythingWarningDescBox {
47 padding: 0 16px;
48 margin: 0;
51 #titleText {
52 margin-block-start: 0;
53 margin-inline: 4px;
56 .checkboxWithDescription {
57 padding: 8px 0;
60 .sanitizeCheckboxDescription {
61 padding: 0 24px;
62 line-height: normal;
65 #sanitizeDurationChoice {
66 margin-inline-end: 0;
69 dialog:not([inClearOnShutdown]) #SanitizeOnShutdownDescription {
70 display: none;
73 dialog[inClearOnShutdown] #SanitizeDurationBox {
74 display: none;
77 dialog[inClearOnShutdown] #SanitizeOnShutdownDescription {
78 display: block;
81 dialog:not([inbrowserwindow]) #titleText {
82 display: none;
85 dialog[inbrowserwindow] {
86 --grid-padding: 16px;
87 padding: var(--grid-padding) calc(var(--grid-padding) - 4px);
90 dialog[inbrowserwindow] groupbox,
91 dialog[inbrowserwindow] #sanitizeEverythingWarningBox,
92 dialog[inbrowserwindow] #SanitizeDurationBox {
93 margin-inline: 4px;
96 dialog[inbrowserwindow] #sanitizeDurationLabel {
97 margin-inline-start: 0;
100 dialog[inbrowserwindow] #sanitizeDurationSuffixLabel {
101 margin-inline-end: 0;
104 dialog[inbrowserwindow] groupbox:last-child {
105 margin-block-end: 16px;