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 /* Add padding to the left to create space between
13 the duration choicemenu (#sanitizeDurationChoice)
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
=""] {
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
);
41 #sanitizeEverythingWarningIcon {
46 #sanitizeEverythingWarningDescBox {
52 margin-block-start: 0;
56 .checkboxWithDescription {
60 .sanitizeCheckboxDescription {
65 #sanitizeDurationChoice {
69 dialog:not
([inClearOnShutdown
]) #SanitizeOnShutdownDescription
{
73 dialog
[inClearOnShutdown
] #SanitizeDurationBox
{
77 dialog
[inClearOnShutdown
] #SanitizeOnShutdownDescription
{
81 dialog:not
([inbrowserwindow
]) #titleText
{
85 dialog
[inbrowserwindow
] {
87 padding: var
(--grid-padding
) calc
(var
(--grid-padding
) - 4px);
90 dialog
[inbrowserwindow
] groupbox
,
91 dialog
[inbrowserwindow
] #sanitizeEverythingWarningBox
,
92 dialog
[inbrowserwindow
] #SanitizeDurationBox
{
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;