Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _machines.scss @ 52b4bfd7

History | View | Annotate | Download (1.6 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
		&.stopped {
21
			.snf-PC_fill {
22
				color: $vm-stopped-color;
23
			}
24
		}
25
		&.stopped:hover {
26
			span {
27
				cursor: default;
28
			}
29
		}
30
		.os {
31
			@include sprite('../images/os-unknown.png', 22px, 22px);
32
			position: absolute;
33
			top:8px;
34
			left:19px;
35
			&.windows { background-image:url('../images/os-windows.png'); }
36
			&.kubuntu { background-image:url('../images/os-kubuntu.png'); }
37
			&.fedora { background-image:url('../images/os-fedora.png'); }
38
		}
39
	}
40
}
41

    
42
.vm {
43
	.top {
44
		.img {
45
			//@include sprite('../images/vm-on.png', 112px, 116px);
46
			display: inline-block;
47
			height: 112px;
48
			.snf-PC_fill {
49
				font-size: 112px;
50
				color: $vm-active-color;
51
			}
52
			&.stopped {
53
				.snf-PC_fill {
54
					color: $vm-stopped-color;
55
				}
56
			}
57
		}
58
		.os {
59
			@include sprite('../images/os-unknown.png', 44px, 44px);
60
			position: absolute;
61
			background-size:100%;
62
			
63
			left:34px;
64
			top:11px;
65
			&.windows { background-image:url('../images/os-windows.png'); }
66
			&.kubuntu { background-image:url('../images/os-kubuntu.png'); }
67
			&.fedora { background-image:url('../images/os-fedora.png'); }
68
		}
69
	}
70
}
71

    
72

    
73
#vm-connect {
74
	.info {
75
		font-style:italic;
76
		font-size:emCalc(13px);
77
		color: lighten($primary-color,5%);
78
	}
79
	.ssh {
80
		text-align: center;
81
		span {
82
			padding: 10px 30px;
83
			background:$secondary-color;
84
			color:#fff;
85
		}
86
	}
87
}
88

    
89

    
90

    
91