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 */
20 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
25 .devtools-horizontal-splitter {
31 #devtools-side-splitter {
40 /* In-tools sidebar */
42 .devtools-toolbox-side-iframe {
46 /* === BEGIN common.inc.css === */
48 /* Autocomplete Popup */
49 /* Dark and light theme */
51 .devtools-autocomplete-popup {
52 border: 1px solid #FF9F00;
53 background-color: #000000;
59 .devtools-autocomplete-listbox {
60 background-color: transparent;
61 border-width: 0px !important;
64 .devtools-autocomplete-listbox > richlistitem,
65 .devtools-autocomplete-listbox > richlistitem[selected] {
67 background-color: transparent;
71 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected],
72 .devtools-autocomplete-listbox.dark-theme > richlistitem:hover {
73 /* background-color: rgba(0,0,0,0.5); */
76 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > .autocomplete-value,
77 .devtools-autocomplete-listbox:focus.dark-theme > richlistitem[selected] > .initial-value {
78 /* color: hsl(208,100%,60%);*/
81 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > label {
85 .devtools-autocomplete-listbox.dark-theme > richlistitem > label {
89 .devtools-autocomplete-listbox > richlistitem > .initial-value,
90 .devtools-autocomplete-listbox > richlistitem > .autocomplete-value {
95 .devtools-autocomplete-listbox > richlistitem > .autocomplete-count {
99 /* Rest of the light theme */
101 .devtools-autocomplete-popup.light-theme {
104 .devtools-autocomplete-listbox.light-theme > richlistitem[selected],
105 .devtools-autocomplete-listbox.light-theme > richlistitem:hover {
106 /* background-color: rgba(128,128,128,0.3); */
109 .devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value,
110 .devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value {
114 .devtools-autocomplete-listbox.light-theme > richlistitem > label {
118 /* Responsive container */
120 .devtools-responsive-container {
121 -moz-box-orient: horizontal;
124 @media (max-width: 700px) {
125 .devtools-responsive-container {
126 -moz-box-orient: vertical;
129 .devtools-responsive-container > .devtools-side-splitter {
134 /* In some edge case the cursor is not changed to n-resize */
138 .devtools-responsive-container > .devtools-sidebar-tabs {
144 /* Tooltip widget (see browser/devtools/shared/widgets/Tooltip.js) */
146 .devtools-tooltip.devtools-tooltip-tooltip {
147 /* If the tooltip uses a <tooltip> XUL element */
153 .devtools-tooltip .panel-arrowcontent {
154 /* If the tooltip uses a <panel> XUL element instead */
158 .devtools-tooltip .panel-arrowcontainer {
159 /* Reseting the transition used when panels are shown */
161 /* Panels slide up/down/left/right when they appear using a transform.
162 Since we want to remove the transition, we don't need to transform anymore
163 plus it can interfeer by causing mouseleave events on the underlying nodes */
167 .devtools-tooltip[clamped-dimensions] {
173 .devtools-tooltip[clamped-dimensions] .panel-arrowcontent {
177 /* Tooltip: Simple Text */
179 .devtools-tooltip-simple-text {
182 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
184 white-space: pre-wrap;
187 .devtools-tooltip-simple-text:first-child {
191 .devtools-tooltip-simple-text:last-child {
195 .devtools-tooltip-simple-text {
196 background-color: #000000;
198 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
200 white-space: pre-wrap;
203 .devtools-tooltip-simple-text:first-child {
207 .devtools-tooltip-simple-text:last-child {
211 /* Tooltip: Font Family Previewer Text */
212 .devtools-tooltip-font-previewer-text {
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. */
240 .devtools-tooltip-tiles {
241 background-color: #A09090;
242 background-image: linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF),
243 linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF);
244 background-size: 20px 20px;
245 background-position: 0 0, 10px 10px;
248 .devtools-tooltip-iframe {
250 background: transparent;
253 /* Eyedropper Widget */
255 .devtools-eyedropper-panel {
256 pointer-events: none;
257 -moz-appearance: none;
260 background-color: transparent;
264 /* === END common.inc.css === */