1 /* vim:set ts=2 sw=2 sts=2 et: */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 /* LCARS-specific rules that should be limited to toolbox but there's no other place to put them */
15 /* End LCARStrek toolbox rules */
18 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
19 --monospace-font-family: "Liberation Mono", Consolas, "Courier New", monospace;
20 --monospace-font-size: 12px;
25 font-family: var(--monospace-font-family);
26 font-size: var(--monospace-font-size);
31 .devtools-horizontal-splitter {
37 #devtools-side-splitter {
46 /* In-tools sidebar */
48 .devtools-toolbox-side-iframe {
52 /* === BEGIN common.inc.css === */
54 /* Autocomplete Popup */
55 /* Dark and light theme */
57 .devtools-autocomplete-popup {
63 .devtools-autocomplete-listbox {
64 background-color: transparent;
65 border-width: 0px !important;
68 .devtools-autocomplete-listbox > richlistitem,
69 .devtools-autocomplete-listbox > richlistitem[selected] {
71 background-color: transparent;
75 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected],
76 .devtools-autocomplete-listbox.dark-theme > richlistitem:hover {
77 /* background-color: rgba(0,0,0,0.5); */
80 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > .autocomplete-value,
81 .devtools-autocomplete-listbox:focus.dark-theme > richlistitem[selected] > .initial-value {
82 /* color: hsl(208,100%,60%);*/
85 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > label {
89 .devtools-autocomplete-listbox.dark-theme > richlistitem > label {
93 .devtools-autocomplete-listbox > richlistitem > .initial-value,
94 .devtools-autocomplete-listbox > richlistitem > .autocomplete-value {
99 .devtools-autocomplete-listbox > richlistitem > .autocomplete-count {
103 /* Rest of the dark and light theme */
105 .devtools-autocomplete-popup,
107 .CodeMirror-Tern-tooltip {
108 border: 1px solid #FF9F00;
109 background-color: #000000;
112 .devtools-autocomplete-popup.light-theme {
115 .devtools-autocomplete-listbox.light-theme > richlistitem[selected],
116 .devtools-autocomplete-listbox.light-theme > richlistitem:hover {
117 /* background-color: rgba(128,128,128,0.3); */
120 .devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value,
121 .devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value {
125 .devtools-autocomplete-listbox.light-theme > richlistitem > label {
129 /* Responsive container */
131 .devtools-responsive-container {
132 -moz-box-orient: horizontal;
135 @media (max-width: 700px) {
136 .devtools-responsive-container {
137 -moz-box-orient: vertical;
140 .devtools-responsive-container > .devtools-side-splitter {
145 /* In some edge case the cursor is not changed to n-resize */
149 .devtools-responsive-container > .devtools-sidebar-tabs {
155 /* Tooltip widget (see browser/devtools/shared/widgets/Tooltip.js) */
157 .devtools-tooltip.devtools-tooltip-tooltip {
158 /* If the tooltip uses a <tooltip> XUL element */
164 .devtools-tooltip .panel-arrowcontent {
165 /* If the tooltip uses a <panel> XUL element instead */
169 .devtools-tooltip .panel-arrowcontainer {
170 /* Reseting the transition used when panels are shown */
172 /* Panels slide up/down/left/right when they appear using a transform.
173 Since we want to remove the transition, we don't need to transform anymore
174 plus it can interfeer by causing mouseleave events on the underlying nodes */
178 .devtools-tooltip[clamped-dimensions] {
184 .devtools-tooltip[clamped-dimensions-no-min-height] {
190 .devtools-tooltip[clamped-dimensions-no-max-or-min-height] {
194 .devtools-tooltip[clamped-dimensions] .panel-arrowcontent,
195 .devtools-tooltip[clamped-dimensions-no-min-height] .panel-arrowcontent,
196 .devtools-tooltip[clamped-dimensions-no-max-or-min-height] .panel-arrowcontent {
199 .devtools-tooltip[wide] {
203 /* Tooltip: Simple Text */
205 .devtools-tooltip-simple-text {
208 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
210 white-space: pre-wrap;
213 .devtools-tooltip-simple-text:first-child {
217 .devtools-tooltip-simple-text:last-child {
221 .devtools-tooltip-simple-text {
222 background-color: #000000;
224 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
226 white-space: pre-wrap;
229 .devtools-tooltip-simple-text:first-child {
233 .devtools-tooltip-simple-text:last-child {
237 /* Tooltip: Alert Icon */
239 .devtools-tooltip-alert-icon {
243 -moz-margin-end: 20px;
246 .devtools-tooltip-alert-icon {
247 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
250 /* Tooltip: Variables View */
252 .devtools-tooltip-variables-view-box {
253 margin: -4px; /* Compensate for the .panel-arrowcontent padding. */
256 .devtools-tooltip-variables-view-box .variable-or-property > .title {
257 -moz-padding-end: 6px;
262 .devtools-tooltip-tiles {
263 background-color: #A09090;
264 background-image: linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF),
265 linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF);
266 background-size: 20px 20px;
267 background-position: 0 0, 10px 10px;
270 .devtools-tooltip-iframe {
272 background: transparent;
275 /* Eyedropper Widget */
277 .devtools-eyedropper-panel {
278 pointer-events: none;
279 -moz-appearance: none;
282 background-color: transparent;
291 #color-value.highlight {
295 /* Links to source code, like displaying `myfile.js:45` */
297 .devtools-source-link {
298 font-family: var(--monospace-font-family);
299 color: var(--theme-text-blue);
303 align-self: flex-start;
304 text-decoration: none;
306 width: 12em; /* probably should be changed for each tool */
309 .devtools-source-link:hover {
310 text-decoration: underline;
313 .devtools-source-link > .filename {
314 text-overflow: ellipsis;
321 .devtools-source-link > .line-number {
327 /* === END common.inc.css === */