summaryrefslogtreecommitdiffstats
path: root/devtools/client/jsonview/css/toolbar.css
blob: 58349d887c6a5d01f52bf0f0a6a0dbacabcc7227 (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
/* 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 {
  display: flex;
  height: 22px;
  padding: 1px;
  padding-inline-start: 2px;
  background: var(--theme-toolbar-background);
  border-bottom: 1px solid var(--theme-splitter-color);
}

.toolbar .btn {
  margin-inline-start: 5px;
  color: var(--theme-body-color);
  background: var(--toolbarbutton-background);
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  padding: 0 3px;
  border-radius: 2px;
}

.toolbar .btn:hover {
  background: var(--toolbarbutton-hover-background);
}

.toolbar .btn:not([disabled]):hover:active {
  background-color: var(--theme-selection-background-hover);
}