summaryrefslogtreecommitdiffstats
path: root/comm/suite/themes/modern/communicator/sidebar
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /comm/suite/themes/modern/communicator/sidebar
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/suite/themes/modern/communicator/sidebar')
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/customize.css7
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/preview.css19
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbar-top-tabopen.pngbin0 -> 845 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbar-top.pngbin0 -> 814 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbpicker-arrow.pngbin0 -> 91 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-lft-act.pngbin0 -> 216 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-lft-sel.pngbin0 -> 207 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-lft.pngbin0 -> 207 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-mid-act.pngbin0 -> 108 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-mid-sel.pngbin0 -> 101 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-mid.pngbin0 -> 102 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-act.pngbin0 -> 131 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-hov.pngbin0 -> 151 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-act.pngbin0 -> 766 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-hov.pngbin0 -> 673 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-sel.pngbin0 -> 676 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top.pngbin0 -> 537 bytes
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sidebar.css247
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sidebarBindings.xml69
-rw-r--r--comm/suite/themes/modern/communicator/sidebar/sidebarListView.css17
20 files changed, 359 insertions, 0 deletions
diff --git a/comm/suite/themes/modern/communicator/sidebar/customize.css b/comm/suite/themes/modern/communicator/sidebar/customize.css
new file mode 100644
index 0000000000..d1626f7156
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/customize.css
@@ -0,0 +1,7 @@
+/* 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/. */
+
+#other-panels {
+ min-width: 180px;
+}
diff --git a/comm/suite/themes/modern/communicator/sidebar/preview.css b/comm/suite/themes/modern/communicator/sidebar/preview.css
new file mode 100644
index 0000000000..a1123226db
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/preview.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/. */
+
+/* ===== preview.css ====================================================
+ == Styles used by the Sidebar Preview dialog.
+ ======================================================================= */
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+#previewframe {
+ margin: 0px;
+ border: none;
+ width: 162px;
+ height: 300px;
+ min-width: 10px;
+ min-height: 1px;
+}
+
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbar-top-tabopen.png b/comm/suite/themes/modern/communicator/sidebar/sbar-top-tabopen.png
new file mode 100644
index 0000000000..c3304f310f
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbar-top-tabopen.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbar-top.png b/comm/suite/themes/modern/communicator/sidebar/sbar-top.png
new file mode 100644
index 0000000000..5494e79085
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbar-top.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbpicker-arrow.png b/comm/suite/themes/modern/communicator/sidebar/sbpicker-arrow.png
new file mode 100644
index 0000000000..e26dcc597c
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbpicker-arrow.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-lft-act.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-lft-act.png
new file mode 100644
index 0000000000..b5f5410b6c
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-lft-act.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-lft-sel.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-lft-sel.png
new file mode 100644
index 0000000000..d57fa9a73b
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-lft-sel.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-lft.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-lft.png
new file mode 100644
index 0000000000..f4c7d1997e
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-lft.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-mid-act.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-mid-act.png
new file mode 100644
index 0000000000..f1e6dec403
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-mid-act.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-mid-sel.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-mid-sel.png
new file mode 100644
index 0000000000..599fa1f7fc
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-mid-sel.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-mid.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-mid.png
new file mode 100644
index 0000000000..8ba5bdc69e
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-mid.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-act.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-act.png
new file mode 100644
index 0000000000..f24851d998
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-act.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-hov.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-hov.png
new file mode 100644
index 0000000000..f8ebe8c5c9
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-hov.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-act.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-act.png
new file mode 100644
index 0000000000..6bc3513748
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-act.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-hov.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-hov.png
new file mode 100644
index 0000000000..d7aa72dfca
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-hov.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-sel.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-sel.png
new file mode 100644
index 0000000000..afd1757b95
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-sel.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top.png b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top.png
new file mode 100644
index 0000000000..a584e0d9d6
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/sidebar/sidebar.css b/comm/suite/themes/modern/communicator/sidebar/sidebar.css
new file mode 100644
index 0000000000..6037702c4b
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sidebar.css
@@ -0,0 +1,247 @@
+/* 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/. */
+
+/* ===== sidebar.css ====================================================
+ == Styles used by the Sidebar panel and Sidebar tabs.
+ ======================================================================= */
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+#sidebar-box {
+ border-left: 1px solid #8998AA;
+ background-color: #B9C4D0;
+}
+
+/* ::::: sidebar header ::::: */
+
+.sidebar-header-text {
+ color: #000000;
+ font-weight: bold;
+ -moz-box-align: center;
+}
+
+.sidebarheader-main {
+ -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sidebarheader") !important;
+ background-color: #B9C4D0;
+ background-image: url("chrome://communicator/skin/sidebar/sbar-top.png");
+ background-repeat: no-repeat;
+ overflow-x: hidden;
+}
+
+/* ..... picker button ..... */
+
+#sidebar-panel-picker {
+ margin-inline-end: 1px;
+ margin-top: 1px;
+ padding: 2px;
+}
+
+#sidebar-panel-picker:hover {
+ border: 1px outset #B1BDC9;
+}
+
+#sidebar-panel-picker[open="true"] {
+ border-style: inset;
+}
+
+#sidebar-panel-picker > .toolbarbutton-menu-dropmarker {
+ list-style-image: url("chrome://communicator/skin/sidebar/sbpicker-arrow.png");
+ padding-inline-end: 2px;
+ padding-inline-start: 2px;
+}
+
+/* ..... close button ..... */
+
+#sidebar-close-button {
+ margin: 0px 1px;
+ padding: 0px;
+ list-style-image: url("chrome://global/skin/icons/closebox.png");
+}
+
+#sidebar-close-button > .toolbarbutton-icon {
+ margin: 0px;
+}
+
+/* ::::: loading info ::::: */
+
+.text-panel-loading {
+ margin: 5px 0px;
+}
+
+.text-panel-loading[loading="false"] {
+ margin-inline-start: 11px;
+}
+
+.image-panel-loading {
+ margin: 5px;
+ list-style-image: url("chrome://communicator/skin/icons/loading.png");
+}
+
+/* ::::: sidebar panel ::::: */
+
+.iframe-panel {
+ border-bottom: 1px solid;
+ border-bottom-color: #96A7B8;
+}
+
+.browser-sidebar {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#browser-miniscroll") !important;
+ border-bottom: 1px solid;
+ border-bottom-color: #96A7B8;
+}
+
+
+/* ::::: sidebar tabs ::::: */
+
+/* ..... normal tabs ..... */
+
+.box-texttab {
+ -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sidebar-tab");
+ color: #000000;
+ border-left: 1px solid #DAE3ED;
+}
+
+.sidebar-tab-left-box,
+.sidebar-tab-right-box {
+ margin-bottom: 3px;
+}
+
+.sidebar-tab-left-box {
+ border-top: 1px solid;
+ border-bottom: 2px solid #B9C4D0;
+ border-top-color: #8A9DAF;
+ min-width: 90px;
+}
+
+.sidebar-tab-left {
+ width: 10px;
+ background: url("chrome://communicator/skin/sidebar/sbtab-lft.png") no-repeat;
+}
+
+.sidebar-tab-text {
+ margin: 0px !important;
+ background: url("chrome://communicator/skin/sidebar/sbtab-mid.png") repeat-x top;
+}
+
+.sidebar-tab-right-img {
+ width: 32px;
+ height: 13px;
+ list-style-image: url("chrome://communicator/skin/sidebar/sbtab-rit-top.png");
+}
+
+.sidebar-tab-right-btm {
+ min-height: 5px;
+}
+
+.sidebar-tab-right-line {
+ border-bottom: 1px solid;
+ border-bottom-color: #96A7B8;
+}
+
+/* ..... hover state ..... */
+
+.box-texttab:hover > .sidebar-tab-left-box {
+ border-bottom: 1px solid;
+ border-bottom-color: #9CADBB;
+}
+
+.box-texttab:hover > .sidebar-tab-right-box > .sidebar-tab-right-top-box
+ > .sidebar-tab-right-img
+{
+ list-style-image: url("chrome://communicator/skin/sidebar/sbtab-rit-top-hov.png");
+}
+
+.box-texttab:hover > .sidebar-tab-right-box > .sidebar-tab-right-btm {
+ background: url("chrome://communicator/skin/sidebar/sbtab-rit-btm-hov.png") no-repeat bottom left;
+}
+
+/* ..... active state ..... */
+
+.box-texttab:hover:active {
+ border-left: none;
+ color: #FFFFFF;
+}
+
+.box-texttab:hover:active > .sidebar-tab-left-box {
+ border-left: 1px solid;
+ border-bottom-color: #A1B1BE ;
+ border-top-color: #748490;
+ border-left-color: #737E8A;
+ background-color: #A1B1BE;
+}
+
+.box-texttab:hover:active > .sidebar-tab-left-box > .sidebar-tab-left {
+ background-image: url("chrome://communicator/skin/sidebar/sbtab-lft-act.png");
+}
+
+.box-texttab:hover:active > .sidebar-tab-left-box > .sidebar-tab-text {
+ background-image: url("chrome://communicator/skin/sidebar/sbtab-mid-act.png");
+}
+
+.box-texttab:hover:active > .sidebar-tab-right-box > .sidebar-tab-right-top-box
+ > .sidebar-tab-right-img
+{
+ list-style-image: url("chrome://communicator/skin/sidebar/sbtab-rit-top-act.png");
+}
+
+.box-texttab:hover:active > .sidebar-tab-right-box > .sidebar-tab-right-btm {
+ background-image: url("chrome://communicator/skin/sidebar/sbtab-rit-btm-act.png");
+}
+
+/* ..... selected state ..... */
+
+.box-texttab[selected] {
+ border-left: 1px solid #E8EEF5 !important;
+ border-bottom: 1px solid #CBD5E0 !important;
+ color: #000000 !important;
+}
+
+.box-texttab[selected] > .sidebar-tab-left-box {
+ border-bottom: none !important;
+ border-left: none !important;
+ border-top-color: #8A9DAF !important;
+ background-color: #CBD5E0 !important;
+}
+
+.box-texttab[selected] > .sidebar-tab-left-box,
+.box-texttab[selected] > .sidebar-tab-right-box {
+ margin-bottom: 0 !important;
+}
+
+.box-texttab[selected] > .sidebar-tab-left-box > .sidebar-tab-left {
+ background-image: url("chrome://communicator/skin/sidebar/sbtab-lft-sel.png") !important;
+}
+
+.box-texttab[selected] > .sidebar-tab-left-box > .sidebar-tab-text {
+ background-image: url("chrome://communicator/skin/sidebar/sbtab-mid-sel.png") !important;
+}
+
+.box-texttab[selected] > .sidebar-tab-right-box > .sidebar-tab-right-top-box
+ > .sidebar-tab-right-img
+{
+ list-style-image: url("chrome://communicator/skin/sidebar/sbtab-rit-top-sel.png") !important;
+}
+
+.box-texttab[selected] > .sidebar-tab-right-box > .sidebar-tab-right-btm {
+ background: #CBD5E0 !important;
+}
+
+.box-texttab[selected] > .sidebar-tab-right-box > .sidebar-tab-right-top-box > .sidebar-tab-right-line
+{
+ border-bottom-color: #8CA2B3 !important;
+}
+
+/* ::::: sidebar navigation buttons ::::: */
+
+.sidebar-nav-button {
+ padding: 5px 0px 5px 0px;
+}
+
+.tab-fwd {
+ list-style-image: url("chrome://global/skin/arrow/arrow-up.png");
+}
+
+.tab-back {
+ list-style-image: url("chrome://global/skin/arrow/arrow-dn.png");
+}
diff --git a/comm/suite/themes/modern/communicator/sidebar/sidebarBindings.xml b/comm/suite/themes/modern/communicator/sidebar/sidebarBindings.xml
new file mode 100644
index 0000000000..001afe71bc
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sidebarBindings.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!-- 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/. -->
+
+
+<bindings id="sidebarSplitterBindings.xml"
+ xmlns="http://www.mozilla.org/xbl"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:xbl="http://www.mozilla.org/xbl">
+
+ <binding id="sidebar-tab" extends="xul:button">
+ <content>
+ <xul:hbox class="sidebar-tab-left-box">
+ <xul:spacer class="sidebar-tab-left"/>
+ <xul:label class="sidebar-tab-text" xbl:inherits="value=label,accesskey" crop="right" flex="1"/>
+ </xul:hbox>
+ <xul:vbox class="sidebar-tab-right-box" flex="1">
+ <xul:hbox class="sidebar-tab-right-top-box">
+ <xul:image class="sidebar-tab-right-img"/>
+ <xul:spacer class="sidebar-tab-right-line" flex="1"/>
+ </xul:hbox>
+ <xul:spacer class="sidebar-tab-right-btm" flex="1"/>
+ </xul:vbox>
+ </content>
+ </binding>
+
+ <binding id="DEAD" extends="xul:button">
+ <content>
+ <xul:vbox class="sidebar-tab-left">
+ <xul:spacer class="sidebar-tab-left-top" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
+ <xul:spacer class="sidebar-tab-left-mid" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"
+ flex="1"/>
+ <xul:spacer class="sidebar-tab-left-btm" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
+ </xul:vbox>
+
+ <xul:stack class="sidebar-tab-mid-1">
+ <xul:vbox class="sidebar-tab-mid-2">
+ <xul:spacer class="sidebar-tab-mid-top" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"
+ flex="1"/>
+ <xul:spacer class="sidebar-tab-mid-btm" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
+ </xul:vbox>
+
+ <xul:vbox class="sidebar-tab-text-box">
+ <xul:label class="sidebar-tab-text" xbl:inherits="value=label" crop="right"/>
+ </xul:vbox>
+ </xul:stack>
+
+ <xul:vbox class="sidebar-tab-right">
+ <xul:spacer class="sidebar-tab-right-top" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
+ <xul:spacer class="sidebar-tab-right-mid" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"
+ flex="1"/>
+ <xul:spacer class="sidebar-tab-right-btm" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
+ </xul:vbox>
+
+ <xul:spacer class="sidebar-tab-rightcap" flex="1"/>
+ </content>
+ </binding>
+
+ <binding id="sidebarheader">
+ <content>
+ <xul:label class="sidebar-header-text" xbl:inherits="value=label,crop" crop="right" flex="1"/>
+ <xul:hbox>
+ <children/>
+ </xul:hbox>
+ </content>
+ </binding>
+
+</bindings>
diff --git a/comm/suite/themes/modern/communicator/sidebar/sidebarListView.css b/comm/suite/themes/modern/communicator/sidebar/sidebarListView.css
new file mode 100644
index 0000000000..39f974cbe2
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/sidebar/sidebarListView.css
@@ -0,0 +1,17 @@
+/* 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/. */
+
+treechildren::-moz-tree-image(leaf),
+treechildren::-moz-tree-cell(leaf) {
+ cursor: pointer;
+}
+
+treechildren::-moz-tree-cell-text(leaf, hover) {
+ cursor: pointer;
+ text-decoration: underline;
+}
+
+treechildren::-moz-tree-cell(separator) {
+ cursor: default;
+}