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 @import url("splitters.css");
8 /* LCARS-specific rules that should be limited to toolbox but there's no other place to put them */
17 /* End LCARStrek toolbox rules */
20 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
21 --proportional-font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
22 --monospace-font-family: "Liberation Mono", Consolas, "Courier New", monospace;
23 --monospace-font-size: 12px;
27 font-family: var(--monospace-font-family);
28 font-size: var(--monospace-font-size);
32 /* Autocomplete Popup */
34 .devtools-autocomplete-popup {
40 .devtools-autocomplete-listbox {
41 background-color: transparent;
42 border-width: 0px !important;
45 .devtools-autocomplete-listbox > richlistitem,
46 .devtools-autocomplete-listbox > richlistitem[selected] {
48 background-color: transparent;
52 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected],
53 .devtools-autocomplete-listbox.dark-theme > richlistitem:hover {
54 /* background-color: rgba(0,0,0,0.5); */
57 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > .autocomplete-value,
58 .devtools-autocomplete-listbox:focus.dark-theme > richlistitem[selected] > .initial-value {
59 /* color: hsl(208,100%,60%);*/
62 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > label {
66 .devtools-autocomplete-listbox.dark-theme > richlistitem > label {
70 .devtools-autocomplete-listbox > richlistitem > .initial-value,
71 .devtools-autocomplete-listbox > richlistitem > .autocomplete-value {
76 .devtools-autocomplete-listbox > richlistitem > .autocomplete-count {
80 /* Rest of the dark and light theme */
82 .devtools-autocomplete-popup,
84 .CodeMirror-Tern-tooltip {
85 border: 1px solid #FF9F00;
86 background-color: #000000;
89 .devtools-autocomplete-popup.light-theme {
92 .devtools-autocomplete-listbox.firebug-theme > richlistitem[selected],
93 .devtools-autocomplete-listbox.firebug-theme > richlistitem:hover,
94 .devtools-autocomplete-listbox.light-theme > richlistitem[selected],
95 .devtools-autocomplete-listbox.light-theme > richlistitem:hover {
96 /* background-color: rgba(128,128,128,0.3); */
99 .devtools-autocomplete-listbox.firebug-theme > richlistitem[selected] > .autocomplete-value,
100 .devtools-autocomplete-listbox:focus.firebug-theme > richlistitem[selected] > .initial-value,
101 .devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value,
102 .devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value {
106 .devtools-autocomplete-listbox.firebug-theme > richlistitem > label,
107 .devtools-autocomplete-listbox.light-theme > richlistitem > label {
111 /* Tooltip widget (see devtools/client/shared/widgets/Tooltip.js) */
113 .devtools-tooltip.devtools-tooltip-tooltip {
114 /* If the tooltip uses a <tooltip> XUL element */
120 .devtools-tooltip .panel-arrowcontent {
124 .devtools-tooltip .panel-arrowcontainer {
125 /* Reseting the transition used when panels are shown */
127 /* Panels slide up/down/left/right when they appear using a transform.
128 Since we want to remove the transition, we don't need to transform anymore
129 plus it can interfeer by causing mouseleave events on the underlying nodes */
133 .devtools-tooltip[clamped-dimensions] {
139 .devtools-tooltip[clamped-dimensions-no-min-height] {
145 .devtools-tooltip[clamped-dimensions-no-max-or-min-height] {
149 .devtools-tooltip[clamped-dimensions] .panel-arrowcontent,
150 .devtools-tooltip[clamped-dimensions-no-min-height] .panel-arrowcontent,
151 .devtools-tooltip[clamped-dimensions-no-max-or-min-height] .panel-arrowcontent {
154 .devtools-tooltip[wide] {
158 /* Tooltip: Simple Text */
160 .devtools-tooltip-simple-text {
162 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
164 white-space: pre-wrap;
167 .devtools-tooltip-simple-text:first-child {
171 .devtools-tooltip-simple-text:last-child {
175 /* Tooltip: Alert Icon */
177 .devtools-tooltip-alert-icon {
181 -moz-margin-end: 20px;
184 .devtools-tooltip-alert-icon {
185 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
188 /* Tooltip: Variables View */
190 .devtools-tooltip-variables-view-box {
191 margin: -4px; /* Compensate for the .panel-arrowcontent padding. */
194 .devtools-tooltip-variables-view-box .variable-or-property > .title {
195 -moz-padding-end: 6px;
200 .devtools-tooltip-tiles {
201 background-color: #A09090;
202 background-image: linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF),
203 linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF);
204 background-size: 20px 20px;
205 background-position: 0 0, 10px 10px;
208 .devtools-tooltip-iframe {
210 background: transparent;
213 /* links to source code, like displaying `myfile.js:45` */
215 .devtools-source-link {
216 font-family: var(--monospace-font-family);
217 color: var(--theme-text-blue);
221 text-decoration: none;
223 width: 12em; /* probably should be changed for each tool */
226 .devtools-source-link:hover {
227 text-decoration: underline;
230 .devtools-source-link > .filename {
231 text-overflow: ellipsis;
238 .devtools-source-link > .line-number {