Statistics
| Branch: | Tag: | Revision:

root / ui / static / main.css @ 03b3fa7e

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
    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: 2px !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 20px -36px;
191
    width: 125px;
192
    text-decoration: none;
193
}
194

    
195
#create:hover {
196
    background-color: #a8c5f1;
197
}
198

    
199
#header .fatborder{
200
    height: 60px;
201
    background: #999;
202
}
203

    
204
div#wrapper {
205
    width: 700px;
206
    margin: 0em auto;
207
}
208

    
209
.modal {
210
    background-color:#fff;
211
    display:none;
212
    width:30em;
213
    height:20em;
214
    padding:1em;
215
    text-align:left;
216
    opacity:0.9;
217
}
218
        
219
/* scrollable root element */
220
#wizard {        
221
        border:5px solid #87AADE;
222
        font-size:9pt;
223
        height:405px;
224
        width:460px;
225
        margin:0px auto;        
226
        overflow:hidden;
227
        position:relative;
228
}  
229

    
230
/* scrollable items */
231
#wizard .items {
232
        width:20000em;
233
        clear:both;
234
        position:absolute;
235
}
236

    
237
/* validation error message bar. positioned on the top edge */
238
#drawer {
239
        overflow:visible;
240
        position:fixed;
241
        left:0;
242
        top:0;
243
}
244

    
245
/* scrollable items */
246
#wizard .items {
247
        width:20000em;        
248
        clear:both;        
249
        position:absolute;        
250
    display:block;
251
    padding: 0;
252
    margin: 0;
253
    border:none;
254
    background:none;
255
}
256

    
257
/* single item */
258
#wizard .page {        
259
        padding:20px 30px;
260
        width:440px;
261
        float:left;        
262
    display:block;
263
    border:none;
264
    background-color: transparent;
265
}
266

    
267
/* title */
268
#wizard h2 {
269
        font-weight: bold;
270
    font-size: 12pt;
271
    color: #666;
272
}
273

    
274
#wizard li {
275
        margin-bottom:1.2em;
276
}
277

    
278
#wizard .pane li {
279
    margin: 0;
280
}
281

    
282
#wizard label {
283
        font-size:16px;        
284
        display:block;
285
    clear: both;
286
}
287

    
288
#wizard label strong {
289
        color:#789;        
290
        position:relative;
291
        top:-1px;
292
    font-size: 12pt;
293
}
294

    
295
#wizard label em {
296
        font-size:9pt;
297
        color:#666;        
298
        font-style:normal;
299
}
300

    
301
#wizard .text {
302
        width: 94%;
303
        padding: 5px;
304
    margin-top: 10px;
305
        border: 1px solid #ccc;
306
        color: #456;
307
        letter-spacing: 1px;
308
}
309

    
310
#wizard select {
311
        border:1px solid #ccc;
312
        width:94%;        
313
        padding:4px;
314
    display: none;
315
}
316

    
317
#wizard .double label { 
318
        width:50%;
319
        float:left;
320
}
321

    
322
#wizard .double .text {
323
        width:93%;        
324
}
325

    
326
#wizard .clearfix {
327
        clear:left;
328
        padding-top:10px;        
329
}
330

    
331
#wizard .right {
332
        float:right;                
333
}
334

    
335
#wizard .error {
336
        border:1px solid red;                
337
}
338

    
339
#wizard a:hover div.image {
340
    background-color: #999;
341
}
342

    
343
#wizard label a:hover strong {
344
    color: white;
345
}
346

    
347
#wizard div.image span.size {
348
    font-size: 9pt;
349
    color: #666;
350
}
351

    
352
#wizard div.image .radio {
353
    float: right;
354
}
355

    
356
#wizard div.image span.image-id, #wizard div.image span.description {
357
    font-size: 9pt;
358
    color: #666;
359
    font-weight: normal;
360
    display:inline;
361
}
362

    
363
#wizard a:hover div.image span.image-id, #wizard a:hover div.image span.description, #wizard a:hover div.image span.size {
364
    color: white;
365
}
366

    
367
#wizard .cost {
368
    color: #666;
369
    margin-top: 50px;
370
}
371

    
372
#wizard #status {
373
        height: 32px;
374
        background: #999;
375
    padding-left: 15px;
376
}
377

    
378
.page ul {
379
    margin-top: 15px;
380
    height: 280px;
381
    overflow: auto;
382
}
383

    
384
.panes ul.pane {
385
    height: 276px;
386
}
387

    
388
.page ul.tabs {
389
    overflow: hidden;
390
    height: auto;
391
    margin-bottom: 0;
392
    margin-top: -20px;
393
}
394

    
395
.page ul.tabs li {
396
    float: right;
397
    margin: 0 1em;
398
}
399

    
400
#status li {
401
        float:left;
402
        color:#666;
403
        padding:10px 40px;
404
}
405

    
406
#status li.active {
407
        background-color: #87AADE;
408
    font-weight: bold;
409
    color: white;
410
}
411

    
412
/* slider root element */
413
.slider {
414
    border: 1px solid #666;
415
    clear: right;
416
    cursor: pointer;
417
    display: block !important;
418
    float: left;
419
    height: 5px;
420
    margin: 20px 0 20px;
421
    position: relative;
422
    width: 330px;
423
}
424

    
425
/* drag handle */
426
.handle {
427
    -moz-box-shadow: 0 0 2px #000000;
428
    background: url("../static/h30.png") repeat-x scroll 0 0 #FFFFFF;
429
    border: 1px solid #000000;
430
    cursor: move;
431
    display: block;
432
    height: 22px;
433
    margin-top: -15px;
434
    position: absolute;
435
    width: 10px;
436
}
437

    
438
/* progress bar (enabled with progress: true) */
439
.progress {
440
        height: 5px; 
441
        background-color: #87AADE;
442
}
443

    
444
/* the input field */
445
.range {
446
        border: 1px inset #ddd;
447
        float: left;
448
        font-size: 12pt;
449
        margin: 10px 0 0 15px;
450
        padding: 3px 0;
451
        text-align: center;
452
        width: 50px;                
453
}
454

    
455
div.instance {
456
    clear: both;
457
    margin: -1px 0 0 -32px;
458
    padding: 3px 4px 0;
459
    width: 523px;
460
    border: 1px dashed transparent;
461
    color: #666;
462
    height: 65px;
463
}
464

    
465
.instance a {
466
    color: #3d3d3d;
467
    font-weight: normal;
468
    text-decoration: none;
469
    font-size: 9pt;
470
}
471

    
472
.instance a:hover {
473
    color: #000;
474
    text-decoration: underline;
475
}
476

    
477
.state {
478
    float: right;
479
}
480

    
481
.state div {
482
    text-align: right;
483
    margin-right: 3px;
484
}
485

    
486
.actions {
487
    float: right;
488
    width: 70px;
489
    margin:-60px -75px 0 0;
490
    font-weight: normal;
491
}
492

    
493
.actions a {
494
    color: transparent;
495
}
496

    
497
a.action{
498
    margin: 0 0 5px 5px;
499
    display: none;
500
}
501

    
502
a.more {
503
    margin: 18px 0 5px 5px;
504
    display: none;
505
}
506

    
507
a.action:hover, a.more:hover {
508
    color: black !important;
509
    display: block;
510
}
511

    
512
.actions a:focus, .actions:hover a,.instance:hover .actions a {
513
    color: #3d3d3d;
514
    display: block;
515
}
516

    
517
.instance:hover {
518
    border: 1px dotted transparent;
519
    background-color:#dcdcdc;
520
    color: #3d3d3d;
521
}
522

    
523
.instance img {
524
    float: left;
525
    margin: 7px 14px 0;
526
}
527

    
528
div.ip, div.state {
529
    font-size:9pt;
530
    color: #3d3d3d;
531
}
532

    
533
.list .state {
534
    margin-top: 3px;
535
    margin-right: 10px;
536
}
537

    
538
div.indicator {
539
    width:10px;
540
    height:11px;
541
    margin: 3px -1px;
542
    clear: none;
543
    float:right;
544
}
545

    
546
.running .indicator {
547
    border-top: 2px solid white;
548
    border-bottom: 2px solid white;
549
    border-left: 2px solid white;
550
    border-right: 3px solid white;
551
    background-color: #87AADE;
552
}
553

    
554
.instance:hover .indicator {  
555
    border-color: #dcdcdc !important;
556
}
557

    
558
.terminated {
559
    margin-bottom: 17px;
560
    opacity: 0.6;
561
}
562

    
563
.list .terminated {
564
    max-height: 200px;
565
    overflow: auto;
566
}
567

    
568
.instance:hover div.uptime, .instance:hover a.rename, .instance:hover a.configure {
569
    color: #3d3d3d;
570
}
571

    
572
div.uptime {
573
    clear: both;
574
    color: transparent;
575
    margin-left: 1px;
576
}
577

    
578
div.instance-tabs {
579
    margin-top: 1em;
580
}
581

    
582
span.rename, span.configure {
583
    background-repeat: no-repeat;
584
    color: transparent;
585
    font-size: 9pt;
586
    font-weight: normal;
587
    margin-left: 10px;
588
    padding-left: 10px;
589
    text-align: left;
590
}
591

    
592
a.name:hover span.rename {
593
    color: #3D3D3D;
594
    margin-top: 0.4em;
595
    background-image: url(/static/pencil.png);
596
}
597

    
598

    
599
a.settings:hover span.configure {
600
    color: #3D3D3D;
601
}
602

    
603
#ubuntu {
604
    height:50px;
605
    background: url(../static/ubuntu-logo.png) no-repeat 0 0;
606
    padding-left: 50px;
607
}
608

    
609
button {
610
    background-color: #87AADE;
611
    border: 1px solid #87AADE;
612
    color: #FFFFFF;
613
    cursor: pointer;
614
    padding: 4px 25px;
615
}
616

    
617
button.next:hover {
618
    background-color: #f4b400;
619
    border-color: #f4b400;
620
}
621

    
622
button.prev:hover {
623
    background-color: #a8c5f1;
624
    border-color: #a8c5f1;
625
}
626

    
627
button.next {
628
    background-color: #F49000;
629
    border-color: #F49000;
630
    font-weight: bold;
631
}
632

    
633
button.prev {
634
    margin-left: -19px;
635
}
636

    
637
.image-logo {
638
    float: left;
639
    margin-right: 1em;
640
}
641

    
642
div.image {
643
    padding: 10px;
644
    clear: both;
645
    display: block;
646
}
647

    
648
div#view-select {
649
    float: right;
650
    clear: both;
651
    color: white;
652
    margin-top: -62px;
653
    margin-right: -36px;
654
    font-size: 9pt;
655
    background-color: #87aade;
656
    padding: 5px 10px;
657
}
658

    
659
a#standard, a#list {
660
    text-decoration: none;
661
    font-size: 11pt;
662
}
663

    
664
a#standard:link, a#standard:visited {
665
color:#5f8dd3;
666
}
667

    
668
a#list:link, a#list:visited {
669
color:white;
670
}
671

    
672
a#list:hover {
673
background: #5f8dd3;
674
}
675

    
676
a#standard:hover{
677
background: #5f8dd3;
678
}
679

    
680
a#standard:active, a#list:active {
681
color:white;
682
}
683

    
684
.activelink {
685
color:white !important;
686
}
687

    
688
div.instance-type {
689
    float: left;
690
    margin: 4px 10px 20px 0;
691
}
692

    
693
div.active, div.inactive {
694
    min-height: 200px;
695
    width: 500px;
696
    overflow: auto;
697
}
698

    
699
div.inactive {
700
    opacity: .6;
701
    margin-bottom: 17px;
702
}
703

    
704
div.list#instancesview {
705
min-height: 270px; 
706
}
707

    
708
div.list label img {
709
    margin: 0 5px -3px 0;
710
}
711

    
712
div.list label {
713
    color: #3D3D3D;
714
    font-size: 9pt;
715
}
716

    
717
div.list div.running {
718
    margin: 8px 8px 8px 0;
719
    height: 200px; 
720
    overflow: auto;
721
}
722

    
723
div.list div.stopped {
724
    margin: 8px 8px 8px 0;
725
}
726

    
727
/* root element for tabs  */
728
#wizard ul.tabs { 
729
    margin-left: 260px;                          
730
}
731

    
732
#wizard div.panes {
733
    height: 270px;
734
    margin-bottom: 6px;
735
}
736

    
737
/* single tab */
738
#wizard ul.tabs li {  
739
    margin-bottom: 0; 
740
        list-style-type:none;
741
    float: left;        
742
}
743

    
744
/* link inside the tab. uses a background image */
745
#wizard ul.tabs a { 
746
        display:block;
747
        padding: 0.5em;        
748
        text-decoration:none;
749
        color: #999;
750
        position:relative;
751
        top:1px;
752
        outline:0;
753
}
754

    
755
#wizard ul.tabs a:hover {
756
        color: black;
757
    background-color:#F7F7F7;
758
}
759
        
760
/* selected tab */
761
#wizard ul.tabs a.current {
762
        color: white;
763
    background-color: #87AADE;        
764
        cursor: default;
765
}
766

    
767
div.list div.actions {
768
    clear: left;
769
    float: right;
770
    margin-right: -20px;
771
    margin-top: 9px;
772
    text-align: right;
773
    width: 150px;
774
    height: 1000px;
775
}
776

    
777
div.list div.actions a {
778
    clear: left;
779
    color: #3D3D3D !important;
780
    display: block;
781
    font-size:9pt;
782
    opacity: 0.6;
783
}
784

    
785
div.list div.actions a:hover{
786
    text-decoration: underline;
787
    cursor: pointer;
788
}
789

    
790
input.instance {
791
    width: 13px;
792
    height: 13px;
793
    padding: 0;
794
    margin:0;
795
    vertical-align: bottom;
796
    position: relative;
797
    top: -1px;
798
    overflow: hidden;
799
}
800

    
801
#misc {
802
    height: 100px;
803
    border: 5px solid #87AADE;
804
    z-index: 9999;
805
}
806

    
807
#misc p {
808
    margin-top: 15px;
809
}
810

    
811
#misc strong {
812
    color: #F49C1A;
813
}
814

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

    
825
div#user{
826
    float:right;
827
    clear: both;
828
    color: #a0a0a0;
829
    font-size: 9pt;
830
    margin-top: 16px;
831
}
832

    
833
div#user a{
834
    color: #a0a0a0;
835
    text-decoration: none;
836
}
837

    
838
div#user a.current_lang {
839
    opacity: .7;
840
}
841

    
842
.seperator {
843
    background-color: #87AADE;
844
    height: 10px;
845
    width: 700px;
846
    margin: 0 0 0 -36px;
847
}
848

    
849
#mini.seperator {
850
    width: 538px;
851
    height: 5px;
852
    margin: 17px 0 17px -36px;
853
}
854

    
855
#disks.seperator {
856
    background-color: #dea842;
857
}
858

    
859
#images.seperator {
860
    background-color: #87a06d;
861
}
862

    
863
#networks.seperator {
864
    background-color: #9d6d6a;
865
}
866

    
867
.instance .seperator {
868
    width: 508px;
869
    height: 1px;
870
    margin: 6px 0 0 15px;
871
    background-color: #DCDCDC;
872
}
873

    
874
.instance h5 {
875
    margin: 0px 60px 1px 84px;
876
}
877

    
878
.instance .settings {
879
    margin-top: 22px;
880
}
881