summaryrefslogtreecommitdiff
path: root/kvmd/web/css/main.css
blob: 7090ce5a1d2380eaf64154423ada4d0be0642af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
div#stream-box {
	box-sizing: border-box;
	display: inline-block;
	background-color: #e5e5f5;
	padding: 10px;
}
img#stream-image {
	width: 640px;
	height: 480px;
	display: inline-block;
	border: 1px solid grey;
}
img.stream-image-active {
	cursor: crosshair;
	-webkit-filter: none;
	filter: none;
}
img.stream-image-inactive {
	cursor: wait;
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}

img#atx-power-led,
img#hid-mouse-led,
img#msd-led,
img#atx-hdd-led,
img#stream-led,
img#hid-keyboard-led {
	height: 24px;
}
img.led-on {
	-webkit-filter: invert(.5) sepia(1) saturate(5) hue-rotate(100deg);
	filter: invert(.5) sepia(1) saturate(5) hue-rotate(100deg);
}
img.led-off {
	-webkit-filter: invert(.5);
	filter: invert(.5);
}
img.led-hdd-busy {
	-webkit-filter: invert(.5) sepia(1) saturate(15) hue-rotate(320deg);
	filter: invert(.5) sepia(1) saturate(15) hue-rotate(320deg);
}
img.led-msd-writing {
	-webkit-filter: invert(.5) sepia(1) saturate(5) hue-rotate(0deg);
	filter: invert(.5) sepia(1) saturate(5) hue-rotate(0deg);
	-webkit-animation:spin 2s linear infinite;
	-moz-animation:spin 2s linear infinite;
	animation:spin 2s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

button#stream-reset-button,
button#atx-power-button,
button#atx-power-button-long,
button#atx-reset-button {
	height: 24px;
}