Commit | Line | Data |
---|---|---|
3d85dbf1 | 1 | /* vim:set ts=2 sw=2 sts=2 et: */ |
9099c61d RK |
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/. */ | |
3d85dbf1 | 5 | |
0142a07b RK |
6 | /* Font for code */ |
7 | .devtools-monospace { | |
8 | font: 12px "Liberation Mono", Consolas, "Courier New", monospace; | |
9 | } | |
10 | ||
3d85dbf1 RK |
11 | /* Toolbar and Toolbar items */ |
12 | ||
13 | .devtools-toolbar { | |
14 | } | |
15 | ||
85cfb236 | 16 | .devtools-menulist, |
3d85dbf1 RK |
17 | .devtools-toolbarbutton { |
18 | } | |
19 | ||
fcfb76ce RK |
20 | .devtools-toolbarbutton > .toolbarbutton-menubutton-button { |
21 | /*-moz-box-orient: horizontal;*/ | |
22 | } | |
23 | ||
85cfb236 | 24 | devtools-menulist:-moz-focusring, |
a40f6a79 RK |
25 | .devtools-toolbarbutton:-moz-focusring { |
26 | outline: 1px dotted #008484; | |
a40f6a79 RK |
27 | } |
28 | ||
3d85dbf1 RK |
29 | .devtools-toolbarbutton > .toolbarbutton-icon { |
30 | } | |
31 | ||
8d7ef0d9 RK |
32 | .devtools-toolbarbutton:not([label]) { |
33 | min-width: 20px; | |
34 | } | |
35 | ||
0142a07b RK |
36 | .devtools-toolbarbutton:not([label]) > .toolbarbutton-text { |
37 | display: none; | |
38 | } | |
39 | ||
37953ab4 | 40 | .devtools-toolbarbutton:not([checked=true]):hover:active { |
3d85dbf1 RK |
41 | } |
42 | ||
85cfb236 | 43 | .devtools-menulist[open=true], |
fcfb76ce RK |
44 | .devtools-toolbarbutton[open=true], |
45 | .devtools-toolbarbutton[checked=true] { | |
46 | } | |
47 | ||
37953ab4 | 48 | .devtools-toolbarbutton[checked=true] { |
3d85dbf1 RK |
49 | } |
50 | ||
37953ab4 | 51 | .devtools-toolbarbutton[checked=true]:hover:active { |
3d85dbf1 RK |
52 | } |
53 | ||
b8384c33 RK |
54 | .devtools-option-toolbarbutton { |
55 | list-style-image: url("chrome://browser/skin/devtools/option-icon.png"); | |
56 | -moz-image-region: rect(0px 16px 16px 0px); | |
57 | background: none; | |
58 | border: none; | |
59 | } | |
60 | ||
61 | .devtools-option-toolbarbutton:hover, | |
62 | .devtools-option-toolbarbutton[open=true] { | |
63 | -moz-image-region: rect(0px 32px 16px 16px); | |
64 | } | |
65 | ||
85cfb236 RK |
66 | .devtools-menulist > .menulist-label-box { |
67 | text-align: center; | |
68 | } | |
69 | ||
70 | .devtools-menulist > .menulist-dropmarker { | |
71 | } | |
72 | ||
73 | .devtools-menulist:focus:not([open="true"]):not(.menulist-compact) > .menulist-label-box { | |
74 | } | |
75 | ||
37953ab4 RK |
76 | /* LCARStrek checkbox colors don't work well against toolbar background */ |
77 | .devtools-toolbar > checkbox { | |
78 | background-color: #000000; | |
79 | padding: 2px; | |
80 | } | |
81 | ||
fcfb76ce RK |
82 | .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { |
83 | } | |
84 | ||
85 | .devtools-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { | |
86 | } | |
87 | ||
88 | .devtools-toolbarbutton[type=menu-button] { | |
89 | padding: 0 1px; | |
90 | -moz-box-align: stretch; | |
91 | } | |
92 | ||
93 | .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, | |
94 | .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { | |
fcfb76ce RK |
95 | -moz-box-align: center; |
96 | } | |
97 | ||
0142a07b | 98 | /* Text input */ |
3d85dbf1 | 99 | |
0142a07b | 100 | .devtools-textinput, |
3d85dbf1 RK |
101 | .devtools-searchinput { |
102 | -moz-appearance: none; | |
56ab361a | 103 | /* margin: 0 3px; |
2efcd25d | 104 | min-height: 22px; |
3d85dbf1 RK |
105 | border: 1px solid hsla(211,68%,6%,.6); |
106 | box-shadow: inset 0 1px 0 hsla(211,68%,6%,.05), 0 0 0 1px hsla(210,40%,83%,.1); | |
107 | border-radius: 2px; | |
108 | background-color: transparent; | |
099c339a | 109 | background-image: linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35)); |
56ab361a | 110 | padding: 3px;*/ |
0142a07b RK |
111 | transition-property: background-color, border-color, box-shadow; |
112 | transition-duration: 150ms; | |
113 | transition-timing-function: ease; | |
56ab361a | 114 | /* color: inherit; */ |
0142a07b RK |
115 | } |
116 | ||
117 | .devtools-searchinput { | |
56ab361a | 118 | background-image: url("magnifying-glass.png")/*, linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35))*/; |
3d85dbf1 | 119 | background-repeat: no-repeat; |
85cfb236 | 120 | background-position: 4px center, top left, top left; |
56ab361a RK |
121 | /* padding-top: 0; |
122 | padding-bottom: 0;*/ | |
3d85dbf1 RK |
123 | -moz-padding-start: 18px; |
124 | -moz-padding-end: 12px; | |
3d85dbf1 RK |
125 | } |
126 | ||
127 | .devtools-searchinput[focused] { | |
56ab361a | 128 | /* border-color: hsl(200,70%,40%) hsl(200,75%,37%) hsl(200,80%,35%); |
3d85dbf1 RK |
129 | background-origin: padding-box; |
130 | background-clip: padding-box; | |
56ab361a | 131 | box-shadow: inset 0 0 0 1px hsla(211,68%,6%,.1);*/ |
3d85dbf1 RK |
132 | } |
133 | ||
134 | .devtools-searchinput:-moz-locale-dir(rtl) { | |
fcfb76ce | 135 | background-position: calc(100% - 4px) center, top left, top left; |
3d85dbf1 RK |
136 | } |
137 | ||
138 | .devtools-searchinput > .textbox-input-box > .textbox-search-icons { | |
139 | display: none; | |
140 | } | |
141 | ||
a7145e95 | 142 | .devtools-searchinput > .textbox-input-box > .textbox-input::-moz-placeholder { |
56ab361a RK |
143 | /* color: hsl(208,10%,66%);*/ |
144 | } | |
145 | ||
146 | .devtools-no-search-result { | |
147 | transition-property: box-shadow, border-color, background-image; | |
148 | /* box-shadow: inset 0 0 0 1px hsla(0,68%,6%,.35); | |
149 | border-color: hsl(10,70%,40%) hsl(10,75%,37%) hsl(10,80%,35%) !important;*/ | |
150 | background-image: url("magnifying-glass.png"), linear-gradient(rgba(255,0,0,.15), rgba(255,0,0,.35)); | |
3d85dbf1 | 151 | } |
713cf603 | 152 | |
85cfb236 RK |
153 | /* Close button */ |
154 | ||
155 | .devtools-closebutton { | |
156 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
157 | min-width: 16px; | |
158 | width: 16px; | |
159 | } | |
160 | ||
161 | .devtools-closebutton > .toolbarbutton-text { | |
162 | display: none; | |
163 | } | |
164 | ||
165 | .devtools-closebutton:hover, | |
166 | .devtools-closebutton:hover:active { | |
167 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
168 | } | |
169 | ||
37953ab4 | 170 | /* Splitters */ |
85cfb236 RK |
171 | |
172 | .devtools-horizontal-splitter { | |
85cfb236 RK |
173 | min-height: 3px; |
174 | height: 3px; | |
85cfb236 RK |
175 | position: relative; |
176 | } | |
713cf603 | 177 | |
8d7ef0d9 | 178 | #devtools-side-splitter { |
37953ab4 RK |
179 | min-width: 0; |
180 | width: 3px; | |
181 | position: relative; | |
713cf603 | 182 | } |
445863a2 | 183 | |
0142a07b RK |
184 | /* In-tools sidebar */ |
185 | ||
186 | .devtools-sidebar-tabs { | |
187 | } | |
188 | ||
189 | .devtools-sidebar-tabs > tabpanels { | |
190 | padding: 0; | |
191 | border: 0; | |
192 | } | |
193 | ||
194 | .devtools-sidebar-tabs > tabs { | |
195 | position: static; | |
196 | overflow: hidden; | |
197 | } | |
198 | ||
199 | .devtools-sidebar-tabs > tabs > .tabs-right, | |
200 | .devtools-sidebar-tabs > tabs > .tabs-left { | |
201 | display: none; | |
202 | } | |
203 | ||
204 | .devtools-sidebar-tabs > tabs > tab { | |
205 | min-width: 78px; | |
206 | text-align: center; | |
207 | -moz-box-flex: 1; | |
208 | position: static; | |
cc7e70eb | 209 | margin-top: 0; |
0142a07b RK |
210 | } |
211 | ||
212 | .devtools-sidebar-tabs > tabs > tab:-moz-focusring { | |
213 | position: static; | |
214 | } | |
215 | ||
216 | .devtools-sidebar-tabs > tabs > tab:last-of-type { | |
217 | -moz-border-end-width: 0; | |
218 | } | |
219 | ||
220 | .devtools-sidebar-tabs > tabs > tab:first-of-type { | |
221 | -moz-margin-start: 0; | |
222 | } | |
223 | ||
224 | .devtools-sidebar-tabs > tabs > tab { | |
225 | } | |
226 | ||
227 | .devtools-sidebar-tabs:-moz-locale-dir(rtl) > tabs > tab { | |
228 | } | |
229 | ||
230 | .devtools-sidebar-tabs > tabs > tab { | |
231 | } | |
232 | ||
233 | .devtools-sidebar-tabs > tabs > tab:hover { | |
234 | } | |
235 | ||
236 | .devtools-sidebar-tabs > tabs > tab:hover:active { | |
237 | } | |
238 | ||
239 | .devtools-sidebar-tabs > tabs > tab[selected=true] + tab { | |
240 | } | |
241 | ||
242 | .devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover { | |
243 | } | |
244 | ||
245 | .devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover:active { | |
246 | } | |
247 | ||
248 | .devtools-sidebar-tabs > tabs > tab[selected=true] { | |
249 | } | |
250 | ||
251 | .devtools-sidebar-tabs > tabs > tab[selected=true]:hover { | |
252 | } | |
253 | ||
254 | .devtools-sidebar-tabs > tabs > tab[selected=true]:hover:active { | |
255 | } | |
256 | ||
257 | /* Theme */ | |
258 | ||
259 | .devtools-theme-background { | |
260 | background-color: #000000; | |
261 | color: #FF9F00; | |
262 | } | |
263 | ||
264 | .devtools-theme-comment { | |
265 | color: #A09090; /* original: grey */ | |
266 | } | |
267 | ||
268 | .devtools-theme-keyword { | |
269 | color: #8050B0; /* original: purple */ | |
270 | } | |
271 | ||
272 | .devtools-theme-string { | |
273 | color: #E7ADE7; /* original: green */ | |
274 | } | |
275 | ||
276 | .devtools-theme-tagname { | |
277 | color: #FFCF00; /* original: dark blue */ | |
278 | } | |
279 | ||
280 | .devtools-theme-attrname { | |
281 | color: #9C9CFF; /* original: blue */ | |
282 | } | |
283 | ||
284 | .devtools-theme-attrvalue { | |
285 | color: #C09070; /* original: orange */ | |
286 | } | |
287 | ||
288 | /* LCARStrek-specific adaptions */ | |
289 | ||
445863a2 RK |
290 | #profiler-chrome { |
291 | /* HACK for profiler in the dev toolbox in FF 20+. */ | |
292 | margin: -3px; | |
293 | } | |
294 | ||
295 | #profiler-chrome > box > box > .devtools-toolbar { | |
296 | border-bottom: none; | |
0142a07b | 297 | } |