diff --git a/main/css/d3.slider.css b/main/css/d3.slider.css new file mode 100755 index 0000000..8f6874c --- /dev/null +++ b/main/css/d3.slider.css @@ -0,0 +1,86 @@ +.d3-slider { + position: relative; + font-family: Verdana,Arial,sans-serif; + font-size: 1.1em; + border: 1px solid #aaaaaa; + z-index: 2; +} + +.d3-slider-horizontal { + height: .8em; +} + +.d3-slider-range { + background:#2980b9; + left:0px; + right:0px; + height: 0.8em; + position: absolute; +} + +.d3-slider-range-vertical { + background:#2980b9; + left:0px; + right:0px; + position: absolute; + top:0; +} + +.d3-slider-vertical { + width: .8em; + height: 100px; +} + +.d3-slider-handle { + position: absolute; + width: 1.2em; + height: 1.2em; + border: 1px solid #d3d3d3; + border-radius: 4px; + background: #eee; + background: linear-gradient(to bottom, #eee 0%, #ddd 100%); + z-index: 3; +} + +.d3-slider-handle:hover { + border: 1px solid #999999; +} + +.d3-slider-horizontal .d3-slider-handle { + top: -.3em; + margin-left: -.6em; +} + +.d3-slider-axis { + position: relative; + z-index: 1; +} + +.d3-slider-axis-bottom { + top: .8em; +} + +.d3-slider-axis-right { + left: .8em; +} + +.d3-slider-axis path { + stroke-width: 0; + fill: none; +} + +.d3-slider-axis line { + fill: none; + stroke: #aaa; + shape-rendering: crispEdges; +} + +.d3-slider-axis text { + font-size: 11px; +} + +.d3-slider-vertical .d3-slider-handle { + left: -.25em; + margin-left: 0; + margin-bottom: -.6em; +} \ No newline at end of file diff --git a/main/css/style.css b/main/css/style.css old mode 100644 new mode 100755 index d38747d..b635711 --- a/main/css/style.css +++ b/main/css/style.css @@ -11,14 +11,14 @@ } .countries_1783{ - fill: gray; - stroke: black; + fill: #d7c7ad; + stroke: #766951; stroke-width: .5px; } .countries_1815{ - fill: gray; - stroke: black; + fill: #d7c7ad; + stroke: #766951; stroke-width: .5px; } @@ -29,8 +29,8 @@ .dropdown { position: absolute; - top: 40px; - left: 425px; + top: 80px; + left: 20px; z-index: 10; font-family: baskerville; font-size: 1em; @@ -38,4 +38,72 @@ padding: 2px; border: 1px solid #999; box-shadow: 2px 2px 4px #999; -} \ No newline at end of file +} + +.dropdownProjections{ + position: absolute; + top: 130px; + left: 20px; + z-index: 10; + font-family: baskerville; + font-size: 1em; + font-weight: bold; + padding: 2px; + border: 1px solid #999; + box-shadow: 2px 2px 4px #999; +} + +#controls{ + height: 10%;; +} + +#slider{ + padding-top: 100px; + +} + +#map { + height: 90%; +} + +body { + background-color: white; + font-size: 14px; + font-family: 'Raleway', sans-serif; +} + +p { + color: white; + margin: 50px; +} + +a { + color: #4FDEF2; +} + +.axis { + fill: gray; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} + +.axis .halo { + stroke: gray; + stroke-width: 4px; + stroke-linecap: round; +} + +.slider .handle path { + stroke: black; + stroke-width: 3px; + stroke-linecap: round; + pointer-events: none; +} + +.slider .handle text { + fill: gray; + text-align: center; + font-size: 18px; +} + diff --git a/main/data/land.topojson b/main/data/land.topojson old mode 100644 new mode 100755 diff --git a/main/data/prepros.cfg b/main/data/prepros.cfg old mode 100644 new mode 100755 diff --git a/main/data/worldCountries.topojson b/main/data/worldCountries.topojson old mode 100644 new mode 100755 diff --git a/main/index.html b/main/index.html old mode 100644 new mode 100755 index 5a0dcd9..bde5c13 --- a/main/index.html +++ b/main/index.html @@ -1,29 +1,41 @@ -
- - -