Statistics
| Branch: | Tag: | Revision:

root / ui / static / main.css @ fd76a30f

History | View | Annotate | Download (13.1 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
    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

    
129
}
130
        
131
/* selected tab */
132
ul.css-tabs a.current {
133
        cursor:default;   
134
    top: 0px !important; 
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
    border: 1px solid #666;
441
    clear: right;
442
    cursor: pointer;
443
    display: block !important;
444
    float: left;
445
    height: 5px;
446
    margin: 20px 0 20px;
447
    position: relative;
448
    width: 330px;
449
}
450

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

    
464
/* progress bar (enabled with progress: true) */
465
.progress {
466
        height: 5px; 
467
        background-color: #87AADE;
468
}
469

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

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

    
491
.instance a {
492
    color: #3d3d3d;
493
    font-weight: normal;
494
    text-decoration: none;
495
    font-size: 9pt;
496
}
497

    
498
.instance a:hover {
499
    color: #000;
500
    text-decoration: underline;
501
}
502

    
503
.state {
504
    float: right;
505
}
506

    
507
.state div {
508
    text-align: right;
509
    margin-right: 3px;
510
}
511

    
512
.actions {
513
    float: right;
514
    width: 70px;
515
    margin:-44px -75px 0 0;
516
    font-weight: normal;
517
}
518

    
519
.actions a {
520
    color: transparent;
521
}
522

    
523
a.action{
524
    margin: 0 0 5px 5px;
525
    display: none;
526
}
527

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

    
533
a.action:hover, a.more:hover {
534
    color: black !important;
535
    display: block;
536
}
537

    
538
.actions a:focus, .actions:hover a,.instance:hover .actions a {
539
    color: #3d3d3d;
540
    display: block;
541
}
542

    
543
.instance:hover {
544
    border: 1px dotted transparent;
545
    background-color:#dcdcdc;
546
    color: #3d3d3d;
547
}
548

    
549
.instance img {
550
    float: left;
551
    margin: 0em 14px 0 14px;
552
}
553

    
554
div.ip, div.state {
555
    font-size:9pt;
556
    color: #3d3d3d;
557
}
558

    
559
.list .state {
560
    margin-top: 3px;
561
    margin-right: 10px;
562
}
563

    
564
div.indicator {
565
    width:10px;
566
    height:11px;
567
    margin: 3px -1px;
568
    clear: none;
569
    float:right;
570
}
571

    
572
.running .indicator {
573
    border-top: 2px solid white;
574
    border-bottom: 2px solid white;
575
    border-left: 2px solid white;
576
    border-right: 3px solid white;
577
    background-color: #87AADE;
578
}
579

    
580
.instance:hover .indicator {  
581
    border-color: #dcdcdc !important;
582
}
583

    
584
.terminated {
585
    margin-bottom: 17px;
586
    opacity: 0.6;
587
}
588

    
589
.instance:hover div.uptime, .instance:hover a.rename, .instance:hover a.configure {
590
    color: #3d3d3d;
591
}
592

    
593
div.uptime {
594
    clear: both;
595
    color: transparent;
596
    margin-left: 1px;
597
}
598

    
599
div.instance-tabs {
600
    margin-top: 1em;
601
}
602

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

    
613
a.name:hover span.rename {
614
    color: #3D3D3D;
615
    margin-top: 0.4em;
616
    background-image: url(/static/pencil.png);
617
}
618

    
619

    
620
a.storage:hover span.configure {
621
    color: #3D3D3D;
622
}
623

    
624
#ubuntu {
625
    height:50px;
626
    background: url(../static/ubuntu-logo.png) no-repeat 0 0;
627
    padding-left: 50px;
628
}
629

    
630
button {
631
    background-color: #87AADE;
632
    border: 1px solid #87AADE;
633
    color: #FFFFFF;
634
    cursor: pointer;
635
    padding: 4px 25px;
636
}
637

    
638
button.next:hover {
639
    background-color: #f4b400;
640
    border-color: #f4b400;
641
}
642

    
643
button.prev:hover {
644
    background-color: #a8c5f1;
645
    border-color: #a8c5f1;
646
}
647

    
648
button.next {
649
    background-color: #F49000;
650
    border-color: #F49000;
651
    font-weight: bold;
652
}
653

    
654
button.prev {
655
    margin-left: -19px;
656
}
657

    
658
.image-logo {
659
    float: left;
660
    margin-right: 1em;
661
}
662

    
663
div.image {
664
    padding: 1em;
665
    clear: both;
666
    display: block;
667
}
668

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

    
680
a#standard, a#list {
681
    text-decoration: none;
682
    font-size: 11pt;
683
}
684

    
685
a#standard:link, a#standard:visited {
686
color:#5f8dd3;
687
}
688

    
689
a#list:link, a#list:visited {
690
color:white;
691
}
692

    
693
a#list:hover {
694
background: #5f8dd3;
695
}
696
a#standard:hover{
697
background: #5f8dd3;
698
}
699

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

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

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

    
713
div.active, div.inactive {
714
    min-height: 200px;
715
    width: 500px;
716
    overflow: auto;
717
}
718

    
719
div.inactive {
720
    opacity: .6;
721
    margin-bottom: 17px;
722
}
723

    
724
div.list#instancesview {
725
min-height: 270px; 
726
}
727

    
728
div.list label img {
729
    margin: 0 5px -3px 0;
730
}
731

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

    
737
div.list div.running {
738
    margin: 8px 8px 8px 0;
739
    height: 200px; 
740
    overflow: auto;
741
}
742

    
743
div.list div.stopped {
744
    margin: 8px 8px 8px 0;
745
}
746

    
747
/* root element for tabs  */
748
#wizard ul.tabs { 
749
    margin-left: 260px;                          
750
}
751

    
752
/* single tab */
753
#wizard ul.tabs li {  
754
    margin-bottom: 0; 
755
        list-style-type:none;
756
    float: left;        
757
}
758

    
759
/* link inside the tab. uses a background image */
760
#wizard ul.tabs a { 
761
        display:block;
762
        padding: 0.5em;        
763
        text-decoration:none;
764
        color: #999;
765
        position:relative;
766
        top:1px;
767
        outline:0;
768
}
769

    
770
#wizard ul.tabs a:hover {
771
        color: black;
772
    background-color:#F7F7F7;
773
}
774
        
775
/* selected tab */
776
#wizard ul.tabs a.current {
777
        color: white;
778
    background-color: #87AADE;        
779
        cursor: default;
780
}
781

    
782
div.list div.actions {
783
    clear: left;
784
    float: right;
785
    margin-right: -20px;
786
    margin-top: 9px;
787
    text-align: right;
788
    width: 150px;
789
    height: 1000px;
790
}
791

    
792
div.list div.actions a {
793
    clear: left;
794
    color: #3D3D3D !important;
795
    display: block;
796
    font-size:9pt;
797
    opacity: 0.6;
798
}
799

    
800
div.list div.actions a:hover{
801
    text-decoration: underline;
802
    cursor: pointer;
803
}
804

    
805
input.instance {
806
    width: 13px;
807
    height: 13px;
808
    padding: 0;
809
    margin:0;
810
    vertical-align: bottom;
811
    position: relative;
812
    top: -1px;
813
    overflow: hidden;
814
}
815

    
816
#misc {
817
    height: 100px;
818
    border: 5px solid #87AADE;
819
    z-index: 9999;
820
}
821

    
822
#misc p {
823
    margin-top: 15px;
824
}
825

    
826
#misc strong {
827
    color: #F49C1A;
828
}
829

    
830
#misc .close {
831
        background-image: url(/static/close.png);
832
        position: absolute;
833
        right: -19px;
834
        top: -20px;
835
        cursor: pointer;
836
        height: 35px;
837
        width: 35px;
838
}
839

    
840
div#user{
841
    float:right;
842
    clear: both;
843
    color: #a0a0a0;
844
    font-size: 9pt;
845
    margin-top: 16px;
846
}
847

    
848
div#user a{
849
    color: #a0a0a0;
850
    text-decoration: none;
851
}
852

    
853
div#user a.current_lang {
854
    opacity: .7;
855
}
856

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

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

    
870
#disks.seperator {
871
    background-color: #dea842;
872
}
873

    
874
#images.seperator {
875
    background-color: #87a06d;
876
}
877

    
878
#networks.seperator {
879
    background-color: #9d6d6a;
880
}
881

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