From e72ef92b5bdc43cd2584198e2e54e951b70299e8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 03:32:58 -0500 Subject: Add Basilisk --- .../themes/windows/preferences/alwaysAsk.png | Bin 0 -> 392 bytes .../themes/windows/preferences/application.png | Bin 0 -> 370 bytes .../themes/windows/preferences/applications.css | 64 ++++++++++++++ .../windows/preferences/in-content/dialog.css | 19 ++++ .../windows/preferences/in-content/preferences.css | 64 ++++++++++++++ .../themes/windows/preferences/preferences.css | 96 +++++++++++++++++++++ .../themes/windows/preferences/saveFile.png | Bin 0 -> 716 bytes 7 files changed, 243 insertions(+) create mode 100644 application/basilisk/themes/windows/preferences/alwaysAsk.png create mode 100644 application/basilisk/themes/windows/preferences/application.png create mode 100644 application/basilisk/themes/windows/preferences/applications.css create mode 100644 application/basilisk/themes/windows/preferences/in-content/dialog.css create mode 100644 application/basilisk/themes/windows/preferences/in-content/preferences.css create mode 100644 application/basilisk/themes/windows/preferences/preferences.css create mode 100644 application/basilisk/themes/windows/preferences/saveFile.png (limited to 'application/basilisk/themes/windows/preferences') diff --git a/application/basilisk/themes/windows/preferences/alwaysAsk.png b/application/basilisk/themes/windows/preferences/alwaysAsk.png new file mode 100644 index 000000000..b2ee5c0ce Binary files /dev/null and b/application/basilisk/themes/windows/preferences/alwaysAsk.png differ diff --git a/application/basilisk/themes/windows/preferences/application.png b/application/basilisk/themes/windows/preferences/application.png new file mode 100644 index 000000000..e4b09204e Binary files /dev/null and b/application/basilisk/themes/windows/preferences/application.png differ diff --git a/application/basilisk/themes/windows/preferences/applications.css b/application/basilisk/themes/windows/preferences/applications.css new file mode 100644 index 000000000..96ddb7ed0 --- /dev/null +++ b/application/basilisk/themes/windows/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; + margin-inline-start: -2px; + margin-inline-end: 0; +} + +.typeIcon, +.actionIcon { + margin-inline-start: 3px; + margin-inline-end: 3px; +} + +#handlersView > richlistitem label { + margin-inline-start: 1px; + margin-top: 2px; +} + +#handlersView > 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 { + margin-inline-end: 3px; +} + +.actionsMenu > menupopup > menuitem > .menu-iconic-left { + padding-inline-start: 0px; + padding-inline-end: 2px; +} + +.actionsMenu > menupopup > menuitem { + padding-inline-start: 4px; +} diff --git a/application/basilisk/themes/windows/preferences/in-content/dialog.css b/application/basilisk/themes/windows/preferences/in-content/dialog.css new file mode 100644 index 000000000..3b1ae45e0 --- /dev/null +++ b/application/basilisk/themes/windows/preferences/in-content/dialog.css @@ -0,0 +1,19 @@ +/* - 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 + +label:not(.menu-text), +textbox, +description, +.tab-text, +caption > label { + font-size: 1.2em; +} + +/* 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; +} diff --git a/application/basilisk/themes/windows/preferences/in-content/preferences.css b/application/basilisk/themes/windows/preferences/in-content/preferences.css new file mode 100644 index 000000000..73968417e --- /dev/null +++ b/application/basilisk/themes/windows/preferences/in-content/preferences.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/. */ + +%include ../../../shared/incontentprefs/preferences.inc.css + +@media (-moz-windows-default-theme: 0) { + #category-general > .category-icon { + list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-native"); + } + + #category-search > .category-icon { + list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-native"); + } + + #category-content > .category-icon { + list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-native"); + } + + #category-application > .category-icon { + list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-native"); + } + + #category-privacy > .category-icon { + list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-native"); + } + + #category-security > .category-icon { + list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-native"); + } + + #category-sync > .category-icon { + list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-native"); + } + + #category-advanced > .category-icon { + list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-native"); + } +} + +.actionsMenu > .menulist-label-box > .menulist-icon { + margin-inline-end: 9px; +} + +textbox + button, +filefield + button { + margin-inline-start: -4px; +} + +#advancedPrefs { + padding-bottom: 0; /* override padding from normal preferences.css */ +} + +#fxaProfileImage { + -moz-user-focus: normal; +} + +/** + * Dialog + */ + +#dialogTitle { + font-size: 1em; +} diff --git a/application/basilisk/themes/windows/preferences/preferences.css b/application/basilisk/themes/windows/preferences/preferences.css new file mode 100644 index 000000000..d6471ad10 --- /dev/null +++ b/application/basilisk/themes/windows/preferences/preferences.css @@ -0,0 +1,96 @@ +/* +# -*- 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/. +*/ + +/* General Pane */ + +#useFirefoxSync, +#getStarted { + font-size: 90%; +} + +#isNotDefaultLabel { + font-weight: bold; +} + +/* Content Pane */ +#translationAttributionImage { + width: 70px; + cursor: pointer; +} + +/* Modeless Window Dialogs */ +.windowDialog, +.windowDialog prefpane { + padding: 0; +} + +.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) { + list-style-image: url("chrome://global/skin/icons/folder-item.png") !important; + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#cookiesChildren::-moz-tree-image(domainCol, container, open) { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +#cookieInfoBox { + border: 1px solid ThreeDShadow; + border-radius: 0; + margin: 4px; + padding: 0; +} + +/* Advanced Pane */ + +/* bottom-most box containing a groupbox in a prefpane. Prevents the bottom + of the groupbox from being cutoff */ +.bottomBox { + padding-bottom: 4px; +} + +/* 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; +} + +#noFxaAccount { + line-height: 1.2em; +} + +#noFxaAccount > label:first-child { + margin-bottom: 0.6em; +} diff --git a/application/basilisk/themes/windows/preferences/saveFile.png b/application/basilisk/themes/windows/preferences/saveFile.png new file mode 100644 index 000000000..ca4b12589 Binary files /dev/null and b/application/basilisk/themes/windows/preferences/saveFile.png differ -- cgit v1.2.3