blob: f3382e94b5c28ec00677d782e7144bc36bcdf13e (
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
|
/* 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;
}
.devtools-button.debugger-source-map-button {
display: inline-flex;
align-items: center;
margin: 0;
--menuitem-icon-image: url("chrome://devtools/content/debugger/images/sourcemap.svg");
&.not-mapped {
--icon-color: var(--theme-icon-dimmed-color);
}
&.original {
--icon-color: var(--theme-icon-checked-color);
--menuitem-icon-image: url("chrome://devtools/content/debugger/images/sourcemap-active.svg");
}
&.error {
--icon-color: var(--theme-icon-warning-color);
}
&.disabled {
--icon-color: var(--theme-icon-dimmed-color);
--menuitem-icon-image: url("chrome://devtools/content/debugger/images/sourcemap-disabled.svg");
}
&.loading {
--menuitem-icon-image: url("chrome://devtools/content/debugger/images/loader.svg");
}
&::before {
/* override default style to have similar left and right margins */
margin-inline-end: 3px;
color: var(--icon-color, currentColor);
}
&.loading::before {
animation: spin 2s linear infinite;
}
}
.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;
}
|