-
Notifications
You must be signed in to change notification settings - Fork 2
/
artemis-sbs-ui.css
453 lines (409 loc) · 13.5 KB
/
artemis-sbs-ui.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
/* An attempt to provide smooth integration with the native Artemis SBS GUI
* for DIY displays and control UIs implemented with web technologies.
* You could use this file directly, but it mostly is intended to serve as
* a document to guide you in configuring jquery UI's ThemeRoller.
* [email protected] 1/2016
* Thanks to:
* http://www.colorzilla.com/gradient-editor/
* https://developer.mozilla.org/en-US/docs/Web
* https://www.google.com/fonts
* https://github.com/SamHerbert/SVG-Loaders
* http://codepen.io/thebabydino
* and of course: http://artemis.eochu.com/
*/
@import url(https://fonts.googleapis.com/css?family=Ropa+Sans:400,400italic);
/** General Defaults **/
body {
color: #FFFFFF;
background-color: #00001C;
font-family: 'Ropa Sans', Arial, Helvetica, sans-serif;
/*Gadget, sans-serif;*/
}
html, body, webview { /* affects full-screen mode borders */
margin: 0;
padding: 0;
border: 0;
display: block;
width: 100%;
height: 100%;
background-color: #00001C;
}
/** Controls **/
button { /*decent, graceful fall-back defaults*/
font-family: 'Ropa Sans', Arial, Helvetica, sans-serif;
font-style: italic;
font-weight: bold;
font-size: 1.33em;
vertical-align: bottom;
color: #FDFDFF;
background-color: #001C47;
border-top: 2px solid #335066;
border-right: 2px solid #335066;
border-bottom: 2px solid #2378A9;
border-left: 3px solid #335066;
padding: .1em 1em .1em 2em ;
text-align:right;
padding-top: 0em;
padding-bottom: 0em;
}
button.toggle {
border-top: 2px solid #335066;
border-right: none;
border-bottom: 2px solid #2378A9;
border-left: none;
padding: .1em 1em .1em 2em ;
text-align:right;
background-image: url('images/button_L_cap.png') , url('images/button_R_cap.png') ;
background-repeat: no-repeat, no-repeat;
background-position: left, right;
min-width: 8em;
}
button.major_action {
/*font-size:1.25em;*/
border:none;
padding: .5em 1em .66em 3em ;
text-align:right;
background-image: url('images/button_major_left_endcap_inactive.png') , url('images/button_major_right_endcap_inactive.png'), url('images/button_major_mid_inactive.png');
background-size: contain;
background-repeat: no-repeat, no-repeat, repeat-x;
background-position: left, right, center;
min-width: 9em;
outline: none;
}
button.major_action_active {
background-image: url('images/button_major_left_endcap_active.png') , url('images/button_major_right_endcap_active.png'), url('images/button_major_mid_active.png');
}
button.action {
font-size:1.25em;
border:none;
padding: .1em .75em .1em .75em ;
text-align:center;
background-image: url('images/button2_L_cap.png') , url('images/button2_R_cap.png'), url('images/button2_mid.png');
background-size: contain;
background-repeat: no-repeat, no-repeat, repeat-x;
background-position: left, right, center;
outline: none;
/*min-width: 8em;*/
}
a.increment:link {
text-decoration: none;
}
a.increment:link img {
border:none;
}
a.decrement:link {
text-decoration: none;
}
a.decrement:link img {
border:none;
}
button.increment {
background-image: url('images/button_increment.png') ;
background-repeat: no-repeat;
background-size: contain;
border:none;
background-color: transparent;
width: 1em;
height: 2em; /*you could actually have different sizes this way, or dynamically set*/
outline: none;
}
button.decrement {
background-image: url('images/button_decrement.png') ;
background-repeat: no-repeat;
background-size: contain;
border:none;
background-color: transparent;
width: 1em;
height: 2em; /*you could actually have different sizes this way, or dynamically set*/
outline: none;
}
/** Sliders **/
input[type='range'] {
position: relative;
top: 50%;
left: 1em; /*33%;*/
border: solid 0 transparent;
border-width: 0 1.75em 0.75em;
padding: 0 0 1.5em;
width: 19.75em;
height: 5.25em;
border-radius: .05em;
transform: translate(-0%, 100%) rotate(-90deg);
/* transform: translate(-50%, -50%) rotate(-90deg);*/
background: linear-gradient(#009999, #009999) calc(100% - 0.1825em) calc(100% - 0.6875em), linear-gradient(90deg, #009999, #009999 0.125em, rgba(0, 0, 0, 0) 0.125em, rgba(0, 0, 0, 0) 18.635em) 0.495em calc(100% - 0.375em), radial-gradient(#009999, rgba(0, 153, 153, 0)) 2.3125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 3.8125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 5.3125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 6.8125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 8.3125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 9.8125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 11.3125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 12.8125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 14.3125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 15.8125em 100%, radial-gradient(#009999, rgba(0, 153, 153, 0)) 17.3125em 100%;
background-repeat: no-repeat, repeat-x, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
background-size: 0.75em 0.125em, 18.635em 0.75em, 0.125em 1.5em, 0.125em 1.5em, 0.125em 1.5em, 0.125em 1.5em, 0.125em 1.5em, 0.125em 1.5em, 0.125em 1.5em, 0.125em 1.5em, 0.125em 1.5em, 0.125em 1.5em, 0.125em 1.5em;
font-size: 1em;
cursor: pointer;
}
input[type='range'], input[type='range']::-webkit-slider-runnable-track, input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
}
input[type='range']::-webkit-slider-runnable-track {
box-sizing: border-box;
padding: 0.125em;
width: 19.75em;
height: 1.75em;
border-radius: .25em;
/*1.75em / 0.875em;*/
box-shadow: inset 0 2px 4px #077, 0 2px 4px #077;
background: #002025;
/*linear-gradient($track-bg, $track-bg) content-box,
linear-gradient(#efefef, #c2c2c2) border-box;*/
}
input[type='range']::-moz-range-track {
box-sizing: border-box;
padding: 0.125em;
width: 19.75em;
height: 1.75em;
border-radius: .25em;
/*1.75em / 0.875em;*/
box-shadow: inset 0 2px 4px #077, 0 2px 4px #077;
background: #002025;
/*linear-gradient($track-bg, $track-bg) content-box,
linear-gradient(#efefef, #c2c2c2) border-box;*/
}
input[type='range']::-ms-track {
border: none;
box-sizing: border-box;
padding: 0.125em;
width: 19.75em;
height: 1.75em;
border-radius: .25em;
/*1.75em / 0.875em;*/
box-shadow: inset 0 2px 4px #077, 0 2px 4px #077;
background: #002025;
/*linear-gradient($track-bg, $track-bg) content-box,
linear-gradient(#efefef, #c2c2c2) border-box;*/
color: transparent;
}
input[type='range']::-webkit-slider-thumb {
margin-top: -0.125em;
box-sizing: border-box;
border: solid 0 transparent;
border-width: 1px .3125em;
width: 2.25em;
height: 1.75em;
border-radius: 0.5em;
box-shadow: -0.84375em 0 0.84375em -0.84375em #044, -0.84375em 0 1.125em -0.84375em #044, -0.84375em 0 1.40625em -0.84375em #044, -0.84375em 0 1.6875em -0.84375em #044, -0.84375em 0 1.96875em -0.84375em #044, -1.125em 0 2.25em -0.84375em #044;
background: linear-gradient(90deg, #005555, #005555) content-box, linear-gradient(90deg, #00c9c7, #00d7d7) border-box;
cursor: ns-resize;
}
input[type='range']::-moz-range-thumb {
box-sizing: border-box;
border: solid 0 transparent;
border-width: 1px .3125em;
width: 2.25em;
height: 1.75em;
border-radius: 0.5em;
box-shadow: -0.84375em 0 0.84375em -0.84375em #044, -0.84375em 0 1.125em -0.84375em #044, -0.84375em 0 1.40625em -0.84375em #044, -0.84375em 0 1.6875em -0.84375em #044, -0.84375em 0 1.96875em -0.84375em #044, -1.125em 0 2.25em -0.84375em #044;
background: linear-gradient(90deg, #005555, #005555) content-box, linear-gradient(90deg, #00c9c7, #00d7d7) border-box;
cursor: ns-resize;
}
input[type='range']::-ms-thumb {
box-sizing: border-box;
border: solid 0 transparent;
border-width: 1px .3125em;
width: 2.25em;
height: 1.75em;
border-radius: 0.5em;
box-shadow: -0.84375em 0 0.84375em -0.84375em #044, -0.84375em 0 1.125em -0.84375em #044, -0.84375em 0 1.40625em -0.84375em #044, -0.84375em 0 1.6875em -0.84375em #044, -0.84375em 0 1.96875em -0.84375em #044, -1.125em 0 2.25em -0.84375em #044;
background: linear-gradient(90deg, #005555, #005555) content-box, linear-gradient(90deg, #00c9c7, #00d7d7) border-box;
cursor: ns-resize;
}
input[type='range']::-ms-fill-lower, input[type='range']::-ms-tooltip {
display: none;
}
input[type='range']:nth-of-type(2) {
left: 2em; /*33%;*/
transform: translate(-50%, 100%) rotate(-90deg) scaleY(-1);
/*transform: translate(-50%, -50%) rotate(-90deg) scaleY(-1);*/
}
input[type='range']:focus {
outline: none;
box-shadow: 0 0 .25em #808080;
}
table th { /*maybe not good to be a default, but have a declared simple table type? */
text-align:left;
}
table td { /*maybe not good to be a default, but have a declared simple table type? */
padding-right: .5em;
/* this is better for decimal comparison: text-align:right;*/
text-align:left;
}
/** Semantic Classes **/
.urgent {
color: #F76263;
}
.confirmed, .nominal {
color: #39F33B;
}
li.confirmed {
list-style-type: square;
}
.ship_metrics {
font-size: 1.1em;
}
.ship_metrics caption {
text-align:right;
font-size:.75em;
}
.ship_metrics th
{ padding-left: 1em;
}
.ship_metrics td
{ padding-left: 1em;
padding-top: 0em;
padding-bottom: 0em;
}
.ship_metrics tr td:first-child
{
text-align: right;
padding-right:1em;
padding-left:2.5em;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3caeda+0,164b87+100 */
background: #3aaacf; /* Old browsers */
background: -moz-linear-gradient(top, #3aaacf 0%, #164b87 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #3aaacf 0%,#164b87 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #3aaacf 0%,#164b87 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3aaacf', endColorstr='#164b87',GradientType=0 ); /* IE6-9 */
}
.jumbo
{
font-size: 10em;
}
.target_metric
{
}
/** Layout Structures **/
.wrapper2column {
overflow: hidden; /* clear the float */
}
.leftcolumn {
float:left;
margin-right:4em;
}
.rightcolumn {
overflow: hidden;
margin-left: 6em;
}
.yscale {
float: left;
}
.maingrid {
overflow: hidden;
}
.yscale td {
text-align:right;
border-bottom: 1px solid white;
}
.graphbar {
color: darkblue;
padding: .1em .25em .1em .25em;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffdd77+0,ffc929+100 */
background: #ffdd77; /* Old browsers */
background: -moz-linear-gradient(left, #ffdd77 0%, #ffc929 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #ffdd77 0%,#ffc929 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #ffdd77 0%,#ffc929 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffdd77', endColorstr='#ffc929',GradientType=1 ); /* IE6-9 */
}
ul.button_stack {
list-style-type: none;
margin-left: 0em;
padding-left: .5em;
padding-top: 0em;
}
ul.button_stack li button {
min-width: 12em;
}
ul.button_stack.narrow li button {
min-width: 6em;
text-align: left;
padding-left: 1.5em;
}
table.vertical_threshold_bracket {
border-top: 4px solid #ffdd66;
border-left: 4px solid #ffdd70;
border-bottom: 4px solid #ffdd66;
/* nice, but not consistent with contiguous bracket color border-collapse: collapse;*/
border-spacing: 0em;
}
table.vertical_threshold_bracket td {
/* font-weight: bold; */
}
table.vertical_threshold_bracket td.critical_threshold {
border-left: 5px solid #F76263;
}
table.vertical_threshold_bracket td.nominal_threshold {
border-left: 5px solid #39F33B;
}
#celestialregistry {
margin-top: 50%;
}
table.cartograph {
border: 2px solid #202550;
border-collapse: collapse;
}
table.cartograph td {
border: 2px solid #151AA5;
width: 6em;
height: 6em;
text-align: left;
vertical-align: top;
font-size: 1em;
color: #4048B0;
}
/** Decor **/
.starry_expanse { /*particularly well suited for tabl-level background of cartograph */
background-image:
radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px),
radial-gradient(rgba(255,255,255,.4), rgba(255,255,255,.1) 2px, transparent 30px);
background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
}
.subgridding { /*particularly well suited for tabl-level background of cartograph */
background-image:
linear-gradient(darkblue 1px, transparent 1px),
linear-gradient(90deg, darkblue 1px, transparent 1px),
linear-gradient(rgba(200,200,250,.3) 1px, transparent 1px),
linear-gradient(90deg, rgba(200,200,250,.3) 1px, transparent 1px);
background-size:3.5em 3.5em, 3.5em 3.5em, 1.5em 1.5em, 1.5em 1.5em;
background-position:.1em .1em, .1em .1em, .1em .1em, .1em .1em;
/*
*/
/*
background-size:100px 100px, 100px 100px, 20px 20px, 20px 20px;
background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px
*/
}
/** Conventional UI layout **/
#super_container {
margin: .5em;
}
#console_super_controls button {
margin-right: -.25em;
}
#communique {
background-color: #222244;
border: .25em solid #181828;
margin-left: 2em;
margin-right: 2em;
margin-bottom: -2em;
padding: 1em;
}
#communique button.action {
float:right;
margin-top: 1em;
margin-right:-1em;
}
#console_metacontrols {
position:fixed;
right:0; bottom:0;
}
#console_metacontrols a{
text-decoration: none;
font-weight: bold;
color: #555566;
}