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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
|
/* 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/. */
/* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
We are copy/pasting variables from light-theme and dark-theme,
since they aren't loaded in this context (within commandlineoutput.xhtml
and commandlinetooltip.xhtml). */
:root[devtoolstheme="light"] {
--gcli-background-color: #fcfcfc; /* --theme-tab-toolbar-background */
--gcli-input-focused-background: #ffffff; /* --theme-sidebar-background */
--gcli-input-color: #393f4c; /* --theme-body-color */
--gcli-border-color: #dde1e4; /* --theme-splitter-color */
}
:root[devtoolstheme="dark"] {
--gcli-background-color: #272b35; /* --theme-toolbar-background */
--gcli-input-focused-background: #272b35; /* --theme-tab-toolbar-background */
--gcli-input-color: #b6babf; /* --theme-body-color-alt */
--gcli-border-color: #454d5d; /* --theme-splitter-color */
}
.gcli-body {
margin: 0;
font: message-box;
color: var(--gcli-input-color);
}
#gcli-output-root,
#gcli-tooltip-root {
border: 1px solid var(--gcli-border-color);
border-radius: 3px;
background-color: var(--gcli-background-color);
}
#gcli-output-root {
padding: 5px 10px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-bottom: 0;
}
#gcli-tooltip-root {
padding: 5px 0px;
}
#gcli-tooltip-connector {
margin-top: -1px;
margin-left: 8px;
width: 20px;
height: 10px;
border-left: 1px solid var(--gcli-border-color);
border-right: 1px solid var(--gcli-border-color);
background-color: var(--gcli-background-color);
}
.gcli-tt-description,
.gcli-tt-error {
padding: 0 10px;
}
.gcli-row-out {
padding: 0 5px;
line-height: 1.2em;
border-top: none;
border-bottom: none;
color: var(--gcli-input-color);
}
.gcli-row-out p,
.gcli-row-out h1,
.gcli-row-out h2,
.gcli-row-out h3 {
margin: 5px 0;
}
.gcli-row-out h1,
.gcli-row-out h2,
.gcli-row-out h3,
.gcli-row-out h4,
.gcli-row-out h5,
.gcli-row-out th,
.gcli-row-out strong,
.gcli-row-out pre {
color: var(--gcli-input-color);
}
.gcli-row-out pre {
font-size: 80%;
}
.gcli-row-out td {
white-space: nowrap;
}
.gcli-out-shortcut,
.gcli-help-synopsis {
padding: 0 3px;
margin: 0 4px;
font-weight: normal;
font-size: 90%;
border-radius: 3px;
background-color: var(--gcli-background-color);
border: 1px solid var(--gcli-border-color);
}
.gcli-out-shortcut:before,
.gcli-help-synopsis:before {
color: var(--gcli-input-color);
padding-inline-end: 2px;
}
.gcli-help-arrow {
color: #666;
}
.gcli-help-description {
margin: 0 20px;
padding: 0;
}
.gcli-help-parameter {
margin: 0 30px;
padding: 0;
}
.gcli-help-header {
margin: 10px 0 6px;
}
.gcli-menu-name {
padding-inline-start: 8px;
}
.gcli-menu-desc {
padding-inline-end: 8px;
color: var(--gcli-input-color);
}
.gcli-menu-name:hover,
.gcli-menu-desc:hover {
background-color: var(--gcli-input-focused-background);
}
.gcli-menu-highlight,
.gcli-menu-highlight:hover {
background-color: hsla(0,100%,100%,.1);
}
.gcli-menu-typed {
color: hsl(25,78%,50%);
}
.gcli-menu-more {
font-size: 80%;
text-align: end;
padding-inline-end: 8px;
}
.gcli-addon-disabled {
opacity: 0.6;
text-decoration: line-through;
}
.gcli-breakpoint-label {
font-weight: bold;
}
.gcli-breakpoint-lineText {
font-family: monospace;
}
|