Statistics
| Branch: | Tag: | Revision:

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

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

    
395
				.expand-btn {
396
					margin: 50px 0 30px;
397
					a {
398
						color:$wizard-base-font-color;
399
						&:focus {
400
							border: 1px solid #91969a;
401
							padding: 2px;
402
						}
403
					}
404

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

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

    
528
					}
529

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

    
634
				}
635
				&.current {
636
					font-size:emCalc(16px);
637
					width:30px;
638
					height:30px;
639
					line-height: 27px;
640
				}
641
			}
642
		}
643
	}
644
}
645

    
646
.wizard-content {
647
	overflow: hidden;
648
	width:100%;
649
}
650

    
651
.vm-wizard-carousel {
652
	width: 90000px;
653
	position:relative;
654
}
655

    
656

    
657
// for network creation wizard