-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
netatmo.bubbles.less
82 lines (78 loc) · 1.33 KB
/
netatmo.bubbles.less
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
80
81
82
@dark: #000;
@good: limegreen;
@average: orange;
@bad: red;
.netatmo{
display: inline-block;
ul {
list-style-type: none;
padding: 0;
margin: 0;
.room{
padding: 0.25em 0.5em;
text-align: left;
}
.primary{
text-align: right;
}
.name,
.secondary,
.data{
text-align: left;
}
.secondary{
text-align: center;
width: 5em;
.co2{
.visual{
border-radius: 1em;
box-shadow: 0 0 .9em 1em;
height: .1em;
margin: 1.5em auto;
width: .1em;
}
.good{
background-color: @good;
color: @good;
}
.average{
background-color: @average;
color: @average;
}
.bad{
background-color: @bad;
color: @bad;
}
.undefined{
background-color: @dark;
color: @dark;
}
}
.wind-angle{
.visual{
display: inline-block;
}
}
}
.data{
width: 8em;
.flash {
animation: flasher 3s linear infinite;
}
.red {
color: @bad
}
@keyframes flasher {
50% { opacity: 0; }
}
div * {
margin: 0 2px;
}
}
}
}
.netatmo.horizontal{
ul>li{
display: inline-block;
}
}