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);
31 /* Bottom-docked toolbox minimize transition */
32 .devtools-toolbox-bottom-iframe {
33 transition: margin-bottom .1s;
36 /* Autocomplete Popup */
37 /* Dark and light theme */
39 .devtools-autocomplete-popup {
45 .devtools-autocomplete-listbox {
46 background-color: transparent;
47 border-width: 0px !important;
50 .devtools-autocomplete-listbox > richlistitem,
51 .devtools-autocomplete-listbox > richlistitem[selected] {
53 background-color: transparent;
57 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected],
58 .devtools-autocomplete-listbox.dark-theme > richlistitem:hover {
59 /* background-color: rgba(0,0,0,0.5); */
62 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > .autocomplete-value,
63 .devtools-autocomplete-listbox:focus.dark-theme > richlistitem[selected] > .initial-value {
64 /* color: hsl(208,100%,60%);*/
67 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > label {
71 .devtools-autocomplete-listbox.dark-theme > richlistitem > label {
75 .devtools-autocomplete-listbox > richlistitem > .initial-value,
76 .devtools-autocomplete-listbox > richlistitem > .autocomplete-value {
81 .devtools-autocomplete-listbox > richlistitem > .autocomplete-count {
85 /* Rest of the dark and light theme */
87 .devtools-autocomplete-popup,
89 .CodeMirror-Tern-tooltip {
90 border: 1px solid #FF9F00;
91 background-color: #000000;
94 .devtools-autocomplete-popup.light-theme {
97 .devtools-autocomplete-listbox.light-theme > richlistitem[selected],
98 .devtools-autocomplete-listbox.light-theme > richlistitem:hover {
99 /* background-color: rgba(128,128,128,0.3); */
102 .devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value,
103 .devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value {
107 .devtools-autocomplete-listbox.light-theme > richlistitem > label {
111 /* Responsive container */
113 .devtools-responsive-container {
114 -moz-box-orient: horizontal;
117 @media (max-width: 700px) {
118 .devtools-responsive-container {
119 -moz-box-orient: vertical;
122 .devtools-responsive-container > .devtools-side-splitter {
127 /* In some edge case the cursor is not changed to n-resize */
131 .devtools-responsive-container > .devtools-sidebar-tabs {
137 /* Tooltip widget (see browser/devtools/shared/widgets/Tooltip.js) */
139 .devtools-tooltip.devtools-tooltip-tooltip {
140 /* If the tooltip uses a <tooltip> XUL element */
146 .devtools-tooltip .panel-arrowcontent {
147 /* If the tooltip uses a <panel> XUL element instead */
151 .devtools-tooltip .panel-arrowcontainer {
152 /* Reseting the transition used when panels are shown */
154 /* Panels slide up/down/left/right when they appear using a transform.
155 Since we want to remove the transition, we don't need to transform anymore
156 plus it can interfeer by causing mouseleave events on the underlying nodes */
160 .devtools-tooltip[clamped-dimensions] {
166 .devtools-tooltip[clamped-dimensions-no-min-height] {
172 .devtools-tooltip[clamped-dimensions-no-max-or-min-height] {
176 .devtools-tooltip[clamped-dimensions] .panel-arrowcontent,
177 .devtools-tooltip[clamped-dimensions-no-min-height] .panel-arrowcontent,
178 .devtools-tooltip[clamped-dimensions-no-max-or-min-height] .panel-arrowcontent {
181 .devtools-tooltip[wide] {
185 /* Tooltip: Simple Text */
187 .devtools-tooltip-simple-text {
190 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
192 white-space: pre-wrap;
195 .devtools-tooltip-simple-text:first-child {
199 .devtools-tooltip-simple-text:last-child {
203 .devtools-tooltip-simple-text {
204 background-color: #000000;
206 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
208 white-space: pre-wrap;
211 .devtools-tooltip-simple-text:first-child {
215 .devtools-tooltip-simple-text:last-child {
219 /* Tooltip: Alert Icon */
221 .devtools-tooltip-alert-icon {
225 -moz-margin-end: 20px;
228 .devtools-tooltip-alert-icon {
229 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
232 /* Tooltip: Variables View */
234 .devtools-tooltip-variables-view-box {
235 margin: -4px; /* Compensate for the .panel-arrowcontent padding. */
238 .devtools-tooltip-variables-view-box .variable-or-property > .title {
239 -moz-padding-end: 6px;
244 .devtools-tooltip-tiles {
245 background-color: #A09090;
246 background-image: linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF),
247 linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF);
248 background-size: 20px 20px;
249 background-position: 0 0, 10px 10px;
252 .devtools-tooltip-iframe {
254 background: transparent;
257 /* Links to source code, like displaying `myfile.js:45` */
259 .devtools-source-link {
260 font-family: var(--monospace-font-family);
261 color: var(--theme-text-blue);
265 align-self: flex-start;
266 text-decoration: none;
268 width: 12em; /* probably should be changed for each tool */
271 .devtools-source-link:hover {
272 text-decoration: underline;
275 .devtools-source-link > .filename {
276 text-overflow: ellipsis;
283 .devtools-source-link > .line-number {