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/linux/preferences/Options-sync.png | Bin 0 -> 3585 bytes themes/linux/preferences/Options.png | Bin 0 -> 12680 bytes themes/linux/preferences/alwaysAsk.png | Bin 0 -> 575 bytes themes/linux/preferences/applications.css | 66 +++++++++++++ themes/linux/preferences/mail.png | Bin 0 -> 548 bytes themes/linux/preferences/preferences.css | 156 ++++++++++++++++++++++++++++++ 6 files changed, 222 insertions(+) create mode 100644 themes/linux/preferences/Options-sync.png create mode 100644 themes/linux/preferences/Options.png create mode 100644 themes/linux/preferences/alwaysAsk.png create mode 100644 themes/linux/preferences/applications.css create mode 100644 themes/linux/preferences/mail.png create mode 100644 themes/linux/preferences/preferences.css (limited to 'themes/linux/preferences') diff --git a/themes/linux/preferences/Options-sync.png b/themes/linux/preferences/Options-sync.png new file mode 100644 index 0000000..89901fb Binary files /dev/null and b/themes/linux/preferences/Options-sync.png differ diff --git a/themes/linux/preferences/Options.png b/themes/linux/preferences/Options.png new file mode 100644 index 0000000..82bebd2 Binary files /dev/null and b/themes/linux/preferences/Options.png differ diff --git a/themes/linux/preferences/alwaysAsk.png b/themes/linux/preferences/alwaysAsk.png new file mode 100644 index 0000000..45256d4 Binary files /dev/null and b/themes/linux/preferences/alwaysAsk.png differ diff --git a/themes/linux/preferences/applications.css b/themes/linux/preferences/applications.css new file mode 100644 index 0000000..c9d1b8c --- /dev/null +++ b/themes/linux/preferences/applications.css @@ -0,0 +1,66 @@ +/* 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: -1px; + margin-bottom: -1px; + -moz-margin-start: -1px; + -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: 25px; +} + +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("moz-icon://stock/gtk-save?size=menu"); +} + +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: 1px; + height: 16px; + width: 16px; +} + +.actionsMenu > menupopup > menuitem > .menu-iconic-left { + -moz-padding-start: 0; + -moz-padding-end: 4px !important; +} + +.actionsMenu > menupopup > menuitem { + -moz-padding-start: 3px; +} diff --git a/themes/linux/preferences/mail.png b/themes/linux/preferences/mail.png new file mode 100644 index 0000000..66d2bc9 Binary files /dev/null and b/themes/linux/preferences/mail.png differ diff --git a/themes/linux/preferences/preferences.css b/themes/linux/preferences/preferences.css new file mode 100644 index 0000000..52f8658 --- /dev/null +++ b/themes/linux/preferences/preferences.css @@ -0,0 +1,156 @@ +%if 0 +/* +# -*- 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/. +*/ +%endif + +/* Global Styles */ +#BrowserPreferences radio[pane] { + list-style-image: url("chrome://browser/skin/preferences/Options.png"); +} + +radio[pane=paneMain] { + -moz-image-region: rect(0px, 32px, 32px, 0px) +} + +radio[pane=paneTabs] { + -moz-image-region: rect(0px, 64px, 32px, 32px) +} + +radio[pane=paneContent] { + -moz-image-region: rect(0px, 96px, 32px, 64px) +} + +radio[pane=paneApplications] { + -moz-image-region: rect(0px, 128px, 32px, 96px) +} + +radio[pane=panePrivacy] { + -moz-image-region: rect(0px, 160px, 32px, 128px) +} + +radio[pane=paneSecurity] { + -moz-image-region: rect(0px, 192px, 32px, 160px) +} + +radio[pane=paneAdvanced] { + -moz-image-region: rect(0px, 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: 0px; +} + +#browserHomePage:-moz-locale-dir(rtl) input { + unicode-bidi: plaintext; + direction: rtl; +} + +.contentPane { + margin: 9px 8px 5px 8px; +} + +.actionButtons { + margin: 0px 3px 6px 3px !important; +} + +/* Cookies Manager */ +#cookiesChildren::-moz-tree-image(domainCol) { + width: 16px; + height: 16px; + margin: 0px 2px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +#paneApplications { + margin-left: 4px; + margin-right: 4px; + padding-left: 0; + padding-right: 0; +} + +#linksOpenInBox { + margin-top: 5px; +} + +#paneAdvanced { + padding-bottom: 10px; +} +#advancedPrefs { + margin-left: 0; + margin-right: 0; +} + +#cookiesChildren::-moz-tree-image(domainCol, container) { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +#cookieInfoBox { + border: 1px solid ThreeDShadow; + border-radius: 0px; + margin: 4px; + padding: 0px; +} + +/* bottom-most box containing a groupbox in a prefpane. Prevents the bottom + of the groupbox from being cutoff */ +.bottomBox { + padding-bottom: 4px; +} + +/** + * Clear Private Data + */ +#SanitizeDialogPane > groupbox { + margin-top: 0; +} + +%ifdef MOZ_SERVICES_SYNC +/* Sync Pane */ + +#syncDesc { + padding: 0 8em; +} + +#accountCaptionImage { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#syncAddDeviceLabel { + margin-top: 1em; + margin-bottom: 1em; +} + +%endif -- cgit v1.2.3