You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
227 lines
3.4 KiB
227 lines
3.4 KiB
* {
|
|
box-sizing: border-box;
|
|
cursor: default;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.main {
|
|
height: 900px;
|
|
margin: 10px auto 100px auto;
|
|
padding: 20px;
|
|
position: relative;
|
|
width: 1040px;
|
|
}
|
|
|
|
#chart {
|
|
cursor: pointer;
|
|
height: 200px;
|
|
left: 50%;
|
|
margin-left:-450px;
|
|
position: absolute;
|
|
top: 640px;
|
|
width: 900px;
|
|
}
|
|
|
|
#chart svg {
|
|
height: 200px;
|
|
width: 100%;
|
|
}
|
|
|
|
#year-labels {
|
|
font-size: 0;
|
|
height: 30px;
|
|
left: 50%;
|
|
margin-left:-450px;
|
|
padding-left:30px;
|
|
position: absolute;
|
|
top: 840px;
|
|
width: 900px;
|
|
}
|
|
|
|
#year-labels .label {
|
|
color: #777;
|
|
cursor: pointer;
|
|
display:inline-block;
|
|
font-size: 9px;
|
|
height:30px;
|
|
line-height: 30px;
|
|
margin-right:2px;
|
|
text-align:center;
|
|
vertical-align:top;
|
|
width: 23px;
|
|
}
|
|
|
|
.year-toggle:hover {
|
|
background: #eee;
|
|
}
|
|
|
|
.axis .domain {
|
|
fill: none;
|
|
stroke: none;
|
|
}
|
|
|
|
.axis .tick {
|
|
fill: #aaa;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.label-axis-x {
|
|
fill: #aaa;
|
|
font-size: 10px;
|
|
letter-spacing: normal;
|
|
}
|
|
|
|
.tick-line {
|
|
stroke: #f0f0f0;
|
|
}
|
|
|
|
#chart3 {
|
|
height: 300px;
|
|
left: 20px;
|
|
position: absolute;
|
|
top: 20px;
|
|
width: 480px;
|
|
}
|
|
|
|
#map {
|
|
border: 1px solid #e8e8e8;
|
|
height: 600px;
|
|
left:520px;
|
|
position: absolute;
|
|
top:20px;
|
|
width: 500px;
|
|
z-index: 0;
|
|
}
|
|
|
|
#map svg {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.feature {
|
|
fill: #f7f7f7;
|
|
stroke: #ccc;
|
|
}
|
|
|
|
.reticle {
|
|
cursor: move;
|
|
fill: rgba(153, 173, 40, 0.2);
|
|
stroke: #5D5336;
|
|
}
|
|
|
|
.column-display {
|
|
cursor: pointer;
|
|
height: 210px;
|
|
left: 40px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
top: 380px;
|
|
width: 180px;
|
|
}
|
|
|
|
.column-display select {
|
|
background: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
width: 200px;
|
|
}
|
|
|
|
.column-display .toggle {
|
|
background: 0;
|
|
color: #ccc;
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
height: 30px;
|
|
letter-spacing: 1.5px;
|
|
line-height: 30px;
|
|
text-transform: uppercase;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.column-display .toggle:hover {
|
|
color: #777;
|
|
}
|
|
|
|
.column-display .toggle.selected {
|
|
color: #444;
|
|
cursor: default;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.reticle-sizer {
|
|
height:60px;
|
|
left: 240px;
|
|
position: absolute;
|
|
top: 380px;
|
|
width:160px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.bar-display {
|
|
left: 240px;
|
|
position: absolute;
|
|
top: 460px;
|
|
width:160px;
|
|
}
|
|
|
|
.bar-display .toggle {
|
|
background-image: url("../bar-display.png");
|
|
background-repeat: no-repeat;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
font-size: 0;
|
|
height: 40px;
|
|
margin-right: 15px;
|
|
opacity: 0.15;
|
|
transition: opacity 0.3s ease;
|
|
width: 30px;
|
|
}
|
|
|
|
.bar-display .toggle:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.bar-display .toggle.selected {
|
|
cursor: default;
|
|
opacity: 1;
|
|
}
|
|
|
|
.bar-display .toggle1 {
|
|
background-position: -60px 10px;
|
|
}
|
|
|
|
.bar-display .toggle2 {
|
|
background-position: -30px 10px;
|
|
}
|
|
|
|
.bar-display .toggle3 {
|
|
background-position: 0 10px;
|
|
}
|
|
|
|
input[type=range] {
|
|
cursor: pointer;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
input[type=range]::-webkit-slider-runnable-track {
|
|
background: #ddd;
|
|
border: none;
|
|
border-radius: 3px;
|
|
height: 2px;
|
|
width: 300px;
|
|
}
|
|
|
|
input[type=range]::-webkit-slider-thumb {
|
|
background: #d8ebd3;
|
|
border: 2px solid #5D5336;
|
|
border-radius: 50%;
|
|
height: 16px;
|
|
margin-top: -7px;
|
|
width: 16px;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
input[type=range]:focus {
|
|
outline: none;
|
|
}
|
|
|