aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/browser/devtools/splitview.css
blob: 902fedbed030b7cc41919911853ce2ad7bd70123 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
/* 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/. */


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

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

.theme-dark .splitview-nav-container {
  background-color: var(--theme-toolbar-background);
}

.splitview-nav {
  -moz-appearance: none;
  list-style-image: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.theme-dark .splitview-nav {
  box-shadow: inset -1px 0 0 #000;
}

.theme-dark .splitview-nav:-moz-locale-dir(rtl) {
  box-shadow: inset 1px 0 0 #000;
}

.theme-light .splitview-nav {
  box-shadow: inset -1px 0 0 #aaa;
}

.theme-light .splitview-nav:-moz-locale-dir(rtl) {
  box-shadow: inset 1px 0 0 #aaa;
}

.splitview-nav > li {
  /* To compensate for the top and bottom borders */
  margin-top: -1px;
  margin-bottom: -1px;
  -moz-padding-end: 8px;
  -moz-box-align: center;
  outline: 0;
  vertical-align: bottom;
}

.theme-dark .splitview-nav > li {
  border-top: 1px solid rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(128,128,128,0.15);
}

.theme-dark .splitview-nav > li:last-of-type {
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2);
}

.theme-light  .splitview-nav > li {
  border-top: 1px solid rgba(128,128,128,0.15);
  border-bottom: 1px solid transparent;
}

.theme-light .splitview-nav > li:last-of-type {
  box-shadow: inset 0 -1px 0 rgba(128,128,128,0.15);
}

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

.splitview-nav > li.splitview-active {
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-position: center right, center right, top left;
  background-size: auto, 1px, auto;
}

.splitview-nav > li.splitview-active:-moz-locale-dir(rtl) {
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-position: center left, center left, top right;
}

.theme-dark .splitview-nav > li.splitview-active {
  background-image: url(itemArrow-dark-ltr.svg),
                    linear-gradient(#000, #000),
                    linear-gradient(#1d4f73, #1d4f73);
}

.theme-dark .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) {
  background-image: url(itemArrow-dark-rtl.svg),
                    linear-gradient(#000, #000),
                    linear-gradient(#1d4f73, #1d4f73);
}

.theme-light .splitview-nav > li.splitview-active {
  background-image: url(itemArrow-ltr.svg),
                    linear-gradient(#aaa, #aaa),
                    linear-gradient(#4c9ed9, #4c9ed9);
}

.theme-light .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) {
  background-image: url(itemArrow-rtl.svg),
                    linear-gradient(#aaa, #aaa),
                    linear-gradient(#4c9ed9, #4c9ed9);
}

/* Toolbars */

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

.theme-dark .splitview-main > toolbar,
.theme-dark .loading .splitview-nav-container {
  -moz-border-end: 1px solid #000;
}

.theme-light .splitview-main > toolbar,
.theme-light .loading .splitview-nav-container {
  -moz-border-end: 1px solid #aaa;
}

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