summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/tab-list-tree.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /browser/themes/shared/tab-list-tree.css
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/themes/shared/tab-list-tree.css')
-rw-r--r--browser/themes/shared/tab-list-tree.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/browser/themes/shared/tab-list-tree.css b/browser/themes/shared/tab-list-tree.css
new file mode 100644
index 0000000000..ed60f26df1
--- /dev/null
+++ b/browser/themes/shared/tab-list-tree.css
@@ -0,0 +1,50 @@
+/* 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/. */
+
+/* This file is used by both about:sessionrestore and about:welcomeback */
+
+.tab-list-tree-container {
+ display: flex;
+ flex-direction: column;
+ flex-grow: 1;
+ justify-content: center;
+}
+
+treechildren::-moz-tree-image(icon),
+treechildren::-moz-tree-image(noicon) {
+ -moz-context-properties: fill;
+ fill: currentColor;
+ padding-inline-end: 2px;
+ margin: 0 2px;
+ width: 16px;
+ height: 16px;
+}
+
+treechildren::-moz-tree-image(noicon) {
+ list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+}
+
+treechildren::-moz-tree-image(container, noicon) {
+ list-style-image: url("chrome://browser/skin/window.svg");
+}
+
+treechildren::-moz-tree-image(checked),
+treechildren::-moz-tree-image(partial) {
+ -moz-context-properties: fill, stroke;
+ fill: var(--in-content-accent-color);
+}
+
+treechildren::-moz-tree-image(checked, selected),
+treechildren::-moz-tree-image(partial, selected) {
+ fill: var(--in-content-item-selected-text);
+ stroke: var(--in-content-item-selected);
+}
+
+treechildren::-moz-tree-image(checked) {
+ list-style-image: url("chrome://global/skin/icons/check.svg");
+}
+
+treechildren::-moz-tree-image(partial) {
+ list-style-image: url("chrome://global/skin/icons/check-partial.svg");
+}