Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (11.3 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, &:focus {
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, &:focus, &.current {
183
							color:white;
184
						}
185
						&.current {
186
							text-decoration: underline;
187
						}
188
					}
189
				}
190
			}
191
		}
192
	}
193
	.middle {
194
		padding-top:$bar-height;
195
		.step {
196
			padding:50px 0 50px;
197
			float:left;
198
			position:relative;
199
			width:$row-width;
200
			.os {
201
				li {
202
					list-style: none outside none;
203
					@extend .clearfix;
204
					padding:0.5em 0;
205
					&:hover {
206
						background:lighten($overlay-color-top, 10%);
207
					}
208
					&.current {
209
						background:$overlay-color-top;
210
					}
211
					.img-col {
212
						float:left;
213
						width:10%;
214
					}
215
					.name-col {
216
						float: left;
217
						width:70%;
218

    
219
						color: $wizard-base-font-color;
220
						&:focus  {
221
							background:lighten($overlay-color-top, 10%);
222
						}
223
					}
224
					.size-col {
225
						float:left;
226
						width:10%;
227
					}
228
					.btn-col {
229
						float:left;
230
						width:10%;
231
						a {
232
							@extend .btn5;
233
							&.current {
234
								color:$overlay-color;
235
							}
236
						}
237
					}
238
					.details {
239
						display: none;
240
						background:white;
241
						padding:30px 10%;
242
						margin:20px 0;
243
						color: $body-font-color;
244
						h3 {
245
							font-size: 1em;
246
						}
247
						dl {
248
							@extend .clearfix;
249
							dt {
250
								width: 20%;
251
								float:left;
252
								font-weight:normal;
253
							}
254
							dd {
255
								margin:0 0 5px;
256
							}
257
						}
258
					}
259
				}
260
			}
261
			.flavor {
262
				list-style: none outside none;
263
				li {
264
					list-style:none outside none;
265
					margin-bottom:1.5em;
266
					.title {
267
						@extend .clearfix;
268
						margin-bottom:emCalc(5px);
269
						color:white;
270
						vertical-align: top;
271
						.icon {
272
							display: block;
273
							width:5%;
274
							font-size:emCalc(40px);
275
							float: left;
276
						}
277
						h2 {
278
							font-size:emCalc(16px);
279
							span {
280
								font-weight:normal;
281
							}
282
							float:left;
283
							width: 19%;
284
							color:white;
285
							margin-right:4%;
286
							&:hover {
287
								& + p {
288
									visibility: visible;
289
								}
290
							}
291
						}
292
						p {
293
							visibility: hidden;
294
							float:left;
295
							width:70%;
296
							font-size:emCalc(12px);
297
						}
298
					}
299
					.options-bar {
300
						@extend .clearfix;
301
						.bar {
302
							width:24%;
303
							float: left;
304
							margin-right:4%;
305
							height: 26px;
306
							position: relative;
307
							top:2px;
308
							.wrap {
309
								border:1px solid white;
310
								padding:1px;
311
								height: 100%;
312
								.container {
313
									height: 100%;
314
									.total {
315
										background:$primary-color;
316
										height: 100%;
317
										float:left;
318
										position: relative;
319
										.current {
320
											background:white;
321
											height: 100%;
322
											float:left;
323
										}
324
										span {
325
											position:absolute;
326
											right:10px;
327
											color:$black;
328
											font-size: emCalc(12px);
329
										}
330
										&.low {
331
											span {
332
												right:-30px;
333
												color:white;
334
											}
335
										}
336
									}
337
								}
338
							}
339
						}
340
						.options {
341
							overflow:hidden;
342
							list-style: none outside none;
343
							li {
344
								list-style: none outside none;
345
								display: inline-block;
346
								margin-right: 10px;
347
								a {
348
									@extend .btn5;
349
									min-width: 60px;
350
									&.current {
351
										color:$overlay-color;
352
									}
353
								}
354
							}
355
						}
356
					}
357
				}
358
			}
359
			.summary {
360
				.row {
361
					padding-top:1em;
362
					margin-top:1em;
363
					border-top:1px solid white;
364
					&:first-child {
365
						border-top:0 none;
366
					}
367
				}
368
				h2 {
369
					font-size:1em;
370
					color:white;
371
				}
372
				dl {
373
					margin-bottom:0;
374
					span {
375
						margin-right:10px;
376
						font-size:20px;
377
					}
378
					dt {
379
						display: inline-block;
380
						width: 45%;
381
						vertical-align: top;
382
					}
383
					dd {
384
						display: inline-block;
385
						width:45%;
386
					}
387
				}
388
			}
389
			.advanced-conf-step {
390
				color: $wizard-base-font-color;
391
				h2 {
392
					color: $wizard-base-font-color;
393
					font-size: 1em;
394
					margin:0 auto 1em;
395
				}
396
				p {
397
					font-size: $wizard-paragraph-font-size;
398
				}
399

    
400
				.expand-btn {
401
					margin: 50px 0 30px;
402
					a {
403
						color:$wizard-base-font-color;
404
						&:focus {
405
							border: 1px solid #91969a;
406
							padding: 2px;
407
						}
408
					}
409

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

    
504
					}
505
					.tags-area {
506
						background-color: $tag-opt-area-color;
507
						.snf-color-picker {
508
							display: none;
509
						}
510
						#picker {
511
							position: relative;
512
							width: 207px;
513
							margin: 30px 5px;
514
							display: inline-block;
515
						}
516
						.form-item {
517
							//display:inline-block;
518
							// position: relative;
519
							// bottom: 20px;
520
						
521
						}
522
						.btns {
523
							// position: relative;
524
							// bottom: -45px;
525
							// margin-bottom: 45px;
526
							margin-top: 77px;
527
							margin-bottom: 30px;
528
						}
529
						.btn5 {
530
							margin-right:20px;
531
						}
532

    
533
					}
534

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

    
638
				}
639
				&.current {
640
					font-size:emCalc(16px);
641
					width:30px;
642
					height:30px;
643
					line-height: 27px;
644
				}
645
			}
646
		}
647
	}
648
}
649

    
650
.wizard-content {
651
	overflow: hidden;
652
	width:100%;
653
}
654

    
655
.vm-wizard-carousel {
656
	width: 90000px;
657
	position:relative;
658
}
659

    
660

    
661
// for network creation wizard