/
index.css
116 lines (110 loc) · 2.03 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
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
* {
margin: 0;
padding: 0;
outline: 0;
font-family: sans-serif;
box-sizing: border-box;
list-style: none;
}
.center {
width: 100%;
margin: 0 auto;
display: flex;
justify-content: center;
}
.metric-graph {
padding-top: 1%;
}
svg {
display: block;
margin: 0 auto;
}
#copyright{
position: relative;
display: none;
margin: 0 auto;
margin-top: 15em;
font-size: 2vh;
padding-bottom: 0.5rem;
text-align: center;
color: #808080;
}
/* Dropdown Styling */
.dropdown {
position: relative;
display: none;
width: 8em;
height: 2em;
left: calc(50% - 4em);
margin-top: 2em;
margin-bottom: 3em;
background-color: #fff;
border-radius: 2px;
box-shadow: 0 0 2px rgb(204, 204, 204);
transition: all 0.5s ease;
font-size: 14px;
color: #474747;
text-align: left;
}
.dropdown .select {
cursor: pointer;
display: block;
padding: 0.33em;
}
.dropdown:hover {
box-shadow: 0 0 4px rgb(204, 204, 204);
}
.dropdown:active {
background-color: #f8f8f8;
}
.dropdown .active:hover,
.dropdown .active {
box-shadow: 0 0 4px rgb(204, 204, 204);
border-radius: 2px 2px 0 0;
background-color: #f8f8f8;
}
.dropdown li {
line-height: 1em;
padding: 0 0.5em;
}
.dropdown li ul {
position: absolute;
}
.dropdown .dropdown-menu {
width: 100%;
box-shadow: 0 1px 2px rgb(204, 204, 204);
border-top: 1px solid #fff;
border-top: 1px solid #fff;
border-radius: 0 1px 2px 2px;
background-color: #fff;
}
.dropdown-menu {
display: none;
}
.dropdown .dropdown-menu li {
padding-top: 0.75em;
padding-bottom: 0.75em;
transition: all 0.2s ease-in-out;
cursor: pointer;
}
.dropdown .dropdown-menu li:hover {
background-color: #f2f2f2;
}
.dropdown .dropdown-menu li:active {
background-color: #e2e2e2;
}
.dropdown .dropdown-menu li ul {
display: none;
overflow: scroll;
width: 7em;
max-height: 13em;
overflow: auto;
margin-top: -1.75em;
margin-left: 7.5em;
box-shadow: 0 1px 2px rgb(204, 204, 204);
background-color: #fff;
}
/* Secondary Graphs Styling */
#walk-scores-chart {
display: none;
}