Revision ceaaa3be snf-cyclades-app/synnefo/ui/new_ui/ui/sass/_machines.scss
b/snf-cyclades-app/synnefo/ui/new_ui/ui/sass/_machines.scss | ||
---|---|---|
9 | 9 |
pulse 1s infinite; |
10 | 10 |
} |
11 | 11 |
|
12 |
.list-view .build-progress { |
|
13 |
animation: |
|
14 |
progress_animation_list 5s infinite, |
|
15 |
pulse 1s infinite; |
|
16 |
-webkit-animation: |
|
17 |
progress_animation_list 5s infinite, |
|
18 |
pulse 1s infinite; |
|
19 |
} |
|
20 |
|
|
21 | 12 |
.reboot-progress { |
22 | 13 |
animation: |
23 | 14 |
reboot_pulse 1s infinite; |
... | ... | |
34 | 25 |
} |
35 | 26 |
} |
36 | 27 |
|
37 |
@include keyframes( progress_animation_list) { |
|
38 |
from { |
|
39 |
width: 0% |
|
40 |
} |
|
41 |
to { |
|
42 |
width: $list-vm-height; |
|
43 |
} |
|
44 |
} |
|
45 |
|
|
46 | 28 |
@include keyframes( pulse) { |
47 | 29 |
from { |
48 |
color: $secondary-color
|
|
30 |
color: $vm-active-color
|
|
49 | 31 |
} |
50 | 32 |
to { |
51 |
color: darken($secondary-color,10%)
|
|
33 |
color: darken($vm-active-color,10%)
|
|
52 | 34 |
} |
53 | 35 |
} |
54 | 36 |
|
... | ... | |
62 | 44 |
} |
63 | 45 |
} |
64 | 46 |
|
47 |
@mixin stateColor($color) { |
|
48 |
.img-wrap { |
|
49 |
.snf-PC_fill { |
|
50 |
color:$color; |
|
51 |
} |
|
52 |
} |
|
53 |
.status .logs, .status .state { |
|
54 |
color: $color; |
|
55 |
} |
|
56 |
} |
|
57 |
|
|
65 | 58 |
.vms .items-list { |
66 | 59 |
.img-wrap { |
67 | 60 |
width: 60px; |
... | ... | |
84 | 77 |
&.fedora { background-image:url('../images/os-fedora.png'); } |
85 | 78 |
} |
86 | 79 |
} |
87 |
[data-status="off"] { |
|
88 |
.img-wrap { |
|
89 |
.snf-PC_fill { |
|
90 |
color: $vm-off-color; |
|
91 |
} |
|
92 |
} |
|
93 |
.status .logs, .status .state { |
|
94 |
color: $vm-off-color; |
|
95 |
} |
|
80 |
.off { |
|
81 |
@include stateColor($vm-off-color); |
|
96 | 82 |
} |
97 |
[data-status="error"] { |
|
98 |
.img-wrap { |
|
99 |
.snf-PC_fill { |
|
100 |
color: $vm-error-color; |
|
101 |
} |
|
102 |
} |
|
103 |
.status .logs, .status .state a{ |
|
104 |
color: $vm-error-color; |
|
105 |
} |
|
83 |
.error { |
|
84 |
@include stateColor($vm-error-color); |
|
106 | 85 |
} |
107 |
[data-status="shutting"] { |
|
108 |
.img-wrap { |
|
109 |
.snf-PC_fill { |
|
110 |
color: $vm-shutting-color; |
|
111 |
} |
|
112 |
} |
|
113 |
.status .logs, .status .state { |
|
114 |
color: $vm-shutting-color; |
|
115 |
} |
|
86 |
.shutting { |
|
87 |
@include stateColor($vm-shutting-color); |
|
116 | 88 |
} |
117 |
[data-status="starting"] { |
|
118 |
.img-wrap { |
|
119 |
.snf-PC_fill { |
|
120 |
color: $vm-starting-color; |
|
121 |
} |
|
122 |
} |
|
123 |
.status .logs, .status .state { |
|
124 |
color: $vm-starting-color; |
|
125 |
} |
|
89 |
.starting { |
|
90 |
@include stateColor($vm-starting-color); |
|
126 | 91 |
} |
127 |
[data-status="rebooting"] { |
|
92 |
.rebooting { |
|
93 |
@include stateColor($vm-rebooting-color); |
|
94 |
// temp |
|
128 | 95 |
.btn5.temp { |
129 | 96 |
color: #5c8fe1; |
130 | 97 |
border-color: #5c8fe1; |
... | ... | |
132 | 99 |
position: absolute; |
133 | 100 |
right: 0; |
134 | 101 |
} |
135 |
.img-wrap { |
|
136 |
.snf-PC_fill { |
|
137 |
color: $vm-rebooting-color; |
|
138 |
} |
|
139 |
} |
|
140 |
.status .logs, .status .state { |
|
141 |
color: $vm-rebooting-color; |
|
142 |
} |
|
143 | 102 |
} |
144 |
[data-status="building"] { |
|
103 |
.building { |
|
104 |
// temp |
|
145 | 105 |
.btn5.temp { |
146 |
color: #5c8fe1; |
|
147 |
border-color: #5c8fe1; |
|
106 |
color:blue; |
|
148 | 107 |
padding: 0 4px; |
149 | 108 |
position: absolute; |
150 | 109 |
right: 0; |
... | ... | |
155 | 114 |
overflow: hidden; |
156 | 115 |
} |
157 | 116 |
.incomplete { |
158 |
color: #c7eae0;
|
|
117 |
color: $vm-building-color;
|
|
159 | 118 |
width:60px; |
160 | 119 |
} |
161 | 120 |
.complete { |
... | ... | |
165 | 124 |
} |
166 | 125 |
} |
167 | 126 |
} |
168 |
// there's no running |
|
169 | 127 |
} |
170 | 128 |
|
171 | 129 |
.vm { |
172 | 130 |
.top { |
173 | 131 |
.img-wrap { |
174 |
//@include sprite('../images/vm-on.png', 112px, 116px); |
|
175 | 132 |
display: inline-block; |
176 | 133 |
height: 112px; |
177 | 134 |
.snf-PC_fill { |
Also available in: Unified diff