Statistics
| Branch: | Tag: | Revision:

root / ui / src / synnefo / static / alt-main.css @ 5747a98a

History | View | Annotate | Download (9.5 kB)

1
body {
2
    background:#fff url(../static/degrade-background.png) repeat scroll 0 0;
3
        font-family:"Lucida Grande","bitstream vera sans","trebuchet ms",sans-serif,verdana;
4
    margin: 0;
5
}
6

    
7
h1, h2, h3, h4, h5 {
8
    margin-top: 0em;
9
    margin-bottom: .6em;
10
}
11

    
12
h5 {
13
    font-weight: normal;
14
    margin-bottom: 1em;
15
}
16

    
17
#footer {
18
    text-align:center;
19
    color: #666;
20
    font-size: .5em;
21
    padding:2em;
22
}
23

    
24
/* get rid of those system borders being generated for A tags */
25
a:active {
26
  outline:none;
27
}
28

    
29
:focus {
30
  -moz-outline-style:none;
31
}
32

    
33
/* root element for tabs  */
34
ul.css-tabs {
35
        margin: 0; 
36
    padding: 0;
37
        height:1.5em;
38
    font-size:2em;        
39
    overflow: hidden;         
40
}
41

    
42
/* single tab */
43
ul.css-tabs li {  
44
        float:left;         
45
        padding:0; 
46
        margin: 0;  
47
        list-style-type:none;        
48
}
49

    
50
/* link inside the tab. uses a background image */
51
ul.css-tabs a { 
52
        float:left;
53
        font-size:1em;
54
        display:block;
55
        padding:.6em 1em 0;        
56
        text-decoration:none;
57
        height:1.5em;
58
        color:#d2d2d2;
59
        position:relative;
60
        outline:0;
61
    margin-top:0.15em
62
}
63

    
64
ul.css-tabs a:hover {
65
    margin-top:0em
66
}
67
        
68
/* selected tab */
69
ul.css-tabs a.current {
70
    color: #87aade;
71
        cursor:default;
72
    margin-top:0em
73
}
74

    
75
/* tab pane */
76
div.css-panes {
77
    border-top: 10px solid #87aade;  
78
    background: white;
79
}
80

    
81
.css-panes > div.pane {
82
        display:none;
83
        padding:15px 20px;
84
    margin: 0 1em;
85
    -moz-border-radius: 0 1em 1em;
86
}
87

    
88
/* CSS3 border radius for various elements. yea - CSS isn't perfect */
89
.rounded, #sheet input, .error {
90
        border-radius: 5px;
91
        -webkit-border-radius: 5px;
92
        -moz-border-radius: 5px;
93
        -o-border-radius: 5px;
94
        -khtml-border-radius: 5px;
95
}
96

    
97
/* validation error message */
98
.error {
99
        background-color:#E8FF6D;
100
        padding:4px;
101
        -webkit-box-shadow: #000 0 0 12px;
102
        -moz-box-shadow: #000 0 0 12px;
103
}
104

    
105
/* nested arrow inside error message. It's 100% CSS. No images. */
106
.error em {
107
        border: 10px solid;
108
        border-color: #E8FF6D transparent transparent;
109
        bottom: -17px;
110
        display: block;
111
        height: 0;
112
        left: 10px;
113
        position: absolute;
114
        width: 0;
115
}
116

    
117
/* input field that caused validation error */
118
.invalid {
119
        background-color: rgba(221, 233, 255, 0.898) !important;
120
}
121

    
122
#create {
123
    background-color: #87aade;
124
    color: #162d50;
125
    cursor: pointer;
126
    display: block;
127
    padding: 0.7em .4em 0.7em 2.2em;
128
    margin-top: 1em;
129
    width: 7.9em;
130
    text-decoration: none;
131
    margin-left: -2.3em;
132
}
133

    
134
#create:hover {
135
    color: white;
136
}
137

    
138
div#header {
139
    height: 60px;
140
    background: #999;
141
}
142

    
143
div#wrapper {
144
    width: 990px;
145
    margin: 0em auto;
146
}
147

    
148
a.logo {
149
    width: 250px; 
150
}
151

    
152
a.logo h1 {
153
    display: none;
154
}
155

    
156
a.logo:hover h1 {
157
    color: #3baddb;
158
}
159
a img {
160
    border: none;
161
}
162

    
163
div#about {
164
    display:none;
165
}    
166

    
167
#nefo {
168
    background: url("../static/nefo.png") no-repeat;
169
    margin: 3em 0 -0.2em 0;
170
}
171

    
172
/* tooltip styling. by default the element to be styled is .tooltip  */
173
.tooltip {
174
        display:none;
175
    color: transparent; 
176
}
177

    
178
.modal {
179
    background-color:#fff;
180
    display:none;
181
    width:30em;
182
    height:20em;
183
    padding:1em;
184
    text-align:left;
185
    opacity:0.9;
186
}
187
        
188
/* the root element for scrollable */
189
#wizard {
190
        overflow:hidden;
191
        position:relative;
192
}
193

    
194
/* scrollable items */
195
#wizard .items {
196
        width:20000em;
197
        clear:both;
198
        position:absolute;
199
}
200

    
201
/* single scrollable item called ".page" in this setup */
202
#wizard .page {
203
        padding:20px 30px;
204
        float:left;
205
}
206

    
207
/* validation error message bar. positioned on the top edge */
208
#drawer {
209
        overflow:visible;
210
        position:fixed;
211
        left:0;
212
        top:0;
213
}
214

    
215
/* scrollable root element */
216
#wizard {        
217
        background:#fff url(../static/h600.png) repeat scroll 0 0;
218
        border:5px solid #789;
219
        font-size:12px;
220
        height:450px;
221
        margin:0px auto;        
222
        width:500px;
223
        overflow:hidden;
224
        position:relative;
225
        
226
        /* rounded corners for modern browsers */
227
        -moz-border-radius:5px;
228
        -webkit-border-radius:5px;
229
}  
230

    
231
/* scrollable items */
232
#wizard .items {
233
        width:20000em;        
234
        clear:both;        
235
        position:absolute;        
236
    display:block;
237
    padding: 0;
238
    margin: 0;
239
    border:none;
240
    background:none;
241
}
242

    
243
/* single item */
244
#wizard .page {        
245
        padding:20px 30px;
246
        width:440px;
247
        float:left;        
248
    display:block;
249
    border:none;
250
    background-color: transparent;
251
}
252

    
253
/* title */
254
#wizard h2 {
255
        font-size:22px;
256
        font-weight:normal;
257
        margin:10px 0 0 0;
258
        padding-bottom:15px;                
259
}
260

    
261
#wizard h2 em {
262
        display:block;
263
        font-size:14px;
264
        color:#666;
265
        font-style:normal;
266
        margin-top:5px;
267
}
268

    
269
/* input fields */
270
#wizard ul {
271
        padding:0px !important;
272
        margin:0 0 2em 0 !important;
273
}
274

    
275
#wizard li {
276
        list-style-type:none;
277
        list-style-image:none;
278
        margin-bottom:1.2em;
279
}
280

    
281
#wizard label {
282
        font-size:16px;        
283
        display:block;
284
    clear: both;
285
}
286

    
287
#wizard label strong {
288
        color:#789;        
289
        position:relative;
290
        top:-1px;
291
}
292

    
293
#wizard label em {
294
        font-size:11px;
295
        color:#666;        
296
        font-style:normal;
297
}
298

    
299
#wizard .text {
300
        width:94%;
301
        padding:5px;
302
        border:1px solid #ccc;
303
        color:#456;
304
        letter-spacing:1px;
305
}
306

    
307
#wizard select {
308
        border:1px solid #ccc;
309
        width:94%;        
310
        padding:4px;
311
    display: none;
312
}
313

    
314
#wizard label span {
315
        color:#b8128f;
316
        font-weight:bold;
317
        position:relative;
318
        top:4px;
319
        font-size:20px;
320
}
321

    
322
#wizard .double label { 
323
        width:50%;
324
        float:left;
325
}
326

    
327
#wizard .double .text {
328
        width:93%;        
329
}
330

    
331
#wizard .clearfix {
332
        clear:left;
333
        padding-top:10px;        
334
}
335

    
336
#wizard .right {
337
        float:right;                
338
}
339

    
340
#wizard .error {
341
        border:1px solid red;                
342
}
343

    
344
#wizard #status {
345
        margin:0px !important;
346
        height:35px;
347
        background:#213d55 url(../static/h30.png) repeat-x;
348
        padding-left:25px !important;
349
        _background:#213d55;
350
}
351

    
352
#status li {
353
        list-style-type:none;
354
        list-style-image:none;
355
        float:left;
356
        color:#fff;
357
        padding:10px 30px;
358
}
359

    
360
#status li.active {
361
        background-color:#F49C1A;
362
        font-weight:normal;                
363
}
364

    
365
/* slider root element */
366
.slider { 
367
    display: block !important;
368
        background:#3C72E6 url(../static/h30.png) repeat-x 0 0; 
369
        height:9px; 
370
        position:relative; 
371
        cursor:pointer;
372
        border:1px solid #333;
373
        width:300px;
374
        float:left; 
375
        clear:right;
376
        margin-top:10px;
377
        -moz-border-radius:5px; 
378
        -webkit-border-radius:5px; 
379
        -moz-box-shadow:inset 0 0 8px #000;
380
    padding: .1em !important;
381
}
382

    
383
/* progress bar (enabled with progress: true) */
384
.progress {
385
        height:9px; 
386
        background-color:#C5FF00; 
387
        display:none;
388
        opacity:0.6;
389
}
390

    
391
/* drag handle */
392
.handle { 
393
        background:#fff url(../static/h30.png) repeat-x 0 0; 
394
        height:10px;
395
        width:10px;
396
        position:absolute; 
397
        display:block; 
398
        margin-top:1px;
399
        border:1px solid #000;
400
        cursor:move;
401
        -moz-box-shadow:0 0 6px #000;
402
        -webkit-box-shadow:0 0 6px #000;
403
        -moz-border-radius:14px;
404
        -webkit-border-radius:14px; 
405

    
406
}
407

    
408
/* the input field */
409
.range {
410
        border:1px inset #ddd;
411
        float:left;
412
        font-size:16px;
413
        margin:0 0 0 15px;
414
        padding:3px 0;
415
        text-align:center;
416
        width:50px;
417
        -moz-border-radius:5px; 
418
        -webkit-border-radius:5px;                 
419
}
420

    
421

    
422
.instance {
423
    clear: both;
424
    margin: 1em 0 0 -2em;
425
    padding: 1em 2em 1em 1em;
426
    width: 70%;
427
    border: 1px dashed transparent;
428
    color: #666;
429
    height: 70px;
430
}
431

    
432
.instance a {
433
    color: #6892d2;
434
    font-weight: normal;
435
    text-decoration: none;
436
    font-size: .8em;
437
}
438

    
439
.instance a:hover {
440
    color: black;
441
}
442

    
443
.state {
444
    float: right;
445
    width: 15%;
446
    margin-top: .4em;
447
}
448

    
449

    
450
.actions {
451
    float: right;
452
    width: 20%;
453
    margin: -1.5em -10em 0 0;
454
    font-weight: normal;
455
    padding-left: 2em;
456
    height: 70px;
457
}
458

    
459
.actions a {
460
    color: transparent;
461
}
462

    
463
a.action{
464
    margin: .5em;
465
    display: block;
466
}
467

    
468
a.more {
469
    margin: 4.1em 0.5em 0.5em;
470
    display: block;
471
}
472

    
473
a.action:hover, a.more:hover {
474
    color: black !important;
475
}
476

    
477

    
478
.actions:hover a,.instance:hover .actions a {
479
    color: #666;
480
}
481

    
482
.instance:hover {
483
    border: 1px dotted transparent;
484
    background-color:#c6c6c6;
485
    color: black;
486
}
487

    
488
.instance img {
489
    float: left;
490
    margin: 0em 2em 0 1em;
491
}
492

    
493
div.ip, div.state {
494
    font-size:.7em;
495
}
496

    
497
div.indicator {
498
    width:1em;
499
    height:.6em;
500
    margin: .3em -.1em .5em;
501
    clear: none;
502
    float:left;
503
}
504

    
505
.running .indicator {
506
    border:2px solid white;
507
    background-color: #05b00d;
508
}    
509

    
510

    
511
.instance:hover div.uptime, .instance:hover a.rename, .instance:hover a.configure {
512
    color: #666;
513
}
514

    
515
div.uptime {
516
    font-size:.7em;
517
    clear: both;
518
    color:transparent;
519
    margin-left:1px;
520
}
521

    
522
div.instance-tabs {
523
    margin-top: 1em;
524
}
525
div.instance-tabs a{
526

    
527
}
528

    
529
span.rename, span.configure {
530
    font-size: 10px;
531
    clear: none;
532
    color: transparent;
533
    display: inline;
534
    font-weight: normal;
535
    padding-left: 2em;
536
}
537

    
538
a.name:hover span.rename {
539
    color: #213D55;
540
}
541

    
542
a.ip:hover span.configure {
543
    color: #213D55;
544
}
545

    
546
a.storage:hover span.configure {
547
    color: #213D55;
548
}
549

    
550
#ubuntu {
551
    height:50px;
552
    background: url(../static/ubuntu-logo.png) no-repeat 0 0;
553
    padding-left: 50px;
554
}
555

    
556
.slider {
557
    -moz-border-radius: 5px 5px 5px 5px;
558
    -moz-box-shadow: 0 0 8px #000000 inset;
559
    background: url("../static/h30.png") repeat-x scroll 0 0 #3C72E6;
560
    border: 1px solid #333333;
561
    clear: right;
562
    cursor: pointer;
563
    display: block !important;
564
    float: left;
565
    height: 3px;
566
    margin-top: 10px;
567
    padding: 0.1em !important;
568
    position: relative;
569
    width: 300px;
570
}
571

    
572
.handle {
573
    -moz-border-radius: 14px 14px 14px 14px;
574
    -moz-box-shadow: 0 0 2px #000000;
575
    background: url("../static/h30.png") repeat-x scroll 0 0 #FFFFFF;
576
    border: 1px solid #000000;
577
    cursor: move;
578
    display: block;
579
    height: 22px;
580
    margin-top: -11px;
581
    position: absolute;
582
    width: 10px;
583
}
584

    
585
button {
586
    -moz-border-radius: 10.2em 10.2em 10.2em 10.2em;
587
    background-color: #31446f;
588
    border-bottom: 0.2em solid #666666;
589
    border-width: 1px 1px 0.2em;
590
    color: #FFFFFF;
591
    cursor: pointer;
592
    font-size: 1em;
593
    line-height: 1;
594
    padding: 0.7em 2em;
595

    
596
}
597

    
598
button.next {
599
    background-color: #f49000;
600
    font-weight: bold;
601
}
602

    
603
button.prev {
604

    
605
}