summaryrefslogtreecommitdiffstats
path: root/browser/themes/osx/preferences/in-content
diff options
context:
space:
mode:
Diffstat (limited to 'browser/themes/osx/preferences/in-content')
-rw-r--r--browser/themes/osx/preferences/in-content/dialog.css36
-rw-r--r--browser/themes/osx/preferences/in-content/preferences.css53
2 files changed, 89 insertions, 0 deletions
diff --git a/browser/themes/osx/preferences/in-content/dialog.css b/browser/themes/osx/preferences/in-content/dialog.css
new file mode 100644
index 000000000..46a6cb91c
--- /dev/null
+++ b/browser/themes/osx/preferences/in-content/dialog.css
@@ -0,0 +1,36 @@
+/* - 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/. */
+
+%include ../../../shared/incontentprefs/dialog.inc.css
+
+prefwindow,
+.windowDialog {
+ font: message-box !important;
+}
+
+label:not(.menu-text),
+textbox,
+description,
+.tab-text,
+caption > label {
+ font-size: 1.3em;
+}
+
+/* Create a separate rule to unset these styles on .tree-input instead of
+ using :not(.tree-input) so the selector specifity doesn't change. */
+textbox.tree-input {
+ font-size: unset;
+}
+
+button {
+ font-size: 1em;
+}
+
+caption {
+ font: message-box;
+}
+
+.prefWindow-dlgbuttons {
+ margin: 0;
+}
diff --git a/browser/themes/osx/preferences/in-content/preferences.css b/browser/themes/osx/preferences/in-content/preferences.css
new file mode 100644
index 000000000..c59b08283
--- /dev/null
+++ b/browser/themes/osx/preferences/in-content/preferences.css
@@ -0,0 +1,53 @@
+/* - 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/. */
+
+%include ../../../shared/incontentprefs/preferences.inc.css
+
+prefpane .groupbox-title {
+ background: none;
+ margin-bottom: 0;
+}
+
+.actionsMenu > .menulist-label-box > .menulist-icon {
+ margin-top: 2px;
+ margin-inline-start: 2px;
+ margin-inline-end: 8px !important;
+}
+
+#downloadFolder > .fileFieldContentBox {
+ padding-inline-start: 3px;
+}
+
+#fxaProfileImage {
+ -moz-user-focus: normal;
+}
+
+textbox + button {
+ margin-inline-start: -4px;
+}
+
+filefield + button {
+ margin-inline-start: -8px;
+}
+
+#popupPolicyRow {
+ /* Override styles from
+ browser/themes/osx/preferences/preferences.css */
+ margin-bottom: 0 !important;
+ padding-bottom: 0 !important;
+ border-bottom: none;
+}
+
+#advancedPrefs {
+ margin-right: 0; /*override margin from normal preferences.css */
+ margin-left: 0;
+}
+
+/**
+ * Dialog
+ */
+
+#dialogTitle {
+ font-size: 1.1em;
+}