From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../modern/communicator/sidebar/customize.css | 7 + .../themes/modern/communicator/sidebar/preview.css | 19 ++ .../communicator/sidebar/sbar-top-tabopen.png | Bin 0 -> 845 bytes .../modern/communicator/sidebar/sbar-top.png | Bin 0 -> 814 bytes .../modern/communicator/sidebar/sbpicker-arrow.png | Bin 0 -> 91 bytes .../modern/communicator/sidebar/sbtab-lft-act.png | Bin 0 -> 216 bytes .../modern/communicator/sidebar/sbtab-lft-sel.png | Bin 0 -> 207 bytes .../modern/communicator/sidebar/sbtab-lft.png | Bin 0 -> 207 bytes .../modern/communicator/sidebar/sbtab-mid-act.png | Bin 0 -> 108 bytes .../modern/communicator/sidebar/sbtab-mid-sel.png | Bin 0 -> 101 bytes .../modern/communicator/sidebar/sbtab-mid.png | Bin 0 -> 102 bytes .../communicator/sidebar/sbtab-rit-btm-act.png | Bin 0 -> 131 bytes .../communicator/sidebar/sbtab-rit-btm-hov.png | Bin 0 -> 151 bytes .../communicator/sidebar/sbtab-rit-top-act.png | Bin 0 -> 766 bytes .../communicator/sidebar/sbtab-rit-top-hov.png | Bin 0 -> 673 bytes .../communicator/sidebar/sbtab-rit-top-sel.png | Bin 0 -> 676 bytes .../modern/communicator/sidebar/sbtab-rit-top.png | Bin 0 -> 537 bytes .../themes/modern/communicator/sidebar/sidebar.css | 247 +++++++++++++++++++++ .../communicator/sidebar/sidebarBindings.xml | 69 ++++++ .../communicator/sidebar/sidebarListView.css | 17 ++ 20 files changed, 359 insertions(+) create mode 100644 comm/suite/themes/modern/communicator/sidebar/customize.css create mode 100644 comm/suite/themes/modern/communicator/sidebar/preview.css create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbar-top-tabopen.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbar-top.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbpicker-arrow.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-lft-act.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-lft-sel.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-lft.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-mid-act.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-mid-sel.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-mid.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-act.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-hov.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-act.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-hov.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-sel.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top.png create mode 100644 comm/suite/themes/modern/communicator/sidebar/sidebar.css create mode 100644 comm/suite/themes/modern/communicator/sidebar/sidebarBindings.xml create mode 100644 comm/suite/themes/modern/communicator/sidebar/sidebarListView.css (limited to 'comm/suite/themes/modern/communicator/sidebar') 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbar-top-tabopen.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbar-top.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbpicker-arrow.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-lft-act.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-lft-sel.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-lft.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-mid-act.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-mid-sel.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-mid.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-act.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-btm-hov.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-act.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-hov.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top-sel.png 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 Binary files /dev/null and b/comm/suite/themes/modern/communicator/sidebar/sbtab-rit-top.png 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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; +} -- cgit v1.2.3