Statistics
| Branch: | Tag: | Revision:

root / ui / static / alt-main.css @ ffe60d9d

History | View | Annotate | Download (13.3 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: #a3bbc5;
109
}
110

    
111
ul.css-tabs a#instances.current {
112
  color: #87aade;
113
}
114

    
115
ul.css-tabs a#disks {
116
    color: #deb358;
117
}
118

    
119
ul.css-tabs a#disks.current {
120
  color: #dea842;
121
}
122

    
123
ul.css-tabs a#images {
124
    color: #9ba97b;
125
}
126

    
127
ul.css-tabs a#images.current {
128
    color: #87a06d;
129
}
130

    
131
ul.css-tabs a#networks {
132
    color: #bc9399;
133
}
134

    
135
ul.css-tabs a#networks.current {
136
  color: #9d6d6a;
137
}
138

    
139
ul.css-tabs a:hover {
140
    margin-top: 2px;
141
}
142
        
143
/* selected tab */
144
ul.css-tabs a.current {
145
        cursor:default;
146
    margin-top: 2px;
147
}
148

    
149
/* tab pane */
150
div.css-panes {
151
/*    border-top: 10px solid #87aade;
152
    border-bottom: 10px solid #87aade;  */
153
    background: white;
154
}
155

    
156
.css-panes > div.pane {
157
        display:none;
158
        padding:0px 20px;
159
    margin: 0 1em;
160
}
161

    
162
/* CSS3 border radius for various elements. yea - CSS isn't perfect */
163
.rounded, #sheet input, .error {
164
        border-radius: 5px;
165
        -webkit-border-radius: 5px;
166
        -moz-border-radius: 5px;
167
        -o-border-radius: 5px;
168
        -khtml-border-radius: 5px;
169
}
170

    
171
/* validation error message */
172
.error {
173
        background-color:#E8FF6D;
174
        padding:4px;
175
        -webkit-box-shadow: #000 0 0 9pt;
176
        -moz-box-shadow: #000 0 0 9pt;
177
}
178

    
179
/* nested arrow inside error message. It's 100% CSS. No images. */
180
.error em {
181
        border: 10px solid;
182
        border-color: #E8FF6D transparent transparent;
183
        bottom: -17px;
184
        display: block;
185
        height: 0;
186
        left: 10px;
187
        position: absolute;
188
        width: 0;
189
}
190

    
191
/* input field that caused validation error */
192
.invalid {
193
        background-color: rgba(221, 233, 255, 0.898) !important;
194
}
195

    
196
#create {
197
    background-color: #87aade;
198
    color: #000;
199
    cursor: pointer;
200
    display: block;
201
    padding: 6px 24px;
202
    margin: 12px 0 12px -36px;
203
    width: 125px;
204
    text-decoration: none;
205
}
206

    
207
#create:hover {
208
    background-color: #a8c5f1;
209
}
210

    
211
div#header {
212
    height: 60px;
213
    background: #999;
214
}
215

    
216
div#wrapper {
217
    width: 700px;
218
    margin: 0em auto;
219
}
220

    
221
a.logo {
222
    width: 250px; 
223
}
224

    
225
a.logo h1 {
226
    display: none;
227
}
228

    
229
a.logo:hover h1 {
230
    color: #3baddb;
231
}
232
a img {
233
    border: none;
234
}
235

    
236
div#about {
237
    display:none;
238
}    
239

    
240
#nefo {
241
    margin: 10px 0 -2px 25px;
242
}
243

    
244
/* tooltip styling. by default the element to be styled is .tooltip  */
245
.tooltip {
246
        display:none;
247
    color: transparent; 
248
}
249

    
250
.modal {
251
    background-color:#fff;
252
    display:none;
253
    width:30em;
254
    height:20em;
255
    padding:1em;
256
    text-align:left;
257
    opacity:0.9;
258
}
259
        
260
/* scrollable root element */
261
#wizard {        
262
        border:5px solid #87AADE;
263
        font-size:9pt;
264
        height:405px;
265
        width:460px;
266
        margin:0px auto;        
267
        overflow:hidden;
268
        position:relative;
269
}  
270

    
271
/* scrollable items */
272
#wizard .items {
273
        width:20000em;
274
        clear:both;
275
        position:absolute;
276
}
277

    
278
/* validation error message bar. positioned on the top edge */
279
#drawer {
280
        overflow:visible;
281
        position:fixed;
282
        left:0;
283
        top:0;
284
}
285

    
286
/* scrollable items */
287
#wizard .items {
288
        width:20000em;        
289
        clear:both;        
290
        position:absolute;        
291
    display:block;
292
    padding: 0;
293
    margin: 0;
294
    border:none;
295
    background:none;
296
}
297

    
298
/* single item */
299
#wizard .page {        
300
        padding:20px 30px;
301
        width:440px;
302
        float:left;        
303
    display:block;
304
    border:none;
305
    background-color: transparent;
306
}
307

    
308
/* title */
309
#wizard h2 {
310
        font-weight: bold;
311
    font-size: 12pt;
312
    color: #666;
313
}
314

    
315
#wizard li {
316
        margin-bottom:1.2em;
317
}
318

    
319
#wizard .pane li {
320
    margin: 0;
321
}
322

    
323
#wizard label {
324
        font-size:16px;        
325
        display:block;
326
    clear: both;
327
}
328

    
329
#wizard label strong {
330
        color:#789;        
331
        position:relative;
332
        top:-1px;
333
    font-size: 12pt;
334
}
335

    
336
#wizard label em {
337
        font-size:9pt;
338
        color:#666;        
339
        font-style:normal;
340
}
341

    
342
#wizard .text {
343
        width: 94%;
344
        padding: 5px;
345
    margin-top: 10px;
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 .double label { 
359
        width:50%;
360
        float:left;
361
}
362

    
363
#wizard .double .text {
364
        width:93%;        
365
}
366

    
367
#wizard .clearfix {
368
        clear:left;
369
        padding-top:10px;        
370
}
371

    
372
#wizard .right {
373
        float:right;                
374
}
375

    
376
#wizard .error {
377
        border:1px solid red;                
378
}
379

    
380
#wizard a:hover div.image {
381
    background-color: #999;
382
}
383
#wizard a:hover div.image img {
384
    background-color: #999;
385
}
386

    
387
#wizard label a:hover strong {
388
    color: white;
389
}
390

    
391
#wizard div.image span.size {
392
    font-size: 9pt;
393
    color: #666;
394
}
395

    
396
#wizard div.image .radio {
397
    float: right;
398
}
399

    
400
#wizard div.image span.image-id, #wizard div.image span.description {
401
    font-size: 9pt;
402
    color: #666;
403
    font-weight: normal;
404
    display:inline;
405
}
406

    
407
#wizard a:hover div.image span.image-id, #wizard a:hover div.image span.description, #wizard a:hover div.image span.size {
408
    color: white;
409
}
410

    
411
#wizard .cost {
412
    color: #666;
413
    margin-top: 50px;
414
}
415

    
416
#wizard #status {
417
        height: 32px;
418
        background: #999;
419
    padding-left: 15px;
420
}
421

    
422
.page ul {
423
    margin-top: 15px;
424
    height: 280px;
425
    overflow: auto;
426
}
427

    
428
.panes ul.pane {
429
    height: 276px;
430
}
431

    
432
.page ul.tabs {
433
    overflow: hidden;
434
    height: auto;
435
    margin-bottom: 0;
436
    margin-top: -20px;
437
}
438

    
439
.page ul.tabs li {
440
    float: right;
441
    margin: 0 1em;
442
}
443

    
444
#status li {
445
        float:left;
446
        color:#666;
447
        padding:10px 40px;
448
}
449

    
450
#status li.active {
451
        background-color: #87AADE;
452
    font-weight: bold;
453
    color: white;
454
}
455

    
456
/* slider root element */
457
.slider {
458
    background-color: #87AADE;
459
    border: 1px solid #666;
460
    clear: right;
461
    cursor: pointer;
462
    display: block !important;
463
    float: left;
464
    height: 3px;
465
    margin: 20px 0 20px;
466
    padding: 0.1em !important;
467
    position: relative;
468
    width: 330px;
469
}
470

    
471
/* drag handle */
472
.handle {
473
    -moz-box-shadow: 0 0 2px #000000;
474
    background: url("../static/h30.png") repeat-x scroll 0 0 #FFFFFF;
475
    border: 1px solid #000000;
476
    cursor: move;
477
    display: block;
478
    height: 22px;
479
    margin-top: -9pt;
480
    position: absolute;
481
    width: 10px;
482
}
483

    
484
/* progress bar (enabled with progress: true) */
485
.progress {
486
        height:9px; 
487
        background-color:#C5FF00; 
488
        display:none;
489
        opacity:0.6;
490
}
491

    
492
/* the input field */
493
.range {
494
        border: 1px inset #ddd;
495
        float: left;
496
        font-size: 12pt;
497
        margin: 10px 0 0 15px;
498
        padding: 3px 0;
499
        text-align: center;
500
        width: 50px;                
501
}
502

    
503
div.instance {
504
    clear: both;
505
    margin: 5px 0 0 -32px;
506
    padding: 3px 4px 0;
507
    width: 523px;
508
    border: 1px dashed transparent;
509
    color: #666;
510
    height: 67px;
511
}
512

    
513
.instance a {
514
    color: #3d3d3d;
515
    font-weight: normal;
516
    text-decoration: none;
517
    font-size: 9pt;
518
}
519

    
520
.instance a:hover {
521
    color: #000;
522
    text-decoration: underline;
523
}
524

    
525
.state {
526
    float: right;
527
}
528

    
529
.state div {
530
    text-align: right;
531
    margin-right: 3px;
532
}
533

    
534
.actions {
535
    float: right;
536
    width: 70px;
537
    margin: 0 -75px 0 0;
538
    font-weight: normal;
539
    height: 67px;
540
}
541

    
542
.actions a {
543
    color: transparent;
544
}
545

    
546
a.action{
547
    margin: 0 0 5px 5px;
548
    display: block;
549
}
550

    
551
a.more {
552
    margin: 18px 0 5px 5px;
553
    display: block;
554
}
555

    
556
a.action:hover, a.more:hover {
557
    color: black !important;
558
}
559

    
560
.actions:hover a,.instance:hover .actions a {
561
    color: #3d3d3d;
562
}
563

    
564
.instance:hover {
565
    border: 1px dotted transparent;
566
    background-color:#dcdcdc;
567
    color: #3d3d3d;
568
}
569

    
570
.instance img {
571
    float: left;
572
    margin: 0em 14px 0 14px;
573
}
574

    
575
div.ip, div.state {
576
    font-size:9pt;
577
    color: #3d3d3d;
578
}
579

    
580
.list .state {
581
    margin-top: 3px;
582
}
583

    
584
div.indicator {
585
    width:10px;
586
    height:11px;
587
    margin: 3px -1px;
588
    clear: none;
589
    float:right;
590
}
591

    
592
.running .indicator {
593
    border-top: 2px solid white;
594
    border-bottom: 2px solid white;
595
    border-left: 2px solid white;
596
    border-right: 3px solid white;
597
    background-color: #87AADE;
598
}
599

    
600
.instance:hover .indicator {  
601
    border-color: #dcdcdc !important;
602
}
603

    
604
.terminated {
605
    margin-bottom: 25px;
606
    opacity: 0.8;
607
}
608

    
609
.instance:hover div.uptime, .instance:hover a.rename, .instance:hover a.configure {
610
    color: #3d3d3d;
611
}
612

    
613
div.uptime {
614
    clear: both;
615
    color: transparent;
616
    margin-left: 1px;
617
}
618

    
619
div.instance-tabs {
620
    margin-top: 1em;
621
}
622

    
623
span.rename, span.configure {
624
    background-repeat: no-repeat;
625
    color: transparent;
626
    font-size: 9pt;
627
    font-weight: normal;
628
    margin-left: 10px;
629
    padding-left: 10px;
630
    text-align: left;
631
}
632

    
633
a.name:hover span.rename {
634
    color: #3D3D3D;
635
    margin-top: 0.4em;
636
    background-image: url(/static/pencil.png);
637
}
638

    
639

    
640
a.storage:hover span.configure {
641
    color: #3D3D3D;
642
}
643

    
644
#ubuntu {
645
    height:50px;
646
    background: url(../static/ubuntu-logo.png) no-repeat 0 0;
647
    padding-left: 50px;
648
}
649

    
650
button {
651
    background-color: #87AADE;
652
    border: 1px solid #87AADE;
653
    color: #FFFFFF;
654
    cursor: pointer;
655
    padding: 4px 25px;
656
}
657

    
658
button.next:hover {
659
    background-color: #f4b400;
660
    border-color: #f4b400;
661
}
662

    
663
button.prev:hover {
664
    background-color: #a8c5f1;
665
    border-color: #a8c5f1;
666
}
667

    
668
button.next {
669
    background-color: #F49000;
670
    border-color: #F49000;
671
    font-weight: bold;
672
}
673

    
674
button.prev {
675
    margin-left: -19px;
676
}
677

    
678
.image-logo {
679
    float: left;
680
    margin-right: 1em;
681
}
682

    
683
div.image {
684
    padding: 1em;
685
    clear: both;
686
    display: block;
687
}
688

    
689
div#view-select {
690
    float: right;
691
    clear: both;
692
    color: white;
693
    margin-top: -62px;
694
    margin-right: -36px;
695
    font-size: 9pt;
696
    background-color: #87aade;
697
    padding: 5px 10px;
698
}
699

    
700
a#standard, a#list {
701
    text-decoration: none;
702
    font-size: 11pt;
703
}
704

    
705
a#standard:link, a#standard:visited {
706
color:#5f8dd3;
707
}
708

    
709
a#list:link, a#list:visited {
710
color:white;
711
}
712

    
713
a#list:hover {
714
background: #5f8dd3;
715
}
716

    
717
a#standard:active, a#list:active {
718
color:white;
719
}
720

    
721
.activelink {
722
color:white !important;
723
}
724

    
725
div.instance-type {
726
    float: left;
727
    margin: 4px 10px 20px 0;
728
}
729

    
730
div.active {
731
    height: 200px;
732
}
733

    
734
div.active, div.stopped {
735
    margin-left: -2.2em;
736
    width: 500px;
737
    padding: 1em;
738
    margin-top: 1em;
739
}
740

    
741
div.list label img {
742
    margin-right: .5em;
743
    margin-bottom: -0.25em;
744
}
745

    
746
div.list label {
747
    color: #3D3D3D;
748
    font-size:9pt;
749
}
750

    
751
div.list div.running {
752
    margin: .5em 0;
753
}
754

    
755
/* root element for tabs  */
756
#wizard ul.tabs { 
757
    margin-left: 260px;                          
758
}
759

    
760
/* single tab */
761
#wizard ul.tabs li {  
762
    margin-bottom: 0; 
763
        list-style-type:none;
764
    float: left;        
765
}
766

    
767
/* link inside the tab. uses a background image */
768
#wizard ul.tabs a { 
769
        display:block;
770
        padding: 0.5em;        
771
        text-decoration:none;
772
        color: #999;
773
        position:relative;
774
        top:1px;
775
        outline:0;
776
}
777

    
778
#wizard ul.tabs a:hover {
779
        color: black;
780
    background-color:#F7F7F7;
781
}
782
        
783
/* selected tab */
784
#wizard ul.tabs a.current {
785
        color: white;
786
    background-color: #87AADE;        
787
        cursor: default;
788
}
789

    
790
div.inactive {
791
    opacity: .6;
792
    margin-bottom: 25px;
793
}
794

    
795
div.list div.actions {
796
    clear: left;
797
    float: right;
798
    margin-right: -20px;
799
    margin-top: 22px;
800
    text-align: right;
801
    width: 150px;
802
}
803

    
804
div.list div.actions a {
805
    clear: left;
806
    color: #3D3D3D !important;
807
    display: block;
808
    font-size:9pt;
809
    opacity: 0.6;
810
}
811

    
812
div.list div.actions a:hover{
813
    text-decoration: underline;
814
    cursor: pointer;
815
}
816

    
817
input.instance {
818
    width: 13px;
819
    height: 13px;
820
    padding: 0;
821
    margin:0;
822
    vertical-align: bottom;
823
    position: relative;
824
    top: -1px;
825
    *overflow: hidden;
826
}
827

    
828
#misc {
829
    height: 100px;
830
    border: 5px solid #87AADE;
831
}
832

    
833
#misc p {
834
    margin-top: 3px;
835
}
836

    
837
#misc strong {
838
    color: #F49C1A;
839
}
840

    
841
#misc .close {
842
        background-image: url(/static/close.png);
843
        position: absolute;
844
        right: -19px;
845
        top: -20px;
846
        cursor: pointer;
847
        height: 35px;
848
        width: 35px;
849
}
850

    
851
img.os {
852
    z-index: 1;
853
    margin-left: -34px;
854
    margin-top: 29px;
855
    opacity: .9;
856
}
857

    
858
div#user, div#language {
859
    float:right;
860
    clear: both;
861
    color: #a0a0a0;
862
    font-size: 9pt;
863
    margin-top: 1px;
864
}
865

    
866
div#user a, div#language a {
867
    color: #a0a0a0;
868
    text-decoration: none;
869
}
870

    
871
.seperator {
872
    background-color: #87AADE;
873
    height: 10px;
874
    width: 700px;
875
    margin: 0 0 0 -36px;
876
}
877

    
878
#mini.seperator {
879
    width: 538px;
880
    margin: 20px 0 25px -36px;
881
}
882

    
883
#disks.seperator {
884
    background-color: #dea842;
885
}
886

    
887
#images.seperator {
888
    background-color: #87a06d;
889
}
890

    
891
#networks.seperator {
892
    background-color: #9d6d6a;
893
}