Statistics
| Branch: | Tag: | Revision:

root / ui / static / alt-main.css @ 321b586b

History | View | Annotate | Download (12.7 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: #87aade;
109
}
110

    
111

    
112
ul.css-tabs a#disks {
113
    color: #deb358;
114
}
115

    
116
ul.css-tabs a#networks {
117
    color: #bc9399;
118
}
119

    
120
ul.css-tabs a#images {
121
    color: #9ba97b;
122
}
123

    
124
ul.css-tabs a:hover {
125
    margin-top:0em
126
}
127
        
128
/* selected tab */
129
ul.css-tabs a.current {
130
        cursor:default;
131
    margin-top: 2px;
132
}
133

    
134
/* tab pane */
135
div.css-panes {
136
    border-top: 10px solid #87aade;  
137
    background: white;
138
}
139

    
140
.css-panes > div.pane {
141
        display:none;
142
        padding:0px 20px;
143
    margin: 0 1em;
144
    -moz-border-radius: 0 1em 1em;
145
}
146

    
147
/* CSS3 border radius for various elements. yea - CSS isn't perfect */
148
.rounded, #sheet input, .error {
149
        border-radius: 5px;
150
        -webkit-border-radius: 5px;
151
        -moz-border-radius: 5px;
152
        -o-border-radius: 5px;
153
        -khtml-border-radius: 5px;
154
}
155

    
156
/* validation error message */
157
.error {
158
        background-color:#E8FF6D;
159
        padding:4px;
160
        -webkit-box-shadow: #000 0 0 9pt;
161
        -moz-box-shadow: #000 0 0 9pt;
162
}
163

    
164
/* nested arrow inside error message. It's 100% CSS. No images. */
165
.error em {
166
        border: 10px solid;
167
        border-color: #E8FF6D transparent transparent;
168
        bottom: -17px;
169
        display: block;
170
        height: 0;
171
        left: 10px;
172
        position: absolute;
173
        width: 0;
174
}
175

    
176
/* input field that caused validation error */
177
.invalid {
178
        background-color: rgba(221, 233, 255, 0.898) !important;
179
}
180

    
181
#create {
182
    background-color: #87aade;
183
    color: #000;
184
    cursor: pointer;
185
    display: block;
186
    padding: 6px 24px;
187
    margin-top: 9px;
188
    width: 125px;
189
    text-decoration: none;
190
    margin-left: -2.3em;
191
    border:1px solid #bfd2ed;
192
    margin-bottom: 17px;
193
}
194

    
195
#create:hover {
196
    color: white;
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: 33px 0 -2px 25px;
230
}
231

    
232
/* tooltip styling. by default the element to be styled is .tooltip  */
233
.tooltip {
234
        display:none;
235
    color: transparent; 
236
}
237

    
238
.modal {
239
    background-color:#fff;
240
    display:none;
241
    width:30em;
242
    height:20em;
243
    padding:1em;
244
    text-align:left;
245
    opacity:0.9;
246
}
247
        
248
/* scrollable root element */
249
#wizard {        
250
        border:5px solid #87AADE;
251
        font-size:9pt;
252
        height:480px;
253
        margin:0px auto;        
254
        width:500px;
255
        overflow:hidden;
256
        position:relative;
257
        /* rounded corners for modern browsers */
258
        -moz-border-radius:5px;
259
        -webkit-border-radius:5px;
260
}  
261

    
262
/* scrollable items */
263
#wizard .items {
264
        width:20000em;
265
        clear:both;
266
        position:absolute;
267
}
268

    
269
/* validation error message bar. positioned on the top edge */
270
#drawer {
271
        overflow:visible;
272
        position:fixed;
273
        left:0;
274
        top:0;
275
}
276

    
277
/* scrollable items */
278
#wizard .items {
279
        width:20000em;        
280
        clear:both;        
281
        position:absolute;        
282
    display:block;
283
    padding: 0;
284
    margin: 0;
285
    border:none;
286
    background:none;
287
}
288

    
289
/* single item */
290
#wizard .page {        
291
        padding:20px 30px;
292
        width:440px;
293
        float:left;        
294
    display:block;
295
    border:none;
296
    background-color: transparent;
297
}
298

    
299
/* title */
300
#wizard h2 {
301
        font-size:22px;
302
        font-weight:normal;
303
        margin:10px 0 0 0;
304
}
305

    
306
#wizard h2 em {
307
        display:block;
308
        font-size:9pt;
309
        color:#666;
310
        font-style:normal;
311
        margin-top:5px;
312
}
313

    
314
/* input fields */
315
#wizard ul {
316
        padding:0px !important;
317
}
318

    
319
#wizard li {
320
        list-style-type:none;
321
        list-style-image:none;
322
        margin-bottom:1.2em;
323
}
324

    
325
#wizard label {
326
        font-size:16px;        
327
        display:block;
328
    clear: both;
329
}
330

    
331
#wizard label strong {
332
        color:#789;        
333
        position:relative;
334
        top:-1px;
335
}
336

    
337
#wizard label em {
338
        font-size:9pt;
339
        color:#666;        
340
        font-style:normal;
341
}
342

    
343
#wizard .text {
344
        width:94%;
345
        padding:5px;
346
        border:1px solid #ccc;
347
        color:#456;
348
        letter-spacing:1px;
349
}
350

    
351
#wizard select {
352
        border:1px solid #ccc;
353
        width:94%;        
354
        padding:4px;
355
    display: none;
356
}
357

    
358
#wizard label span {
359
        color:#b8128f;
360
        font-weight:bold;
361
        position:relative;
362
        top:4px;
363
        font-size:20px;
364
}
365

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

    
371
#wizard .double .text {
372
        width:93%;        
373
}
374

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

    
380
#wizard .right {
381
        float:right;                
382
}
383

    
384
#wizard .error {
385
        border:1px solid red;                
386
}
387

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

    
395
#wizard label a:hover strong {
396
    color: white;
397
}
398

    
399
#wizard div.image strong {
400
    font-size: 1em;
401
}
402

    
403
#wizard div.image span.size {
404
    font-size: 9pt;
405
    color: #666;
406
}
407

    
408
#wizard div.image .radio {
409
    float: right;
410
}
411

    
412
#wizard div.image span.image-id, #wizard div.image span.description {
413
    font-size: 9pt;
414
    color: #666;
415
    font-weight: normal;
416
    display:inline;
417
}
418

    
419
#wizard a:hover div.image span.image-id, #wizard a:hover div.image span.description, #wizard a:hover div.image span.size {
420
    color: white;
421
}
422

    
423
#wizard .cost {
424
    color: #666;
425
    margin-top: 5em;
426
    font-size: 9pt;
427
}
428

    
429
#wizard #status {
430
        margin: 0px !important;
431
        height: 35px;
432
        background: #999;
433
        padding-left: 25px !important;
434
}
435

    
436
.page ul {
437
    height: 280px;
438
    overflow: auto;
439
    margin-bottom: 2em;
440
}
441

    
442
.page ul.tabs {
443
    overflow: hidden;
444
}
445

    
446
.panes ul.pane {
447
    height: 268px;
448
}
449

    
450
.page ul.tabs {
451
    height: auto;
452
    margin-bottom: 0em;
453
    margin-top: -1.37em;
454
}
455

    
456
.page ul.tabs li {
457
    float: right;
458
    margin: 0 1em;
459
}
460

    
461
#status li {
462
        list-style-type:none;
463
        list-style-image:none;
464
        float:left;
465
        color:#666;
466
        padding:10px 30px;
467
}
468

    
469
#status li.active {
470
        background-color: #87AADE;
471
    font-weight: bold;
472
    color: white;
473
}
474

    
475
/* slider root element */
476
.slider {
477
    -moz-border-radius: 5px 5px 5px 5px;
478
    background-color: #87AADE;
479
    border: 1px solid #666;
480
    clear: right;
481
    cursor: pointer;
482
    display: block !important;
483
    float: left;
484
    height: 3px;
485
    margin-top: 10px;
486
    margin-bottom: 2em;
487
    padding: 0.1em !important;
488
    position: relative;
489
    width: 330px;
490
}
491

    
492
/* drag handle */
493
.handle {
494
    -moz-border-radius: 14px 14px 14px 14px;
495
    -moz-box-shadow: 0 0 2px #000000;
496
    background: url("../static/h30.png") repeat-x scroll 0 0 #FFFFFF;
497
    border: 1px solid #000000;
498
    cursor: move;
499
    display: block;
500
    height: 22px;
501
    margin-top: -9pt;
502
    position: absolute;
503
    width: 10px;
504
}
505

    
506
/* progress bar (enabled with progress: true) */
507
.progress {
508
        height:9px; 
509
        background-color:#C5FF00; 
510
        display:none;
511
        opacity:0.6;
512
}
513

    
514
/* the input field */
515
.range {
516
        border:1px inset #ddd;
517
        float:left;
518
        font-size:16px;
519
        margin:0 0 0 15px;
520
        padding:3px 0;
521
        text-align:center;
522
        width:50px;
523
        -moz-border-radius:5px; 
524
        -webkit-border-radius:5px;                 
525
}
526

    
527
div.instance {
528
    clear: both;
529
    margin: 5px 0 0 -32px;
530
    padding: 3px 5px 0;
531
    width: 523px;
532
    border: 1px dashed transparent;
533
    color: #666;
534
    height: 67px;
535
}
536

    
537
.instance a {
538
    color: #3d3d3d;
539
    font-weight: normal;
540
    text-decoration: none;
541
    font-size: 9pt;
542
}
543

    
544
.instance a:hover {
545
    color: #000;
546
}
547

    
548
.state {
549
    float: right;
550
    width: 15%;
551
    margin-top: .4em;
552
}
553

    
554

    
555
.actions {
556
    float: right;
557
    width: 20%;
558
    margin: -1.5em -10em 0 0;
559
    font-weight: normal;
560
    padding-left: 2em;
561
    height: 70px;
562
}
563

    
564
.actions a {
565
    color: transparent;
566
}
567

    
568
a.action{
569
    margin: .5em;
570
    display: block;
571
}
572

    
573
a.more {
574
    margin: 4.1em 0.5em 0.5em;
575
    display: block;
576
}
577

    
578
a.action:hover, a.more:hover {
579
    color: black !important;
580
}
581

    
582

    
583
.actions:hover a,.instance:hover .actions a {
584
    color: #666;
585
}
586

    
587
.instance:hover {
588
    border: 1px dotted transparent;
589
    background-color:#dcdcdc;
590
    color: #3d3d3d;
591
}
592

    
593
.instance img {
594
    float: left;
595
    margin: 0em 14px 0 14px;
596
}
597

    
598
div.ip, div.state {
599
    font-size:9pt;
600
    color: #3d3d3d;
601
}
602

    
603
div.indicator {
604
    width:10px;
605
    height:11px;
606
    margin: 2px -1px;
607
    clear: none;
608
    float:left;
609
}
610

    
611
.running .indicator {
612
    border-top: 2px solid white;
613
    border-bottom: 2px solid white;
614
    border-left: 2px solid white;
615
    border-right: 3px solid white;
616
    background-color: #86a9dd;
617
}    
618

    
619

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

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

    
630
div.instance-tabs {
631
    margin-top: 1em;
632
}
633
div.instance-tabs a{
634

    
635
}
636

    
637
span.rename, span.configure {
638
    background-repeat: no-repeat;
639
    color: transparent;
640
    font-size: 9pt;
641
    font-weight: normal;
642
    margin-left: 10px;
643
    padding-left: 10px;
644
    text-align: left;
645
}
646

    
647
a.name:hover span.rename {
648
    color: #3D3D3D;
649
    margin-top: 0.4em;
650
    background-image: url(/static/pencil.png);
651
}
652

    
653

    
654
a.storage:hover span.configure {
655
    color: #3D3D3D;
656
}
657

    
658
#ubuntu {
659
    height:50px;
660
    background: url(../static/ubuntu-logo.png) no-repeat 0 0;
661
    padding-left: 50px;
662
}
663

    
664
button {
665
    background-color: #87AADE;
666
    border: 1px solid #87AADE;
667
    color: #FFFFFF;
668
    cursor: pointer;
669
    padding: 0.7em 2em;
670
}
671

    
672
button.next {
673
    background-color: #F49000;
674
    border-color: #F49000;
675
    font-weight: bold;
676
}
677

    
678
button.prev {
679

    
680
}
681

    
682
.image-logo {
683
    float: left;
684
    margin-right: 1em;
685
}
686

    
687
div.image {
688
    padding: 1em;
689
    clear: both;
690
    display: block;
691
}
692

    
693
a#list, a#standard {
694
    float: right;
695
    clear: both;
696
    color: white;
697
    text-decoration: none;
698
    margin-top: -65px;
699
    margin-right: -36px;
700
    font-size: 9pt;
701
    background-color: #87aade;
702
    padding: 5px 10px;
703
}
704

    
705
div.instance-type {
706
    float: left;
707
    margin-bottom: 2em;
708
    margin-right: 1.8em;
709
    margin-top: 1em;
710
}
711

    
712
div.active {
713
    border-bottom: 1em solid #87AADE;
714
    height: 200px;
715
}
716

    
717
div.active, div.stopped {
718
    margin-left: -2.2em;
719
    width: 70%;
720
    padding: 1em;
721
    margin-top: 1em;
722
}
723

    
724
div.list label img {
725
    margin-right: .5em;
726
    margin-bottom: -0.25em;
727
}
728

    
729
div.list label {
730
    color: #87AADE;
731
    font-size:9pt;
732
}
733

    
734
div.list div.running {
735
    margin: .5em 0;
736
}
737

    
738
/* root element for tabs  */
739
#wizard ul.tabs { 
740
    margin-top: -2em;
741
    margin-left: 21em;                          
742
}
743

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

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

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

    
774
div.inactive div.state {
775
    margin-right: 2.5em;
776
}
777

    
778
div.inactive {
779
    opacity: .6;
780
}
781

    
782
div.list div.actions {
783
    clear: left;
784
    float: right;
785
    margin-right: 4em;
786
    margin-top: 1em;
787
    text-align: right;
788
}
789

    
790
div.list div.actions a {
791
    clear: left;
792
    color: #666 !important;
793
    display: block;
794
    font-size:9pt;
795
}
796

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

    
808
#misc {
809
    height: 100px;
810
    -moz-border-radius: 5px 5px 5px 5px;
811
    border: 5px solid #87AADE;
812
    margin: 0 auto;
813
    overflow: hidden;
814
    position: relative;
815
}
816

    
817
#misc strong {
818
    color: #F49C1A;
819
}
820

    
821
img.os {
822
    z-index: 1;
823
    margin-left: -40px;
824
    margin-top: 27px;
825
    opacity: .9;
826
}
827

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

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