Statistics
| Branch: | Tag: | Revision:

root / ui / static / main.css @ 5de45a61

History | View | Annotate | Download (13 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 12px -36px;
191
    width: 125px;
192
    text-decoration: none;
193
}
194

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

    
199
#header .separator{
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
#wizard a:hover div.image img {
343
    background-color: #999;
344
}
345

    
346
#wizard label a:hover strong {
347
    color: white;
348
}
349

    
350
#wizard div.image span.size {
351
    font-size: 9pt;
352
    color: #666;
353
}
354

    
355
#wizard div.image .radio {
356
    float: right;
357
}
358

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

    
366
#wizard a:hover div.image span.image-id, #wizard a:hover div.image span.description, #wizard a:hover div.image span.size {
367
    color: white;
368
}
369

    
370
#wizard .cost {
371
    color: #666;
372
    margin-top: 50px;
373
}
374

    
375
#wizard #status {
376
        height: 32px;
377
        background: #999;
378
    padding-left: 15px;
379
}
380

    
381
.page ul {
382
    margin-top: 15px;
383
    height: 280px;
384
    overflow: auto;
385
}
386

    
387
.panes ul.pane {
388
    height: 276px;
389
}
390

    
391
.page ul.tabs {
392
    overflow: hidden;
393
    height: auto;
394
    margin-bottom: 0;
395
    margin-top: -20px;
396
}
397

    
398
.page ul.tabs li {
399
    float: right;
400
    margin: 0 1em;
401
}
402

    
403
#status li {
404
        float:left;
405
        color:#666;
406
        padding:10px 40px;
407
}
408

    
409
#status li.active {
410
        background-color: #87AADE;
411
    font-weight: bold;
412
    color: white;
413
}
414

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

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

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

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

    
458
div.instance {
459
    clear: both;
460
    margin: 5px 0 0 -32px;
461
    padding: 3px 4px 0;
462
    width: 523px;
463
    border: 1px dashed transparent;
464
    color: #666;
465
    height: 67px;
466
}
467

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

    
475
.instance a:hover {
476
    color: #000;
477
    text-decoration: underline;
478
}
479

    
480
.state {
481
    float: right;
482
}
483

    
484
.state div {
485
    text-align: right;
486
    margin-right: 3px;
487
}
488

    
489
.actions {
490
    float: right;
491
    width: 70px;
492
    margin:-53px -75px 0 0;
493
    font-weight: normal;
494
}
495

    
496
.actions a {
497
    color: transparent;
498
}
499

    
500
a.action{
501
    margin: 0 0 5px 5px;
502
    display: none;
503
}
504

    
505
a.more {
506
    margin: 18px 0 5px 5px;
507
    display: none;
508
}
509

    
510
a.action:hover, a.more:hover {
511
    color: black !important;
512
    display: block;
513
}
514

    
515
.actions a:focus, .actions:hover a,.instance:hover .actions a {
516
    color: #3d3d3d;
517
    display: block;
518
}
519

    
520
.instance:hover {
521
    border: 1px dotted transparent;
522
    background-color:#dcdcdc;
523
    color: #3d3d3d;
524
}
525

    
526
.instance img {
527
    float: left;
528
    margin: 0em 14px 0 14px;
529
}
530

    
531
div.ip, div.state {
532
    font-size:9pt;
533
    color: #3d3d3d;
534
}
535

    
536
.list .state {
537
    margin-top: 3px;
538
    margin-right: 10px;
539
}
540

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

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

    
557
.instance:hover .indicator {  
558
    border-color: #dcdcdc !important;
559
}
560

    
561
.terminated {
562
    margin-bottom: 17px;
563
    max-height: 200px;
564
    overflow: auto;
565
    opacity: 0.6;
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: 1em;
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
a#standard:hover{
676
background: #5f8dd3;
677
}
678

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

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

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

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

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

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

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

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

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

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

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

    
731
/* single tab */
732
#wizard ul.tabs li {  
733
    margin-bottom: 0; 
734
        list-style-type:none;
735
    float: left;        
736
}
737

    
738
/* link inside the tab. uses a background image */
739
#wizard ul.tabs a { 
740
        display:block;
741
        padding: 0.5em;        
742
        text-decoration:none;
743
        color: #999;
744
        position:relative;
745
        top:1px;
746
        outline:0;
747
}
748

    
749
#wizard ul.tabs a:hover {
750
        color: black;
751
    background-color:#F7F7F7;
752
}
753
        
754
/* selected tab */
755
#wizard ul.tabs a.current {
756
        color: white;
757
    background-color: #87AADE;        
758
        cursor: default;
759
}
760

    
761
div.list div.actions {
762
    clear: left;
763
    float: right;
764
    margin-right: -20px;
765
    margin-top: 9px;
766
    text-align: right;
767
    width: 150px;
768
    height: 1000px;
769
}
770

    
771
div.list div.actions a {
772
    clear: left;
773
    color: #3D3D3D !important;
774
    display: block;
775
    font-size:9pt;
776
    opacity: 0.6;
777
}
778

    
779
div.list div.actions a:hover{
780
    text-decoration: underline;
781
    cursor: pointer;
782
}
783

    
784
input.instance {
785
    width: 13px;
786
    height: 13px;
787
    padding: 0;
788
    margin:0;
789
    vertical-align: bottom;
790
    position: relative;
791
    top: -1px;
792
    overflow: hidden;
793
}
794

    
795
#misc {
796
    height: 100px;
797
    border: 5px solid #87AADE;
798
    z-index: 9999;
799
}
800

    
801
#misc p {
802
    margin-top: 15px;
803
}
804

    
805
#misc strong {
806
    color: #F49C1A;
807
}
808

    
809
#misc .close {
810
        background-image: url(/static/close.png);
811
        position: absolute;
812
        right: -19px;
813
        top: -20px;
814
        cursor: pointer;
815
        height: 35px;
816
        width: 35px;
817
}
818

    
819
div#user{
820
    float:right;
821
    clear: both;
822
    color: #a0a0a0;
823
    font-size: 9pt;
824
    margin-top: 16px;
825
}
826

    
827
div#user a{
828
    color: #a0a0a0;
829
    text-decoration: none;
830
}
831

    
832
div#user a.current_lang {
833
    opacity: .7;
834
}
835

    
836
.seperator {
837
    background-color: #87AADE;
838
    height: 10px;
839
    width: 700px;
840
    margin: 0 0 0 -36px;
841
}
842

    
843
#mini.seperator {
844
    width: 538px;
845
    height: 5px;
846
    margin: 17px 0 17px -36px;
847
}
848

    
849
#disks.seperator {
850
    background-color: #dea842;
851
}
852

    
853
#images.seperator {
854
    background-color: #87a06d;
855
}
856

    
857
#networks.seperator {
858
    background-color: #9d6d6a;
859
}
860

    
861
.instance h5 {
862
    margin: 0px 60px 1px 84px;
863
}
864

    
865
.instance .settings {
866
    margin-top: 15px;
867
}
868