forked from taylorchasewhite/US-Travel-Map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
states.css
119 lines (103 loc) · 2.35 KB
/
states.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
119
/* On mouse hover, lighten state color */
path:hover {
fill-opacity: .7;
}
path.bb-shape:hover {
fill-opacity: 1;
}
/* Style for Custom Tooltip */
div.tooltip {
position: absolute;
text-align: center;
width: 60px;
height: 28px;
padding: 2px;
font: 12px sans-serif;
background: white;
border: 0px;
border-radius: 0px;
pointer-events: none;
border-bottom:3px solid rgb(217, 91, 67);
box-shadow: 1px 1px 4px black;
}
.errorMessage {
fill:rgba(128,128,128,.75);
}
.errorMessage text {
font-size: 2em;
fill:white;
}
.shadow {
filter:url("#drop-shadow");
}
/* Legend Font Style */
body {
font: 11px sans-serif;
}
/* Legend Position Style */
#divLegend {
position:relative;
float:right;
top:20px;
}
#divGaugeChart {
float:left;
}
/* tooltip */
.arrow-down {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid rgb(217, 91, 67);
position:relative;
left:27px;
top:5px;
}
.progress-meter text {
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 24px;
font-weight: bold;
}
.hidden {
display: none;
}
/**
* Animations
*/
@-webkit-keyframes fadeIn {
from {
opacity:0;
}
to {
opacity:1;
}
}
@-moz-keyframes fadeIn {
from {
opacity:0;
}
to {
opacity:1;
}
}
@keyframes fadeIn {
from {
opacity:0;
}
to {
opacity:1;
}
}
.fade-in {
opacity:0; /* make things invisible upon start */
-webkit-animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
-moz-animation:fadeIn ease-in 1;
animation:fadeIn ease-in 1;
-webkit-animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
-moz-animation-fill-mode:forwards;
animation-fill-mode:forwards;
-webkit-animation-duration:1s;
-moz-animation-duration:1s;
animation-duration:1s;
}