summaryrefslogtreecommitdiffstats
path: root/devtools/client/jsonview/css/toolbar.css
blob: 833b2119f821fe578979af72bf8c2aa21575e4d8 (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
/* 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/. */

/******************************************************************************/
/* Toolbar */

.toolbar {
  line-height: 20px;
  height: 22px;
  font: message-box;
  padding: 4px 0 3px 0;
}

.toolbar .btn {
  margin-left: 5px;
  background-color: #E6E6E6;
  border: 1px solid rgb(204, 204, 204);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -moz-user-select: none;
  padding: 0 2px;
  border-radius: 2px;
}

.toolbar .btn::-moz-focus-inner {
  border: 1px solid transparent;
}

/******************************************************************************/
/* Firebug Theme */

.theme-firebug .toolbar {
  border-bottom: 1px solid rgb(170, 188, 207);
  background-color: var(--theme-tab-toolbar-background) !important;
  background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
}

.theme-firebug .toolbar .btn {
  border-radius: 2px;
  color: #141414;
  background-color: white;
}

.theme-firebug .toolbar .btn:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.theme-firebug .toolbar .btn:active {
  background-image: none;
  outline: 0;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

/******************************************************************************/
/* Light Theme & Dark Theme*/

.theme-dark .toolbar,
.theme-light .toolbar {
  background-color: var(--theme-toolbar-background);
  border-bottom: 1px solid var(--theme-splitter-color);
  padding: 1px;
  padding-left: 2px;
}

.theme-dark .toolbar .btn,
.theme-light .toolbar .btn {
  min-height: 18px;
  color: var(--theme-content-color1);
  text-shadow: none;
  margin: 1px 2px 1px 2px;
  border: none;
  background-color: rgba(170, 170, 170, .2); /* --toolbar-tab-hover */
  transition: background 0.05s ease-in-out;
}

.theme-dark .toolbar .btn:hover,
.theme-light .toolbar .btn:hover {
  background: rgba(170, 170, 170, .3); /* Splitters */
}

.theme-dark .toolbar .btn:not([disabled]):hover:active,
.theme-light .toolbar .btn:not([disabled]):hover:active {
  background: rgba(170, 170, 170, .4); /* --toolbar-tab-hover-active */
}