From a1be17c1cea81ebb1e8b131a662c698d78f3f7f2 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 4 Jun 2018 13:17:38 +0200 Subject: Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk --- .../customizableui/background-noise-toolbar.png | Bin 0 -> 15601 bytes .../customizableui/customize-titleBar-toggle.png | Bin 0 -> 317 bytes .../customize-titleBar-toggle@2x.png | Bin 0 -> 538 bytes .../customizableui/customizeMode-gridTexture.png | Bin 0 -> 118 bytes .../customizeMode-separatorHorizontal.png | Bin 0 -> 1426 bytes .../customizeMode-separatorVertical.png | Bin 0 -> 1649 bytes .../basilisk/themes/osx/customizableui/panelUI.css | 89 +++++++++++++++++++++ 7 files changed, 89 insertions(+) create mode 100644 application/basilisk/themes/osx/customizableui/background-noise-toolbar.png create mode 100644 application/basilisk/themes/osx/customizableui/customize-titleBar-toggle.png create mode 100644 application/basilisk/themes/osx/customizableui/customize-titleBar-toggle@2x.png create mode 100644 application/basilisk/themes/osx/customizableui/customizeMode-gridTexture.png create mode 100644 application/basilisk/themes/osx/customizableui/customizeMode-separatorHorizontal.png create mode 100644 application/basilisk/themes/osx/customizableui/customizeMode-separatorVertical.png create mode 100644 application/basilisk/themes/osx/customizableui/panelUI.css (limited to 'application/basilisk/themes/osx/customizableui') diff --git a/application/basilisk/themes/osx/customizableui/background-noise-toolbar.png b/application/basilisk/themes/osx/customizableui/background-noise-toolbar.png new file mode 100644 index 000000000..d09ba9daf Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/background-noise-toolbar.png differ diff --git a/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle.png b/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle.png new file mode 100644 index 000000000..fb0edd256 Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle.png differ diff --git a/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle@2x.png b/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle@2x.png new file mode 100644 index 000000000..7200e74c2 Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle@2x.png differ diff --git a/application/basilisk/themes/osx/customizableui/customizeMode-gridTexture.png b/application/basilisk/themes/osx/customizableui/customizeMode-gridTexture.png new file mode 100644 index 000000000..a7c2775cf Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customizeMode-gridTexture.png differ diff --git a/application/basilisk/themes/osx/customizableui/customizeMode-separatorHorizontal.png b/application/basilisk/themes/osx/customizableui/customizeMode-separatorHorizontal.png new file mode 100644 index 000000000..5e17cb4db Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customizeMode-separatorHorizontal.png differ diff --git a/application/basilisk/themes/osx/customizableui/customizeMode-separatorVertical.png b/application/basilisk/themes/osx/customizableui/customizeMode-separatorVertical.png new file mode 100644 index 000000000..dc4caee81 Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customizeMode-separatorVertical.png differ diff --git a/application/basilisk/themes/osx/customizableui/panelUI.css b/application/basilisk/themes/osx/customizableui/panelUI.css new file mode 100644 index 000000000..09f23b398 --- /dev/null +++ b/application/basilisk/themes/osx/customizableui/panelUI.css @@ -0,0 +1,89 @@ +/* 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/customizableui/panelUI.inc.css + +.panel-subviews { + background-color: hsla(0,0%,100%,.97); +} + +.panelUI-grid .toolbarbutton-1 { + margin-right: 0; + margin-left: 0; + margin-bottom: 0; +} + +.subviewbutton > .toolbarbutton-text { + margin: 2px 0 !important; /* !important for overriding toolbarbutton.css */ +} + +.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item) > .toolbarbutton-text { + margin: 2px 6px !important; /* !important for overriding toolbarbutton.css */ +} + +.restoreallitem > .toolbarbutton-icon { + display: none; +} + +.subviewbutton { + padding-inline-start: 18px; +} + +.subviewbutton[checked="true"] { + background-position: top 5px left 4px; +} + +.subviewbutton[checked="true"]:-moz-locale-dir(rtl) { + background-position: top 5px right 4px; +} + +.subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item)) > .menu-iconic-left { + display: none; +} + +menu.subviewbutton, +menuitem.subviewbutton:not(.panel-subview-footer) { + padding-top: 2px; + padding-bottom: 2px; +} + +/* Override OSX-specific toolkit styles for the bookmarks panel */ +menu.subviewbutton > .menu-right { + margin-inline-end: 0; + -moz-appearance: none; +} + +menu.subviewbutton > .menu-right > image { + /* We don't want the arrow to highlight when the .subviewbutton is hovered, + * so we set the -moz-appearance rule on the image + * (which doesn't inherit the _moz-menuactive attribute) instead. + */ + -moz-appearance: menuarrow; +} + +.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + margin-inline-start: 4px; +} + +.PanelUI-subView menuseparator, +.cui-widget-panelview menuseparator { + padding: 0 !important; +} + +toolbarpaletteitem[place="palette"] > .toolbarbutton-1 > .toolbarbutton-menubutton-button { + padding: 3px 1px; +} + +#PanelUI-remotetabs-tabslist > label[itemtype="client"] { + padding-inline-start: 6px; +} + +.PanelUI-remotetabs-notabsforclient-label { + margin-left: 19px; + font-size: 13px; +} + +#PanelUI-remotetabs-tabslist { + padding-bottom: 4px; +} -- cgit v1.2.3