generated from Dennis-Rosenbaum/MMM-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMMM-Linky.css
79 lines (67 loc) · 1.15 KB
/
MMM-Linky.css
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
69
70
71
72
73
74
75
76
77
78
79
#MMM-Linky {
width: 350px;
margin: 0 auto;
overflow: hidden;
word-wrap: break-word;
}
#MMM-Linky_Header {
text-transform: uppercase;
text-align: center;
font-size: var(--font-size-xsmall);
font-family: var(--font-primary), Arial, Helvetica, sans-serif;
font-weight: 400;
border-bottom: 1px solid #fff;
line-height: 15px;
padding-bottom: 5px;
margin-top: 2px;
margin-bottom: 10px;
color: #fff;
}
#MMM-Linky_Energie {
text-align: left;
font-size: medium;
max-width: 100%;
word-wrap: break-word;
line-height: 1.2;
padding: 5px;
}
#MMM-Linky_Energie.red {
color: red;
}
#MMM-Linky_Energie.yellow {
color: yellow;
}
#MMM-Linky_Energie.green {
color: green;
}
#MMM-Linky_Message {
color: #fff;
text-align: center;
font-size: medium;
max-width: 100%;
word-wrap: break-word;
line-height: 1.2;
padding: 5px;
}
#MMM-Linky_Update {
text-align: right;
font-size: x-small;
}
#MMM-Linky_Message.hidden {
display: none;
}
#MMM-Linky_Message.warn {
color: red;
animation: clignotte 1000ms infinite;
}
@keyframes clignotte {
0% {
opacity: 0;
}
40% {
opacity: 1;
}
100% {
opacity: 0;
}
}