Bug 1692840 - Add "Open a New Tab" at the top of the tabstrip context menu. r=Gijs
[gecko.git] / browser / themes / shared / aboutSessionRestore.css
blob54ebacd1dcf5fcf5007a6e91afb8808d7eb8adb1
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/. */
5 @media not (-moz-proton) {
6 .description-wrapper {
7 background-image: url("chrome://browser/skin/illustrations/error-session-restore.svg");
8 background-repeat: no-repeat;
9 background-size: 38%;
10 padding-inline-start: 38%;
11 background-position: left center;
12 min-height: 300px;
14 } /*** END !proton ***/
16 .description-wrapper:dir(rtl) {
17 background-position-x: right;
20 .title {
21 background-image: none;
24 #tabsToggle {
25 cursor: pointer;
26 /* Override button background-color and color from common.css */
27 background-color: transparent;
28 color: var(--in-content-link-color) !important;
29 -moz-context-properties: fill;
30 fill: currentColor;
31 border: none;
32 padding: 0;
33 margin: 0;
34 padding-inline-end: 45px;
35 position: relative;
38 #tabsToggle:after {
39 content: "";
40 position: absolute;
41 width: 100%;
42 height: 100%;
43 top: 0;
44 inset-inline-start: 0;
45 background-image: url("chrome://global/skin/icons/arrow-dropdown-16.svg");
46 background-repeat: no-repeat;
47 background-size: 20px;
48 background-position: right center;
51 #tabsToggle:dir(rtl):after {
52 background-position-x: left;
55 #tabsToggle:not(.show-tabs):after {
56 transform: scaleY(-1);
59 #tabsToggle.show-tabs > #hideTabs,
60 #tabsToggle:not(.show-tabs) > #showTabs {
61 display: none;
64 .tree-container:not(.expanded) {
65 visibility: collapse;
68 .button-container {
69 text-align: end;
72 treechildren::-moz-tree-image(icon),
73 treechildren::-moz-tree-image(noicon) {
74 padding-inline-end: 2px;
75 margin: 0 2px;
76 width: 16px;
77 height: 16px;
80 treechildren::-moz-tree-image(noicon) {
81 list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
82 -moz-context-properties: fill;
83 fill: currentColor;
85 treechildren::-moz-tree-image(container, noicon) {
86 list-style-image: url("chrome://browser/skin/window.svg");
89 treechildren::-moz-tree-image(checked),
90 treechildren::-moz-tree-image(partial) {
91 -moz-context-properties: fill, stroke;
92 fill: var(--in-content-accent-color);
95 treechildren::-moz-tree-image(checked, selected),
96 treechildren::-moz-tree-image(partial, selected) {
97 fill: var(--in-content-item-selected-text);
98 stroke: var(--in-content-item-selected);
101 treechildren::-moz-tree-image(checked) {
102 list-style-image: url("chrome://global/skin/icons/check.svg");
105 treechildren::-moz-tree-image(partial) {
106 list-style-image: url("chrome://global/skin/icons/check-partial.svg");