aboutSessionRestore.css (1248B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 @import url("chrome://browser/skin/tab-list-tree.css"); 6 7 #tabsToggle { 8 cursor: pointer; 9 /* Override button background-color and color from common.css */ 10 background-color: transparent; 11 color: var(--link-color); 12 -moz-context-properties: fill; 13 fill: currentColor; 14 border: none; 15 padding: 0; 16 margin: 0; 17 padding-inline-end: 45px; 18 position: relative; 19 } 20 21 #tabsToggle::after { 22 content: ""; 23 position: absolute; 24 width: 100%; 25 height: 100%; 26 top: 0; 27 inset-inline-start: 0; 28 background-image: url("chrome://global/skin/icons/arrow-down.svg"); 29 background-repeat: no-repeat; 30 background-size: 20px; 31 background-position: right center; 32 } 33 34 #tabsToggle:dir(rtl)::after { 35 background-position-x: left; 36 } 37 38 #tabsToggle:not(.tabs-hidden)::after { 39 background-image: url("chrome://global/skin/icons/arrow-up.svg"); 40 } 41 42 #tabsToggle.tabs-hidden > #hideTabs, 43 #tabsToggle:not(.tabs-hidden) > #showTabs { 44 display: none; 45 } 46 47 #tabList { 48 flex: 1; 49 min-height: 12em; 50 margin-top: 1.2em; 51 } 52 53 .button-container { 54 text-align: end; 55 }