Statistics
| Branch: | Tag: | Revision:

root / ui / static / alt-main.css @ 998ba8f9

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

    
20
body {
21
        line-height: 1;
22
}
23

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

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

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

    
38
/* remember to define focus styles! */
39
:focus {
40
        outline: 0;
41
}
42

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

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

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

    
58
body {
59
    background:#fff url(../static/degrade-background.png) repeat scroll 0 0;
60
    margin: 0;
61
}
62

    
63
h5 {
64
    font-weight: normal;
65
    font-size: 9pt;
66
    margin-bottom:3px;
67
}
68

    
69
/* get rid of those system borders being generated for A tags */
70
a:active {
71
  outline:none;
72
}
73

    
74
*:focus {
75
    outline:0 !important;
76
}
77

    
78
/* root element for tabs  */
79
ul.css-tabs {
80
        margin: 0 0 0 10px; 
81
    padding: 0;
82
        height:31px;
83
    font-size:32px;        
84
    overflow: hidden;         
85
}
86

    
87
/* single tab */
88
ul.css-tabs li {  
89
        float:left;         
90
        padding:0; 
91
        margin: 0 10px 0 0;  
92
        list-style-type:none;        
93
}
94

    
95
/* link inside the tab. uses a background image */
96
ul.css-tabs a { 
97
        float:left;
98
        display:block;
99
        text-decoration:none;
100
        color:#d2d2d2;
101
        position:relative;
102
        outline:0;
103
    padding: 0 9px 0 13px;
104
    margin-top: 7px;
105
}
106

    
107
ul.css-tabs a#instances {
108
    color: #a3bbc5;
109
}
110

    
111
ul.css-tabs a#instances.current {
112
  color: #87aade;
113
}
114

    
115
ul.css-tabs a#disks {
116
    color: #deb358;
117
}
118

    
119
ul.css-tabs a#disks.current {
120
  color: #dea842;
121
}
122

    
123
ul.css-tabs a#images {
124
    color: #9ba97b;
125
}
126

    
127
ul.css-tabs a#images.current {
128
    color: #87a06d;
129
}
130

    
131
ul.css-tabs a#networks {
132
    color: #bc9399;
133
}
134

    
135
ul.css-tabs a#networks.current {
136
  color: #9d6d6a;
137
}
138

    
139
ul.css-tabs a:hover {
140
    margin-top:0em
141
}
142
        
143
/* selected tab */
144
ul.css-tabs a.current {
145
        cursor:default;
146
    margin-top: 2px;
147
}
148

    
149
/* tab pane */
150
div.css-panes {
151
    border-top: 10px solid #87aade;
152
    border-bottom: 10px solid #87aade;  
153
    background: white;
154
}
155

    
156
.css-panes > div.pane {
157
        display:none;
158
        padding:0px 20px;
159
    margin: 0 1em;
160
    -moz-border-radius: 0 1em 1em;
161
}
162

    
163
/* CSS3 border radius for various elements. yea - CSS isn't perfect */
164
.rounded, #sheet input, .error {
165
        border-radius: 5px;
166
        -webkit-border-radius: 5px;
167
        -moz-border-radius: 5px;
168
        -o-border-radius: 5px;
169
        -khtml-border-radius: 5px;
170
}
171

    
172
/* validation error message */
173
.error {
174
        background-color:#E8FF6D;
175
        padding:4px;
176
        -webkit-box-shadow: #000 0 0 9pt;
177
        -moz-box-shadow: #000 0 0 9pt;
178
}
179

    
180
/* nested arrow inside error message. It's 100% CSS. No images. */
181
.error em {
182
        border: 10px solid;
183
        border-color: #E8FF6D transparent transparent;
184
        bottom: -17px;
185
        display: block;
186
        height: 0;
187
        left: 10px;
188
        position: absolute;
189
        width: 0;
190
}
191

    
192
/* input field that caused validation error */
193
.invalid {
194
        background-color: rgba(221, 233, 255, 0.898) !important;
195
}
196

    
197
#create {
198
    background-color: #87aade;
199
    color: #000;
200
    cursor: pointer;
201
    display: block;
202
    padding: 6px 24px;
203
    margin: 10px 0 10px -37px;
204
    width: 125px;
205
    text-decoration: none;
206
    border:1px solid #bfd2ed;
207
}
208

    
209
#create:hover {
210
    background-color: #a3bbc5;
211
    border-color: #a3bbc5;
212
}
213

    
214
div#header {
215
    height: 60px;
216
    background: #999;
217
}
218

    
219
div#wrapper {
220
    width: 700px;
221
    margin: 0em auto;
222
}
223

    
224
a.logo {
225
    width: 250px; 
226
}
227

    
228
a.logo h1 {
229
    display: none;
230
}
231

    
232
a.logo:hover h1 {
233
    color: #3baddb;
234
}
235
a img {
236
    border: none;
237
}
238

    
239
div#about {
240
    display:none;
241
}    
242

    
243
#nefo {
244
    margin: 10px 0 -2px 25px;
245
}
246

    
247
/* tooltip styling. by default the element to be styled is .tooltip  */
248
.tooltip {
249
        display:none;
250
    color: transparent; 
251
}
252

    
253
.modal {
254
    background-color:#fff;
255
    display:none;
256
    width:30em;
257
    height:20em;
258
    padding:1em;
259
    text-align:left;
260
    opacity:0.9;
261
}
262
        
263
/* scrollable root element */
264
#wizard {        
265
        border:5px solid #87AADE;
266
        font-size:9pt;
267
        height:405px;
268
        width:460px;
269
        margin:0px auto;        
270
        overflow:hidden;
271
        position:relative;
272
        /* rounded corners for modern browsers */
273
        -moz-border-radius:5px;
274
        -webkit-border-radius:5px;
275
}  
276

    
277
/* scrollable items */
278
#wizard .items {
279
        width:20000em;
280
        clear:both;
281
        position:absolute;
282
}
283

    
284
/* validation error message bar. positioned on the top edge */
285
#drawer {
286
        overflow:visible;
287
        position:fixed;
288
        left:0;
289
        top:0;
290
}
291

    
292
/* scrollable items */
293
#wizard .items {
294
        width:20000em;        
295
        clear:both;        
296
        position:absolute;        
297
    display:block;
298
    padding: 0;
299
    margin: 0;
300
    border:none;
301
    background:none;
302
}
303

    
304
/* single item */
305
#wizard .page {        
306
        padding:20px 30px;
307
        width:440px;
308
        float:left;        
309
    display:block;
310
    border:none;
311
    background-color: transparent;
312
}
313

    
314
/* title */
315
#wizard h2 {
316
        font-weight: bold;
317
    font-size: 12pt;
318
    color: #666;
319
}
320

    
321
#wizard li {
322
        margin-bottom:1.2em;
323
}
324

    
325
#wizard .pane li {
326
    margin: 0;
327
}
328

    
329
#wizard label {
330
        font-size:16px;        
331
        display:block;
332
    clear: both;
333
}
334

    
335
#wizard label strong {
336
        color:#789;        
337
        position:relative;
338
        top:-1px;
339
    font-size: 12pt;
340
}
341

    
342
#wizard label em {
343
        font-size:9pt;
344
        color:#666;        
345
        font-style:normal;
346
}
347

    
348
#wizard .text {
349
        width: 94%;
350
        padding: 5px;
351
    margin-top: 10px;
352
        border: 1px solid #ccc;
353
        color: #456;
354
        letter-spacing: 1px;
355
}
356

    
357
#wizard select {
358
        border:1px solid #ccc;
359
        width:94%;        
360
        padding:4px;
361
    display: none;
362
}
363

    
364
#wizard .double label { 
365
        width:50%;
366
        float:left;
367
}
368

    
369
#wizard .double .text {
370
        width:93%;        
371
}
372

    
373
#wizard .clearfix {
374
        clear:left;
375
        padding-top:10px;        
376
}
377

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

    
382
#wizard .error {
383
        border:1px solid red;                
384
}
385

    
386
#wizard a:hover div.image {
387
    background-color: #999;
388
}
389
#wizard a:hover div.image img {
390
    background-color: #999;
391
}
392

    
393
#wizard label a:hover strong {
394
    color: white;
395
}
396

    
397
#wizard div.image span.size {
398
    font-size: 9pt;
399
    color: #666;
400
}
401

    
402
#wizard div.image .radio {
403
    float: right;
404
}
405

    
406
#wizard div.image span.image-id, #wizard div.image span.description {
407
    font-size: 9pt;
408
    color: #666;
409
    font-weight: normal;
410
    display:inline;
411
}
412

    
413
#wizard a:hover div.image span.image-id, #wizard a:hover div.image span.description, #wizard a:hover div.image span.size {
414
    color: white;
415
}
416

    
417
#wizard .cost {
418
    color: #666;
419
    margin-top: 50px;
420
}
421

    
422
#wizard #status {
423
        height: 32px;
424
        background: #999;
425
    padding-left: 15px;
426
}
427

    
428
.page ul {
429
    margin-top: 15px;
430
    height: 280px;
431
    overflow: auto;
432
}
433

    
434
.panes ul.pane {
435
    height: 276px;
436
}
437

    
438
.page ul.tabs {
439
    overflow: hidden;
440
    height: auto;
441
    margin-bottom: 0;
442
    margin-top: -20px;
443
}
444

    
445
.page ul.tabs li {
446
    float: right;
447
    margin: 0 1em;
448
}
449

    
450
#status li {
451
        float:left;
452
        color:#666;
453
        padding:10px 40px;
454
}
455

    
456
#status li.active {
457
        background-color: #87AADE;
458
    font-weight: bold;
459
    color: white;
460
}
461

    
462
/* slider root element */
463
.slider {
464
    -moz-border-radius: 5px 5px 5px 5px;
465
    background-color: #87AADE;
466
    border: 1px solid #666;
467
    clear: right;
468
    cursor: pointer;
469
    display: block !important;
470
    float: left;
471
    height: 3px;
472
    margin: 20px 0 20px;
473
    padding: 0.1em !important;
474
    position: relative;
475
    width: 330px;
476
}
477

    
478
/* drag handle */
479
.handle {
480
    -moz-border-radius: 14px 14px 14px 14px;
481
    -moz-box-shadow: 0 0 2px #000000;
482
    background: url("../static/h30.png") repeat-x scroll 0 0 #FFFFFF;
483
    border: 1px solid #000000;
484
    cursor: move;
485
    display: block;
486
    height: 22px;
487
    margin-top: -9pt;
488
    position: absolute;
489
    width: 10px;
490
}
491

    
492
/* progress bar (enabled with progress: true) */
493
.progress {
494
        height:9px; 
495
        background-color:#C5FF00; 
496
        display:none;
497
        opacity:0.6;
498
}
499

    
500
/* the input field */
501
.range {
502
        border: 1px inset #ddd;
503
        float: left;
504
        font-size: 12pt;
505
        margin: 10px 0 0 15px;
506
        padding: 3px 0;
507
        text-align: center;
508
        width: 50px;
509
        -moz-border-radius: 5px; 
510
        -webkit-border-radius: 5px;                 
511
}
512

    
513
div.instance {
514
    clear: both;
515
    margin: 5px 0 0 -32px;
516
    padding: 3px 4px 0;
517
    width: 523px;
518
    border: 1px dashed transparent;
519
    color: #666;
520
    height: 67px;
521
}
522

    
523
.instance a {
524
    color: #3d3d3d;
525
    font-weight: normal;
526
    text-decoration: none;
527
    font-size: 9pt;
528
}
529

    
530
.instance a:hover {
531
    color: #000;
532
}
533

    
534
.state {
535
    float: right;
536
    width: 90px;
537
    padding-right: 18px;
538
}
539

    
540
.state div {
541
    text-align: right;
542
    margin-right: 3px;
543
}
544

    
545
.actions {
546
    float: right;
547
    width: 70px;
548
    margin: 0 -75px 0 0;
549
    font-weight: normal;
550
    height: 67px;
551

    
552
}
553

    
554
.actions a {
555
    color: transparent;
556
}
557

    
558
a.action{
559
    margin: 0 0 5px 5px;
560
    display: block;
561
}
562

    
563
a.more {
564
    margin: 18px 0 5px 5px;
565
    display: block;
566
}
567

    
568
a.action:hover, a.more:hover {
569
    color: black !important;
570
}
571

    
572

    
573
.actions:hover a,.instance:hover .actions a {
574
    color: #1b1b1b;
575
}
576

    
577
.instance:hover {
578
    border: 1px dotted transparent;
579
    background-color:#dcdcdc;
580
    color: #3d3d3d;
581
}
582

    
583
.instance img {
584
    float: left;
585
    margin: 0em 14px 0 14px;
586
}
587

    
588
div.ip, div.state {
589
    font-size:9pt;
590
    color: #3d3d3d;
591
}
592

    
593
div.indicator {
594
    width:10px;
595
    height:11px;
596
    margin: 3px -1px;
597
    clear: none;
598
    float:right;
599
}
600

    
601
.running .indicator {
602
    border-top: 2px solid white;
603
    border-bottom: 2px solid white;
604
    border-left: 2px solid white;
605
    border-right: 3px solid white;
606
    background-color: #86a9dd;
607
}
608

    
609
.instance:hover .indicator {  
610
    border-color: #dcdcdc !important;
611
}
612

    
613
.terminated {
614
    opacity: .6;
615
    margin-bottom: 25px;
616
}
617

    
618
.instance:hover div.uptime, .instance:hover a.rename, .instance:hover a.configure {
619
    color: #3d3d3d;
620
}
621

    
622
div.uptime {
623
    clear: both;
624
    color: transparent;
625
    margin-left: 1px;
626
}
627

    
628
div.instance-tabs {
629
    margin-top: 1em;
630
}
631

    
632
span.rename, span.configure {
633
    background-repeat: no-repeat;
634
    color: transparent;
635
    font-size: 9pt;
636
    font-weight: normal;
637
    margin-left: 10px;
638
    padding-left: 10px;
639
    text-align: left;
640
}
641

    
642
a.name:hover span.rename {
643
    color: #3D3D3D;
644
    margin-top: 0.4em;
645
    background-image: url(/static/pencil.png);
646
}
647

    
648

    
649
a.storage:hover span.configure {
650
    color: #3D3D3D;
651
}
652

    
653
#ubuntu {
654
    height:50px;
655
    background: url(../static/ubuntu-logo.png) no-repeat 0 0;
656
    padding-left: 50px;
657
}
658

    
659
button {
660
    background-color: #87AADE;
661
    border: 1px solid #87AADE;
662
    color: #FFFFFF;
663
    cursor: pointer;
664
    padding: 7px 12px;
665
}
666

    
667
button.next {
668
    background-color: #F49000;
669
    border-color: #F49000;
670
    font-weight: bold;
671
}
672

    
673
button.prev {
674
    margin-left: -19px;
675
}
676

    
677
.image-logo {
678
    float: left;
679
    margin-right: 1em;
680
}
681

    
682
div.image {
683
    padding: 1em;
684
    clear: both;
685
    display: block;
686
}
687

    
688
a#list, a#standard {
689
    float: right;
690
    clear: both;
691
    color: white;
692
    text-decoration: none;
693
    margin-top: -60px;
694
    margin-right: -36px;
695
    font-size: 9pt;
696
    background-color: #87aade;
697
    padding: 5px 10px;
698
}
699

    
700
a#standard {
701
    margin-top: -65px;
702
}
703

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

    
709
div.active {
710
    height: 200px;
711
}
712

    
713
div.active, div.stopped {
714
    margin-left: -2.2em;
715
    width: 70%;
716
    padding: 1em;
717
    margin-top: 1em;
718
}
719

    
720
div.list label img {
721
    margin-right: .5em;
722
    margin-bottom: -0.25em;
723
}
724

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

    
730
div.list div.running {
731
    margin: .5em 0;
732
}
733

    
734
/* root element for tabs  */
735
#wizard ul.tabs { 
736
    margin-left: 260px;                          
737
}
738

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

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

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

    
769
div.inactive div.state {
770
    margin-right: 2.5em;
771
}
772

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

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

    
787
div.list div.actions a {
788
    clear: left;
789
    color: #3D3D3D !important;
790
    display: block;
791
    font-size:9pt;
792
    opacity: 0.6;
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
    -moz-border-radius: 5px 5px 5px 5px;
809
    border: 5px solid #87AADE;
810
    margin: 0 auto;
811
    overflow: hidden;
812
    position: relative;
813
}
814

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

    
819
img.os {
820
    z-index: 1;
821
    margin-left: -34px;
822
    margin-top: 27px;
823
    width: 28px;
824
    opacity: .9;
825
}
826

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

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

    
839
div.seperator {
840
    background-color: #86a9dd;
841
    height: 10px;
842
    width: 538px;
843
    margin: 20px 0 25px -36px;
844
}
845

    
846
.list .seperator {
847
    margin-left: -36px;
848
}