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);
29 /* Bottom-docked toolbox minimize transition */
30 .devtools-toolbox-bottom-iframe {
31 transition: margin-bottom .1s;
36 .devtools-horizontal-splitter {
42 #devtools-side-splitter {
51 .devtools-horizontal-splitter.disabled,
52 .devtools-side-splitter.disabled {
56 /* In-tools sidebar */
58 .devtools-toolbox-side-iframe {
62 /* === BEGIN common.inc.css === */
64 /* Autocomplete Popup */
65 /* Dark and light theme */
67 .devtools-autocomplete-popup {
73 .devtools-autocomplete-listbox {
74 background-color: transparent;
75 border-width: 0px !important;
78 .devtools-autocomplete-listbox > richlistitem,
79 .devtools-autocomplete-listbox > richlistitem[selected] {
81 background-color: transparent;
85 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected],
86 .devtools-autocomplete-listbox.dark-theme > richlistitem:hover {
87 /* background-color: rgba(0,0,0,0.5); */
90 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > .autocomplete-value,
91 .devtools-autocomplete-listbox:focus.dark-theme > richlistitem[selected] > .initial-value {
92 /* color: hsl(208,100%,60%);*/
95 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > label {
99 .devtools-autocomplete-listbox.dark-theme > richlistitem > label {
103 .devtools-autocomplete-listbox > richlistitem > .initial-value,
104 .devtools-autocomplete-listbox > richlistitem > .autocomplete-value {
109 .devtools-autocomplete-listbox > richlistitem > .autocomplete-count {
113 /* Rest of the dark and light theme */
115 .devtools-autocomplete-popup,
117 .CodeMirror-Tern-tooltip {
118 border: 1px solid #FF9F00;
119 background-color: #000000;
122 .devtools-autocomplete-popup.light-theme {
125 .devtools-autocomplete-listbox.light-theme > richlistitem[selected],
126 .devtools-autocomplete-listbox.light-theme > richlistitem:hover {
127 /* background-color: rgba(128,128,128,0.3); */
130 .devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value,
131 .devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value {
135 .devtools-autocomplete-listbox.light-theme > richlistitem > label {
139 /* Responsive container */
141 .devtools-responsive-container {
142 -moz-box-orient: horizontal;
145 @media (max-width: 700px) {
146 .devtools-responsive-container {
147 -moz-box-orient: vertical;
150 .devtools-responsive-container > .devtools-side-splitter {
155 /* In some edge case the cursor is not changed to n-resize */
159 .devtools-responsive-container > .devtools-sidebar-tabs {
165 /* Tooltip widget (see browser/devtools/shared/widgets/Tooltip.js) */
167 .devtools-tooltip.devtools-tooltip-tooltip {
168 /* If the tooltip uses a <tooltip> XUL element */
174 .devtools-tooltip .panel-arrowcontent {
175 /* If the tooltip uses a <panel> XUL element instead */
179 .devtools-tooltip .panel-arrowcontainer {
180 /* Reseting the transition used when panels are shown */
182 /* Panels slide up/down/left/right when they appear using a transform.
183 Since we want to remove the transition, we don't need to transform anymore
184 plus it can interfeer by causing mouseleave events on the underlying nodes */
188 .devtools-tooltip[clamped-dimensions] {
194 .devtools-tooltip[clamped-dimensions-no-min-height] {
200 .devtools-tooltip[clamped-dimensions-no-max-or-min-height] {
204 .devtools-tooltip[clamped-dimensions] .panel-arrowcontent,
205 .devtools-tooltip[clamped-dimensions-no-min-height] .panel-arrowcontent,
206 .devtools-tooltip[clamped-dimensions-no-max-or-min-height] .panel-arrowcontent {
209 .devtools-tooltip[wide] {
213 /* Tooltip: Simple Text */
215 .devtools-tooltip-simple-text {
218 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
220 white-space: pre-wrap;
223 .devtools-tooltip-simple-text:first-child {
227 .devtools-tooltip-simple-text:last-child {
231 .devtools-tooltip-simple-text {
232 background-color: #000000;
234 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
236 white-space: pre-wrap;
239 .devtools-tooltip-simple-text:first-child {
243 .devtools-tooltip-simple-text:last-child {
247 /* Tooltip: Alert Icon */
249 .devtools-tooltip-alert-icon {
253 -moz-margin-end: 20px;
256 .devtools-tooltip-alert-icon {
257 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
260 /* Tooltip: Variables View */
262 .devtools-tooltip-variables-view-box {
263 margin: -4px; /* Compensate for the .panel-arrowcontent padding. */
266 .devtools-tooltip-variables-view-box .variable-or-property > .title {
267 -moz-padding-end: 6px;
272 .devtools-tooltip-tiles {
273 background-color: #A09090;
274 background-image: linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF),
275 linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF);
276 background-size: 20px 20px;
277 background-position: 0 0, 10px 10px;
280 .devtools-tooltip-iframe {
282 background: transparent;
285 /* Eyedropper Widget */
287 .devtools-eyedropper-panel {
288 pointer-events: none;
289 -moz-appearance: none;
292 background-color: transparent;
301 #color-value.highlight {
305 /* Links to source code, like displaying `myfile.js:45` */
307 .devtools-source-link {
308 font-family: var(--monospace-font-family);
309 color: var(--theme-text-blue);
313 align-self: flex-start;
314 text-decoration: none;
316 width: 12em; /* probably should be changed for each tool */
319 .devtools-source-link:hover {
320 text-decoration: underline;
323 .devtools-source-link > .filename {
324 text-overflow: ellipsis;
331 .devtools-source-link > .line-number {
337 /* === END common.inc.css === */