-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMMM-WeatherChartD3.css
77 lines (63 loc) · 1.39 KB
/
MMM-WeatherChartD3.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
/**
* This MagicMirror² module displays a weather chart using any weather provider.
* @module MMM-WeatherChartD3
* @see `README.md`
* @author Sébastien Mazzon
* @license MIT - @see `LICENCE.txt`
*/
:root {
--MMM-WeatherChartD3-color: var(--color-text);
--MMM-WeatherChartD3-fillColor: var(--color-text-dimmed);
}
.MMM-WeatherChartD3 .tick,
.MMM-WeatherChartD3 .y-axis-label,
.MMM-WeatherChartD3 .curve-value {
font-family: var(--font-primary), sans-serif;
font-size: 0.75rem;
}
.MMM-WeatherChartD3 .axis-label {
font-family: var(--font-primary), sans-serif;
font-size: 0.65rem;
}
.MMM-WeatherChartD3 .curve {
fill: none;
opacity: 1;
stroke: var(--MMM-WeatherChartD3-color);
stroke-width: 2;
}
.MMM-WeatherChartD3 .night {
opacity: 0.05;
}
.MMM-WeatherChartD3 .axis-night {
opacity: 0.05;
}
.MMM-WeatherChartD3 .precipitation {
fill: var(--MMM-WeatherChartD3-fillColor);
}
.MMM-WeatherChartD3 .snow {
fill: var(--MMM-WeatherChartD3-fillColor);
opacity: 0.7;
stroke-dasharray: 10, 2;
}
.MMM-WeatherChartD3 .pressure {
opacity: 0.5;
stroke-dasharray: 40, 5;
}
.MMM-WeatherChartD3 .humidity {
opacity: 0.5;
stroke-dasharray: 2, 2;
}
.MMM-WeatherChartD3 .wind {
opacity: 0.5;
stroke-dasharray: 15, 5;
}
.MMM-WeatherChartD3 .feelsLikeTemp {
stroke-dasharray: 5, 5;
}
.MMM-WeatherChartD3 .uvi {
opacity: 0.2;
stroke-dasharray: 100, 20;
}
.MMM-WeatherChartD3 .aqi {
opacity: 0.2;
}