summaryrefslogtreecommitdiff
path: root/kvmd/web/css/leds.css
blob: 2a84d4025030b7024e1adad37626d7daefb09567 (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
61
62
63
64
65
66
67
68
@-webkit-keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
	}
}
@-moz-keyframes spin {
	100% {
		-moz-transform: rotate(360deg);
	}
}
@keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

img.led-on {
	-webkit-filter: invert(0.5) sepia(1) saturate(5) hue-rotate(100deg);
	-moz-filter: invert(0.5) sepia(1) saturate(5) hue-rotate(100deg);
	filter: invert(0.5) sepia(1) saturate(5) hue-rotate(100deg);
}

img.led-off {
	-webkit-filter: invert(0.5);
	-moz-filter: invert(0.5);
	filter: invert(0.5);
}

img.led-hdd-busy {
	-webkit-filter: invert(0.5) sepia(1) saturate(15) hue-rotate(320deg);
	-moz-filter: invert(0.5) sepia(1) saturate(15) hue-rotate(320deg);
	filter: invert(0.5) sepia(1) saturate(15) hue-rotate(320deg);
}

img.led-msd-writing {
	-webkit-filter: invert(0.5) sepia(1) saturate(5) hue-rotate(0deg);
	-moz-filter: invert(0.5) sepia(1) saturate(5) hue-rotate(0deg);
	filter: invert(0.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;
}

img.led-fan-on {
	-webkit-filter: invert(0.5) sepia(1) saturate(5) hue-rotate(100deg);
	-moz-filter: invert(0.5) sepia(1) saturate(5) hue-rotate(100deg);
	filter: invert(0.5) sepia(1) saturate(5) hue-rotate(100deg);
	-webkit-animation: spin 3s linear infinite;
	-moz-animation: spin 3s linear infinite;
	animation: spin 3s linear infinite;
}

img.led-fan-slow {
	-webkit-filter: invert(0.5) sepia(1) saturate(5) hue-rotate(0deg);
	-moz-filter: invert(0.5) sepia(1) saturate(5) hue-rotate(0deg);
	filter: invert(0.5) sepia(1) saturate(5) hue-rotate(0deg);
	-webkit-animation: spin 6s linear infinite;
	-moz-animation: spin 6s linear infinite;
	animation: spin 6s linear infinite;
}

img.led-fan-fail {
	-webkit-filter: invert(0.5) sepia(1) saturate(15) hue-rotate(320deg);
	-moz-filter: invert(0.5) sepia(1) saturate(15) hue-rotate(320deg);
	filter: invert(0.5) sepia(1) saturate(15) hue-rotate(320deg);
}