Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _wizards.scss @ f50cc12b

History | View | Annotate | Download (23.6 kB)

1
.body-wrapper .overlay-area-custom .overlay-div.wizard {
2
				background:$overlay-bg-color;
3
				padding:0 ;
4
				width:100%;
5
				top:0;
6
				left:0;
7
				position: relative;
8
				color:white;
9
				.top {
10
					background:$overlay-color-top;
11
					height:$bar-menu-height + $bar-submenu-height;
12
					position:fixed;
13
					left:0;
14
					right:0;
15
					bottom:auto;
16
					top:$header-height;
17
					width:100%;
18
					z-index:40;
19
					.numbers {
20
						.row {
21
							max-width: 100%;
22
							padding:0 $header-padding-horizontal;
23
							.close {
24
								color:$primary-color;
25
								&:hover, &:focus {
26
									color:white;
27
								}
28
							}
29
						}
30
						height: $bar-menu-height;
31
						line-height: 50px;
32
						background:$overlay-darker-color;
33
					}
34
					.menus {
35
						height: $bar-submenu-height;
36
						.sub-menu {
37
							display: none;
38
							&[data-step="1"] {
39
								display: block;
40
							}
41
							ul {
42
								margin:0;
43
								padding:0;
44
								list-style: none outside none;
45
								font-size:emCalc(12px);
46
								li {
47
									display: inline;
48
									margin-right:10px;
49
									line-height: $bar-submenu-height;
50
									list-style: none outside none;
51
									a {
52
										color:$body-font-color;
53
										&:hover, &:focus, &.current {
54
											color:white;
55
										}
56
										&.current {
57
											text-decoration: underline;
58
										}
59
										&.disabled {
60
											color: $inactive-color;
61
											cursor: default;
62

    
63
										}
64
									}
65
								}
66
							}
67
						}
68
					}
69
					.nums {
70
						text-align: right;
71
						list-style:none outside none;
72
						margin:0;
73
						height: 50px;
74
						line-height: 50px;
75
						font-size:emCalc(9px);
76
						padding-right:120px;
77
						color:$secondary-color;
78
						li {
79
							list-style:none outside none;
80
							display: inline;
81
							p {
82
								display: none;
83
								position: relative;
84
								top: 1px;
85
								font-size:12px;
86
								margin-left:12px;
87
								strong {
88
									margin-right:5px;
89
								}
90
							}
91
							em {
92
								display: inline-block;
93
								border-radius:50%;
94
								border:1px solid $secondary-color;
95
								width:20px;
96
								height:20px;
97
								line-height: 18px;
98
								margin:0 3px;
99
								text-align: center;
100
								font-style: normal;
101
							}
102
							a {
103
								color:$secondary-color;
104
								display: block;
105
								&:hover {
106
									cursor: default;
107
								}
108
							}
109
							&.current{
110
								float: left;
111
								p {
112
									display: inline-block;
113
								}
114
								em {
115
									font-size:12px;
116
									width:30px;
117
									height:30px;
118
									line-height: 27px;
119
									border-color:$secondary-color;
120
									* {
121
										color:$secondary-color;
122
									}
123
								}
124
							}
125
						}
126
					}
127
				}
128
				.middle {
129
					padding-top:$bar-height+$bar-submenu-height;
130
					.steps {
131
						position:relative;
132
						width:100%;
133
					}
134
					.step {
135
						position: absolute;
136
						top:0;
137
						width:100%;
138
						display:none;
139
						padding:50px 0 50px;
140
						&.current {
141
							display: block;
142
						}
143
						h2 {
144
							color: white;
145
							font-size: 1em;
146
						}
147
						li {
148
							list-style: none outside none;
149
							position: relative;
150
						}
151

    
152
						a {
153
							color: white;
154
						}
155
						.vms-list {
156
							margin-top: emCalc(16px);
157
							&>li {
158
								margin-bottom: emCalc(8px);
159
								margin-left: emCalc(24px);
160
								&:first-child {
161
									.img-wrap .snf-font{
162
										color: white;
163
									}
164
								}
165
								&>div, &>a {
166
									display: inline-block;
167
									margin-right: 15px;
168
								}
169
								.img-wrap {
170
									position: relative;
171
									width: emCalc(30px);
172
									.snf-font {
173
										font-size: emCalc(30px);
174
										color: $vm-active-color;
175
										line-height: 120%
176
									}
177
									.os{
178
										@include sprite('../images/os-unknown.png', 14px, 14px);
179
										background-size: 14px;
180
										top: 5px;
181
										left: 18px;
182
									}
183
								}
184
								.name {
185
									width: $conf-area-h-width;
186
								}
187
							}
188
						}
189

    
190

    
191

    
192
						&.step-2 {
193
							// padding-top:30px;
194
							.dropdown {
195
								margin-bottom:40px;
196
							}
197
						}
198
						&.step-3 {
199
							// padding-top: 45px;
200
						}
201
						.os {
202
							li {
203
								display: none;
204
								list-style: none outside none;
205
								font-size:emCalc(12px);
206
								@extend .clearfix;
207
								padding:15px 0;
208
								&:hover,
209
								&.hover {
210
									background:$overlay-darker-color;
211
								}
212
								&.current {
213
									background:white;
214
									color:$overlay-bg-color;
215
									.name-col {
216
										color:$overlay-bg-color;
217
									}
218
									.btn-col {
219
										a {
220
											border-color:$overlay-bg-color;
221
											color:$overlay-bg-color;
222
											&.current {
223
												color:white;
224
												background:$overlay-bg-color;
225
											}
226
										}
227
									}
228
								}
229
								&.system-images {
230
									display: list-item;
231
								}
232
								.img-col {
233
									float:left;
234
									width:50px;
235
									line-height: $btn-height;
236
								}
237
								.name-col {
238
									float: left;
239
									color: $wizard-base-font-color;
240
									width:71%;
241
									padding-right:10px;
242
									line-height: $btn-height;
243
								}
244
								.size-col {
245
									float:left;
246
									width:10%;
247
									line-height: $btn-height;
248
								}
249
								.btn-col {
250
									float:right;
251
									width:10%;
252
									margin-left:10px;
253
									a {
254
										@extend .btn5;
255

    
256
											font-size:1em;
257
										&.current {
258
											color:$overlay-bg-color;
259
										}
260
									}
261
								}
262
								.details {
263
									display: none;
264
									background:darken(white,10%);
265
									padding:22px 0;
266
									margin:20px 6px -9px;
267
									color: $body-font-color;
268
									h3 {
269
										font-size: 1em;
270
										font-weight: normal;
271
										margin-bottom:1em;
272
										padding-left:50px;
273
									}
274
									dl {
275
										margin:0;
276
										padding-left:50px;
277
										@extend .clearfix;
278
										dt {
279
											width: 20%;
280
											float:left;
281
											font-weight:normal;
282
										}
283
										dd {
284
											margin:0 0 5px;
285
										}
286
									}
287
								}
288
							}
289
						}
290
						.flavor {
291
							list-style: none outside none;
292
							li {
293
								list-style:none outside none;
294
								margin-bottom:30px;
295
								.title {
296
									@extend .clearfix;
297
									height:40px;
298
									overflow:hidden;
299
									margin-bottom:emCalc(8px);
300
									color:white;
301
									vertical-align: top;
302
									.snf-font {
303
										display: block;
304
										width:60px;
305
										font-size:38px;
306
										float: left;
307
										position: relative;
308
										bottom: -3px;
309
									}
310
									h2 {
311
										font-size:emCalc(14px);
312
										span {
313
											font-weight:normal;
314
										}
315
										float:left;
316
										width: 140px;
317
										color:white;
318
										margin-right:60px;
319
										padding-left:emCalc(10px);
320
										em {
321
											display: block;
322
											margin-top:4px;
323
											font-size:11px;
324
											font-style:normal;
325
											font-weight:normal;
326
											white-space: nowrap;
327
											line-height: 13px;
328
										}
329
									}
330
									p {
331
										visibility: hidden;
332
										overflow:hidden;
333
										min-height:40px;
334
										font-size:11px;
335
										line-height:11px;
336
									}
337
								}
338
								.options-bar {
339
									@extend .clearfix;
340
									.bar {
341
										width:200px;
342
										float:left;
343
										margin-right:60px;
344
										height: 20px;
345
										position: relative;
346
										top:10px;
347
										.wrap {
348
											border:1px solid white;
349
											padding:1px;
350
											height: 100%;
351
											&.disabled-progress-bar {
352
												border-color: $disabled-resource-color;
353
												.container{
354
													.total {
355
														background-color: $disabled-resource-color;
356
													}
357
												}
358
											}
359
											.container {
360
												height: 100%;
361
												.total {
362
													background:$primary-color;
363
													height: 100%;
364
													float:left;
365
													position: relative;
366
													.current {
367
														background:white;
368
														height: 100%;
369
														float:left;
370
													}
371
													span {
372
														position:absolute;
373
														right:10px;
374
														font-size: emCalc(9px);
375
														top:2px;
376
													}
377
													&.low {
378
														span {
379
															right:-30px;
380
															color:white;
381
														}
382
													}
383
												}
384
											}
385

    
386
										}
387
									}
388
									.options {
389
										overflow:hidden;
390
										list-style: none outside none;
391
										li {
392
											list-style: none outside none;
393
											display: inline-block;
394
											margin-right: 10px;
395
											margin-bottom:0;
396
											a {
397
												@extend .btn5;
398
												min-width: 60px;
399
												&.current {
400
													color:$overlay-bg-color;
401
												}
402
												&.disabled {
403
													border-color: $disabled-resource-color;
404
													color: $disabled-resource-color;
405
													&:hover, &:active {
406
														cursor: default;
407
														border-width: 1px;
408
														line-height: 28px;
409

    
410
													}
411
												}
412
											}
413
										}
414
									}
415
								}
416
							}
417
						}
418
						.summary {
419
							padding-bottom:40px;
420
							.row {
421
								.wrap {
422
									max-width: $row-small;
423
									border-top:1px solid white;
424
									padding-top:1em;
425
									// margin-top:1em;
426
								}
427
								&:first-child {
428
									.wrap {
429
										border-top:0 none;
430
										margin-top:0;
431
									}
432
									dl {
433
										dt {
434
											font-weight: bold;
435
										}
436
									}
437
								}
438
							}
439
							h2 {
440
								font-size:1em;
441
								color:white;
442
								margin-bottom:1em;
443
							}
444
							dl {
445
								margin-bottom:0;
446
								span {
447
									width:40px;
448
									display: inline-block;
449
									font-size:20px;
450
									position: relative;
451
									bottom: -2px;
452
								}
453
								dt {
454
									display: inline-block;
455
									width: 42%;
456
									vertical-align: top;
457
									font-weight:600;
458
								}
459
								dd {
460
									display: inline-block;
461
									width:45%;
462
									margin-bottom:1em;
463
								}
464
							}
465
						}
466
						.advanced-conf-step {
467
							color: $wizard-base-font-color;
468
							h2 {
469
								color: $wizard-base-font-color;
470
								font-size: 1em;
471
								margin-bottom: 10px;
472
								line-height: 1;
473
							}
474
							p {
475
								font-size: $wizard-paragraph-font-size;
476
							}
477
			                .snf-checkbox-checked, .snf-checkbox-unchecked {
478
			                    color: $wizard-base-font-color;
479
			                }
480
			                .expand-btn {
481
			                    margin: 50px 0 $step-adv-padding;
482
			                    a {
483
			                        color:$wizard-base-font-color;
484
			                        span {
485
										padding-left:24px;
486
			                        }
487
			                      }
488
			                }
489
			                .adv-main {
490
			                    .vm-name {
491
			                        h2 {
492
			                            color:white;
493
			                            font-size:1em;
494
			                            margin-bottom:0.5em;
495
			                        }
496
			                    }
497
			                }
498
			                .btn5 {
499
			                    &:hover {
500
			                        color:white;
501
			                }
502
			                    &.current, &.current:hover {
503
			                        color:$overlay-bg-color;
504
			                    }
505
			                }
506
			                .advanced-conf-options {
507
			                    display: none;
508
			                    .check {
509
									font-size: 20px;
510
			                    }
511
			                    .area {
512
			                        padding:$step-adv-padding 0;
513
			                        .row {
514
				                        p{
515
											max-width:340px;
516
											margin-bottom: 20px;
517
				                        }
518
			                        }
519
			                        ul {
520
			                            li {
521
			                                position: relative;
522
			                                list-style:none outside none;
523
			                                margin-bottom:7px;
524
			                                &.checkbox {
525
			                                    &:hover {
526
			                                        cursor: pointer;
527
			                                    }
528
			                                }
529
			                                h3 {
530
			                                    width: $conf-area-h-width;
531
			                                    color:white;
532
			                                    font-size:1em;
533
			                                    font-weight: normal;
534
			                                    margin:0 28px 0 0;
535
			                                    display: inline-block;
536
			                                    //&.net-name { width: 9.063em }
537
			                                }
538
			                            }
539
			                        }
540
			                    }
541
			                    .ssh-keys-area {
542
			                        background-color: $ssh-opt-area-color;
543
			                        .btn5 {
544
										margin-top: 3px;
545
			                        }
546

    
547
			                    }
548
			                    .networks-area {
549
			                        background-color: $net-opt-area-color;
550
			                        ul {
551
										position: relative;
552
										margin-bottom:0;
553
			                        }
554
			                        li {
555
			                            .net-icons {
556
			                                padding-right:30px;
557
			                                display: inline-block;
558
			                                width:145px;
559
			                                text-align: right;
560
			                                font-size:30px;
561
			                                margin-bottom: 0;
562
			                                position: relative;
563
			                                span {
564
												position: relative;
565
												&.snf-router-outline {
566
													top:-1px;
567
			                                    }
568
			                                    &.snf-www {
569
			                                        top:5px;
570
			                                    }
571
			                                    &.snf-network-full {
572
			                                        top:5px;
573
			                                    }
574
			                                    &.temp-line {
575
													position: absolute;
576
													height:1px;
577
													width:13px;
578
													background:white;
579
													bottom:15px;
580
													&.line1 { right:56px; }
581
													&.line2 {
582
														right:97px;
583
														width:10px;
584
													}
585
												}
586
											}
587
										}
588
			                            &.more {
589
			                                background:$net-more-opt-area-color;
590
			                                margin:$step-adv-padding 6px;
591
			                                padding:$step-adv-padding 0;
592
			                                color:#fff;
593
			                                h3 {
594
			                                    color:#fff;
595
			                                    padding-left: 145px;
596
			                                    &:hover {
597
													cursor: pointer;
598
			                                    }
599
			                                }
600
			                                .btn5 {
601
			                                    margin-top:20px;
602
			                                    border-color:#fff;
603
			                                    color:#fff;
604
			                                    margin-left:145px;
605
			                                }
606
			                                .with-checkbox {
607
			                                    a {
608
			                                        span {
609
			                                            color: #fff;
610
			                                        }
611
			                                    }
612
			                                }
613
			                            }
614
			                        }
615

    
616
			                    }
617
			                    .tags-area {
618
			                        background-color: $tag-opt-area-color;
619
			                        .snf-color-picker {
620
			                            display: none;
621
			                        }
622
			                        #picker {
623
			                            position: relative;
624
			                            width: 207px;
625
			                            margin: 30px 5px;
626
			                            display: inline-block;
627
			                        }
628
			                        .btns {
629
			                            margin-top: 77px;
630
			                            margin-bottom: 30px;
631
			                        }
632
			                        .btn5 {
633
			                            margin-right:20px;
634
			                        }
635
			                        .tag-demo {
636
										left:10px;
637
			                        }
638
			                        h3 {
639
			                            width: $conf-area-h-width;
640
			                            color:white;
641
			                            font-size:1em;
642
			                            font-weight: normal;
643
			                            margin:0 28px 0 0;
644
			                            display: inline-block;
645
			                            //&.net-name { width: 9.063em }
646
			                           }
647
			                        .list-header {
648
										position: relative;
649
										left: -14px;
650
										h3 {
651
											margin-right: 35px;
652
										}
653
									}
654
			                    }
655
			                }
656
			            }
657
			        }
658
			    }
659
			    .bottom {
660
			        position: fixed;
661
			        left:0;
662
			        right:0;
663
			        bottom:0;
664
			        border-top:1px solid $overlay-color-top;
665
			        background:$overlay-bg-color;
666
			        .row {
667
			            height: $bar-submenu-height;
668
			            line-height: $bar-submenu-height;
669
			        }
670
			        .nav {
671
			            height: $bar-submenu-height;
672
			            line-height: $bar-submenu-height;
673
			            color:white;
674
			            display: inline-block;
675
			            position: relative;
676
			            font-size: emCalc(12px);
677
			            top:($bar-submenu-height - 30px)/2;
678
			            width: 100px;
679
			            &:hover,
680
			            &:focus {
681
			                @include transition(background, 0ms, ease-out);
682
			            }
683
			            span {
684
			                display: inline-block;
685
			                height: 30px;
686
			                line-height:30px;
687
			                float: left;
688
			                &:hover,
689
			                &:focus {
690
			                    @include transition(background, 0ms, linear);
691
			                }
692
			            }
693
			        }
694
			        .prev {
695
			            float:left;
696
			            height:30px;
697
			            padding-left:18px;
698
			            background:url('../images/nav-edge-lt.png') no-repeat left top;
699
			            span {
700
			                padding-right:10px;
701
			                background:url('../images/nav-lt.png') no-repeat right top;
702
			            }
703
			            &:hover,
704
			            &.active,
705
			            &:focus {
706
			                background-position:left bottom;
707
			                span {
708
			                    background-position:right bottom;
709
			                }
710
			            }
711
			        }
712
			        .next {
713
			            float:right;
714
			            height:30px;
715
			            padding-right:18px;
716
			            background:url('../images/nav-edge-rt.png') no-repeat right top;
717
			            span {
718
			                padding-left:10px;
719
			                background:url('../images/nav-rt.png') no-repeat left top;
720
			                float: right;
721
			            }
722
			            &:hover,
723
			            &.active,
724
			            &:focus {
725
			                background-position:right bottom;
726
			                span {
727
			                    background-position:left bottom;
728
			                    float:right;
729
			                }
730
			            }
731
			        }
732
			    }
733
		} // end of .wizard
734

    
735

    
736

    
737

    
738

    
739

    
740
// for network creation wizard
741
#network-wizard {
742

    
743
	a {
744
		&.nav:focus {
745
			border: none;
746
		}
747
		&.radio_btn:focus, &.check:focus{
748
				border: 1px solid #aee7cc;
749
				padding: 2px;
750
			}
751
	}
752
	.snf-checkbox-checked, .snf-checkbox-unchecked {
753
		font-size: 1.3em;
754
	}
755
	.subnet_options {
756
		margin: 0;
757
		li {
758
			margin-top: 20px;
759
		}
760
	}
761
	.step {
762
		a {	color: $wizard-base-font-color;}
763
		.network_options {
764
			position: relative;
765
			padding-bottom: 20px;
766
			.explanatory {
767
					font-size:emCalc(12px);
768
					margin-top:20px;
769
					margin-bottom:60px;
770
			}
771
			.check, .radio_btn {
772
				position: absolute;
773
				right: 0;
774
				&:focus {
775
					right: -3px;
776
					top: -3px;
777
				}
778
			}
779
			.network-name {
780
				margin: 40px 0;
781
				h2 {
782
					color:white;
783
					font-size: emCalc(16px);
784
				}
785
			}
786
			
787
			
788
			li{
789
				display: block;
790
				width: 360px;
791
				&.manual{
792
					position: relative;
793
					.input {
794
						position: absolute;
795
						right: -170px;
796
						width: 150px;
797
						bottom: 5px;
798
						display: none;
799
					}
800
				}
801
				&.project-selection li {
802
					width: 100%;
803
				}
804
			}
805
		}
806
	}
807
}
808

    
809
// for volume creation wizard
810
#volume-wizard {
811
	a {
812
		&.nav:focus {
813
			border: none;
814
		}
815
		&.radio_btn:focus, &.check:focus{
816
				border: 1px solid #aee7cc;
817
				padding: 2px;
818
			}
819
	}
820
	.snf-checkbox-checked, .snf-checkbox-unchecked {
821
		font-size: 1.3em;
822
	}
823
	.step {
824
		a {
825
			color: $wizard-base-font-color;
826
		}
827
		p {
828
			font-size: $wizard-paragraph-font-size-custom;
829
			line-height: 1;
830
		}
831
		h2 {
832
			color:white;
833
			font-size: emCalc(16px);
834
		}
835
		.volume_options {
836
			&>li{
837
				display: block;
838
				&.volume-name { //same with network-name and vm-name
839
					margin: 40px 0;
840
				}
841
				list-style: none outside none;
842
				margin-bottom:30px;
843
				.title {
844
					@extend .clearfix;
845
					height:40px;
846
					overflow:hidden;
847
					margin-bottom:emCalc(8px);
848
					color:white;
849
					vertical-align: top;
850
					.snf-font {
851
						display: block;
852
						width:60px;
853
						font-size:38px;
854
						float: left;
855
						position: relative;
856
						bottom: -3px;
857
					}
858
					h2 {
859
						font-size:emCalc(14px);
860
						span {
861
							font-weight:normal;
862
						}
863
						float:left;
864
						width: 140px;
865
						color:white;
866
						margin-right:60px;
867
						padding-left:emCalc(10px);
868
						em {
869
							display: block;
870
							margin-top:4px;
871
							font-size:11px;
872
							font-style:normal;
873
							font-weight:normal;
874
							white-space: nowrap;
875
							line-height: 13px;
876
						}
877
					}
878
					p {
879
						visibility: hidden;
880
						overflow:hidden;
881
						min-height:40px;
882
						font-size:11px;
883
						line-height:11px;
884
					}
885
				}
886
				.options-bar {
887
					@extend .clearfix;
888
					.bar {
889
						width:200px;
890
						float:left;
891
						margin-right:60px;
892
						height: 20px;
893
						position: relative;
894
						top:10px;
895
						.wrap {
896
							border:1px solid white;
897
							padding:1px;
898
							height: 100%;
899
							&.disabled-progress-bar {
900
								border-color: $disabled-resource-color;
901
								.container{
902
									.total {
903
										background-color: $disabled-resource-color;
904
									}
905
								}
906
							}
907
							.container {
908
								height: 100%;
909
								.total {
910
									background:$primary-color;
911
									height: 100%;
912
									float:left;
913
									position: relative;
914
									.current {
915
										background:white;
916
										height: 100%;
917
										float:left;
918
									}
919
									span {
920
										position:absolute;
921
										right:10px;
922
										font-size: emCalc(9px);
923
										top:2px;
924
									}
925
									&.low {
926
										span {
927
											right:-30px;
928
											color:white;
929
										}
930
									}
931
								}
932
							}
933
						}
934
					}
935
					.options {
936
						overflow:hidden;
937
						list-style: none outside none;
938
						li {
939
							list-style: none outside none;
940
							display: inline-block;
941
							margin-right: 10px;
942
							margin-bottom:0;
943
							a {
944
								@extend .btn5;
945
								min-width: 60px;
946
								&.current {
947
									color:$overlay-bg-color;
948
								}
949
								&.disabled {
950
									border-color: $disabled-resource-color;
951
									color: $disabled-resource-color;
952
									&:hover, &:active {
953
										cursor: default;
954
										border-width: 1px;
955
										line-height: 28px;
956

    
957
									}
958
								}
959
							}
960
						}
961
					}
962
				}
963
			}
964
		}
965
		.explain {
966
			margin-bottom: 1em;
967
		}
968
	}
969
}