summaryrefslogtreecommitdiff
path: root/kvmd/web/css/leds.css
blob: 6558eb35320374d0f0f07323e74c892cabf6feb9 (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
@-webkit-keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
	}
}
@keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

img.led-on {
	-webkit-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);
	filter: invert(0.5);
}

img.led-hdd-busy {
	-webkit-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,
img.led-pak-typing {
	-webkit-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;
	animation: spin 2s linear infinite;
}

img.led-fan-on {
	-webkit-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;
	animation: spin 3s linear infinite;
}

img.led-fan-slow {
	-webkit-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;
	animation: spin 6s linear infinite;
}

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