summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/preferences/dialog.css
diff options
context:
space:
mode:
Diffstat (limited to 'browser/themes/shared/preferences/dialog.css')
-rw-r--r--browser/themes/shared/preferences/dialog.css42
1 files changed, 42 insertions, 0 deletions
diff --git a/browser/themes/shared/preferences/dialog.css b/browser/themes/shared/preferences/dialog.css
new file mode 100644
index 0000000000..dcd7783cca
--- /dev/null
+++ b/browser/themes/shared/preferences/dialog.css
@@ -0,0 +1,42 @@
+/* - 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/. */
+
+window,
+dialog {
+ appearance: none;
+ background-color: var(--in-content-page-background);
+ color: var(--in-content-page-color);
+ margin: 0;
+ padding: 0;
+}
+
+/* Add some padding around the contents of the dialog */
+dialog {
+ padding: 6px;
+}
+
+.contentPane,
+dialog::part(content-box) {
+ -moz-box-flex: 1;
+ /* This allows the focus ring to display fully when scrolling is enabled. */
+ padding: 4px;
+}
+
+.contentPane.doScroll,
+dialog.doScroll::part(content-box) {
+ overflow-y: auto;
+ contain: size;
+}
+
+tree:not(#rejectsTree) {
+ height: 15em;
+}
+
+.actionButtons {
+ margin: 3px 0 0;
+}
+
+menulist label {
+ font-weight: unset;
+}