Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _overlays.scss @ 314323e8

History | View | Annotate | Download (11.2 kB)

1
/* 
2

    
3
Overlays (Todo: clean up)
4

    
5
*/
6
// body.with-overlay {
7
// 	background:$secondary-color;
8
// }
9

    
10
.reveal-modal {
11
	h3 {
12
		font-size:1em;
13
	}
14
	a { 
15
		color: $secondary-color;
16
		&:hover {
17
			text-decoration: underline;
18
		}
19
		&.close-reveal-modal:hover {
20
			text-decoration: none;
21
			color:$secondary-color;
22
		}
23
	}	
24
}
25

    
26

    
27
// custom modal with opaque overlay
28
.reveal-custom {
29
	position: absolute;
30
	top:100px;
31
	left:25%;
32
	z-index:99;
33
	background:yellow;
34
	width:50%;
35
	display:none;
36
}
37

    
38

    
39
.overlay-wrapper {
40
	position: relative;
41
	.overlay-area {
42
		display:none;
43
		position:absolute;
44
		left:0;
45
		right:0;
46
		top:-$bar-height;
47
		width:100%;
48
		height:100%;
49
		background:$overlay-color;
50
		z-index:20;
51
	}
52
	.close {
53
		position: absolute;
54
		right:$header-padding-horizontal;
55
		top:50px;
56
		font-size:32px;
57
		color:$primary-color;
58
		&:hover {
59
			color:white;
60
		}
61
	}
62
	.row {
63
		.close {
64
			position:static;
65
			float:right;
66
		}
67
	}
68
	.overlay-div {
69
		display: none;
70
		z-index:100;
71
		position: relative;
72
		background:#fff;
73
		top:20%; 
74
		left:25%; 
75
		width:50%;
76
		padding:25px;
77
		.buttons {
78
			a {
79
				margin-right:20px;
80
			}
81
		}
82
		&.upload-widget {
83
			background:transparent;
84
			padding:45px 0;
85
			width:80%;
86
			left:10%;
87
			border:1px solid white;
88
		}
89
		&.wizard {
90
			background:$overlay-color;
91
			padding:0 ;
92
			width:100%;
93
			top:0;
94
			left:0;
95
		}
96
	}
97
}
98

    
99

    
100
.overlay {
101
	background:$secondary-color;
102
	position: relative;
103
	// z-index:10;
104
	.lt-sidebar {
105
		border-right:1px solid #fff;
106
		color:#fff;
107
		ul {
108
			li {
109
				list-style:none outside none;
110
				
111
				a {
112
					display: block;
113
					color:#fff;
114
					span { float:right; display:none;}
115
					&:hover,
116
					&.current {
117
						text-decoration: none;
118
						span { 
119
							display:inline;
120
						}
121
					}
122
				}
123

    
124
			}
125
		}
126

    
127
	}
128
	.lt-sidebar, 
129
	.main {
130
		padding:100px $header-padding-horizontal;
131
		position:relative;
132
	}
133
	.navigation {
134
		.rt {
135
			float:right;
136
		}
137
	}
138
	.close {
139
		position: absolute;
140
		right:$header-padding-horizontal;
141
		top:50px;
142
		@include sprite('../images/info-close.png', 31px, 30px);
143
	}
144
	.close_char {
145
		background: none;
146
		text-indent: 0;
147
		font-size: 1.8em; /* for the the character e (for d we can put 2em) */
148
		color: white;
149
	}
150
}
151

    
152
.wizard {
153
	position: relative;
154
	top:0;
155
	color:white;
156
	.top {
157
		background:$overlay-color-top;
158
		height:$bar-height;
159
		line-height: $bar-height;
160
		position:fixed;
161
		left:0;
162
		top:$header-height;
163
		width:100%;
164
		z-index:40;
165
		.sub-menu {
166
			display: none;
167
			&[data-step="1"] {
168
				display: block;
169
			}
170
			ul {
171
				margin:0;
172
				padding:0;
173
				list-style: none outside none;
174
				font-size:emCalc(12px);
175
				li {
176
					display: inline;
177
					margin-right:10px;
178
					line-height: $bar-height;
179
					list-style: none outside none;
180
					a {
181
						color:$black;
182
						&:hover, &.current {
183
							color:white;
184
							text-decoration: underline;
185
						}
186
					}
187
				}
188
			}
189
		}
190
	}
191
	.middle {
192
		padding-top:$bar-height;
193
		.step {
194
			padding:50px 0 (50px + $bar-height);
195
			float:left;
196
			position:relative;
197
			width:$row-width;
198
			.os {
199
				li {
200
					list-style: none outside none;
201
					@extend .clearfix;
202
					padding:0.5em 0;
203
					&:hover {
204
						background:lighten($overlay-color-top, 10%);
205
					}
206
					&.current {
207
						background:$overlay-color-top;
208
					}
209
					.img-col {
210
						float:left;
211
						width:10%;
212
					}
213
					.name-col {
214
						float: left;
215
						width:70%;
216
					}
217
					.size-col {
218
						float:left;
219
						width:10%;
220
					}
221
					.btn-col {
222
						float:left;
223
						width:10%;
224
						a {
225
							@extend .btn5;
226
							&.current {
227
								color:$overlay-color;
228
							}
229
						}
230
					}
231
					.details {
232
						display: none;
233
						background:white;
234
						padding:30px 10%;
235
						margin:20px 0;
236
						color: $body-font-color;
237
						h3 {
238
							font-size: 1em;
239
						}
240
						dl {
241
							@extend .clearfix;
242
							dt {
243
								width: 20%;
244
								float:left;
245
								font-weight:normal;
246
							}
247
							dd {
248
								margin:0 0 5px;
249
							}
250
						}
251
					}
252
				}
253
			}
254
			.flavor {
255
				list-style: none outside none;
256
				li {
257
					list-style:none outside none;
258
					margin-bottom:1.5em;
259
					.title {
260
						@extend .clearfix;
261
						margin-bottom:emCalc(5px);
262
						color:white;
263
						vertical-align: top;
264
						.icon {
265
							display: block;
266
							width:5%;
267
							font-size:emCalc(40px);
268
							float: left;
269
						}
270
						h2 {
271
							font-size:emCalc(16px);
272
							span {
273
								font-weight:normal;
274
							}
275
							float:left;
276
							width: 19%;
277
							color:white;
278
							margin-right:4%;
279
							&:hover {
280
								& + p {
281
									visibility: visible;
282
								}
283
							}
284
						}
285
						p {
286
							visibility: hidden;
287
							float:left;
288
							width:70%;
289
							font-size:emCalc(12px);
290
						}
291
					}
292
					.options-bar {
293
						@extend .clearfix;
294
						.bar {
295
							width:24%;
296
							float: left;
297
							margin-right:4%;
298
							height: 26px;
299
							position: relative;
300
							top:2px;
301
							.wrap {
302
								border:1px solid white;
303
								padding:1px;
304
								height: 100%;
305
								.container {
306
									height: 100%;
307
									.total {
308
										background:$primary-color;
309
										height: 100%;
310
										float:left;
311
										position: relative;
312
										.current {
313
											background:white;
314
											height: 100%;
315
											float:left;
316
										}
317
										span {
318
											position:absolute;
319
											right:10px;
320
											color:$black;
321
											font-size: emCalc(12px);
322
										}
323
										&.low {
324
											span {
325
												right:-30px;
326
												color:white;
327
											}
328
										}
329
									}
330
								}
331
							}
332
						}
333
						.options {
334
							overflow:hidden;
335
							list-style: none outside none;
336
							li {
337
								list-style: none outside none;
338
								display: inline-block;
339
								margin-right: 10px;
340
								a {
341
									@extend .btn5;
342
									min-width: 60px;
343
									&.current {
344
										color:$overlay-color;
345
									}
346
								}
347
							}
348
						}
349
					}
350
				}
351
			}
352
			.summary {
353
				.row {
354
					padding-top:1em;
355
					margin-top:1em;
356
					border-top:1px solid white;
357
					&:first-child {
358
						border-top:0 none;
359
					}
360
				}
361
				h2 {
362
					font-size:1em;
363
					color:white;
364
				}
365
				dl {
366
					margin-bottom:0;
367
					span {
368
						margin-right:10px;
369
						font-size:20px;
370
					}
371
					dt {
372
						display: inline-block;
373
						width: 45%;
374
						vertical-align: top;
375
					}
376
					dd {
377
						display: inline-block;
378
						width:45%;
379
					}
380
				}
381
			}
382
			.advanced-conf-step {
383
				color: $wizard-base-font-color;
384
				h2 {
385
					color: $wizard-base-font-color;
386
					font-size: 1em;
387
					margin:0 auto 1em;
388
				}
389
				p {
390
					font-size: $wizard-paragraph-font-size;
391
				}
392

    
393
				.expand-btn {
394
					margin: 50px 0 30px;
395
					a {
396
						color:$wizard-base-font-color;
397
					}
398
					
399
				}
400
				.adv-main {
401
					padding: 10px 0 30px;
402
					width:$row-small;
403
					.vm-name {
404
						h2 {
405
							color:white;
406
							font-size:1em;
407
							margin-bottom:0.5em;
408
						}
409
					}
410
					// .btn5 {
411
					// 	&:hover {
412
					// 		color:white;
413
					// 	}
414
					// 	&.current, &.current:hover {
415
					// 		color:$overlay-color;
416
					// 	}
417
					// }
418
				}
419
				.advanced-conf-options {
420
					display: none;
421
					.area {
422
						padding:30px 0;
423
						.row {
424
							width:$row-small;
425
						}
426
						// .btn5{
427
						// 	&:hover {
428
						// 		color:white;
429
						// 	}
430
						// }
431
						ul {
432
							li {
433
								position: relative;
434
								list-style:none outside none;
435
								margin-bottom:7px;
436
								&.checkbox {
437
									&:hover {
438
										cursor: pointer;
439
									}
440
								}
441
								h3 {
442
									width: $conf-area-h-width;
443
									color:white;
444
									font-size:1em;
445
									font-weight: normal;
446
									margin:0 20px 0 0;
447
									display: inline-block;
448
								}
449
							}
450
						}
451
					}
452
					.ssh-keys-area {
453
						background-color: $ssh-opt-area-color;
454
					}
455
					.networks-area {
456
						background-color: $net-opt-area-color;
457
						li {
458
							.net-icons {
459
								padding-right:20px;
460
								position:absolute;
461
								left:-200px;
462
								top:-12px;
463
								width:200px;
464
								text-align: right;
465
								font-size:30px;
466
								span {
467
									margin-left:6px;
468
									&.snf-modem {
469
										position: relative;
470
										top:-6px;
471
									}
472
								}
473
							}
474
							&.more {
475
								display: none;
476
								background:white;
477
								margin-bottom:1em;
478
								padding:30px 0;
479
								color:$net-opt-area-color;
480
								h3 {
481
									color:$net-opt-area-color;
482
								}
483
								.btn5 {
484
									margin-top:1em;
485
									border-color:$net-opt-area-color;
486
									color:$net-opt-area-color;
487
								}
488
							}
489
						}
490

    
491
					}
492
					.tags-area {
493
						background-color: $tag-opt-area-color;
494
						dt, dd { 
495
							display:inline-block;
496
							font-weight: normal;
497
						}
498
						dt {
499
							width:45%;
500
						}
501
						dd {
502
							width:30%;
503
							padding-right: 25%;
504
						}
505
						.title {
506
							position: relative;
507
							left: -11px;
508
							font-weight: bold;
509
						}
510
						p {
511
							position:relative;
512
							left:-11px;
513
						}
514
						
515
						#picker {
516
							position: relative;
517
							border: 1px solid $wizard-base-font-color;
518
							padding: 6px;
519
							width: 207px;
520
							margin: 30px 5px;
521
							display: inline-block;
522
							// width: 195px;
523
							// margin: auto;
524
						}
525

    
526
						.form-item {
527
							// margin: auto;
528
							//width: 108px;
529
							display:inline-block;
530
							position: relative;
531
							bottom: 40px;
532
						}
533

    
534

    
535

    
536
					}
537

    
538
				}
539
			}
540
		}
541
	}
542
	.bottom {
543
		position: fixed;
544
		left:0;
545
		right:0;
546
		bottom:0;
547
		border-top:1px solid $black;
548
		background:$overlay-color;
549
		.row {
550
			height: $bar-height;
551
			line-height: $bar-height;
552
		}
553
		.nav {
554
			height: $bar-height;
555
			line-height: $bar-height;
556
			color:white;
557
			display: inline-block;
558
			position: relative;
559
			top:($bar-height - 30px)/2;
560
			span {
561
				display: inline-block;
562
				height: 30px;
563
				line-height:30px;
564
				float: left;
565
			}
566
		}
567
		.prev {
568
			float:left;
569
			height:30px;
570
			padding-left:19px;
571
			background:url('../images/nav-edge-lt.png') no-repeat left top;
572
			span {
573
				padding-right:10px;
574
				background:url('../images/nav-lt.png') no-repeat right top;
575
			}
576
			&:hover {
577
				background-position:left bottom;
578
				@include transition(background, 0, ease-out);
579
				span {
580
					background-position:right bottom;
581
					@include transition(background, 0, ease-out);
582
				}
583
			}
584
		}
585
		.next {
586
			float:right;
587
			height:30px;
588
			padding-right:19px;
589
			background:url('../images/nav-edge-rt.png') no-repeat right top;
590
			span {
591
				padding-left:10px;
592
				background:url('../images/nav-rt.png') no-repeat left top;
593
			}
594
			&:hover {
595
				background-position:right bottom;
596
				@include transition(background, 0, ease-out);
597
				span {
598
					background-position:left bottom;
599
					@include transition(background, 0, ease-out);
600
				}
601
			}
602
		}
603
		.nums {
604
			text-align: center;
605
			list-style:none outside none;
606
			margin:0;
607
			height: $bar-height;
608
			line-height: $bar-height;
609
			li {
610
				list-style:none outside none;
611
				display: inline-block;
612
				border-radius:50%;
613
				border:1px solid $primary-color;
614
				width:25px;
615
				height:25px;
616
				line-height: 25px;
617
				margin:0 3px;
618
				a {
619
					color:$primary-color;
620
					display: block;
621
					&:hover {
622
						cursor: default;
623
					}
624
				}
625
				&.current{
626
					border-color:white;
627
					a {
628
						color:white;
629
					}
630

    
631
				}
632
				&.current {
633
					font-size:emCalc(20px);
634
					width:30px;
635
					height:30px;
636
				}
637
			}
638
		}
639
	}
640
}
641

    
642
.wizard-content {
643
	overflow: hidden;
644
	width: 100%;
645
}
646

    
647
.vm-wizard-carousel {
648
	width: 90000px;
649
	position:relative;
650
}