Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _animations.scss @ 1933ffd6

History | View | Annotate | Download (1 kB)

1
/* Animations  */
2

    
3
.grid-view .build-progress {
4
	animation:
5
		progress_animation 5s infinite,
6
		pulse 1s infinite;
7
	-webkit-animation:
8
		progress_animation 5s infinite,
9
		pulse 1s infinite;
10
}
11

    
12
.reboot-progress {
13
	animation: 
14
		reboot_pulse 1s infinite;
15
	-webkit-animation:
16
		reboot_pulse 1s infinite;
17
}
18

    
19
@include keyframes( progress_animation) {
20
	from {
21
		width: 0%
22
	}
23
	to {
24
		width: 100%
25
	}
26
}
27

    
28
@include keyframes( pulse) {
29
	from {
30
		color: $vm-active-color
31
	}
32
	to {
33
		color: darken($vm-active-color,10%)
34
	}
35
}
36

    
37

    
38
@include keyframes( reboot_pulse) {
39
	from {
40
		color: $vm-rebooting-color
41
	}
42
	to {
43
		color: darken($vm-rebooting-color,10%)
44
	}
45
}
46

    
47
// test animations for wizard header
48

    
49

    
50
@include keyframes( fadeIn) {
51
	0% {
52
		display: none;
53
		opacity: 0;
54
	}
55
	10% {
56
		display: inline;
57
		opacity: 0.1;
58
	}
59
	100% {
60
		opacity: 1;
61
	}
62
}
63

    
64

    
65
// temp 
66
.btn5.temp {
67
		color:blue;
68
		padding: 0 4px;
69
		position: absolute;
70
		right: 0;
71
	}
72
// li for btns used to demonstrate general animations
73
.temp-for-btns {
74
	.btn5.temp {
75
		position: static;
76
	}
77
}