From 4492b5f8e774bf3b4f21e4e468fc052cbcbb468a Mon Sep 17 00:00:00 2001 From: Thomas Groman Date: Mon, 16 Dec 2019 19:48:42 -0800 Subject: initial commit --- themes/osx/preferences/Options-sync.png | Bin 0 -> 3585 bytes themes/osx/preferences/Options.png | Bin 0 -> 9077 bytes themes/osx/preferences/alwaysAsk.png | Bin 0 -> 446 bytes themes/osx/preferences/application.png | Bin 0 -> 441 bytes themes/osx/preferences/applications.css | 64 ++++++++++++++ themes/osx/preferences/mail.png | Bin 0 -> 630 bytes themes/osx/preferences/preferences.css | 142 ++++++++++++++++++++++++++++++++ themes/osx/preferences/saveFile.png | Bin 0 -> 791 bytes 8 files changed, 206 insertions(+) create mode 100644 themes/osx/preferences/Options-sync.png create mode 100644 themes/osx/preferences/Options.png create mode 100644 themes/osx/preferences/alwaysAsk.png create mode 100644 themes/osx/preferences/application.png create mode 100644 themes/osx/preferences/applications.css create mode 100644 themes/osx/preferences/mail.png create mode 100644 themes/osx/preferences/preferences.css create mode 100644 themes/osx/preferences/saveFile.png (limited to 'themes/osx/preferences') diff --git a/themes/osx/preferences/Options-sync.png b/themes/osx/preferences/Options-sync.png new file mode 100644 index 0000000..89901fb Binary files /dev/null and b/themes/osx/preferences/Options-sync.png differ diff --git a/themes/osx/preferences/Options.png b/themes/osx/preferences/Options.png new file mode 100644 index 0000000..448eca6 Binary files /dev/null and b/themes/osx/preferences/Options.png differ diff --git a/themes/osx/preferences/alwaysAsk.png b/themes/osx/preferences/alwaysAsk.png new file mode 100644 index 0000000..ddd4cb2 Binary files /dev/null and b/themes/osx/preferences/alwaysAsk.png differ diff --git a/themes/osx/preferences/application.png b/themes/osx/preferences/application.png new file mode 100644 index 0000000..ff2ecc2 Binary files /dev/null and b/themes/osx/preferences/application.png differ diff --git a/themes/osx/preferences/applications.css b/themes/osx/preferences/applications.css new file mode 100644 index 0000000..80699b4 --- /dev/null +++ b/themes/osx/preferences/applications.css @@ -0,0 +1,64 @@ +/* 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-top: 0; + margin-bottom: 0; + -moz-margin-start: -2px; + -moz-margin-end: 0; +} + +.typeIcon, +.actionIcon { + -moz-margin-start: 3px; + -moz-margin-end: 3px; +} + +richlistitem label { + -moz-margin-start: 1px; + margin-top: 2px; +} + +richlistitem { + min-height: 22px; +} + +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/application.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"); +} + +.actionsMenu .menulist-icon { + -moz-margin-end: 3px; +} + +.actionsMenu > menupopup > menuitem > .menu-iconic-left { + -moz-padding-start: 0px; + -moz-padding-end: 2px; +} + +.actionsMenu > menupopup > menuitem { + -moz-padding-start: 4px; +} diff --git a/themes/osx/preferences/mail.png b/themes/osx/preferences/mail.png new file mode 100644 index 0000000..c40d159 Binary files /dev/null and b/themes/osx/preferences/mail.png differ diff --git a/themes/osx/preferences/preferences.css b/themes/osx/preferences/preferences.css new file mode 100644 index 0000000..4075b1e --- /dev/null +++ b/themes/osx/preferences/preferences.css @@ -0,0 +1,142 @@ +/* +# -*- 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/. +*/ + +/* Global Styles */ +#BrowserPreferences radio[pane] { + list-style-image: url("chrome://browser/skin/preferences/Options.png"); + padding: 5px 3px 1px; +} + +radio[pane=paneMain] { + -moz-image-region: rect(0, 32px, 32px, 0); +} + +radio[pane=paneTabs] { + -moz-image-region: rect(0, 64px, 32px, 32px); +} + +radio[pane=paneContent] { + -moz-image-region: rect(0, 96px, 32px, 64px); +} + +radio[pane=paneApplications] { + -moz-image-region: rect(0, 128px, 32px, 96px); +} + +radio[pane=panePrivacy] { + -moz-image-region: rect(0, 160px, 32px, 128px); +} + +radio[pane=paneSecurity] { + -moz-image-region: rect(0, 192px, 32px, 160px); +} + +radio[pane=paneAdvanced] { + -moz-image-region: rect(0, 224px, 32px, 192px); +} + +%ifdef MOZ_SERVICES_SYNC +radio[pane=paneSync] { + list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important; +} +%endif + +/* Applications Pane */ +#BrowserPreferences[animated="true"] #handlersView { + height: 25em; +} + +#BrowserPreferences[animated="false"] #handlersView { + -moz-box-flex: 1; +} + +/* Privacy Pane */ + +/* styles for the link elements copied from .text-link in global.css */ +.inline-link { + color: -moz-nativehyperlinktext; + text-decoration: none; +} + +.inline-link:hover { + text-decoration: underline; +} + +/* Modeless Window Dialogs */ +.windowDialog, +.windowDialog prefpane { + padding: 0; +} + +#browserHomePage:-moz-locale-dir(rtl) input { + unicode-bidi: plaintext; + direction: rtl; +} + +.contentPane { + margin: 9px 8px 5px; +} + +.actionButtons { + margin: 0 3px 6px !important; +} + +/* Cookies Manager */ +#cookiesChildren::-moz-tree-image(domainCol) { + width: 16px; + height: 16px; + margin: 0 2px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png") !important; +} + +#cookiesChildren::-moz-tree-image(domainCol, container), +#cookiesChildren::-moz-tree-image(domainCol, container, open) { + list-style-image: url("chrome://global/skin/tree/folder.png") !important; +} + +#cookieInfoBox { + border: 1px solid ThreeDShadow; + border-radius: 0; + margin: 4px; + padding: 0; +} + +/* Advanced Pane */ + +/* Adding padding-bottom prevents the bottom of the tabpanel from being cutoff + when browser.preferences.animateFadeIn = true */ +#advancedPrefs { + padding-bottom: 8px; +} + +/* bottom-most box containing a groupbox in a prefpane. Prevents the bottom + of the groupbox from being cutoff */ +.bottomBox { + padding-bottom: 4px; +} + +%ifdef MOZ_SERVICES_SYNC +/* Sync Pane */ + +#syncDesc { + padding: 0 8em; +} + +.syncGroupBox { + padding: 10px; +} + +#accountCaptionImage { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#syncAddDeviceLabel { + margin-top: 1em; + margin-bottom: 1em; +} + +%endif diff --git a/themes/osx/preferences/saveFile.png b/themes/osx/preferences/saveFile.png new file mode 100644 index 0000000..c210e84 Binary files /dev/null and b/themes/osx/preferences/saveFile.png differ -- cgit v1.2.3