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 {
12 /* Hide the duration dropdown suffix label if it's empty. Otherwise it
13 takes up a little space, causing the end of the dropdown to not be aligned
14 with the warning box. */
15 #sanitizeDurationSuffixLabel[value
=""] {
19 #sanitizeDurationLabel[value
=""] + #sanitizeDurationChoice
{
20 margin-inline-start: 0;
23 /* Sanitize everything warning box */
24 #sanitizeEverythingWarningBox {
25 /* Fallback colors are used when the dialog is open outside of in-content prefs */
26 background-color: var
(--in-content-box-background
, Window
);
27 border: 1px solid var
(--in-content-box-border-color
, ThreeDDarkShadow
);
33 #sanitizeEverythingWarningIcon {
38 #sanitizeEverythingWarningDescBox {
44 margin-block-start: 0;
48 .checkboxWithDescription {
52 .sanitizeCheckboxDescription {
57 #sanitizeDurationChoice {
61 dialog:not
([inClearOnShutdown
]) #SanitizeOnShutdownDescription
{
65 dialog
[inClearOnShutdown
] #SanitizeDurationBox
{
69 dialog
[inClearOnShutdown
] #SanitizeOnShutdownDescription
{
73 dialog:not
([inbrowserwindow
]) #titleText
{
77 dialog
[inbrowserwindow
] {
79 padding: var
(--grid-padding
) calc
(var
(--grid-padding
) - 4px);
82 dialog
[inbrowserwindow
] groupbox
,
83 dialog
[inbrowserwindow
] #sanitizeEverythingWarningBox
,
84 dialog
[inbrowserwindow
] #SanitizeDurationBox
{
88 dialog
[inbrowserwindow
] #sanitizeDurationLabel
{
89 margin-inline-start: 0;
92 dialog
[inbrowserwindow
] #sanitizeDurationSuffixLabel
{
96 dialog
[inbrowserwindow
] groupbox:last-child
{
97 margin-block-end: 16px;