forked from dmcinnes/MMM-forecast-io
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMMM-forecast-io.css
118 lines (95 loc) · 2.12 KB
/
MMM-forecast-io.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.MMM-forecast-io {
}
.MMM-forecast-io .big-icon {
font-size: 75%;
line-height: 65px;
display: inline-block;
-ms-transform: translate(0, -3px); /* IE 9 */
-webkit-transform: translate(0, -3px); /* Safari */
transform: translate(0, -3px);
}
.MMM-forecast-io .summary {
width: 400px;
}
.MMM-forecast-io .forecast {
text-align: left;
min-width: 400px;
margin-top: 1ex;
}
.MMM-forecast-io .forecast-row {
}
.MMM-forecast-io .forecast-row>span {
display: table-cell;
width: 1px;
}
.MMM-forecast-io .forecast-row .forecast-day {
text-align: left;
padding-right: 0.2em;
}
.MMM-forecast-io .forecast-row .forecast-day {
}
.MMM-forecast-io .forecast-row .weather-icon {
}
.MMM-forecast-io .forecast-row .forecast-bar {
}
.MMM-forecast-io .forecast-row .temperature-column {
}
.MMM-forecast-io .forecast-row .weathericon {
text-align: center;
padding-right: 0.5em;
}
.MMM-forecast-io .forecast-bar {
display: table;
overflow: hidden;
}
.MMM-forecast-io. .temperature-column {
}
.MMM-forecast-io .forecast-bar>span {
display: table-cell;
text-align: center;
}
.MMM-forecast-io .forecast-bar .bar {
/* background-color: #aaa; */
background: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,0.75));
line-height: 0.8em;
border-radius: 1em;
border: 0.5ex transparent solid;
background-clip: padding-box;
color: black;
}
.MMM-forecast-io .forecast-rain {
display: table;
overflow: hidden;
}
.MMM-forecast-io .forecast-rain>span {
display: table-cell;
text-align: center;
}
.MMM-forecast-io .forecast-rain .rain-bar {
background: linear-gradient(to right, rgba(0,0,255,0.75), rgba(0,0,255,0));
line-height: 0.8em;
border-top-left-radius: 1em;
border-bottom-left-radius: 1em;
border: 0.0ex black solid;
background-clip: padding-box;
color: black;
}
.MMM-forecast-io .precipitation-graph {
border: 1px solid #aaa;
margin-top: 1ex;
}
.MMM-forecast-io .rain-bar {
min-width: 5px;
}
/*
.small.MMM-forecast-io .forecast {
min-width: 200px;
max-width: 300px;
}
.small.MMM-forecast-io .summary {
width: 300px;
}
.small.MMM-forecast-io .precipitation-graph {
width: 300px;
}
*/