summaryrefslogtreecommitdiffstats
path: root/application/basilisk/themes/windows/customizableui
diff options
context:
space:
mode:
Diffstat (limited to 'application/basilisk/themes/windows/customizableui')
-rw-r--r--application/basilisk/themes/windows/customizableui/background-noise-toolbar.pngbin0 -> 15601 bytes
-rw-r--r--application/basilisk/themes/windows/customizableui/customize-titleBar-toggle.pngbin0 -> 540 bytes
-rw-r--r--application/basilisk/themes/windows/customizableui/customize-titleBar-toggle@2x.pngbin0 -> 1273 bytes
-rw-r--r--application/basilisk/themes/windows/customizableui/customizeMode-gridTexture.pngbin0 -> 115 bytes
-rw-r--r--application/basilisk/themes/windows/customizableui/customizeMode-separatorHorizontal.pngbin0 -> 1426 bytes
-rw-r--r--application/basilisk/themes/windows/customizableui/customizeMode-separatorVertical.pngbin0 -> 1649 bytes
-rw-r--r--application/basilisk/themes/windows/customizableui/menu-arrow.svg26
-rw-r--r--application/basilisk/themes/windows/customizableui/panelUI.css139
8 files changed, 165 insertions, 0 deletions
diff --git a/application/basilisk/themes/windows/customizableui/background-noise-toolbar.png b/application/basilisk/themes/windows/customizableui/background-noise-toolbar.png
new file mode 100644
index 000000000..d09ba9daf
--- /dev/null
+++ b/application/basilisk/themes/windows/customizableui/background-noise-toolbar.png
Binary files differ
diff --git a/application/basilisk/themes/windows/customizableui/customize-titleBar-toggle.png b/application/basilisk/themes/windows/customizableui/customize-titleBar-toggle.png
new file mode 100644
index 000000000..3cf9f163d
--- /dev/null
+++ b/application/basilisk/themes/windows/customizableui/customize-titleBar-toggle.png
Binary files differ
diff --git a/application/basilisk/themes/windows/customizableui/customize-titleBar-toggle@2x.png b/application/basilisk/themes/windows/customizableui/customize-titleBar-toggle@2x.png
new file mode 100644
index 000000000..8e1beaec5
--- /dev/null
+++ b/application/basilisk/themes/windows/customizableui/customize-titleBar-toggle@2x.png
Binary files differ
diff --git a/application/basilisk/themes/windows/customizableui/customizeMode-gridTexture.png b/application/basilisk/themes/windows/customizableui/customizeMode-gridTexture.png
new file mode 100644
index 000000000..ca6c1196c
--- /dev/null
+++ b/application/basilisk/themes/windows/customizableui/customizeMode-gridTexture.png
Binary files differ
diff --git a/application/basilisk/themes/windows/customizableui/customizeMode-separatorHorizontal.png b/application/basilisk/themes/windows/customizableui/customizeMode-separatorHorizontal.png
new file mode 100644
index 000000000..5e17cb4db
--- /dev/null
+++ b/application/basilisk/themes/windows/customizableui/customizeMode-separatorHorizontal.png
Binary files differ
diff --git a/application/basilisk/themes/windows/customizableui/customizeMode-separatorVertical.png b/application/basilisk/themes/windows/customizableui/customizeMode-separatorVertical.png
new file mode 100644
index 000000000..dc4caee81
--- /dev/null
+++ b/application/basilisk/themes/windows/customizableui/customizeMode-separatorVertical.png
Binary files differ
diff --git a/application/basilisk/themes/windows/customizableui/menu-arrow.svg b/application/basilisk/themes/windows/customizableui/menu-arrow.svg
new file mode 100644
index 000000000..8437779fd
--- /dev/null
+++ b/application/basilisk/themes/windows/customizableui/menu-arrow.svg
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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/. -->
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="16" width="16" viewBox="0 0 16 16">
+ <style>
+ use:not(:target) {
+ display: none;
+ }
+ use {
+ fill: MenuText;
+ }
+ use[id$="-disabled"] {
+ fill: GrayText;
+ }
+ use[id$="-hover"] {
+ fill: HighlightText;
+ }
+ </style>
+ <defs>
+ <path id="arrow-shape" d="m 6,4 0,8 5,-4 z"/>
+ </defs>
+ <use id="arrow" xlink:href="#arrow-shape"/>
+ <use id="arrow-disabled" xlink:href="#arrow-shape"/>
+ <use id="arrow-hover" xlink:href="#arrow-shape"/>
+</svg>
diff --git a/application/basilisk/themes/windows/customizableui/panelUI.css b/application/basilisk/themes/windows/customizableui/panelUI.css
new file mode 100644
index 000000000..a01a2f3e3
--- /dev/null
+++ b/application/basilisk/themes/windows/customizableui/panelUI.css
@@ -0,0 +1,139 @@
+/* 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: var(--arrowpanel-background);
+}
+
+#PanelUI-contents #zoom-out-btn {
+ padding-left: 12px;
+ padding-right: 12px;
+}
+
+#PanelUI-contents #zoom-in-btn {
+ padding-left: 12px;
+ padding-right: 12px;
+}
+
+/* bookmark panel submenus */
+
+#BMB_bookmarksPopup menupopup[placespopup=true] {
+ -moz-appearance: none;
+ background: transparent;
+ border: none;
+ padding: 6px;
+}
+
+#BMB_bookmarksPopup menupopup[placespopup=true] > hbox {
+ /* emulating chrome://browser/content/places/menu.xml#places-popup-arrow but without the arrow */
+ box-shadow: 0 0 4px rgba(0,0,0,0.2);
+ background: var(--arrowpanel-background);
+ color: var(--arrowpanel-color);
+ border: 1px solid var(--arrowpanel-border-color);
+ border-radius: 3.5px;
+ margin-top: -4px;
+}
+
+#BMB_bookmarksPopup menupopup {
+ padding-top: 2px;
+}
+
+/* Add some space at the top because there are no headers: */
+#BMB_bookmarksPopup menupopup[placespopup=true] > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox {
+ padding-top: 4px;
+}
+
+/* bookmark panel separator */
+#BMB_bookmarksPopup menuseparator {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+
+.subviewbutton > .menu-right,
+.subviewbutton > .menu-iconic-left {
+ padding-top: 1px;
+ margin-top: 1px;
+ margin-bottom: 2px;
+}
+
+/* Disabled empty item looks too small otherwise, because it has no icon. */
+menuitem.subviewbutton[disabled]:not(.menuitem-iconic),
+/* Same for checkbox menu items, whose icons lose size due to -moz-appearance: none: */
+menuitem[type="checkbox"].subviewbutton {
+ /* This is 16px for an icon + 3px for its margins + 1px for its padding +
+ * 2px for its border, see above */
+ min-height: 22px;
+}
+
+.subviewbutton > .toolbarbutton-text {
+ padding-top: 3px;
+ padding-bottom: 3px;
+}
+
+.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-button {
+ -moz-appearance: none;
+ border: 0;
+ margin-inline-start: 3px;
+}
+
+.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
+ padding: 0 2px;
+ padding-inline-start: 0;
+ height: 18px;
+}
+
+.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ padding: 0 6px;
+}
+
+.subviewbutton > .toolbarbutton-text {
+ padding-inline-start: 16px;
+}
+
+.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item) > .toolbarbutton-text {
+ padding-inline-start: 0;
+}
+
+.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item)[checked="true"] > .toolbarbutton-icon {
+ visibility: hidden;
+}
+
+menu.subviewbutton > .menu-right {
+ -moz-appearance: none;
+ list-style-image: url(chrome://browser/skin/customizableui/menu-arrow.svg#arrow);
+ /* Reset the rect we inherit from the button: */
+ -moz-image-region: auto;
+}
+
+menu[disabled="true"].subviewbutton > .menu-right {
+ list-style-image: url(chrome://browser/skin/customizableui/menu-arrow.svg#arrow-disabled);
+}
+
+@media not all and (-moz-windows-default-theme) {
+ menu[_moz-menuactive].subviewbutton > .menu-right {
+ list-style-image: url(chrome://browser/skin/customizableui/menu-arrow.svg#arrow-hover);
+ }
+}
+
+menu.subviewbutton > .menu-right:-moz-locale-dir(rtl) {
+ transform: scaleX(-1);
+}
+
+/* Win8 and beyond. */
+@media not all and (-moz-os-version: windows-win7) {
+ panelview .toolbarbutton-1,
+ .subviewbutton,
+ .widget-overflow-list .toolbarbutton-1,
+ .panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button,
+ #BMB_bookmarksPopup menupopup[placespopup=true] > hbox,
+ #edit-controls@inAnyPanel@,
+ #zoom-controls@inAnyPanel@,
+ #edit-controls@inAnyPanel@ > toolbarbutton,
+ #zoom-controls@inAnyPanel@ > toolbarbutton {
+ border-radius: 0;
+ }
+}
+