From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- browser/themes/shared/aboutSessionRestore.css | 55 +++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 browser/themes/shared/aboutSessionRestore.css (limited to 'browser/themes/shared/aboutSessionRestore.css') diff --git a/browser/themes/shared/aboutSessionRestore.css b/browser/themes/shared/aboutSessionRestore.css new file mode 100644 index 0000000000..4bc69b0122 --- /dev/null +++ b/browser/themes/shared/aboutSessionRestore.css @@ -0,0 +1,55 @@ +/* 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/. */ + +@import url("chrome://browser/skin/tab-list-tree.css"); + +#tabsToggle { + cursor: pointer; + /* Override button background-color and color from common.css */ + background-color: transparent; + color: var(--in-content-link-color); + -moz-context-properties: fill; + fill: currentColor; + border: none; + padding: 0; + margin: 0; + padding-inline-end: 45px; + position: relative; +} + +#tabsToggle::after { + content: ""; + position: absolute; + width: 100%; + height: 100%; + top: 0; + inset-inline-start: 0; + background-image: url("chrome://global/skin/icons/arrow-down.svg"); + background-repeat: no-repeat; + background-size: 20px; + background-position: right center; +} + +#tabsToggle:dir(rtl)::after { + background-position-x: left; +} + +#tabsToggle:not(.tabs-hidden)::after { + background-image: url("chrome://global/skin/icons/arrow-up.svg"); +} + +#tabsToggle.tabs-hidden > #hideTabs, +#tabsToggle:not(.tabs-hidden) > #showTabs { + display: none; +} + +#tabList { + flex: 1; + min-height: 12em; + margin-top: 1.2em; +} + +.button-container { + text-align: end; +} -- cgit v1.2.3