summaryrefslogtreecommitdiffstats
path: root/devtools/client/themes/splitview.css
blob: 291867f3d0d59a942f942526f6590c84b4758a83 (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
/* vim:set ts=2 sw=2 sts=2 et: */
/* 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/. */

.theme-dark {
  --sidemenu-selected-arrow: url(images/item-arrow-dark-ltr.svg);
  --sidemenu-selected-arrow-rtl: url(images/item-arrow-dark-rtl.svg);
}
.theme-light {
  --sidemenu-selected-arrow: url(images/item-arrow-ltr.svg);
  --sidemenu-selected-arrow-rtl: url(images/item-arrow-rtl.svg);
}

.splitview-nav-container .devtools-throbber {
  display: none;
  text-align: center;
}

.loading .splitview-nav-container .devtools-throbber {
  display: block;
}

.splitview-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: var(--theme-sidebar-background);
}

.splitview-nav > li {
  padding-inline-end: 8px;
  -moz-box-align: center;
  outline: 0;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(128,128,128,0.15);
}

.placeholder {
  -moz-box-flex: 1;
  text-align: center;
}

.splitview-nav > li.splitview-active {
  background-color: var(--theme-selection-background);
  color: var(--theme-selection-color);
  background-image: var(--sidemenu-selected-arrow);
  background-repeat: no-repeat;
  background-position: center right;
}

.splitview-nav > li.splitview-active:-moz-locale-dir(rtl) {
  background-image: var(--sidemenu-selected-arrow-rtl);
  background-position: center left;
}

/* Toolbars */

.splitview-main > .devtools-toolbar {
  background-origin: border-box;
  background-clip: border-box;
}

.splitview-main > toolbar,
.loading .splitview-nav-container {
  border-inline-end: 1px solid var(--theme-splitter-color);
}

.splitview-main > .devtools-toolbarbutton {
  font-size: 11px;
  padding: 0 8px;
  width: auto;
  min-width: 48px;
  min-height: 0;
}