From ba7d67bb0711c9066c71bd33e55d9a5d2f9b2cbf Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 12 Feb 2022 13:57:21 -0600 Subject: Lay down Pale Moon 30 --- .../themes/windows/preferences/applications.css | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 browser/themes/windows/preferences/applications.css (limited to 'browser/themes/windows/preferences/applications.css') diff --git a/browser/themes/windows/preferences/applications.css b/browser/themes/windows/preferences/applications.css new file mode 100644 index 000000000..fdf561477 --- /dev/null +++ b/browser/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; +} + +richlistitem label { + margin-inline-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 { + 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; +} -- cgit v1.2.3