Revision f46d245b snf-cyclades-app/synnefo/ui/new_ui/ui/sass/athina.scss

b/snf-cyclades-app/synnefo/ui/new_ui/ui/sass/athina.scss
1 1
// Global Foundation Settings
2 2
@import "settings";
3 3

  
4
/* create vm: choose flavor */
4
//$primary-color: #919194; //grey
5
//$secondary-color: #ff7bac; //pink
5 6

  
6
.titles{
7
	color: white;
7
/* NOT IN USE! styles for selection window (used for vm_list_v1.html) */
8

  
9
/*
10
.vm_options {
11
	display: none;
12
	border: 1px solid #ff7bac;
13
	position: absolute;
14
	top: -20%;
15
	width: 100%;
16
	height: 100%;
17
	font-size: 27px;
18
	font-weight: bold;
19
	text-align: left;
20
	background-color: white;
21
	line-height: 45px;
22
	padding-left: 1em;
23
	padding-top: 0.65em;
24
	
25
	.custom_checkbox {
26
		display: inline-block;
27
		margin: 0;
28
		padding-left: 1em;	
29
		color: #ff7bac;
30
	}
8 31
}
9 32

  
10 33

  
11
.lt-sidebar ul li a.flavor_selection{
12
	display: block;
34
a.option:hover {
35
	color: #ff7bac;
13 36
}
14 37

  
38
.vm_container {
39
	width: 200px;
40
	display: inline-block;
41
	height: 187px;
42
	position: relative;
43

  
44
}
45

  
46
*/
47

  
48
/* styles for the detailed info of each vm (used for vm_details.html) */
49

  
50

  
51
.graph_container {
52
	padding-bottom: 2em;
53

  
54
}
55

  
56

  
57
.wrap {
58
	position: relative;
59
}
60

  
61
.section_header {
62
	float: left;
63
	width:22%;
64
	margin-right: 2%;
65
	font-weight: bold;
66
}
15 67

  
16
.overlay .lt-sidebar ul li a.flavor_selection.chosen_flavor span{
68
.right_side {
69
	overflow: hidden;
70
	width: 76%;
71
}
72

  
73

  
74

  
75
.info_simple {
76
	display: inline-block;
77
	margin-right: 10px;
78
}
79

  
80

  
81
.action_links {
17 82
	display: inline-block;
83
	
84
	a {
85
		color:  $secondary-color;
86
		margin-right: 5px;
87

  
88
		&:hover {
89
		text-decoration: underline;
90
	}
91

  
92
	span:first-child {
93
	margin-right: 5px;
94
}
95
}
96
	
97
}
98

  
99
a.black {
100
	color: black;
101
	&:hover {
102
		color:  $secondary-color;
103
	}
18 104
}
19
 
20 105

  
21
 
22
.create-vm .main .select-flavor dl dt span{
23
	&:hover{
24
 		color: white;
25
		border-color: white;
26
		background-color: $secondary-color;
27
	} 
28
	&.current {
106
.btn_pinkb {
107
	width: 11.5em;
108
	height: 3.8em;
109
	line-height: 3.8em;
110
	border: 1px solid  $secondary-color;
111
	position: absolute;
112
	top: 0;
113
	right: 0;
114
	
115
	a {
116
		display: block;
117
		padding-left: 1em;
118
		
29 119
		&:hover {
30
			color: $secondary-color;
31
			border-color: white;
32
			background-color: white;
120
			color:  $secondary-color;
121
		}
122
		
123
		img {
124
			position: absolute;
125
			right: 0.6em;
126
			top: 0.6em;
127
			height: 2.5em;
128
		}
129
	}
130
}
131

  
132

  
133
.row {
134
	margin: 0 0 0.4em 0;
135
}
136
.middle_side {
137
	max-width: 70%;
138
}
139

  
140
.txt_size {
141
	height: 0.8em;
142
	vertical-align: baseline;
143
}
144

  
145

  
146

  
147

  
148
 /* styles for network details */
149

  
150
 .big {
151
 	width: 60%;
152
 }
153

  
154
 .small {
155
 	width: 170px;
156
 }
157

  
158
.wrapper .details .top {
159
	padding: 70px 2.5em;
160
	
161
	.actions ul li {
162
		margin: 0 30px;
163
	}
164
}
165

  
166

  
167
.height_up {
168
	line-height: 1.3em;
169
}
170

  
171
.set {
172
	margin-bottom: 1em;
173
}
174

  
175
/* main icon in details page */
176
.network { 
177
	.top .img {
178
	background: url("../images/network-green102x116.png") no-repeat center center;
179
	width: 102px;
180
	height: 116px;
181
	display: inline-block;
182
	text-indent: -2000px;
183
	overflow: hidden;
184
	background-size: 100%;
185
	}
186
	.close-font{
187
		position: absolute;
188
		right: 0.8em;
189
		top: 2em;
190
		font-size: 2em;
191
		color: #b3b3b3;
192
	}
193
}
194

  
195

  
196
/* for scroll bar */
197
.networks .items-list {
198
	.img {
199
		background: url("../images/network-green102x116.png") no-repeat center center;
200
		height: 58px;
201
		width: 51px;
202
		display: inline-block;
203
		text-indent: -2000px;
204
		overflow: hidden;
205
		background-size: 80%;
206
	}
207
	
208
	/* for network list */
209
	.container
210
	{
211
		.img {
212
			background-size: 100%
213
		}
214

  
215
		.options .wrap a {
216
			width: 50%;
217
		}
218
	}
219
}
220

  
221

  
222

  
223
/* detailed pages: about the gaps that separate the area with the big img and the buttons from the rest of the page */ 
224

  
225

  
226
.details .top .actions ul{
227
	padding: 1em 1em 0;
228
	margin-bottom: 0;
229
} 
230

  
231

  
232

  
233
.content {
234
	position: relative;
235
	.overlay-modal {
236
		position: absolute;
237
		left:0;
238
		top:0;
239
		width: 100%;
240
		height: 100%;
241
		z-index:98;
242
		background:  $secondary-color;
243
	}
244

  
245
	.overlay-div {
246
		position:absolute; top:20%; left:25%; width:50%;
247
		padding:25px;
248
		background:white;
249
		display:none; z-index:100;
250
		
251
		.buttons {
252
			margin-bottom:0;
253
			
254
			a {
255
				margin-right:20px;
256
			}
257
		}
258
	}
259
}
260

  
261

  
262

  
263
.btn4 {
264
  color: white;
265
  border-color:  $secondary-color;
266
  background:  $secondary-color;
267
  &:hover, .current {
268
  	color: $secondary-color;
269
  	border-color:  $secondary-color;
270
  	background: white;
271
  }
272
}
273

  
274

  
275

  
276

  
277
.overlay .lt-sidebar.nav ul li:hover  {
278
	background-color: transparent;
279
}
280

  
281
.lt-sidebar.nav {
282
	font-size: 1em
283
}
284

  
285
.overlay {
286
	.lt-sidebar.nav  {
287
	overflow: auto;
288
	}
289
	/* styles for close icons (created with fontIcon "snf-font") */
290
	.close_char {
291
		background: none;
292
		text-indent: 0;
293
		font-size: 1.8em; /* for the the character e (for d we can put 2em) */
294
		color: white;
295
	}
296
}
297

  
298

  
299
/* create network styles */
300

  
301
.create-network {
302
	color: white;
303
	.check {
304
		color: white;
305
	}
306
	p {
307
		font-size: 0.8em;
308
		font-style: italic;
309
		margin: 5px 0 0;
310
		width: 545px;
311
	}
312

  
313
	li {
314
		list-style: none outside none;
315
	}
316
	.custom_checkbox {
317
		font-size: 1.3em;
318
	}
319
}
320

  
321
.subnet_options {
322
	margin: 0;
323
	li {
324
		margin-bottom: 6px;
325
		padding-left: 155px;
326
	}
327
}
328

  
329

  
330

  
331

  
332
.network_options {
333
	position: relative;
334
	width: 350px;
335
	min-height: 285px;
336
	
337
	.check {
338
		position: absolute;
339
		right: 0;
340
	}
341
	
342
	li {
343
		display: block;
344
		margin-bottom: 13px;
345
	
346
		form {
347
			margin: 0;
348
			
349
			input {
350
				position: absolute;
351
				display: inline-block;
352
				right: 0;
353
				width: 200px;
354
				height: 20px;
355
				font-size: 0.9em;
356
				
357
				&.hidden {
358
					display: none;
359
				}
360
			}
361
		}
362
		&.manual form input {
363
			right: -160px;
364
			width: 150px;
365
		}
366
	}
367
}
368

  
369

  
370
span.sub_title {
371
	position: absolute;
372
}
373

  
374

  
375
/* pithos: list of uploading files */
376

  
377
.upload-widget {
378
	.files {
379
		color: white;
380
		
381
		li {
382
			padding: 10px 120px;
383
			border: none;
384
			position: relative;
385
			
386
			.name-col {
387
				width: 34%;
388
			}
389

  
390
			.size-col {
391
				text-align: left;
392
				float: none;
393
			}
394

  
395
			.dz-success-mark {
396
				margin-left:10px;
397
			}
398

  
399
			.dz-error-mark {
400
				display: none;
401
			}
402
			.cancel-col {
403
				width: 100px;
404
				position: absolute;
405
				right: 50px;
406
				top: 9px;
407
				
408
				.cancel span {
409
					display: block;
410
					text-align: right;
411
				}
412
			}
413
		}
414
		div {
415
			display: inline-block;
416
		}
417
		.progress-bar {
418
			position: static;
419
			padding: 0;
420
			width: 25%;
421
			border: none;
422
			background-color: transparent;
423
			
424
			.progress-wrap {
425
				width: 100%;
426
				margin: 0;
427
			
428
				.progress {
429
					display: block;
430
					margin: 0;
431
					border: 2px solid white;
432
					padding: 0;
433
					background-color:  $secondary-color;
434
				
435
					.meter {
436
						background-color: white;
437
					}
438
				}
439
			}
33 440
		}
34 441
	}
35 442
}

Also available in: Unified diff