From a1be17c1cea81ebb1e8b131a662c698d78f3f7f2 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 4 Jun 2018 13:17:38 +0200 Subject: Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk --- .../themes/osx/preferences/in-content/dialog.css | 36 +++++++++++++++ .../osx/preferences/in-content/preferences.css | 53 ++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 application/basilisk/themes/osx/preferences/in-content/dialog.css create mode 100644 application/basilisk/themes/osx/preferences/in-content/preferences.css (limited to 'application/basilisk/themes/osx/preferences/in-content') diff --git a/application/basilisk/themes/osx/preferences/in-content/dialog.css b/application/basilisk/themes/osx/preferences/in-content/dialog.css new file mode 100644 index 000000000..46a6cb91c --- /dev/null +++ b/application/basilisk/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/application/basilisk/themes/osx/preferences/in-content/preferences.css b/application/basilisk/themes/osx/preferences/in-content/preferences.css new file mode 100644 index 000000000..c59b08283 --- /dev/null +++ b/application/basilisk/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; +} -- cgit v1.2.3