Statistics
| Branch: | Tag: | Revision:

root / ui / static / main.css @ 3141976d

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
    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
    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: 0 -75px 0 0;
516
    font-weight: normal;
517
    height: 67px;
518
}
519

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

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

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

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

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

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

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

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

    
560
.list .state {
561
    margin-top: 3px;
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.8;
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

    
697
a#standard:active, a#list:active {
698
color:white;
699
}
700

    
701
.activelink {
702
color:white !important;
703
}
704

    
705
div.instance-type {
706
    float: left;
707
    margin: 4px 10px 20px 0;
708
}
709

    
710
div.active, div.inactive {
711
    height: 200px;
712
    width: 500px;
713
    overflow: auto;
714
}
715

    
716
div.inactive {
717
    opacity: .6;
718
    margin-bottom: 17px;
719
}
720

    
721
div.list label img {
722
    margin: 0 5px -3px 0;
723
}
724

    
725
div.list label {
726
    color: #3D3D3D;
727
    font-size: 9pt;
728
}
729

    
730
div.list div.running {
731
    margin: 8px 8px 8px 0;
732
}
733

    
734
div.list div.stopped {
735
    margin: 8px 8px 8px 0;
736
}
737

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

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

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

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

    
773
div.list div.actions {
774
    clear: left;
775
    float: right;
776
    margin-right: -20px;
777
    margin-top: 9px;
778
    text-align: right;
779
    width: 150px;
780
}
781

    
782
div.list div.actions a {
783
    clear: left;
784
    color: #3D3D3D !important;
785
    display: block;
786
    font-size:9pt;
787
    opacity: 0.6;
788
}
789

    
790
div.list div.actions a:hover{
791
    text-decoration: underline;
792
    cursor: pointer;
793
}
794

    
795
input.instance {
796
    width: 13px;
797
    height: 13px;
798
    padding: 0;
799
    margin:0;
800
    vertical-align: bottom;
801
    position: relative;
802
    top: -1px;
803
    overflow: hidden;
804
}
805

    
806
#misc {
807
    height: 100px;
808
    border: 5px solid #87AADE;
809
}
810

    
811
#misc p {
812
    margin-top: 15px;
813
}
814

    
815
#misc strong {
816
    color: #F49C1A;
817
}
818

    
819
#misc .close {
820
        background-image: url(/static/close.png);
821
        position: absolute;
822
        right: -19px;
823
        top: -20px;
824
        cursor: pointer;
825
        height: 35px;
826
        width: 35px;
827
}
828

    
829
img.os {
830
    z-index: 1;
831
    margin-left: -34px;
832
    margin-top: 29px;
833
    opacity: .9;
834
}
835

    
836
div#user, div#language {
837
    float:right;
838
    clear: both;
839
    color: #a0a0a0;
840
    font-size: 9pt;
841
    margin-top: 1px;
842
}
843

    
844
div#user a, div#language a {
845
    color: #a0a0a0;
846
    text-decoration: none;
847
}
848

    
849
.seperator {
850
    background-color: #87AADE;
851
    height: 10px;
852
    width: 700px;
853
    margin: 0 0 0 -36px;
854
}
855

    
856
#mini.seperator {
857
    width: 538px;
858
    height: 5px;
859
    margin: 17px 0 17px -36px;
860
}
861

    
862
#disks.seperator {
863
    background-color: #dea842;
864
}
865

    
866
#images.seperator {
867
    background-color: #87a06d;
868
}
869

    
870
#networks.seperator {
871
    background-color: #9d6d6a;
872
}
873

    
874
.instance h5 {
875
    margin-left: 84px;
876
    margin-right: 60px;
877
}
878