Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (23.6 kB)

1
.overlay-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
										background-size: emCalc(14px);
179
										top: 0px;
180
									}
181
								}
182
								.name {
183
									width: $conf-area-h-width;
184
								}
185
							}
186
						}
187

    
188

    
189

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

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

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

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

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

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

    
733

    
734

    
735

    
736

    
737

    
738
// for network creation wizard
739
#network-wizard {
740

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

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

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