Statistics
| Branch: | Tag: | Revision:

root / ui / static / alt-main.css @ 5153f2a9

History | View | Annotate | Download (12.5 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: 'PT Sans', Verdana, Bitstream Charter, sans-serif;
18
}
19
body {
20
        line-height: 1;
21
}
22
ol, ul {
23
        list-style: none;
24
}
25
blockquote, q {
26
        quotes: none;
27
}
28
blockquote:before, blockquote:after,
29
q:before, q:after {
30
        content: '';
31
        content: none;
32
}
33

    
34
/* remember to define focus styles! */
35
:focus {
36
        outline: 0;
37
}
38

    
39
/* remember to highlight inserts somehow! */
40
ins {
41
        text-decoration: none;
42
}
43
del {
44
        text-decoration: line-through;
45
}
46

    
47
/* tables still need 'cellspacing="0"' in the markup */
48
table {
49
        border-collapse: collapse;
50
        border-spacing: 0;
51
}
52

    
53

    
54
body {
55
    background:#fff url(../static/degrade-background.png) repeat scroll 0 0;
56
    margin: 0;
57
}
58

    
59
h5 {
60
    font-weight: normal;
61
    font-size: 10pt;
62
    margin-bottom:3px;
63
}
64

    
65
/* get rid of those system borders being generated for A tags */
66
a:active {
67
  outline:none;
68
}
69

    
70
*:focus {
71
    outline:0 !important;
72
}
73

    
74
/* root element for tabs  */
75
ul.css-tabs {
76
        margin: 0 0 0 10px; 
77
    padding: 0;
78
        height:31px;
79
    font-size:32px;        
80
    overflow: hidden;         
81
}
82

    
83
/* single tab */
84
ul.css-tabs li {  
85
        float:left;         
86
        padding:0; 
87
        margin: 0 10px 0 0;  
88
        list-style-type:none;        
89
}
90

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

    
103
ul.css-tabs a#instances {
104
    color: #87aade;
105
}
106

    
107

    
108
ul.css-tabs a#disks {
109
    color: #deb358;
110
}
111

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

    
116
ul.css-tabs a#images {
117
    color: #9ba97b;
118
}
119

    
120
ul.css-tabs a:hover {
121
    margin-top:0em
122
}
123
        
124
/* selected tab */
125
ul.css-tabs a.current {
126
        cursor:default;
127
    margin-top: 2px;
128
}
129

    
130
/* tab pane */
131
div.css-panes {
132
    border-top: 10px solid #87aade;  
133
    background: white;
134
}
135

    
136
.css-panes > div.pane {
137
        display:none;
138
        padding:0px 20px;
139
    margin: 0 1em;
140
    -moz-border-radius: 0 1em 1em;
141
}
142

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

    
152
/* validation error message */
153
.error {
154
        background-color:#E8FF6D;
155
        padding:4px;
156
        -webkit-box-shadow: #000 0 0 10pt;
157
        -moz-box-shadow: #000 0 0 10pt;
158
}
159

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

    
172
/* input field that caused validation error */
173
.invalid {
174
        background-color: rgba(221, 233, 255, 0.898) !important;
175
}
176

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

    
190
#create:hover {
191
    color: white;
192
}
193

    
194
div#header {
195
    height: 60px;
196
    background: #999;
197
}
198

    
199
div#wrapper {
200
    width: 700px;
201
    margin: 0em auto;
202
}
203

    
204
a.logo {
205
    width: 250px; 
206
}
207

    
208
a.logo h1 {
209
    display: none;
210
}
211

    
212
a.logo:hover h1 {
213
    color: #3baddb;
214
}
215
a img {
216
    border: none;
217
}
218

    
219
div#about {
220
    display:none;
221
}    
222

    
223
#nefo {
224
    margin: 33px 0 0 17px;
225
}
226

    
227
/* tooltip styling. by default the element to be styled is .tooltip  */
228
.tooltip {
229
        display:none;
230
    color: transparent; 
231
}
232

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

    
257
/* scrollable items */
258
#wizard .items {
259
        width:20000em;
260
        clear:both;
261
        position:absolute;
262
}
263

    
264
/* single scrollable item called ".page" in this setup */
265
#wizard .page {
266
        padding:20px 30px;
267
        float:left;
268
}
269

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
555

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

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

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

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

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

    
583

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

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

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

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

    
604
div.indicator {
605
    width:1em;
606
    height:.6em;
607
    margin: .3em -.1em .5em;
608
    clear: none;
609
    float:left;
610
}
611

    
612
.running .indicator {
613
    border:2px solid white;
614
    background-color: #86a9dd;
615
}    
616

    
617

    
618
.instance:hover div.uptime, .instance:hover a.rename, .instance:hover a.configure {
619
    color: #000;
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
div.instance-tabs a{
632

    
633
}
634

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

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

    
651

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

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

    
662
button {
663
    -moz-border-radius: 10.2em 10.2em 10.2em 10.2em;
664
    background-color: #87AADE;
665
    border-bottom: 0.2em solid #999;
666
    border-width: 1px 1px 0.2em;
667
    color: #FFFFFF;
668
    cursor: pointer;
669
    font-size: 10pt;
670
    line-height: 1;
671
    padding: 0.7em 2em;
672

    
673
}
674

    
675
button.next {
676
    background-color: #f49000;
677
    font-weight: bold;
678
}
679

    
680
button.prev {
681

    
682
}
683

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

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

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

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

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

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

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

    
731
div.list label {
732
    color: #87AADE;
733
    font-size:10pt;
734
}
735

    
736
div.list div.running {
737
    margin: .5em 0;
738
}
739

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

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

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

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

    
776
div.inactive div.state {
777
    margin-right: 2.5em;
778
}
779

    
780
div.inactive {
781
    opacity: .6;
782
}
783

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

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

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

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

    
819
#misc strong {
820
    color: #F49C1A;
821
}