summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/components/Editor/Footer.css
blob: 4a3272879bf46b36ecc5bc75c13e46eac6704b8e (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
/* 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/>. */

.source-footer {
  background: var(--theme-body-background);
  border-top: 1px solid var(--theme-splitter-color);
  grid-area: editor-footer;
  display: flex;
  opacity: 1;
  width: calc(100% - 1px);
  user-select: none;
  height: var(--editor-footer-height);
  box-sizing: border-box;
}

.source-footer button {
  outline-offset: -2px;
}

.source-footer-start {
  display: flex;
  align-items: center;
  justify-self: start;
}

.source-footer-end {
  display: flex;
  margin-left: auto;
}

.source-footer .commands * {
  user-select: none;
}

.source-footer .commands {
  display: flex;
}

.source-footer .commands .action {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 200ms;
  border: none;
  background: transparent;
  padding: 4px 6px;
}

.source-footer .commands button.action:hover {
  background: var(--theme-toolbar-background-hover);
}

:root.theme-dark .source-footer .commands .action {
  fill: var(--theme-body-color);
}

:root.theme-dark .source-footer .commands .action:hover {
  fill: var(--theme-selection-color);
}

.source-footer .blackboxed .img.blackBox {
  background-color: #806414;
}

.source-footer .commands button.prettyPrint:disabled {
  opacity: 0.6;
}

.source-footer .mapped-source,
.source-footer .cursor-position {
  color: var(--theme-body-color);
  padding-right: 2.5px;
}

.source-footer .mapped-source {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-footer .cursor-position {
  padding: 5px;
  white-space: nowrap;
}