root / ui / static / alt-main.css @ b3931dad
History | View | Annotate | Download (12.6 kB)
1 |
html, body, div, span, applet, object, iframe, |
---|---|
2 |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
3 |
a, abbr, acronym, address, big, cite, code, |
4 |
del, dfn, em, font, img, ins, kbd, q, s, samp, |
5 |
small, strike, strong, sub, sup, tt, var, |
6 |
b, u, i, center, |
7 |
dl, dt, dd, ol, ul, li, |
8 |
fieldset, form, label, legend, |
9 |
table, caption, tbody, tfoot, thead, tr, th, td { |
10 |
margin: 0; |
11 |
padding: 0; |
12 |
border: 0; |
13 |
outline: 0; |
14 |
font-size: 100%; |
15 |
vertical-align: baseline; |
16 |
background: transparent; |
17 |
font-family: Verdana, 'PT Sans', sans-serif; |
18 |
} |
19 |
|
20 |
body {
|
21 |
line-height: 1; |
22 |
} |
23 |
|
24 |
ol, ul { |
25 |
list-style: none; |
26 |
} |
27 |
|
28 |
blockquote, q { |
29 |
quotes: none; |
30 |
} |
31 |
|
32 |
blockquote:before, blockquote:after, |
33 |
q:before, q:after { |
34 |
content: ''; |
35 |
content: none; |
36 |
} |
37 |
|
38 |
/* remember to define focus styles! */
|
39 |
:focus {
|
40 |
outline: 0; |
41 |
} |
42 |
|
43 |
/* remember to highlight inserts somehow! */
|
44 |
ins {
|
45 |
text-decoration: none; |
46 |
} |
47 |
|
48 |
del {
|
49 |
text-decoration: line-through; |
50 |
} |
51 |
|
52 |
/* tables still need 'cellspacing="0"' in the markup */
|
53 |
table {
|
54 |
border-collapse: collapse; |
55 |
border-spacing: 0; |
56 |
} |
57 |
|
58 |
body {
|
59 |
background:#fff url(../static/degrade-background.png) repeat scroll 0 0; |
60 |
margin: 0; |
61 |
} |
62 |
|
63 |
h5 {
|
64 |
font-weight: normal; |
65 |
font-size: 9pt; |
66 |
margin-bottom:3px; |
67 |
} |
68 |
|
69 |
/* get rid of those system borders being generated for A tags */
|
70 |
a:active { |
71 |
outline:none; |
72 |
} |
73 |
|
74 |
*:focus { |
75 |
outline:0 !important; |
76 |
} |
77 |
|
78 |
/* root element for tabs */
|
79 |
ul.css-tabs { |
80 |
margin: 0 0 0 10px; |
81 |
padding: 0; |
82 |
height:31px; |
83 |
font-size:32px; |
84 |
overflow: hidden; |
85 |
} |
86 |
|
87 |
/* single tab */
|
88 |
ul.css-tabs li { |
89 |
float:left; |
90 |
padding:0; |
91 |
margin: 0 10px 0 0; |
92 |
list-style-type:none; |
93 |
} |
94 |
|
95 |
/* link inside the tab. uses a background image */
|
96 |
ul.css-tabs a { |
97 |
float:left; |
98 |
display:block; |
99 |
text-decoration:none; |
100 |
color:#d2d2d2; |
101 |
position:relative; |
102 |
outline:0; |
103 |
padding: 0 9px 0 13px; |
104 |
margin-top: 7px; |
105 |
} |
106 |
|
107 |
ul.css-tabs a#instances { |
108 |
color: #87aade; |
109 |
} |
110 |
|
111 |
|
112 |
ul.css-tabs a#disks { |
113 |
color: #deb358; |
114 |
} |
115 |
|
116 |
ul.css-tabs a#networks { |
117 |
color: #bc9399; |
118 |
} |
119 |
|
120 |
ul.css-tabs a#images { |
121 |
color: #9ba97b; |
122 |
} |
123 |
|
124 |
ul.css-tabs a:hover { |
125 |
margin-top:0em |
126 |
} |
127 |
|
128 |
/* selected tab */
|
129 |
ul.css-tabs a.current { |
130 |
cursor:default; |
131 |
margin-top: 2px; |
132 |
} |
133 |
|
134 |
/* tab pane */
|
135 |
div.css-panes { |
136 |
border-top: 10px solid #87aade; |
137 |
background: white; |
138 |
} |
139 |
|
140 |
.css-panes > div.pane { |
141 |
display:none; |
142 |
padding:0px 20px; |
143 |
margin: 0 1em; |
144 |
-moz-border-radius: 0 1em 1em; |
145 |
} |
146 |
|
147 |
/* CSS3 border radius for various elements. yea - CSS isn't perfect */
|
148 |
.rounded, #sheet input, .error { |
149 |
border-radius: 5px; |
150 |
-webkit-border-radius: 5px; |
151 |
-moz-border-radius: 5px; |
152 |
-o-border-radius: 5px; |
153 |
-khtml-border-radius: 5px; |
154 |
} |
155 |
|
156 |
/* validation error message */
|
157 |
.error {
|
158 |
background-color:#E8FF6D; |
159 |
padding:4px; |
160 |
-webkit-box-shadow: #000 0 0 9pt; |
161 |
-moz-box-shadow: #000 0 0 9pt; |
162 |
} |
163 |
|
164 |
/* nested arrow inside error message. It's 100% CSS. No images. */
|
165 |
.error em { |
166 |
border: 10px solid; |
167 |
border-color: #E8FF6D transparent transparent; |
168 |
bottom: -17px; |
169 |
display: block; |
170 |
height: 0; |
171 |
left: 10px; |
172 |
position: absolute; |
173 |
width: 0; |
174 |
} |
175 |
|
176 |
/* input field that caused validation error */
|
177 |
.invalid {
|
178 |
background-color: rgba(221, 233, 255, 0.898) !important; |
179 |
} |
180 |
|
181 |
#create {
|
182 |
background-color: #87aade; |
183 |
color: #000; |
184 |
cursor: pointer; |
185 |
display: block; |
186 |
padding: 6px 24px; |
187 |
margin-top: 9px; |
188 |
width: 125px; |
189 |
text-decoration: none; |
190 |
margin-left: -2.3em; |
191 |
border:1px solid #bfd2ed; |
192 |
margin-bottom: 17px; |
193 |
} |
194 |
|
195 |
#create:hover { |
196 |
color: white; |
197 |
} |
198 |
|
199 |
div#header { |
200 |
height: 60px; |
201 |
background: #999; |
202 |
} |
203 |
|
204 |
div#wrapper { |
205 |
width: 700px; |
206 |
margin: 0em auto; |
207 |
} |
208 |
|
209 |
a.logo { |
210 |
width: 250px; |
211 |
} |
212 |
|
213 |
a.logo h1 { |
214 |
display: none; |
215 |
} |
216 |
|
217 |
a.logo:hover h1 { |
218 |
color: #3baddb; |
219 |
} |
220 |
a img { |
221 |
border: none; |
222 |
} |
223 |
|
224 |
div#about { |
225 |
display:none; |
226 |
} |
227 |
|
228 |
#nefo {
|
229 |
margin: 33px 0 -2px 25px; |
230 |
} |
231 |
|
232 |
/* tooltip styling. by default the element to be styled is .tooltip */
|
233 |
.tooltip {
|
234 |
display:none; |
235 |
color: transparent; |
236 |
} |
237 |
|
238 |
.modal {
|
239 |
background-color:#fff; |
240 |
display:none; |
241 |
width:30em; |
242 |
height:20em; |
243 |
padding:1em; |
244 |
text-align:left; |
245 |
opacity:0.9; |
246 |
} |
247 |
|
248 |
/* scrollable root element */
|
249 |
#wizard {
|
250 |
border:5px solid #87AADE; |
251 |
font-size:9pt; |
252 |
height:420px; |
253 |
margin:0px auto; |
254 |
width:460px; |
255 |
overflow:hidden; |
256 |
position:relative; |
257 |
/* rounded corners for modern browsers */
|
258 |
-moz-border-radius:5px; |
259 |
-webkit-border-radius:5px; |
260 |
} |
261 |
|
262 |
/* scrollable items */
|
263 |
#wizard .items { |
264 |
width:20000em; |
265 |
clear:both; |
266 |
position:absolute; |
267 |
} |
268 |
|
269 |
/* validation error message bar. positioned on the top edge */
|
270 |
#drawer {
|
271 |
overflow:visible; |
272 |
position:fixed; |
273 |
left:0; |
274 |
top:0; |
275 |
} |
276 |
|
277 |
/* scrollable items */
|
278 |
#wizard .items { |
279 |
width:20000em; |
280 |
clear:both; |
281 |
position:absolute; |
282 |
display:block; |
283 |
padding: 0; |
284 |
margin: 0; |
285 |
border:none; |
286 |
background:none; |
287 |
} |
288 |
|
289 |
/* single item */
|
290 |
#wizard .page { |
291 |
padding:20px 30px; |
292 |
width:440px; |
293 |
float:left; |
294 |
display:block; |
295 |
border:none; |
296 |
background-color: transparent; |
297 |
} |
298 |
|
299 |
/* title */
|
300 |
#wizard h2 { |
301 |
font-size:22px; |
302 |
font-weight:normal; |
303 |
margin:10px 0 0 0; |
304 |
} |
305 |
|
306 |
#wizard h2 em { |
307 |
display:block; |
308 |
font-size:9pt; |
309 |
color:#666; |
310 |
font-style:normal; |
311 |
margin-top:5px; |
312 |
} |
313 |
|
314 |
/* input fields */
|
315 |
#wizard ul { |
316 |
padding:0px !important; |
317 |
} |
318 |
|
319 |
#wizard li { |
320 |
list-style-type:none; |
321 |
list-style-image:none; |
322 |
margin-bottom:1.2em; |
323 |
} |
324 |
|
325 |
#wizard label { |
326 |
font-size:16px; |
327 |
display:block; |
328 |
clear: both; |
329 |
} |
330 |
|
331 |
#wizard label strong { |
332 |
color:#789; |
333 |
position:relative; |
334 |
top:-1px; |
335 |
} |
336 |
|
337 |
#wizard label em { |
338 |
font-size:9pt; |
339 |
color:#666; |
340 |
font-style:normal; |
341 |
} |
342 |
|
343 |
#wizard .text { |
344 |
width:94%; |
345 |
padding:5px; |
346 |
border:1px solid #ccc; |
347 |
color:#456; |
348 |
letter-spacing:1px; |
349 |
} |
350 |
|
351 |
#wizard select { |
352 |
border:1px solid #ccc; |
353 |
width:94%; |
354 |
padding:4px; |
355 |
display: none; |
356 |
} |
357 |
|
358 |
#wizard label span { |
359 |
color:#b8128f; |
360 |
font-weight:bold; |
361 |
position:relative; |
362 |
top:4px; |
363 |
font-size:20px; |
364 |
} |
365 |
|
366 |
#wizard .double label { |
367 |
width:50%; |
368 |
float:left; |
369 |
} |
370 |
|
371 |
#wizard .double .text { |
372 |
width:93%; |
373 |
} |
374 |
|
375 |
#wizard .clearfix { |
376 |
clear:left; |
377 |
padding-top:10px; |
378 |
} |
379 |
|
380 |
#wizard .right { |
381 |
float:right; |
382 |
} |
383 |
|
384 |
#wizard .error { |
385 |
border:1px solid red; |
386 |
} |
387 |
|
388 |
#wizard a:hover div.image { |
389 |
background-color: #999; |
390 |
} |
391 |
#wizard a:hover div.image img { |
392 |
background-color: #999; |
393 |
} |
394 |
|
395 |
#wizard label a:hover strong { |
396 |
color: white; |
397 |
} |
398 |
|
399 |
#wizard div.image strong { |
400 |
font-size: 9pt; |
401 |
} |
402 |
|
403 |
#wizard div.image span.size { |
404 |
font-size: 9pt; |
405 |
color: #666; |
406 |
} |
407 |
|
408 |
#wizard div.image .radio { |
409 |
float: right; |
410 |
} |
411 |
|
412 |
#wizard div.image span.image-id, #wizard div.image span.description { |
413 |
font-size: 9pt; |
414 |
color: #666; |
415 |
font-weight: normal; |
416 |
display:inline; |
417 |
} |
418 |
|
419 |
#wizard a:hover div.image span.image-id, #wizard a:hover div.image span.description, #wizard a:hover div.image span.size { |
420 |
color: white; |
421 |
} |
422 |
|
423 |
#wizard .cost { |
424 |
color: #666; |
425 |
margin-top: 5em; |
426 |
font-size: 9pt; |
427 |
} |
428 |
|
429 |
#wizard #status { |
430 |
height: 32px; |
431 |
background: #999; |
432 |
} |
433 |
|
434 |
.page ul { |
435 |
height: 280px; |
436 |
overflow: auto; |
437 |
margin-bottom: 2em; |
438 |
} |
439 |
|
440 |
.page ul.tabs { |
441 |
overflow: hidden; |
442 |
} |
443 |
|
444 |
.panes ul.pane { |
445 |
height: 268px; |
446 |
} |
447 |
|
448 |
.page ul.tabs { |
449 |
height: auto; |
450 |
margin-bottom: 0em; |
451 |
margin-top: -1.37em; |
452 |
} |
453 |
|
454 |
.page ul.tabs li { |
455 |
float: right; |
456 |
margin: 0 1em; |
457 |
} |
458 |
|
459 |
#status li { |
460 |
list-style-type:none; |
461 |
list-style-image:none; |
462 |
float:left; |
463 |
color:#666; |
464 |
padding:10px 30px; |
465 |
} |
466 |
|
467 |
#status li.active { |
468 |
background-color: #87AADE; |
469 |
font-weight: bold; |
470 |
color: white; |
471 |
} |
472 |
|
473 |
/* slider root element */
|
474 |
.slider {
|
475 |
-moz-border-radius: 5px 5px 5px 5px; |
476 |
background-color: #87AADE; |
477 |
border: 1px solid #666; |
478 |
clear: right; |
479 |
cursor: pointer; |
480 |
display: block !important; |
481 |
float: left; |
482 |
height: 3px; |
483 |
margin-top: 10px; |
484 |
margin-bottom: 2em; |
485 |
padding: 0.1em !important; |
486 |
position: relative; |
487 |
width: 330px; |
488 |
} |
489 |
|
490 |
/* drag handle */
|
491 |
.handle {
|
492 |
-moz-border-radius: 14px 14px 14px 14px; |
493 |
-moz-box-shadow: 0 0 2px #000000; |
494 |
background: url("../static/h30.png") repeat-x scroll 0 0 #FFFFFF; |
495 |
border: 1px solid #000000; |
496 |
cursor: move; |
497 |
display: block; |
498 |
height: 22px; |
499 |
margin-top: -9pt; |
500 |
position: absolute; |
501 |
width: 10px; |
502 |
} |
503 |
|
504 |
/* progress bar (enabled with progress: true) */
|
505 |
.progress {
|
506 |
height:9px; |
507 |
background-color:#C5FF00; |
508 |
display:none; |
509 |
opacity:0.6; |
510 |
} |
511 |
|
512 |
/* the input field */
|
513 |
.range {
|
514 |
border:1px inset #ddd; |
515 |
float:left; |
516 |
font-size:16px; |
517 |
margin:0 0 0 15px; |
518 |
padding:3px 0; |
519 |
text-align:center; |
520 |
width:50px; |
521 |
-moz-border-radius:5px; |
522 |
-webkit-border-radius:5px; |
523 |
} |
524 |
|
525 |
div.instance { |
526 |
clear: both; |
527 |
margin: 5px 0 0 -32px; |
528 |
padding: 3px 5px 0; |
529 |
width: 523px; |
530 |
border: 1px dashed transparent; |
531 |
color: #666; |
532 |
height: 67px; |
533 |
} |
534 |
|
535 |
.instance a { |
536 |
color: #3d3d3d; |
537 |
font-weight: normal; |
538 |
text-decoration: none; |
539 |
font-size: 9pt; |
540 |
} |
541 |
|
542 |
.instance a:hover { |
543 |
color: #000; |
544 |
} |
545 |
|
546 |
.state {
|
547 |
float: right; |
548 |
width: 65px; |
549 |
margin-top: .4em; |
550 |
} |
551 |
|
552 |
|
553 |
.actions {
|
554 |
float: right; |
555 |
width: 70px; |
556 |
margin: 0 -75px 0 0; |
557 |
font-weight: normal; |
558 |
height: 67px; |
559 |
} |
560 |
|
561 |
.actions a { |
562 |
color: transparent; |
563 |
} |
564 |
|
565 |
a.action{ |
566 |
margin: 3px 0 5px 5px; |
567 |
display: block; |
568 |
} |
569 |
|
570 |
a.more { |
571 |
margin: 20px 0 5px 5px; |
572 |
display: block; |
573 |
} |
574 |
|
575 |
a.action:hover, a.more:hover { |
576 |
color: black !important; |
577 |
} |
578 |
|
579 |
|
580 |
.actions:hover a,.instance:hover .actions a { |
581 |
color: #1b1b1b; |
582 |
} |
583 |
|
584 |
.instance:hover { |
585 |
border: 1px dotted transparent; |
586 |
background-color:#dcdcdc; |
587 |
color: #3d3d3d; |
588 |
} |
589 |
|
590 |
.instance img { |
591 |
float: left; |
592 |
margin: 0em 14px 0 14px; |
593 |
} |
594 |
|
595 |
div.ip, div.state { |
596 |
font-size:9pt; |
597 |
color: #3d3d3d; |
598 |
} |
599 |
|
600 |
div.indicator { |
601 |
width:10px; |
602 |
height:11px; |
603 |
margin: 3px -1px; |
604 |
clear: none; |
605 |
float:left; |
606 |
} |
607 |
|
608 |
.running .indicator { |
609 |
border-top: 2px solid white; |
610 |
border-bottom: 2px solid white; |
611 |
border-left: 2px solid white; |
612 |
border-right: 3px solid white; |
613 |
background-color: #86a9dd; |
614 |
} |
615 |
|
616 |
|
617 |
.instance:hover div.uptime, .instance:hover a.rename, .instance:hover a.configure { |
618 |
color: #3d3d3d; |
619 |
} |
620 |
|
621 |
div.uptime { |
622 |
clear: both; |
623 |
color: transparent; |
624 |
margin-left: 1px; |
625 |
} |
626 |
|
627 |
div.instance-tabs { |
628 |
margin-top: 1em; |
629 |
} |
630 |
div.instance-tabs a{ |
631 |
|
632 |
} |
633 |
|
634 |
span.rename, span.configure { |
635 |
background-repeat: no-repeat; |
636 |
color: transparent; |
637 |
font-size: 9pt; |
638 |
font-weight: normal; |
639 |
margin-left: 10px; |
640 |
padding-left: 10px; |
641 |
text-align: left; |
642 |
} |
643 |
|
644 |
a.name:hover span.rename { |
645 |
color: #3D3D3D; |
646 |
margin-top: 0.4em; |
647 |
background-image: url(/static/pencil.png); |
648 |
} |
649 |
|
650 |
|
651 |
a.storage:hover span.configure { |
652 |
color: #3D3D3D; |
653 |
} |
654 |
|
655 |
#ubuntu {
|
656 |
height:50px; |
657 |
background: url(../static/ubuntu-logo.png) no-repeat 0 0; |
658 |
padding-left: 50px; |
659 |
} |
660 |
|
661 |
button {
|
662 |
background-color: #87AADE; |
663 |
border: 1px solid #87AADE; |
664 |
color: #FFFFFF; |
665 |
cursor: pointer; |
666 |
padding: 7px 12px; |
667 |
} |
668 |
|
669 |
button.next { |
670 |
background-color: #F49000; |
671 |
border-color: #F49000; |
672 |
font-weight: bold; |
673 |
} |
674 |
|
675 |
button.prev { |
676 |
|
677 |
} |
678 |
|
679 |
.image-logo {
|
680 |
float: left; |
681 |
margin-right: 1em; |
682 |
} |
683 |
|
684 |
div.image { |
685 |
padding: 1em; |
686 |
clear: both; |
687 |
display: block; |
688 |
} |
689 |
|
690 |
a#list, a#standard { |
691 |
float: right; |
692 |
clear: both; |
693 |
color: white; |
694 |
text-decoration: none; |
695 |
margin-top: -65px; |
696 |
margin-right: -36px; |
697 |
font-size: 9pt; |
698 |
background-color: #87aade; |
699 |
padding: 5px 10px; |
700 |
} |
701 |
|
702 |
div.instance-type { |
703 |
float: left; |
704 |
margin-bottom: 2em; |
705 |
margin-right: 1.8em; |
706 |
margin-top: 1em; |
707 |
} |
708 |
|
709 |
div.active { |
710 |
border-bottom: 1em solid #87AADE; |
711 |
height: 200px; |
712 |
} |
713 |
|
714 |
div.active, div.stopped { |
715 |
margin-left: -2.2em; |
716 |
width: 70%; |
717 |
padding: 1em; |
718 |
margin-top: 1em; |
719 |
} |
720 |
|
721 |
div.list label img { |
722 |
margin-right: .5em; |
723 |
margin-bottom: -0.25em; |
724 |
} |
725 |
|
726 |
div.list label { |
727 |
color: #87AADE; |
728 |
font-size:9pt; |
729 |
} |
730 |
|
731 |
div.list div.running { |
732 |
margin: .5em 0; |
733 |
} |
734 |
|
735 |
/* root element for tabs */
|
736 |
#wizard ul.tabs { |
737 |
margin-top: -2em; |
738 |
margin-left: 21em; |
739 |
} |
740 |
|
741 |
/* single tab */
|
742 |
#wizard ul.tabs li { |
743 |
margin-bottom: 0; |
744 |
list-style-type:none; |
745 |
float: left; |
746 |
} |
747 |
|
748 |
/* link inside the tab. uses a background image */
|
749 |
#wizard ul.tabs a { |
750 |
display:block; |
751 |
padding: 0.5em; |
752 |
text-decoration:none; |
753 |
color: #999; |
754 |
position:relative; |
755 |
top:1px; |
756 |
outline:0; |
757 |
} |
758 |
|
759 |
#wizard ul.tabs a:hover { |
760 |
color: black; |
761 |
background-color:#F7F7F7; |
762 |
} |
763 |
|
764 |
/* selected tab */
|
765 |
#wizard ul.tabs a.current { |
766 |
color: white; |
767 |
background-color: #87AADE; |
768 |
cursor: default; |
769 |
} |
770 |
|
771 |
div.inactive div.state { |
772 |
margin-right: 2.5em; |
773 |
} |
774 |
|
775 |
div.inactive { |
776 |
opacity: .6; |
777 |
} |
778 |
|
779 |
div.list div.actions { |
780 |
clear: left; |
781 |
float: right; |
782 |
margin-right: 4em; |
783 |
margin-top: 1em; |
784 |
text-align: right; |
785 |
} |
786 |
|
787 |
div.list div.actions a { |
788 |
clear: left; |
789 |
color: #666 !important; |
790 |
display: block; |
791 |
font-size:9pt; |
792 |
} |
793 |
|
794 |
input.instance { |
795 |
width: 13px; |
796 |
height: 13px; |
797 |
padding: 0; |
798 |
margin:0; |
799 |
vertical-align: bottom; |
800 |
position: relative; |
801 |
top: -1px; |
802 |
*overflow: hidden; |
803 |
} |
804 |
|
805 |
#misc {
|
806 |
height: 100px; |
807 |
-moz-border-radius: 5px 5px 5px 5px; |
808 |
border: 5px solid #87AADE; |
809 |
margin: 0 auto; |
810 |
overflow: hidden; |
811 |
position: relative; |
812 |
} |
813 |
|
814 |
#misc strong { |
815 |
color: #F49C1A; |
816 |
} |
817 |
|
818 |
img.os { |
819 |
z-index: 1; |
820 |
margin-left: -40px; |
821 |
margin-top: 27px; |
822 |
opacity: .9; |
823 |
} |
824 |
|
825 |
div#user { |
826 |
float:right; |
827 |
color: #a0a0a0; |
828 |
font-size: 9pt; |
829 |
margin-top: 16px; |
830 |
} |
831 |
|
832 |
div#user a { |
833 |
color: #a0a0a0; |
834 |
text-decoration: none; |
835 |
} |