forked from levizimmerman/fe3-assessment-3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
85 lines (83 loc) · 1.74 KB
/
index.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
/*------------------------------------------------------
General
------------------------------------------------------*/
body{
font-family: 'Helvetica Neue', Helvetica, sans-serif;
}
h1{
color: darkred;
text-align: center;
}
p{
font-size: 10pt;
margin-left:20px;
}
/*------------------------------------------------------
SVG
------------------------------------------------------*/
svg{
display: block;
margin: auto;
}
svg#map {
border: solid darkred;
}
.background {
fill: none;
pointer-events: all;
}
.countries{
cursor: pointer;
stroke: #fff;
}
.legend,
.legend_title text{
font-size:10pt;
}
.barlabel {
font-size:8pt;
text-anchor: middle;
}
section#js-legend{
position: absolute;
top: 69vh;
left: 10.5vw;
}
/*------------------------------------------------------
Input range
http://www.cssportal.com/style-input-range/
------------------------------------------------------*/
input#year {
position: absolute;
left: 12vw;
top: 60vh;
}
input[type=range] {
height: 32px;
-webkit-appearance: none;
margin: 10px 0;
width: 17%;
}
input[type=range]:focus {
outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 16px;
cursor: pointer;
box-shadow: 0px 0px 0px #000000;
background: #B6B6B6;
border-radius: 25px;
border: 1px solid #8A8A8A;
}
input[type=range]::-webkit-slider-thumb {
box-shadow: 1px 1px 1px #828282;
border: 1px solid #8A8A8A;
height: 24px;
width: 35px;
border-radius: 6px;
background: #DADADA;
cursor: pointer;
-webkit-appearance: none;
margin-top: -5px;
}