Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (8.7 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:0;
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:white;
58
		&:hover {
59
			color:$primary-color;
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
		.sub-menu {
161
			display: none;
162
			&[data-step="1"] {
163
				display: block;
164
			}
165
			ul {
166
				margin:0;
167
				padding:0;
168
				list-style: none outside none;
169
				font-size:emCalc(12px);
170
				li {
171
					display: inline;
172
					margin-right:10px;
173
					line-height: $bar-height;
174
					list-style: none outside none;
175
					a {
176
						color:$black;
177
						&:hover, &.current {
178
							color:white;
179
							text-decoration: underline;
180
						}
181
					}
182
				}
183
			}
184
		}
185
	}
186
	.middle {
187
		.step {
188
			padding:50px 0;
189
			float:left;
190
			position:relative;
191
			width:$row-width;
192
			.os {
193
				li {
194
					list-style: none outside none;
195
					@extend .clearfix;
196
					padding:0.5em 0;
197
					margin-bottom:0.5em;
198
					&:hover {
199
						background:lighten($overlay-color-top, 10%);
200
					}
201
					&.current {
202
						background:$overlay-color-top;
203
					}
204
					.img-col {
205
						float:left;
206
						width:10%;
207
					}
208
					.name-col {
209
						float: left;
210
						width:70%;
211
					}
212
					.size-col {
213
						float:left;
214
						width:10%;
215
					}
216
					.btn-col {
217
						float:left;
218
						width:10%;
219
						a {
220
							@extend .btn5;
221
							&.current {
222
								color:$overlay-color;
223
							}
224
						}
225
					}
226
					.details {
227
						display: none;
228
						background:white;
229
						padding:30px 10%;
230
						margin:20px 0;
231
						color: $body-font-color;
232
						h3 {
233
							font-size: 1em;
234
						}
235
						dl {
236
							@extend .clearfix;
237
							dt {
238
								width: 20%;
239
								float:left;
240
								font-weight:normal;
241
							}
242
							dd {
243
								margin:0 0 5px;
244
							}
245
						}
246
					}
247
				}
248
			}
249
			.flavor {
250
				list-style: none outside none;
251
				li {
252
					list-style:none outside none;
253
					margin-bottom:1.5em;
254
					.title {
255
						@extend .clearfix;
256
						margin-bottom:emCalc(5px);
257
						color:white;
258
						vertical-align: top;
259
						.icon {
260
							display: block;
261
							width:5%;
262
							font-size:emCalc(40px);
263
							float: left;
264
						}
265
						h2 {
266
							font-size:emCalc(16px);
267
							span {
268
								font-weight:normal;
269
							}
270
							float:left;
271
							width: 19%;
272
							color:white;
273
							margin-right:4%;
274
							&:hover {
275
								& + p {
276
									visibility: visible;
277
								}
278
							}
279
						}
280
						p {
281
							visibility: hidden;
282
							float:left;
283
							width:70%;
284
							font-size:emCalc(12px);
285
						}
286
					}
287
					.options-bar {
288
						@extend .clearfix;
289
						.bar {
290
							width:24%;
291
							float: left;
292
							margin-right:4%;
293
							height: 26px;
294
							position: relative;
295
							top:2px;
296
							.wrap {
297
								border:1px solid white;
298
								padding:1px;
299
								height: 100%;
300
								.container {
301
									height: 100%;
302
									.total {
303
										background:$primary-color;
304
										height: 100%;
305
										float:left;
306
										position: relative;
307
										.current {
308
											background:white;
309
											height: 100%;
310
											float:left;
311
										}
312
										span {
313
											position:absolute;
314
											right:10px;
315
											color:$black;
316
											font-size: emCalc(12px);
317
										}
318
										&.low {
319
											span {
320
												right:-30px;
321
												color:white;
322
											}
323
										}
324
									}
325
								}
326
							}
327
						}
328
						.options {
329
							overflow:hidden;
330
							list-style: none outside none;
331
							li {
332
								list-style: none outside none;
333
								display: inline-block;
334
								margin-right: 10px;
335
								a {
336
									@extend .btn5;
337
									min-width: 60px;
338
									&.current {
339
										color:$overlay-color;
340
									}
341
								}
342
							}
343
						}
344
					}
345
				}
346
			}
347
		}
348
	}
349
	.bottom {
350
		position: fixed;
351
		left:0;
352
		right:0;
353
		bottom:0;
354
		border-top:1px solid $black;
355
		background:$overlay-color;
356
		.row {
357
			height: $bar-height;
358
			line-height: $bar-height;
359
		}
360
		.nav {
361
			height: $bar-height;
362
			line-height: $bar-height;
363
			color:white;
364
			display: inline-block;
365
			span {
366
				display: inline-block;
367
				height: 30px;
368
				line-height:30px;
369
				border:1px solid white;
370
			}
371
			&:hover {
372
				span {
373
					border-width:2px;
374
					line-height:28px;
375
				}
376
			}
377
		}
378
		.prev {
379
			float:left;
380
			padding-left:11px;
381
			background:url('../images/nav-edge-lt.png') no-repeat left center;
382
			span {
383
				padding:0 12px 0 10px;
384
				border-left:0 none;
385
			}
386
			&:hover {
387
				background-image:url('../images/nav-edge-lt-hover.png');
388
			}
389
		}
390
		.next {
391
			float:right;
392
			padding-right:11px;
393
			background:url('../images/nav-edge-rt.png') no-repeat right center;
394
			span {
395
				padding:0 10px 0 12px;
396
				border-right:0 none;
397
			}
398
			&:hover {
399
				background-image:url('../images/nav-edge-rt-hover.png');
400
			}
401
		}
402
		.nums {
403
			text-align: center;
404
			list-style:none outside none;
405
			margin:0;
406
			height: $bar-height;
407
			line-height: $bar-height;
408
			li {
409
				list-style:none outside none;
410
				display: inline-block;
411
				border-radius:50%;
412
				border:1px solid $primary-color;
413
				width:25px;
414
				height:25px;
415
				line-height: 25px;
416
				margin:0 3px;
417
				a {
418
					color:$primary-color;
419
					display: block;
420
					&:hover {
421
						cursor: default;
422
					}
423
				}
424
				&.current{
425
					border-color:white;
426
					a {
427
						color:white;
428
					}
429

    
430
				}
431
				&.current {
432
					font-size:emCalc(20px);
433
					width:30px;
434
					height:30px;
435
				}
436
			}
437
		}
438
	}
439
}
440

    
441
.wizard-content {
442
	overflow: hidden;
443
}
444

    
445
.vm-wizard-carousel {
446
	width: 20000px;
447
	position:relative;
448
}
449

    
450
// step3 vm wizard
451
.advanced-conf-step {
452
	color: $wizard-base-font-color;
453
	h2 {
454
		color: $wizard-base-font-color;
455
		font-size: 16px;
456
		font-weight: bold;
457
	}
458
	.adv-main {
459
		padding: 10px 0 30px;
460
		width:$row-small;
461
		.vm-name {
462
			font-weight: bold;
463
		}
464
		.btn5 {
465
			&:hover {
466
				color:white;
467
			}
468
			&.current, &.current:hover {
469
				color:$overlay-color;
470
			}
471
		}
472
		input[type="text"] {
473
			width: 200px;
474
			border: 0;
475
			border-bottom: 1px solid $wizard-base-font-color;
476
			background-color: $overlay-color;
477
			outline: 0;
478
			color: $wizard-base-font-color;
479
			//to be improved!!!!
480
			-webkit-box-shadow: 7px 7px 0px rgba(72, 80, 87, 0);
481
			-moz-box-shadow:    7px 7px 0px rgba(72, 80, 87, 0);
482
			box-shadow: 7px 7px 0px rgba(72, 80, 87, 0);
483
		}
484
	}
485
}
486
.advanced-conf-options {
487
	display: none;
488
	.area {
489
		padding:30px 0;
490
		.btn5{
491
			&:hover {
492
				color:white;
493
			}
494
		}
495
	}
496
	.ssh-keys-area {
497
		background-color: $ssh-opt-area-color;
498
		.row{
499
			width:$row-small;
500
		}
501
		ul {
502
			li {
503
				list-style: none outside none;
504
				span {
505
					margin-left:20px;
506
					&:hover {
507
						cursor: pointer;
508
					}
509
				}
510
			}
511
		}
512
	}
513
	.networks-area {
514
		background-color: $net-opt-area-color;
515
		li.network-data {
516
			ul.ips-list {
517
				display:none;
518
			}
519
		}
520
		.row{
521
			width:$row-small;
522
		}
523
	}
524
	.tags-area {
525
		background-color: $tag-opt-area-color;
526
		.row{
527
			width:$row-small;
528
		}
529
	}
530

    
531
}