summaryrefslogtreecommitdiffstats
path: root/comm/suite/themes/modern/communicator/search
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/search
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.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/search')
-rw-r--r--comm/suite/themes/modern/communicator/search/engineManager.css14
-rw-r--r--comm/suite/themes/modern/communicator/search/mainwindow-dropdown-arrow.pngbin0 -> 470 bytes
-rwxr-xr-xcomm/suite/themes/modern/communicator/search/search.css18
-rw-r--r--comm/suite/themes/modern/communicator/search/searchbar.css62
4 files changed, 94 insertions, 0 deletions
diff --git a/comm/suite/themes/modern/communicator/search/engineManager.css b/comm/suite/themes/modern/communicator/search/engineManager.css
new file mode 100644
index 0000000000..53cf96f9d1
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/search/engineManager.css
@@ -0,0 +1,14 @@
+/* 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/. */
+
+#engineChildren::-moz-tree-image(engineName) {
+ margin-inline-end: 4px;
+ margin-inline-start: 1px;
+ width: 16px;
+ height: 16px;
+}
+
+#engineChildren::-moz-tree-row {
+ height: 20px;
+}
diff --git a/comm/suite/themes/modern/communicator/search/mainwindow-dropdown-arrow.png b/comm/suite/themes/modern/communicator/search/mainwindow-dropdown-arrow.png
new file mode 100644
index 0000000000..a556f6e046
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/search/mainwindow-dropdown-arrow.png
Binary files differ
diff --git a/comm/suite/themes/modern/communicator/search/search.css b/comm/suite/themes/modern/communicator/search/search.css
new file mode 100755
index 0000000000..05d79ccb7c
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/search/search.css
@@ -0,0 +1,18 @@
+/* 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/. */
+
+/* ===== search.css =====================================================
+ == Styles specific to the Search sidebar panel.
+ ====================================================================== */
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+.autocomplete-treebody::-moz-tree-cell(datalist-first) {
+ border-top: 1px solid #999999;
+}
+
+#sidebar-search-engines > .menulist-label-box > .menulist-icon {
+ height: 16px;
+ width: 16px;
+}
diff --git a/comm/suite/themes/modern/communicator/search/searchbar.css b/comm/suite/themes/modern/communicator/search/searchbar.css
new file mode 100644
index 0000000000..92ba634510
--- /dev/null
+++ b/comm/suite/themes/modern/communicator/search/searchbar.css
@@ -0,0 +1,62 @@
+/* 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/. */
+
+.searchbar-textbox {
+ width: 6em;
+ min-width: 6em;
+}
+
+/* ::::: search bar ::::: */
+
+.autocomplete-treebody::-moz-tree-cell-text(datalist-first, treecolAutoCompleteComment) {
+ color: #999999;
+ font-size: smaller;
+}
+
+.autocomplete-treebody::-moz-tree-cell(datalist-first) {
+ border-top: 1px solid #999999;
+}
+
+/* ::::: searchbar-engine-button ::::: */
+
+.toolbarbutton-icon {
+ height: 16px;
+ width: 16px;
+ list-style-image: url("chrome://communicator/skin/directory/file-icon.png");
+}
+
+.toolbarbutton-menu-dropmarker {
+ list-style-image: url("chrome://communicator/skin/search/mainwindow-dropdown-arrow.png");
+ -moz-image-region: rect(0, 13px, 11px, 0);
+}
+
+.searchbar-engine-button[open="true"] > .toolbarbutton-menu-dropmarker {
+ -moz-image-region: rect(0, 26px, 11px, 13px);
+}
+
+
+/* ::::: search-go-button ::::: */
+
+.search-go-container {
+ -moz-box-align: center;
+}
+
+.search-go-button {
+ padding: 0px 2px;
+ list-style-image: url("chrome://global/skin/icons/search.png");
+}
+
+@media (-moz-touch-enabled) {
+ .search-go-button {
+ padding: 0px 5px;
+ }
+}
+
+.search-go-button:-moz-locale-dir(rtl) {
+ transform: scaleX(-1);
+}
+
+.searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
+ font-weight: bold;
+}