Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (23.8 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-header;
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-color-top;
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:$gray-0;
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

    
221
											border-color:$overlay-bg-color;
222
											color:$overlay-bg-color;
223
											&:hover {
224
												span {
225
													border-color:$overlay-bg-color; 
226
												}
227
											}
228
											&.current {
229
												color:white;
230
												span {
231
													background:$overlay-bg-color;
232
												}
233
											}
234
										}
235
									}
236
								}
237
								&.system-images {
238
									display: list-item;
239
								}
240
								.img-col {
241
									float:left;
242
									width:50px;
243
									line-height: $btn-height;
244
								}
245
								.name-col {
246
									float: left;
247
									color: $wizard-base-font-color;
248
									width:71%;
249
									padding-right:10px;
250
									line-height: $btn-height;
251
								}
252
								.size-col {
253
									float:left;
254
									width:10%;
255
									line-height: $btn-height;
256
								}
257
								.btn-col {
258
									float:right;
259
									width:10%;
260
									margin-left:10px;
261
									a {
262
										@extend .btn5;
263

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

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

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

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

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

    
743

    
744

    
745

    
746

    
747

    
748
// for network creation wizard
749
#network-wizard {
750

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

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

    
965
									}
966
								}
967
							}
968
						}
969
					}
970
				}
971
			}
972
		}
973
		.explain {
974
			margin-bottom: 1em;
975
		}
976
	}
977
}