diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 03:32:58 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 03:32:58 -0500 |
commit | e72ef92b5bdc43cd2584198e2e54e951b70299e8 (patch) | |
tree | 01ceb4a897c33eca9e7ccf2bc3aefbe530169fe5 /application/basilisk/themes/osx/preferences | |
parent | 0d19b77d3eaa5b8d837bf52c19759e68e42a1c4c (diff) | |
download | UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.gz UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.lz UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.xz UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.zip |
Add Basilisk
Diffstat (limited to 'application/basilisk/themes/osx/preferences')
-rw-r--r-- | application/basilisk/themes/osx/preferences/alwaysAsk.png | bin | 0 -> 530 bytes | |||
-rw-r--r-- | application/basilisk/themes/osx/preferences/application.png | bin | 0 -> 795 bytes | |||
-rw-r--r-- | application/basilisk/themes/osx/preferences/applications.css | 73 | ||||
-rw-r--r-- | application/basilisk/themes/osx/preferences/in-content/dialog.css | 36 | ||||
-rw-r--r-- | application/basilisk/themes/osx/preferences/in-content/preferences.css | 53 | ||||
-rw-r--r-- | application/basilisk/themes/osx/preferences/preferences.css | 130 | ||||
-rw-r--r-- | application/basilisk/themes/osx/preferences/saveFile.png | bin | 0 -> 570 bytes |
7 files changed, 292 insertions, 0 deletions
diff --git a/application/basilisk/themes/osx/preferences/alwaysAsk.png b/application/basilisk/themes/osx/preferences/alwaysAsk.png Binary files differnew file mode 100644 index 000000000..c792d1488 --- /dev/null +++ b/application/basilisk/themes/osx/preferences/alwaysAsk.png diff --git a/application/basilisk/themes/osx/preferences/application.png b/application/basilisk/themes/osx/preferences/application.png Binary files differnew file mode 100644 index 000000000..b4c1ca7d0 --- /dev/null +++ b/application/basilisk/themes/osx/preferences/application.png diff --git a/application/basilisk/themes/osx/preferences/applications.css b/application/basilisk/themes/osx/preferences/applications.css new file mode 100644 index 000000000..8a4a01500 --- /dev/null +++ b/application/basilisk/themes/osx/preferences/applications.css @@ -0,0 +1,73 @@ +/* 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/. */ + +/** + * Line up the actions menu with action labels above and below it. + * Equalize the distance from the left side of the action box to the left side + * of the icon for both the menu and the non-menu versions of the action box. + * Also make sure the labels are the same distance away from the icons. + */ +.actionsMenu { + margin-inline-start: -2px; + margin-top: 0; + margin-bottom: -1px; +} + +#handlersView > richlistitem label { + margin-inline-start: 3px; + margin-top: 2px; +} + +#handlersView > richlistitem { + min-height: 22px; +} + +.typeIcon, +.actionIcon { + margin-inline-start: 3px; +} + +.typeIcon, +.actionIcon, +.actionsMenu .menulist-icon { + margin-inline-end: 2px; +} + +.actionsMenu > menupopup > menuitem > .menu-iconic-left { + /* Undo content/browser/preferences/handlers.css - we don't + * want icon-less labels to line up with the other labels. + */ + min-width: 0; +} + +richlistitem[appHandlerIcon="ask"], +menuitem[appHandlerIcon="ask"] { + list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png"); +} + +richlistitem[appHandlerIcon="save"], +menuitem[appHandlerIcon="save"] { + list-style-image: url("chrome://browser/skin/preferences/saveFile.png"); +} + +richlistitem[appHandlerIcon="feed"], +menuitem[appHandlerIcon="feed"] { + list-style-image: url("chrome://browser/skin/page-livemarks.png"); +} + +richlistitem[appHandlerIcon="plugin"], +menuitem[appHandlerIcon="plugin"] { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); +} + +/* Repeat what menu.css does for .menuitem-iconic */ +menuitem[appHandlerIcon] { + padding-top: 1px; + padding-bottom: 3px; +} + +menuitem[appHandlerIcon] > .menu-iconic-left > .menu-iconic-icon { + margin-inline-start: 0; + width: 16px; +} 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; +} diff --git a/application/basilisk/themes/osx/preferences/preferences.css b/application/basilisk/themes/osx/preferences/preferences.css new file mode 100644 index 000000000..1f9034156 --- /dev/null +++ b/application/basilisk/themes/osx/preferences/preferences.css @@ -0,0 +1,130 @@ +/* +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# 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 ../../../../../toolkit/themes/osx/global/shared.inc + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +.windowDialog { + padding: 12px; + font: -moz-dialog; +} + +/* ----- APPLICATIONS PREFPANE ----- */ +description { + font: small-caption; + font-weight: normal; + line-height: 1.3em; + margin-bottom: 4px !important; +} + +prefpane .groupbox-body { + -moz-appearance: none; + padding: 8px 4px 4px 4px; +} + +prefpane .groupbox-title { + background: url("chrome://global/skin/50pct_transparent_grey.png") repeat-x bottom left; + margin-bottom: 4px; +} + +tabpanels { + padding: 20px 7px 7px; +} + +caption { + padding-inline-start: 5px; + padding-top: 4px; + padding-bottom: 2px; +} + +#popupPolicyRow { + margin-bottom: 4px !important; + padding-bottom: 4px !important; + border-bottom: 1px solid #ccc; +} + +#translationAttributionImage { + width: 70px; + cursor: pointer; +} + +#browserUseCurrent, +#browserUseBookmark, +#browserUseBlank { + margin-top: 10px; +} + +#advancedPrefs { + margin: 0 8px; +} + +#privacyPrefs { + padding: 0 4px; +} + +#privacyPrefs > tabpanels { + padding: 18px 10px 10px; +} + +#OCSPDialogPane { + font: message-box !important; +} + +/* General Pane */ + +#useFirefoxSync, +#getStarted { + font-size: 90%; +} + +#isNotDefaultLabel { + font-weight: bold; +} + +/** + * Update Preferences + */ +#autoInstallOptions { + margin-inline-start: 20px; +} + +.updateControls { + margin-inline-start: 10px; +} + +/** + * Clear Private Data + */ +#SanitizeDialogPane > groupbox { + margin-top: 0; +} + + +/* ----- SYNC PANE ----- */ + +#syncDesc { + padding: 0 8em; +} + +#accountCaptionImage { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#syncAddDeviceLabel { + margin-top: 1em; + margin-bottom: 1em; +} + +#noFxaAccount { + line-height: 1.2em; +} + +#noFxaAccount > label:first-child { + margin-bottom: 0.6em; +} diff --git a/application/basilisk/themes/osx/preferences/saveFile.png b/application/basilisk/themes/osx/preferences/saveFile.png Binary files differnew file mode 100644 index 000000000..7177f8df3 --- /dev/null +++ b/application/basilisk/themes/osx/preferences/saveFile.png |