fourth part of synching LCARStrek with windows theme changes in Firefox 28 cycle
[themes.git] / LCARStrek / browser / devtools / common.css
... / ...
CommitLineData
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/. */
5
6/* LCARS-specific rules that should be limited to toolbox but there's no other place to put them */
7window {
8 padding: 0;
9}
10
11notification {
12 margin-bottom: 3px;
13}
14
15/* End LCARStrek toolbox rules */
16
17
18/* Font for code */
19.devtools-monospace {
20 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
21}
22
23/* Splitters */
24
25.devtools-horizontal-splitter {
26 min-height: 3px;
27 height: 3px;
28 position: relative;
29}
30
31#devtools-side-splitter {
32 min-width: 0;
33 width: 3px;
34 border: none;
35 margin: 0 3px;
36 position: relative;
37 cursor: e-resize;
38}
39
40/* In-tools sidebar */
41
42.devtools-toolbox-side-iframe {
43 min-width: 465px;
44}
45
46/* === BEGIN common.inc.css === */
47
48/* Autocomplete Popup */
49/* Dark and light theme */
50
51.devtools-autocomplete-popup {
52 border: 1px solid #FF9F00;
53 background-color: #000000;
54 border-radius: 3px;
55 overflow-x: hidden;
56 max-height: 40rem;
57}
58
59.devtools-autocomplete-listbox {
60 background-color: transparent;
61 border-width: 0px !important;
62}
63
64.devtools-autocomplete-listbox > richlistitem,
65.devtools-autocomplete-listbox > richlistitem[selected] {
66 width: 100%;
67 background-color: transparent;
68 border-radius: 4px;
69}
70
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); */
74}
75
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%);*/
79}
80
81.devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > label {
82/* color: #eee;*/
83}
84
85.devtools-autocomplete-listbox.dark-theme > richlistitem > label {
86/* color: #ccc;*/
87}
88
89.devtools-autocomplete-listbox > richlistitem > .initial-value,
90.devtools-autocomplete-listbox > richlistitem > .autocomplete-value {
91 margin: 0;
92 padding: 1px 0;
93}
94
95.devtools-autocomplete-listbox > richlistitem > .autocomplete-count {
96 text-align: right;
97}
98
99/* Rest of the light theme */
100
101.devtools-autocomplete-popup.light-theme {
102}
103
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); */
107}
108
109.devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value,
110.devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value {
111/* color: #222;*/
112}
113
114.devtools-autocomplete-listbox.light-theme > richlistitem > label {
115/* color: #666;*/
116}
117
118/* Responsive container */
119
120.devtools-responsive-container {
121 -moz-box-orient: horizontal;
122}
123
124@media (max-width: 700px) {
125 .devtools-responsive-container {
126 -moz-box-orient: vertical;
127 }
128
129 .devtools-responsive-container > .devtools-side-splitter {
130 border: 0;
131 margin: 3px 0;
132 min-height: 3px;
133 height: 3px;
134 /* In some edge case the cursor is not changed to n-resize */
135 cursor: n-resize;
136 }
137
138 .devtools-responsive-container > .devtools-sidebar-tabs {
139 min-height: 35vh;
140 max-height: 75vh;
141 }
142}
143
144/* Tooltip widget (see browser/devtools/shared/widgets/Tooltip.js) */
145
146.devtools-tooltip.devtools-tooltip-tooltip {
147 /* If the tooltip uses a <tooltip> XUL element */
148 padding: 4px;
149 background: #A09090;
150 border-radius: 3px;
151}
152
153.devtools-tooltip .panel-arrowcontent {
154 /* If the tooltip uses a <panel> XUL element instead */
155 padding: 4px;
156}
157
158.devtools-tooltip .panel-arrowcontainer {
159 /* Reseting the transition used when panels are shown */
160 transition: none;
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 */
164 transform: none;
165}
166
167.devtools-tooltip[clamped-dimensions] {
168 max-height: 400px;
169 max-width: 400px;
170}
171.devtools-tooltip[clamped-dimensions] .panel-arrowcontent {
172 overflow: hidden;
173}
174
175/* Tooltip: Simple Text */
176
177.devtools-tooltip-simple-text {
178 background: #000000;
179 max-width: 400px;
180 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
181 padding: 8px 12px;
182 white-space: pre-wrap;
183}
184
185.devtools-tooltip-simple-text:first-child {
186 margin-top: -4px;
187}
188
189.devtools-tooltip-simple-text:last-child {
190 margin-bottom: -4px;
191}
192
193.devtools-tooltip-simple-text {
194 background-color: #000000;
195 max-width: 400px;
196 margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
197 padding: 8px 12px;
198 white-space: pre-wrap;
199}
200
201.devtools-tooltip-simple-text:first-child {
202 margin-top: -4px;
203}
204
205.devtools-tooltip-simple-text:last-child {
206 margin-bottom: -4px;
207}
208
209/* Tooltip: Variables View */
210
211.devtools-tooltip-variables-view-box {
212 margin: -4px; /* Compensate for the .panel-arrowcontent padding. */
213}
214
215/* Tooltip: Tiles */
216
217.devtools-tooltip-tiles {
218 background-color: #A09090;
219 background-image: linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF),
220 linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF);
221 background-size: 20px 20px;
222 background-position: 0 0, 10px 10px;
223}
224
225/* === END common.inc.css === */