Statistics
| Branch: | Tag: | Revision:

root / ui / static / alt-main.css @ 98b91664

History | View | Annotate | Download (12.6 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, 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
h1, h2, h3, h4, h5 {
60
    margin-top: 0em;
61
    margin-bottom: .6em;
62
}
63

    
64
h5 {
65
    font-weight: normal;
66
    margin-bottom: 1em;
67
}
68

    
69
#footer {
70
    text-align:center;
71
    color: #666;
72
    font-size: .5em;
73
    padding:2em;
74
}
75

    
76
/* get rid of those system borders being generated for A tags */
77
a:active {
78
  outline:none;
79
}
80

    
81
*:focus {
82
    outline:0 !important;
83
}
84

    
85
/* root element for tabs  */
86
ul.css-tabs {
87
        margin: 0 0 0 10px; 
88
    padding: 0;
89
        height:31px;
90
    font-size:34px;        
91
    overflow: hidden;         
92
}
93

    
94
/* single tab */
95
ul.css-tabs li {  
96
        float:left;         
97
        padding:0; 
98
        margin: 0 10px 0 0;  
99
        list-style-type:none;        
100
}
101

    
102
/* link inside the tab. uses a background image */
103
ul.css-tabs a { 
104
        float:left;
105
        display:block;
106
        text-decoration:none;
107
        color:#d2d2d2;
108
        position:relative;
109
        outline:0;
110
    padding: 0 7px 0 10px;
111
    margin-top: 7px;
112
}
113

    
114
ul.css-tabs a:hover {
115
    margin-top:0em
116
}
117
        
118
/* selected tab */
119
ul.css-tabs a.current {
120
    color: #87aade;
121
        cursor:default;
122
    margin-top: 2px;
123
}
124

    
125
/* tab pane */
126
div.css-panes {
127
    border-top: 10px solid #87aade;  
128
    background: white;
129
}
130

    
131
.css-panes > div.pane {
132
        display:none;
133
        padding:0px 20px;
134
    margin: 0 1em;
135
    -moz-border-radius: 0 1em 1em;
136
}
137

    
138
/* CSS3 border radius for various elements. yea - CSS isn't perfect */
139
.rounded, #sheet input, .error {
140
        border-radius: 5px;
141
        -webkit-border-radius: 5px;
142
        -moz-border-radius: 5px;
143
        -o-border-radius: 5px;
144
        -khtml-border-radius: 5px;
145
}
146

    
147
/* validation error message */
148
.error {
149
        background-color:#E8FF6D;
150
        padding:4px;
151
        -webkit-box-shadow: #000 0 0 12px;
152
        -moz-box-shadow: #000 0 0 12px;
153
}
154

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

    
167
/* input field that caused validation error */
168
.invalid {
169
        background-color: rgba(221, 233, 255, 0.898) !important;
170
}
171

    
172
#create {
173
    background-color: #87aade;
174
    color: #162d50;
175
    cursor: pointer;
176
    display: block;
177
    padding: 0.7em .4em 0.7em 2.2em;
178
    margin-top: 9px;
179
    width: 7.9em;
180
    text-decoration: none;
181
    margin-left: -2.3em;
182
}
183

    
184
#create:hover {
185
    color: white;
186
}
187

    
188
div#header {
189
    height: 60px;
190
    background: #999;
191
}
192

    
193
div#wrapper {
194
    width: 700px;
195
    margin: 0em auto;
196
}
197

    
198
a.logo {
199
    width: 250px; 
200
}
201

    
202
a.logo h1 {
203
    display: none;
204
}
205

    
206
a.logo:hover h1 {
207
    color: #3baddb;
208
}
209
a img {
210
    border: none;
211
}
212

    
213
div#about {
214
    display:none;
215
}    
216

    
217
#nefo {
218
    margin: 33px 0 0 17px;
219
}
220

    
221
/* tooltip styling. by default the element to be styled is .tooltip  */
222
.tooltip {
223
        display:none;
224
    color: transparent; 
225
}
226

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

    
251
/* scrollable items */
252
#wizard .items {
253
        width:20000em;
254
        clear:both;
255
        position:absolute;
256
}
257

    
258
/* single scrollable item called ".page" in this setup */
259
#wizard .page {
260
        padding:20px 30px;
261
        float:left;
262
}
263

    
264
/* validation error message bar. positioned on the top edge */
265
#drawer {
266
        overflow:visible;
267
        position:fixed;
268
        left:0;
269
        top:0;
270
}
271

    
272
/* scrollable items */
273
#wizard .items {
274
        width:20000em;        
275
        clear:both;        
276
        position:absolute;        
277
    display:block;
278
    padding: 0;
279
    margin: 0;
280
    border:none;
281
    background:none;
282
}
283

    
284
/* single item */
285
#wizard .page {        
286
        padding:20px 30px;
287
        width:440px;
288
        float:left;        
289
    display:block;
290
    border:none;
291
    background-color: transparent;
292
}
293

    
294
/* title */
295
#wizard h2 {
296
        font-size:22px;
297
        font-weight:normal;
298
        margin:10px 0 0 0;
299
}
300

    
301
#wizard h2 em {
302
        display:block;
303
        font-size:14px;
304
        color:#666;
305
        font-style:normal;
306
        margin-top:5px;
307
}
308

    
309
/* input fields */
310
#wizard ul {
311
        padding:0px !important;
312
}
313

    
314
#wizard li {
315
        list-style-type:none;
316
        list-style-image:none;
317
        margin-bottom:1.2em;
318
}
319

    
320
#wizard label {
321
        font-size:16px;        
322
        display:block;
323
    clear: both;
324
}
325

    
326
#wizard label strong {
327
        color:#789;        
328
        position:relative;
329
        top:-1px;
330
}
331

    
332
#wizard label em {
333
        font-size:11px;
334
        color:#666;        
335
        font-style:normal;
336
}
337

    
338
#wizard .text {
339
        width:94%;
340
        padding:5px;
341
        border:1px solid #ccc;
342
        color:#456;
343
        letter-spacing:1px;
344
}
345

    
346
#wizard select {
347
        border:1px solid #ccc;
348
        width:94%;        
349
        padding:4px;
350
    display: none;
351
}
352

    
353
#wizard label span {
354
        color:#b8128f;
355
        font-weight:bold;
356
        position:relative;
357
        top:4px;
358
        font-size:20px;
359
}
360

    
361
#wizard .double label { 
362
        width:50%;
363
        float:left;
364
}
365

    
366
#wizard .double .text {
367
        width:93%;        
368
}
369

    
370
#wizard .clearfix {
371
        clear:left;
372
        padding-top:10px;        
373
}
374

    
375
#wizard .right {
376
        float:right;                
377
}
378

    
379
#wizard .error {
380
        border:1px solid red;                
381
}
382

    
383
#wizard a:hover div.image {
384
    background-color: #999;
385
}
386
#wizard a:hover div.image img {
387
    background-color: #999;
388
}
389

    
390
#wizard label a:hover strong {
391
    color: white;
392
}
393

    
394
#wizard div.image strong {
395
    font-size: 1em;
396
}
397

    
398
#wizard div.image span.size {
399
    font-size: 0.8em;
400
    color: #666;
401
}
402

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

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

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

    
418
#wizard .cost {
419
    color: #666;
420
    margin-top: 5em;
421
    font-size: .8em;
422
}
423

    
424
#wizard #status {
425
        margin: 0px !important;
426
        height: 35px;
427
        background: #999;
428
        padding-left: 25px !important;
429
}
430

    
431
.page ul {
432
    height: 280px;
433
    overflow: auto;
434
    margin-bottom: 2em;
435
}
436

    
437
.page ul.tabs {
438
    overflow: hidden;
439
}
440

    
441
.panes ul.pane {
442
    height: 268px;
443
}
444

    
445
.page ul.tabs {
446
    height: auto;
447
    margin-bottom: 0em;
448
    margin-top: -1.37em;
449
}
450

    
451
.page ul.tabs li {
452
    float: right;
453
    margin: 0 1em;
454
}
455

    
456
#status li {
457
        list-style-type:none;
458
        list-style-image:none;
459
        float:left;
460
        color:#666;
461
        padding:10px 30px;
462
}
463

    
464
#status li.active {
465
        background-color: #87AADE;
466
    font-weight: bold;
467
    color: white;
468
}
469

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

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

    
501
/* progress bar (enabled with progress: true) */
502
.progress {
503
        height:9px; 
504
        background-color:#C5FF00; 
505
        display:none;
506
        opacity:0.6;
507
}
508

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

    
522
.instance {
523
    clear: both;
524
    margin: 1em 0 0 -2em;
525
    padding: 1em 2em 1em 1em;
526
    width: 70%;
527
    border: 1px dashed transparent;
528
    color: #666;
529
    height: 70px;
530
}
531

    
532
.instance a {
533
    color: #6892d2;
534
    font-weight: normal;
535
    text-decoration: none;
536
    font-size: .8em;
537
}
538

    
539
.instance a:hover {
540
    color: #162d50;
541
}
542

    
543
.state {
544
    float: right;
545
    width: 15%;
546
    margin-top: .4em;
547
}
548

    
549

    
550
.actions {
551
    float: right;
552
    width: 20%;
553
    margin: -1.5em -10em 0 0;
554
    font-weight: normal;
555
    padding-left: 2em;
556
    height: 70px;
557
}
558

    
559
.actions a {
560
    color: transparent;
561
}
562

    
563
a.action{
564
    margin: .5em;
565
    display: block;
566
}
567

    
568
a.more {
569
    margin: 4.1em 0.5em 0.5em;
570
    display: block;
571
}
572

    
573
a.action:hover, a.more:hover {
574
    color: black !important;
575
}
576

    
577

    
578
.actions:hover a,.instance:hover .actions a {
579
    color: #666;
580
}
581

    
582
.instance:hover {
583
    border: 1px dotted transparent;
584
    background-color:#dcdcdc;
585
    color: black;
586
}
587

    
588
.instance img {
589
    float: left;
590
    margin: 0em 2em 0 1em;
591
}
592

    
593
div.ip, div.state {
594
    font-size:.7em;
595
    color: #6892D2;
596
}
597

    
598
div.indicator {
599
    width:1em;
600
    height:.6em;
601
    margin: .3em -.1em .5em;
602
    clear: none;
603
    float:left;
604
}
605

    
606
.running .indicator {
607
    border:2px solid white;
608
    background-color: #86a9dd;
609
}    
610

    
611

    
612
.instance:hover div.uptime, .instance:hover a.rename, .instance:hover a.configure {
613
    color: #6892D2;
614
}
615

    
616
div.uptime {
617
    clear: both;
618
    color: transparent;
619
    margin-left: 1px;
620
}
621

    
622
div.instance-tabs {
623
    margin-top: 1em;
624
}
625
div.instance-tabs a{
626

    
627
}
628

    
629
span.rename, span.configure {
630
    background-repeat: no-repeat;
631
    color: transparent;
632
    font-size: 11px;
633
    font-weight: normal;
634
    margin-left: 2em;
635
    padding-left: 2em;
636
    text-align: left;
637
}
638

    
639
a.name:hover span.rename {
640
    color: #213D55;
641
    margin-top: 0.4em;
642
    background-image: url(/static/pencil.png);
643
}
644

    
645
a.ip:hover span.configure {
646
    color: #213D55;
647
    background-image: url(/static/pencil.png);
648
}
649

    
650
a.storage:hover span.configure {
651
    color: #213D55;
652
    background-image: url(/static/pencil.png);
653
}
654

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

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

    
672
}
673

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

    
679
button.prev {
680

    
681
}
682

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

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

    
694
a#list, a#standard {
695
    float: right;
696
    clear: both;
697
    color: #666;
698
    text-decoration: none;
699
    margin-top: -2em;
700
    margin-right: 5em;
701
    font-size: 0.8em
702
}
703

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

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

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

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

    
728
div.list label {
729
    color: #87AADE;
730
    font-size:.8em;
731
}
732

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

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

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

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

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

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

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

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

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

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

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

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