Statistics
| Branch: | Tag: | Revision:

root / ui / static / main.css @ 072ac3b4

History | View | Annotate | Download (13.2 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
        font-size: 100%;
14
        vertical-align: baseline;
15
        background: transparent;
16
    font-family: Verdana, 'PT Sans', sans-serif;
17
}
18

    
19
body {
20
        line-height: 1;
21
    background: url(../static/degrade-background.png) repeat-x scroll 0 0 #C3C3C3;
22
    margin: 0;
23
}
24

    
25
ol, ul {
26
        list-style: none;
27
}
28

    
29
blockquote, q {
30
        quotes: none;
31
}
32

    
33
blockquote:before, blockquote:after,
34
q:before, q:after {
35
        content: '';
36
        content: none;
37
}
38

    
39
/* remember to define focus styles! */
40
:focus {
41
    outline: 1px dotted #87AADE;
42
}
43

    
44
/* remember to highlight inserts somehow! */
45
ins {
46
        text-decoration: none;
47
}
48

    
49
del {
50
        text-decoration: line-through;
51
}
52

    
53
/* tables still need 'cellspacing="0"' in the markup */
54
table {
55
        border-collapse: collapse;
56
        border-spacing: 0;
57
}
58

    
59

    
60
h5 {
61
    font-weight: normal;
62
    font-size: 9pt;
63
    margin-bottom:3px;
64
}
65

    
66
/* root element for tabs  */
67
ul.css-tabs {
68
        margin: 0 0 0 10px; 
69
    padding: 0;
70
        height:31px;
71
    font-size:32px;        
72
    overflow: hidden;         
73
}
74

    
75
/* single tab */
76
ul.css-tabs li {  
77
        float:left;         
78
        padding:0; 
79
        margin: 0 10px 0 0;  
80
        list-style-type:none;        
81
}
82

    
83
/* link inside the tab. uses a background image */
84
ul.css-tabs a { 
85
        float:left;
86
        display:block;
87
        text-decoration:none;
88
        color:#d2d2d2;
89
        position:relative;
90
        outline:0;
91
    padding: 0 9px 0 13px;
92
    margin-top: 7px;
93
}
94

    
95
ul.css-tabs a#instances {
96
    color: #a3bbc5;
97
}
98

    
99
ul.css-tabs a#instances.current {
100
  color: #87aade;
101
}
102

    
103
ul.css-tabs a#disks {
104
    color: #deb358;
105
}
106

    
107
ul.css-tabs a#disks.current {
108
  color: #dea842;
109
}
110

    
111
ul.css-tabs a#images {
112
    color: #9ba97b;
113
}
114

    
115
ul.css-tabs a#images.current {
116
    color: #87a06d;
117
}
118

    
119
ul.css-tabs a#networks {
120
    color: #bc9399;
121
}
122

    
123
ul.css-tabs a#networks.current {
124
  color: #9d6d6a;
125
}
126

    
127
ul.css-tabs a:hover {
128
    margin-top: 2px;
129
}
130
        
131
/* selected tab */
132
ul.css-tabs a.current {
133
        cursor:default;
134
    margin-top: 2px;
135
}
136

    
137
/* tab pane */
138
div.css-panes {
139
/*    border-top: 10px solid #87aade;
140
    border-bottom: 10px solid #87aade;  */
141
    background: white;
142
}
143

    
144
.css-panes > div.pane {
145
        display:none;
146
        padding:0px 20px;
147
    margin: 0 1em;
148
}
149

    
150
/* CSS3 border radius for various elements. yea - CSS isn't perfect */
151
.rounded, #sheet input, .error {
152
        border-radius: 5px;
153
        -webkit-border-radius: 5px;
154
        -moz-border-radius: 5px;
155
        -o-border-radius: 5px;
156
        -khtml-border-radius: 5px;
157
}
158

    
159
/* validation error message */
160
.error {
161
        background-color:#E8FF6D;
162
        padding:4px;
163
        -webkit-box-shadow: #000 0 0 9pt;
164
        -moz-box-shadow: #000 0 0 9pt;
165
}
166

    
167
/* nested arrow inside error message. It's 100% CSS. No images. */
168
.error em {
169
        border: 10px solid;
170
        border-color: #E8FF6D transparent transparent;
171
        bottom: -17px;
172
        display: block;
173
        height: 0;
174
        left: 10px;
175
        position: absolute;
176
        width: 0;
177
}
178

    
179
/* input field that caused validation error */
180
.invalid {
181
        background-color: rgba(221, 233, 255, 0.898) !important;
182
}
183

    
184
#create {
185
    background-color: #87aade;
186
    color: #000;
187
    cursor: pointer;
188
    display: block;
189
    padding: 6px 24px;
190
    margin: 12px 0 12px -36px;
191
    width: 125px;
192
    text-decoration: none;
193
}
194

    
195
#create:hover {
196
    background-color: #a8c5f1;
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: 10px 0 -2px 25px;
230
}
231

    
232
.modal {
233
    background-color:#fff;
234
    display:none;
235
    width:30em;
236
    height:20em;
237
    padding:1em;
238
    text-align:left;
239
    opacity:0.9;
240
}
241
        
242
/* scrollable root element */
243
#wizard {        
244
        border:5px solid #87AADE;
245
        font-size:9pt;
246
        height:405px;
247
        width:460px;
248
        margin:0px auto;        
249
        overflow:hidden;
250
        position:relative;
251
}  
252

    
253
/* scrollable items */
254
#wizard .items {
255
        width:20000em;
256
        clear:both;
257
        position:absolute;
258
}
259

    
260
/* validation error message bar. positioned on the top edge */
261
#drawer {
262
        overflow:visible;
263
        position:fixed;
264
        left:0;
265
        top:0;
266
}
267

    
268
/* scrollable items */
269
#wizard .items {
270
        width:20000em;        
271
        clear:both;        
272
        position:absolute;        
273
    display:block;
274
    padding: 0;
275
    margin: 0;
276
    border:none;
277
    background:none;
278
}
279

    
280
/* single item */
281
#wizard .page {        
282
        padding:20px 30px;
283
        width:440px;
284
        float:left;        
285
    display:block;
286
    border:none;
287
    background-color: transparent;
288
}
289

    
290
/* title */
291
#wizard h2 {
292
        font-weight: bold;
293
    font-size: 12pt;
294
    color: #666;
295
}
296

    
297
#wizard li {
298
        margin-bottom:1.2em;
299
}
300

    
301
#wizard .pane li {
302
    margin: 0;
303
}
304

    
305
#wizard label {
306
        font-size:16px;        
307
        display:block;
308
    clear: both;
309
}
310

    
311
#wizard label strong {
312
        color:#789;        
313
        position:relative;
314
        top:-1px;
315
    font-size: 12pt;
316
}
317

    
318
#wizard label em {
319
        font-size:9pt;
320
        color:#666;        
321
        font-style:normal;
322
}
323

    
324
#wizard .text {
325
        width: 94%;
326
        padding: 5px;
327
    margin-top: 10px;
328
        border: 1px solid #ccc;
329
        color: #456;
330
        letter-spacing: 1px;
331
}
332

    
333
#wizard select {
334
        border:1px solid #ccc;
335
        width:94%;        
336
        padding:4px;
337
    display: none;
338
}
339

    
340
#wizard .double label { 
341
        width:50%;
342
        float:left;
343
}
344

    
345
#wizard .double .text {
346
        width:93%;        
347
}
348

    
349
#wizard .clearfix {
350
        clear:left;
351
        padding-top:10px;        
352
}
353

    
354
#wizard .right {
355
        float:right;                
356
}
357

    
358
#wizard .error {
359
        border:1px solid red;                
360
}
361

    
362
#wizard a:hover div.image {
363
    background-color: #999;
364
}
365
#wizard a:hover div.image img {
366
    background-color: #999;
367
}
368

    
369
#wizard label a:hover strong {
370
    color: white;
371
}
372

    
373
#wizard div.image span.size {
374
    font-size: 9pt;
375
    color: #666;
376
}
377

    
378
#wizard div.image .radio {
379
    float: right;
380
}
381

    
382
#wizard div.image span.image-id, #wizard div.image span.description {
383
    font-size: 9pt;
384
    color: #666;
385
    font-weight: normal;
386
    display:inline;
387
}
388

    
389
#wizard a:hover div.image span.image-id, #wizard a:hover div.image span.description, #wizard a:hover div.image span.size {
390
    color: white;
391
}
392

    
393
#wizard .cost {
394
    color: #666;
395
    margin-top: 50px;
396
}
397

    
398
#wizard #status {
399
        height: 32px;
400
        background: #999;
401
    padding-left: 15px;
402
}
403

    
404
.page ul {
405
    margin-top: 15px;
406
    height: 280px;
407
    overflow: auto;
408
}
409

    
410
.panes ul.pane {
411
    height: 276px;
412
}
413

    
414
.page ul.tabs {
415
    overflow: hidden;
416
    height: auto;
417
    margin-bottom: 0;
418
    margin-top: -20px;
419
}
420

    
421
.page ul.tabs li {
422
    float: right;
423
    margin: 0 1em;
424
}
425

    
426
#status li {
427
        float:left;
428
        color:#666;
429
        padding:10px 40px;
430
}
431

    
432
#status li.active {
433
        background-color: #87AADE;
434
    font-weight: bold;
435
    color: white;
436
}
437

    
438
/* slider root element */
439
.slider {
440
    background-color: #87AADE;
441
    border: 1px solid #666;
442
    clear: right;
443
    cursor: pointer;
444
    display: block !important;
445
    float: left;
446
    height: 3px;
447
    margin: 20px 0 20px;
448
    padding: 0.1em !important;
449
    position: relative;
450
    width: 330px;
451
}
452

    
453
/* drag handle */
454
.handle {
455
    -moz-box-shadow: 0 0 2px #000000;
456
    background: url("../static/h30.png") repeat-x scroll 0 0 #FFFFFF;
457
    border: 1px solid #000000;
458
    cursor: move;
459
    display: block;
460
    height: 22px;
461
    margin-top: -9pt;
462
    position: absolute;
463
    width: 10px;
464
}
465

    
466
/* progress bar (enabled with progress: true) */
467
.progress {
468
        height:9px; 
469
        background-color:#C5FF00; 
470
        display:none;
471
        opacity:0.6;
472
}
473

    
474
/* the input field */
475
.range {
476
        border: 1px inset #ddd;
477
        float: left;
478
        font-size: 12pt;
479
        margin: 10px 0 0 15px;
480
        padding: 3px 0;
481
        text-align: center;
482
        width: 50px;                
483
}
484

    
485
div.instance {
486
    clear: both;
487
    margin: 5px 0 0 -32px;
488
    padding: 3px 4px 0;
489
    width: 523px;
490
    border: 1px dashed transparent;
491
    color: #666;
492
    height: 67px;
493
}
494

    
495
.instance a {
496
    color: #3d3d3d;
497
    font-weight: normal;
498
    text-decoration: none;
499
    font-size: 9pt;
500
}
501

    
502
.instance a:hover {
503
    color: #000;
504
    text-decoration: underline;
505
}
506

    
507
.state {
508
    float: right;
509
}
510

    
511
.state div {
512
    text-align: right;
513
    margin-right: 3px;
514
}
515

    
516
.actions {
517
    float: right;
518
    width: 70px;
519
    margin: 0 -75px 0 0;
520
    font-weight: normal;
521
    height: 67px;
522
}
523

    
524
.actions a {
525
    color: transparent;
526
}
527

    
528
a.action{
529
    margin: 0 0 5px 5px;
530
    display: none;
531
}
532

    
533
a.more {
534
    margin: 18px 0 5px 5px;
535
    display: none;
536
}
537

    
538
a.action:hover, a.more:hover {
539
    color: black !important;
540
    display: block;
541
}
542

    
543
.actions a:focus, .actions:hover a,.instance:hover .actions a {
544
    color: #3d3d3d;
545
    display: block;
546
}
547

    
548
.instance:hover {
549
    border: 1px dotted transparent;
550
    background-color:#dcdcdc;
551
    color: #3d3d3d;
552
}
553

    
554
.instance img {
555
    float: left;
556
    margin: 0em 14px 0 14px;
557
}
558

    
559
div.ip, div.state {
560
    font-size:9pt;
561
    color: #3d3d3d;
562
}
563

    
564
.list .state {
565
    margin-top: 3px;
566
}
567

    
568
div.indicator {
569
    width:10px;
570
    height:11px;
571
    margin: 3px -1px;
572
    clear: none;
573
    float:right;
574
}
575

    
576
.running .indicator {
577
    border-top: 2px solid white;
578
    border-bottom: 2px solid white;
579
    border-left: 2px solid white;
580
    border-right: 3px solid white;
581
    background-color: #87AADE;
582
}
583

    
584
.instance:hover .indicator {  
585
    border-color: #dcdcdc !important;
586
}
587

    
588
.terminated {
589
    margin-bottom: 17px;
590
    opacity: 0.8;
591
}
592

    
593
.instance:hover div.uptime, .instance:hover a.rename, .instance:hover a.configure {
594
    color: #3d3d3d;
595
}
596

    
597
div.uptime {
598
    clear: both;
599
    color: transparent;
600
    margin-left: 1px;
601
}
602

    
603
div.instance-tabs {
604
    margin-top: 1em;
605
}
606

    
607
span.rename, span.configure {
608
    background-repeat: no-repeat;
609
    color: transparent;
610
    font-size: 9pt;
611
    font-weight: normal;
612
    margin-left: 10px;
613
    padding-left: 10px;
614
    text-align: left;
615
}
616

    
617
a.name:hover span.rename {
618
    color: #3D3D3D;
619
    margin-top: 0.4em;
620
    background-image: url(/static/pencil.png);
621
}
622

    
623

    
624
a.storage:hover span.configure {
625
    color: #3D3D3D;
626
}
627

    
628
#ubuntu {
629
    height:50px;
630
    background: url(../static/ubuntu-logo.png) no-repeat 0 0;
631
    padding-left: 50px;
632
}
633

    
634
button {
635
    background-color: #87AADE;
636
    border: 1px solid #87AADE;
637
    color: #FFFFFF;
638
    cursor: pointer;
639
    padding: 4px 25px;
640
}
641

    
642
button.next:hover {
643
    background-color: #f4b400;
644
    border-color: #f4b400;
645
}
646

    
647
button.prev:hover {
648
    background-color: #a8c5f1;
649
    border-color: #a8c5f1;
650
}
651

    
652
button.next {
653
    background-color: #F49000;
654
    border-color: #F49000;
655
    font-weight: bold;
656
}
657

    
658
button.prev {
659
    margin-left: -19px;
660
}
661

    
662
.image-logo {
663
    float: left;
664
    margin-right: 1em;
665
}
666

    
667
div.image {
668
    padding: 1em;
669
    clear: both;
670
    display: block;
671
}
672

    
673
div#view-select {
674
    float: right;
675
    clear: both;
676
    color: white;
677
    margin-top: -62px;
678
    margin-right: -36px;
679
    font-size: 9pt;
680
    background-color: #87aade;
681
    padding: 5px 10px;
682
}
683

    
684
a#standard, a#list {
685
    text-decoration: none;
686
    font-size: 11pt;
687
}
688

    
689
a#standard:link, a#standard:visited {
690
color:#5f8dd3;
691
}
692

    
693
a#list:link, a#list:visited {
694
color:white;
695
}
696

    
697
a#list:hover {
698
background: #5f8dd3;
699
}
700

    
701
a#standard:active, a#list:active {
702
color:white;
703
}
704

    
705
.activelink {
706
color:white !important;
707
}
708

    
709
div.instance-type {
710
    float: left;
711
    margin: 4px 10px 20px 0;
712
}
713

    
714
div.active {
715
    height: 200px;
716
}
717

    
718
div.active, div.stopped {
719
    margin-left: -2.2em;
720
    width: 500px;
721
    padding: 1em;
722
    margin-top: 1em;
723
}
724

    
725
div.list label img {
726
    margin-right: .5em;
727
    margin-bottom: -0.25em;
728
}
729

    
730
div.list label {
731
    color: #3D3D3D;
732
    font-size:9pt;
733
}
734

    
735
div.list div.running {
736
    margin: .5em 0;
737
}
738

    
739
/* root element for tabs  */
740
#wizard ul.tabs { 
741
    margin-left: 260px;                          
742
}
743

    
744
/* single tab */
745
#wizard ul.tabs li {  
746
    margin-bottom: 0; 
747
        list-style-type:none;
748
    float: left;        
749
}
750

    
751
/* link inside the tab. uses a background image */
752
#wizard ul.tabs a { 
753
        display:block;
754
        padding: 0.5em;        
755
        text-decoration:none;
756
        color: #999;
757
        position:relative;
758
        top:1px;
759
        outline:0;
760
}
761

    
762
#wizard ul.tabs a:hover {
763
        color: black;
764
    background-color:#F7F7F7;
765
}
766
        
767
/* selected tab */
768
#wizard ul.tabs a.current {
769
        color: white;
770
    background-color: #87AADE;        
771
        cursor: default;
772
}
773

    
774
div.inactive {
775
    opacity: .6;
776
    margin-bottom: 25px;
777
}
778

    
779
div.list div.actions {
780
    clear: left;
781
    float: right;
782
    margin-right: -20px;
783
    margin-top: 22px;
784
    text-align: right;
785
    width: 150px;
786
}
787

    
788
div.list div.actions a {
789
    clear: left;
790
    color: #3D3D3D !important;
791
    display: block;
792
    font-size:9pt;
793
    opacity: 0.6;
794
}
795

    
796
div.list div.actions a:hover{
797
    text-decoration: underline;
798
    cursor: pointer;
799
}
800

    
801
input.instance {
802
    width: 13px;
803
    height: 13px;
804
    padding: 0;
805
    margin:0;
806
    vertical-align: bottom;
807
    position: relative;
808
    top: -1px;
809
    overflow: hidden;
810
}
811

    
812
#misc {
813
    height: 100px;
814
    border: 5px solid #87AADE;
815
}
816

    
817
#misc p {
818
    margin-top: 15px;
819
}
820

    
821
#misc strong {
822
    color: #F49C1A;
823
}
824

    
825
#misc .close {
826
        background-image: url(/static/close.png);
827
        position: absolute;
828
        right: -19px;
829
        top: -20px;
830
        cursor: pointer;
831
        height: 35px;
832
        width: 35px;
833
}
834

    
835
img.os {
836
    z-index: 1;
837
    margin-left: -34px;
838
    margin-top: 29px;
839
    opacity: .9;
840
}
841

    
842
div#user, div#language {
843
    float:right;
844
    clear: both;
845
    color: #a0a0a0;
846
    font-size: 9pt;
847
    margin-top: 1px;
848
}
849

    
850
div#user a, div#language a {
851
    color: #a0a0a0;
852
    text-decoration: none;
853
}
854

    
855
.seperator {
856
    background-color: #87AADE;
857
    height: 10px;
858
    width: 700px;
859
    margin: 0 0 0 -36px;
860
}
861

    
862
#mini.seperator {
863
    width: 538px;
864
    height: 5px;
865
    margin: 17px 0 17px -36px;
866
}
867

    
868
#disks.seperator {
869
    background-color: #dea842;
870
}
871

    
872
#images.seperator {
873
    background-color: #87a06d;
874
}
875

    
876
#networks.seperator {
877
    background-color: #9d6d6a;
878
}
879

    
880
.instance h5 {
881
    margin-left: 84px;
882
    margin-right: 60px;
883
}
884