summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/aboutSessionRestore.css
blob: 4bc69b0122577b16d469fad71c22e0357f3a47c9 (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
/* 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;
}