Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (4 kB)

1
/*
2

    
3
Overlays (Todo: clean up)
4

    
5
*/
6
body.with-overlay {
7
	background:$overlay-bg-color;
8
	.main {
9
		opacity:0;
10
	}
11
}
12

    
13

    
14
.overlay-wrapper {
15
	position: relative;
16
	left:0;
17
	top:0;
18
	.welcome {
19
		display:none;
20
		}
21
	&.no-vm {
22
		background:url(../images/draw-welcome.png) no-repeat center 50px $secondary-color;
23
		.welcome {
24
			display:none;
25
			color:#fff;
26
			text-align:center;
27
			position: relative;
28
			top:-15px;
29
			left:75px;
30
			display:block;
31
		}
32
	}
33
	.reveal-modal {
34
		padding:65px 140px 40px;
35
	    h3 {
36
	        font-size:1em;
37
	    }
38
	    p {
39
			color: white;
40
			text-align: center;
41
			&.message-forimg {
42
				margin-top:132px;
43
				margin-bottom: 35px; // 20px from background icon
44
			}
45
			&.buttons {
46
				a:first-child {
47
					margin-right:25px;
48
				}
49
			}
50
		}
51
		&#start-confirm {
52
			background: $secondary-color url('../images/shutdown.png') no-repeat center 50px;	//55px from top
53
	    }
54
	    &#reboot-confirm {
55
			background: #ff7049 url('../images/restart.png') no-repeat center 50px;
56
			.btn4 {
57
			background-color: #ff7049;
58
			border-color: white;
59
			&:hover {
60
					color: #ff7049;
61
					background-color: white;
62
					border-color: #ff7049;
63
				}
64
			}
65
		}
66
		&#shutdown-confirm {
67
		background: #ff7049 url('../images/shutdown.png') no-repeat center 50px;	//55px from top
68
			.btn4 {
69
				background-color: #ff7049;
70
				border-color: white;
71
				&:hover {
72
					color: #ff7049;
73
					background-color: white;
74
					border-color: #ff7049;
75
				}
76
			}
77
		}
78
		&#destroy-vm-confirm {
79
		background: #d7145a url('../images/destroy-vm.png') no-repeat center 46px;	//55px from top
80
			.btn4 {
81
				background-color: #d7145a;
82
				border-color: white;
83
				&:hover {
84
					color: #d7145a;
85
					background-color: white;
86
					border-color: #d7145a;
87
				}
88
			}
89
		}
90
		&#destroy-network-confirm {
91
			background: #d7145a url('../images/destroy-network-1.png') no-repeat center 50px;	//55px from top
92
			.btn4 {
93
				background-color: #d7145a;
94
				border-color: white;
95
				&:hover {
96
					color: #d7145a;
97
					background-color: white;
98
					border-color: #d7145a;
99
				}
100
			}
101
		}
102
		&#destroy-disk-confirm {
103
			background: #d7145a url('../images/destroy-disk.png') no-repeat center 50px;	//55px from top
104
			.btn4 {
105
				background-color: #d7145a;
106
				border-color: white;
107
				&:hover {
108
					color: #d7145a;
109
					background-color: white;
110
					border-color: #d7145a;
111
				}
112
			}
113

    
114
		}
115
		&#vm-connect {
116
			p {
117
				text-align:left;
118
				color: black;
119
				&.info {
120
					font-style: italic;
121
					font-size: 0.8125em;
122
					color: #9e9ea1;
123
				}
124
				&.ssh {
125
					text-align: center;
126
					span {
127
						display: inline;
128
					}
129
				}
130
			}
131
			.close-reveal-modal {
132
				color: $link-color;
133
				&:hover {
134
					color: $link-color-hover;
135
				}
136
			}
137
		}
138
	}
139
	.overlay-area-custom {
140
		display:none;
141
		position:absolute;
142
		left:0;
143
		right:0;
144
		top:-$bar-height;
145
		width:100%;
146
		height:100%;
147
		background:$overlay-bg-color;
148
		z-index:20;
149
		.overlay-div {
150
			display: none;
151
			z-index:50;
152
			position: relative;
153
			background:#fff;
154
			top:20%;
155
			left:25%;
156
			width:50%;
157
			padding:25px;
158
			.buttons {
159
				a {
160
					margin-right:20px;
161
				}
162
			}
163
			.close {
164
				float:right;
165
				font-size:30px;
166
			}
167
			&.upload-widget {
168
				background:transparent;
169
				padding:45px 0;
170
				width:80%;
171
				left:10%;
172
				border:1px solid white;
173
			}
174
		} // end of .overlay-div
175
}
176

    
177
}
178

    
179
.communication-error {
180
	// display: none;
181
	background-color: $error-color;
182
	color: $wizard-base-font-color;
183
	position: fixed;
184
	bottom: -151px;
185
	left: 0px;
186
	width: 100%;
187
	padding-top: 30px;
188
	padding-bottom: 15px;
189
	z-index: 10;
190
	p {
191
		text-align: center;
192
		line-height: 2em;
193
		margin: 0 auto;
194
		max-width: 800px;
195
		&.buttons {
196
			margin-top:10px;
197
			a:not(:first-child) {
198
				margin-left: 15px;
199
			} 
200
		}
201
	}
202
}
203

    
204
/* Responive ------------------------------------------------ */
205
@media only screen and (max-width: $small-mobile) {
206
}
207

    
208
@media only screen and (max-width: $small-screen) {
209
    .wizard {
210
        .top {
211
            position: static;
212
        }
213
        .middle {
214
            padding-top:0;
215
        }
216
    }
217
    .overlay-wrapper {
218
        .overlay-area {
219
            top:0;
220
        }
221
    }
222
}