summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/aboutSessionRestore.css
blob: d4ee2db3df41fec50473ede2a791999fac717034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* 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/. */

.description-wrapper {
  background-image: url("chrome://browser/skin/illustrations/error-session-restore.svg");
  background-repeat: no-repeat;
  background-size: 38%;
  padding-inline-start: 38%;
  background-position: left center;
  min-height: 300px;
}

.description-wrapper:dir(rtl) {
  background-position-x: right;
}

.title {
  background-image: none;
}

#tabsToggle {
  cursor: pointer;
  /* Override button background-color and color from common.css */
  background-color: transparent;
  color: #0a84ff !important;
  -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-dropdown-16.svg");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: right center;
}

#tabsToggle:dir(rtl):after {
  background-position-x: left;
}

#tabsToggle:not(.show-tabs):after {
  transform: scaleY(-1);
}

#tabsToggle.show-tabs > #hideTabs,
#tabsToggle:not(.show-tabs) > #showTabs {
  display: none;
}

.tree-container:not(.expanded) {
  visibility: collapse;
}

.button-container {
  text-align: end;
}

treechildren::-moz-tree-image(icon),
treechildren::-moz-tree-image(noicon) {
  padding-inline-end: 2px;
  margin: 0 2px;
  width: 16px;
  height: 16px;
}

treechildren::-moz-tree-image(noicon) {
  list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg");
  -moz-context-properties: fill;
  fill: currentColor;
}
treechildren::-moz-tree-image(container, noicon) {
  list-style-image: url("chrome://browser/skin/window.svg");
}

treechildren::-moz-tree-image(checked) {
  list-style-image: url("chrome://global/skin/icons/check.svg");
  -moz-context-properties: fill, stroke;
  fill: #2292d0;
}
treechildren::-moz-tree-image(checked, selected) {
  fill: white;
  stroke: #0095dd;
}

treechildren::-moz-tree-image(partial) {
  list-style-image: url("chrome://global/skin/icons/check-partial.svg");
  -moz-context-properties: fill, stroke;
  fill: #2292d0;
}
treechildren::-moz-tree-image(partial, selected) {
  fill: white;
  stroke: #0095dd;
}