root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _machines.scss @ dafb5cab
History | View | Annotate | Download (2.3 kB)
1 |
/* Machines (VMs) related styles */ |
---|---|
2 |
|
3 |
.vms .items-list { |
4 |
.img { |
5 |
width: 60px; |
6 |
span { |
7 |
&:hover { |
8 |
cursor: pointer; |
9 |
} |
10 |
} |
11 |
&:hover { |
12 |
.snf-PC_fill { |
13 |
color: darken($vm-active-color,10%); |
14 |
} |
15 |
} |
16 |
.snf-PC_fill { |
17 |
font-size: 60px; |
18 |
color: $vm-active-color; |
19 |
} |
20 |
// &.off { |
21 |
// .snf-PC_fill { |
22 |
// color: $vm-off-color; |
23 |
// } |
24 |
// } |
25 |
// } |
26 |
.os { |
27 |
@include sprite('../images/os-unknown.png', 22px, 22px); |
28 |
position: absolute; |
29 |
top:8px; |
30 |
left:19px; |
31 |
&.windows { background-image:url('../images/os-windows.png'); } |
32 |
&.kubuntu { background-image:url('../images/os-kubuntu.png'); } |
33 |
&.fedora { background-image:url('../images/os-fedora.png'); } |
34 |
} |
35 |
} |
36 |
[data-status="off"] { |
37 |
.img { |
38 |
.snf-PC_fill { |
39 |
color: $vm-off-color; |
40 |
} |
41 |
} |
42 |
.status .logs, .status .state a{ |
43 |
color: $vm-off-color; |
44 |
} |
45 |
} |
46 |
[data-status="error"] { |
47 |
.img { |
48 |
.snf-PC_fill { |
49 |
color: $vm-error-color; |
50 |
} |
51 |
} |
52 |
.status .logs, .status .state a{ |
53 |
color: $vm-error-color; |
54 |
} |
55 |
} |
56 |
[data-status="shutting"] { |
57 |
.img { |
58 |
.snf-PC_fill { |
59 |
color: $vm-shutting-color; |
60 |
} |
61 |
} |
62 |
.status .logs, .status .state a{ |
63 |
color: $vm-shutting-color; |
64 |
} |
65 |
} |
66 |
[data-status="starting"] { |
67 |
.img { |
68 |
.snf-PC_fill { |
69 |
color: $vm-starting-color; |
70 |
} |
71 |
} |
72 |
.status .logs, .status .state a{ |
73 |
color: $vm-starting-color; |
74 |
} |
75 |
} |
76 |
[data-status="rebooting"] { |
77 |
.img { |
78 |
.snf-PC_fill { |
79 |
color: $vm-rebooting-color; |
80 |
} |
81 |
} |
82 |
.status .logs, .status .state a{ |
83 |
color: $vm-rebooting-color; |
84 |
} |
85 |
} |
86 |
// there's no running and building |
87 |
} |
88 |
|
89 |
.vm { |
90 |
.top { |
91 |
.img { |
92 |
//@include sprite('../images/vm-on.png', 112px, 116px); |
93 |
display: inline-block; |
94 |
height: 112px; |
95 |
.snf-PC_fill { |
96 |
font-size: 112px; |
97 |
color: $vm-active-color; |
98 |
} |
99 |
&.off { |
100 |
.snf-PC_fill { |
101 |
color: $vm-off-color; |
102 |
} |
103 |
} |
104 |
} |
105 |
.os { |
106 |
@include sprite('../images/os-unknown.png', 44px, 44px); |
107 |
position: absolute; |
108 |
background-size:100%; |
109 |
|
110 |
left:34px; |
111 |
top:11px; |
112 |
&.windows { background-image:url('../images/os-windows.png'); } |
113 |
&.kubuntu { background-image:url('../images/os-kubuntu.png'); } |
114 |
&.fedora { background-image:url('../images/os-fedora.png'); } |
115 |
} |
116 |
} |
117 |
} |
118 |
|
119 |
|
120 |
#vm-connect { |
121 |
.info { |
122 |
font-style:italic; |
123 |
font-size:emCalc(13px); |
124 |
color: lighten($primary-color,5%); |
125 |
} |
126 |
.ssh { |
127 |
text-align: center; |
128 |
span { |
129 |
padding: 10px 30px; |
130 |
background:$secondary-color; |
131 |
color:#fff; |
132 |
} |
133 |
} |
134 |
} |
135 |
|
136 |
|
137 |
|
138 |
|