second part of syncing LCARStrek with Firefox 31 windows theme changes
[themes.git] / LCARStrek / browser / devtools / app-manager / device.css
CommitLineData
6b94b4db
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5/***************** GENERAL *****************/
6
7* {
8 margin: 0;
9 padding: 0;
1783ea50 10 box-sizing: border-box;
6b94b4db
RK
11}
12
13html, body {
14 height: 100%;
15}
16
17body {
18 font-size: 0.9rem;
19 color: #FF9F00;
20 background-color: #000000;
21 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
22 display: flex;
23 flex-direction: column;
24}
25
26template {
27 display: none;
28}
29
30h1 {
31 font-size: 20px;
32}
33
34#content {
35 display: flex;
36 flex-direction: row;
37 height: 100%;
38 overflow: hidden;
39}
40
41#detail {
42 display: flex;
43 flex-grow: 1;
44 z-index: 1;
45 overflow: hidden;
46}
47
48#meta {
49 background-size: 100%;
50 padding-top: 50px;
51}
52
53#connection-footer {
54 border-width: 0;
55 height: 50px;
56 min-height: 50px;
57}
58
bb9362a9
RK
59#root-actor-debug {
60 background: #000000;
61}
62
6b94b4db
RK
63
64
65/***************** APP BUTTONS *****************/
66
67
68
69.app-buttons {
70 display: block;
71 margin-left: 20px;
72 color: #FF9F00;
73}
74
75button {
76 margin: 0;
77 font-size: 11px;
78 padding: 5px 15px;
79 cursor: pointer;
80 background-color: #C09070;
81 text-transform: uppercase;
82 border-radius: 300px;
83 border-width: 1px;
84}
85
86.app-buttons > button {
87 display: none;
88}
89
90.app-buttons > button:not([disabled]):hover {
91 background-color: #FFCF00;
92 color: #000000;
93}
94
95.app-buttons > button[disabled] {
96 background-color: #402858;
97 color: #000000;
98 pointer-events: none;
99}
100
101.app[running="false"] > .app-buttons > .button-start,
102.app[running="true"] > .app-buttons > .button-stop,
103.app[running="true"] > .app-buttons > .button-debug {
104 display: inline-block;
105}
106/*
107.button-debug {
108 color: #3498DB;
109}
110
111.button-debug:hover {
112 background-color: #3498DB;
113 color: #FFF;
114}
115
116.button-debug[disabled] {
117 color: #3498DB;
118}
119
120.button-start {
121 color: #18BC9C
122}
123
124.button-start:hover {
125 background-color: #18BC9C;
126 color: #FFF;
127}
128
129.button-start[disabled] {
130 color: #18BC9C
131}
132
133.button-stop {
134 color: #E74C3C;
135}
136
137.button-stop:hover {
138 background-color: #E74C3C;
139 color: #FFF;
140}
141
142.button-stop[disabled] {
143 color: #E74C3C;
144}
145*/
146
147
148/***************** PERMISSIONS *****************/
149
150
151
152
153.permission-table {
154 display: flex;
155 flex-direction: column;
156 height: 100%;
157}
158
159.permission-table-body {
160 overflow: auto;
161 display: flex;
162 flex-grow: 1;
163 flex-direction: column;
164}
165
166.permission-table-header,
167.permission-table-footer {
168 display: flex;
169 background: #000000;
170 border-top: 1px solid #9C9CFF;
171 z-index: 2;
172 flex-shrink: 0;
173}
174
175.permission-table-header > div,
176.permission-table-footer > div {
177 z-index: 2;
178 flex-grow: 1;
179 background-color: #000000;
180 color: #FF9F00;
181 border: 0;
182 margin: auto 0;
183 padding: 5px;
184 text-align: center;
185 background: transparent;
186 box-shadow: none;
187 text-shadow: none;
188}
189
190.permission-table-header > div {
191 flex-basis: 20%;
192}
193
194.permission-table-header > div:first-child {
195 text-align: left;
196 padding-left: 10px;
197 flex-basis: 30%;
198}
199
200.permission-table-header {
201 border: 0;
202 border-bottom: 1px solid #9C9CFF;
203/* box-shadow: 0 1px 4px rgba(0,0,0,0.3);*/
204}
205
206.permission-table-footer {
207/* box-shadow: 0 -1px 4px rgba(0,0,0,0.3);*/
208}
209
210.permission {
211 display: flex;
212 flex-grow: 1;
213}
214
215.permission:nth-child(odd) {
216 background-color: #404000;
217}
218
219.permission:hover {
220 background-color: #FFCF00;
221 color: #000000;
222}
223
224.permission > div {
225 flex-grow: 1;
226 flex-basis: 20%;
227 text-align: center;
228 padding: 3px;
229 border-right: 1px solid #9C9CFF;
230 border-bottom: 1px solid #9C9CFF;
231}
232
233.permission > div:first-child {
234 text-align: left;
235 padding: 3px 10px;
236 flex-basis: 30%;
237 font-weight: bold;
238}
239
240.permission > div[permission="1"]:before, .allow-label:after {
241 color: #008484;
242 content: ' \2713';
243}
244
245.permission > div[permission="2"]:before, .deny-label:after {
246 color: #FF0000;
247 content: ' \2715';
248}
249
250.permission > div[permission="3"]:before, .prompt-label:after {
251 color: #9C9CFF;
252 content: ' !';
253}
254
255
256
257
258/***************** SIDEBAR *****************/
259
260
261
262
263#sidebar {
264 background: #000000;
265 position: relative;
266 display: flex;
267 flex-direction: column;
268 flex: 0 0 350px;
269 overflow: hidden;
270 z-index: 100;
271}
272
273.sidebar-item {
274 background-color: #000000;
275 color: #FF9F00;
276 line-height: 120%;
277 cursor: pointer;
278 display: flex;
279 padding: 15px 10px;
280 display: block;
281 text-align: left;
282 flex-grow: 1;
283}
284
285.sidebar-item > * {
286 flex-shrink: 0;
287}
288
289.sidebar-item:hover,
290.sidebar-item.selected:hover {
291 background-color: #FFCF00;
292 color: #000000
293}
294
295.sidebar-item.selected {
296 background-color: #008484;
297 color: #000000;
298}
299
300.help {
301 float: right;
302 padding: 0 5px;
303}
304
305/***************** HEADER *****************/
306
307header {
308 padding-top: 140px;
309 color: #9C9CFF;
310 padding: 10px;
311}
312
313
314
cae267ab 315/***************** APPS & BROWSER TABS *****************/
6b94b4db
RK
316
317
318
319
cae267ab 320.apps, .browser-tabs {
6b94b4db
RK
321 display: flex;
322 flex-direction: column;
323 overflow: auto;
324}
325
cae267ab 326.app, .browser-tab {
6b94b4db
RK
327 display: flex;
328 align-items: center;
329 order: 1;
330}
331
cae267ab 332.app-name, .browser-tab-details {
6b94b4db
RK
333 flex-grow: 1;
334 font-weight: bold;
335}
336
cae267ab 337.app, .browser-tab {
6b94b4db
RK
338 padding: 10px 20px;
339 border-bottom: 1px solid #9C9CFF;
340}
341
cae267ab
RK
342.app:hover, .browser-tab:hover {
343 background-color: #404000;
6b94b4db
RK
344}
345
346.app-icon {
347 width: 32px;
348 height: 32px;
349 margin-right: 10px;
350}
351
cae267ab
RK
352.browser-tab-url-subheading {
353 font-size: 10px;
354}
355
6b94b4db
RK
356
357
358/***************** NOT CONNECTED *****************/
359
360
361
362body:not(.notconnected) > #notConnectedMessage,
363body.notconnected > #content {
364 display: none;
365}
366
367#notConnectedMessage {
368 flex-grow: 1;
369 flex-direction: column;
370 margin: 50px auto;
371}
372
373#notConnectedMessage > span {
374 padding: 20px;
375 border: 1px solid #9C9CFF;
376 border-radius: 5px;
377}
378
379#notConnectedMessage > span:before {
380 content: '';
381 background: url('error.svg') no-repeat;
382 background-size: 18px;
383 height: 24px;
384 width: 24px;
385 position: relative;
386 top: 10px;
387 display: inline-block;
388}
389
390
391
392/***************** TABS *****************/
393
394#tabs {
395 flex-grow: 1;
396 overflow: auto;
397}
398
399.tabpanel:not(.selected) {
400 display: none;
401}
402
403#tabs-headers {
404 flex-shrink: 0;
405 display: flex;
406 flex-direction: column;
407}