diff --git a/depslist b/depslist index f101d64..8a5e21c 100644 --- a/depslist +++ b/depslist @@ -2,6 +2,6 @@ leaflet.js http://cdn.leafletjs.com/leaflet-0.5/leaflet.js leaflet.css http://cdn.leafletjs.com/leaflet-0.5/leaflet.css leaflet.ie.css http://cdn.leafletjs.com/leaflet-0.5/leaflet.ie.css jquery.js http://code.jquery.com/jquery-2.0.3.min.js -bootstrap.css http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css -bootstrap.js http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/js/bootstrap.min.js +bootstrap.css https://raw.github.com/twbs/bootstrap/3.0.0-wip/dist/css/bootstrap.min.css +bootstrap.js https://raw.github.com/twbs/bootstrap/3.0.0-wip/dist/js/bootstrap.js leaflet.markercluster.js https://raw.github.com/Leaflet/Leaflet.markercluster/0.2/dist/leaflet.markercluster.js diff --git a/res/web/css/style.css b/res/web/css/style.css index 0c825b9..f1c64cf 100644 --- a/res/web/css/style.css +++ b/res/web/css/style.css @@ -1,17 +1,21 @@ @charset "Utf-8"; body { - font-family: 'Lucida Grande', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 16px; + font-family: Helvetica, sans-seirf; + font-size: 14px; font-weight: 400; - line-height: 1.428571429; - color: #333333; + color: #333; } a.btn { color: #FFF; } +.btn { + font-size: 12px; + font-weight: 400; +} + #map { width:100%; height:700px; @@ -21,6 +25,10 @@ a.close { opacity: .5; } +li a.disabled { + color: #AAA; +} + .leaflet-control-geoloc { background-image: url(/img/location.png); -webkit-border-radius: 5px 5px 5px 5px; @@ -64,10 +72,15 @@ textarea.contact { font-weight: 900; } +li.active a, li.open a { + background-color: rgba(255, 255, 255, 1) !important; +} + .navbar { position: absolute; - z-index: 2000; + z-index: 5000; width: 100%; + background-color: rgba(255, 255, 255, .8); } .leaflet-top { @@ -95,25 +108,18 @@ textarea.contact { } #bringnavbarback { + display: none; position: absolute; z-index: 4000; - top: -50px; + top: 0px; right: 50px; - background-color: rgba(233, 233, 233, .6); + background-color: rgba(255, 255, 255, .8); padding: 10px; } #bringnavbarback:hover { cursor: pointer; - background-color: rgba(233, 233, 233, 1); -} - -a.light { - color: #AAA !important; -} - -a.light:hover { - color: #999 !important; + background-color: rgba(255, 255, 255, 1); } #search { @@ -205,299 +211,3 @@ a.light:hover { -o-transition: -o-transform 0.25s ease-out, opacity 0.25s ease-in; transition: transform 0.25s ease-out, opacity 0.25s ease-in; } - -/* ========== BOOTSTRAP FIXES ========== */ - -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"] { - display: block; - min-height: 38px; - padding: 8px 12px; - font-size: 14px; - line-height: 1.428571429; - color: #555555; - vertical-align: middle; - background-color: #ffffff; - border: 1px solid #cccccc; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; - -moz-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; - -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; - transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; -} - -select:focus, -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); -} - -select[disabled], -textarea[disabled], -input[type="text"][disabled], -input[type="password"][disabled], -input[type="datetime"][disabled], -input[type="datetime-local"][disabled], -input[type="date"][disabled], -input[type="month"][disabled], -input[type="time"][disabled], -input[type="week"][disabled], -input[type="number"][disabled], -input[type="email"][disabled], -input[type="url"][disabled], -input[type="search"][disabled], -input[type="tel"][disabled], -input[type="color"][disabled], -select[readonly], -textarea[readonly], -input[type="text"][readonly], -input[type="password"][readonly], -input[type="datetime"][readonly], -input[type="datetime-local"][readonly], -input[type="date"][readonly], -input[type="month"][readonly], -input[type="time"][readonly], -input[type="week"][readonly], -input[type="number"][readonly], -input[type="email"][readonly], -input[type="url"][readonly], -input[type="search"][readonly], -input[type="tel"][readonly], -input[type="color"][readonly], -fieldset[disabled] select, -fieldset[disabled] textarea, -fieldset[disabled] input[type="text"], -fieldset[disabled] input[type="password"], -fieldset[disabled] input[type="datetime"], -fieldset[disabled] input[type="datetime-local"], -fieldset[disabled] input[type="date"], -fieldset[disabled] input[type="month"], -fieldset[disabled] input[type="time"], -fieldset[disabled] input[type="week"], -fieldset[disabled] input[type="number"], -fieldset[disabled] input[type="email"], -fieldset[disabled] input[type="url"], -fieldset[disabled] input[type="search"], -fieldset[disabled] input[type="tel"], -fieldset[disabled] input[type="color"] { - cursor: not-allowed; - background-color: #eeeeee; -} - -input, -select, -textarea { - width: 100%; -} - -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} - -input[type="search"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -textarea { - height: auto; -} - -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} - -select, -input[type="file"] { - height: 38px; - /* In IE7, the height of the select element cannot be changed by height, only font-size. TODO: Check if this is still needed when dropping IE7 support */ - - line-height: 38px; -} - -select[multiple], -select[size] { - height: auto; -} - -select optgroup { - font-family: inherit; - font-size: inherit; - font-style: inherit; -} - -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} - -input[type="number"]::-webkit-outer-spin-button, -input[type="number"]::-webkit-inner-spin-button { - height: auto; -} - -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #999999; -} - -input::-moz-placeholder, -textarea::-moz-placeholder { - color: #999999; -} - -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #999999; -} - -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #999999; -} - -.radio, -.checkbox { - display: block; - min-height: 20px; - padding-left: 20px; - margin-top: 10px; - margin-bottom: 10px; - vertical-align: middle; -} - -.radio label, -.checkbox label { - display: inline; - margin-bottom: 0; - font-weight: normal; - cursor: pointer; -} - -.radio input[type="radio"], -.radio-inline input[type="radio"], -.checkbox input[type="checkbox"], -.checkbox-inline input[type="checkbox"] { - float: left; - margin-left: -20px; -} - -.radio + .radio, -.checkbox + .checkbox { - margin-top: -5px; -} - -/* -// Move the options list down to align with labels -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; // has to be padding because margin collapses -} -*/ - -.radio-inline, -.checkbox-inline { - display: inline-block; - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; - vertical-align: middle; - cursor: pointer; -} - -.radio-inline + .radio-inline, -.checkbox-inline + .checkbox-inline { - margin-top: 0; - margin-left: 10px; -} - -select.input-large, -textarea.input-large, -input[type="text"].input-large, -input[type="password"].input-large, -input[type="datetime"].input-large, -input[type="datetime-local"].input-large, -input[type="date"].input-large, -input[type="month"].input-large, -input[type="time"].input-large, -input[type="week"].input-large, -input[type="number"].input-large, -input[type="email"].input-large, -input[type="url"].input-large, -input[type="search"].input-large, -input[type="tel"].input-large, -input[type="color"].input-large { - min-height: 56px; - padding: 14px 16px; - font-size: 18px; - border-radius: 6px; -} - -select.input-small, -textarea.input-small, -input[type="text"].input-small, -input[type="password"].input-small, -input[type="datetime"].input-small, -input[type="datetime-local"].input-small, -input[type="date"].input-small, -input[type="month"].input-small, -input[type="time"].input-small, -input[type="week"].input-small, -input[type="number"].input-small, -input[type="email"].input-small, -input[type="url"].input-small, -input[type="search"].input-small, -input[type="tel"].input-small, -input[type="color"].input-small { - min-height: 30px; - padding: 5px 10px; - font-size: 12px; - border-radius: 3px; -} \ No newline at end of file diff --git a/res/web/img/marker-icon_light_gray.png b/res/web/img/inactive.png similarity index 100% rename from res/web/img/marker-icon_light_gray.png rename to res/web/img/inactive.png diff --git a/res/web/img/marker-icon_gray.png b/res/web/img/newUser.png similarity index 100% rename from res/web/img/marker-icon_gray.png rename to res/web/img/newUser.png diff --git a/res/web/img/marker-icon.png b/res/web/img/node.png similarity index 100% rename from res/web/img/marker-icon.png rename to res/web/img/node.png diff --git a/res/web/img/marker-shadow.png b/res/web/img/shadow.png similarity index 100% rename from res/web/img/marker-shadow.png rename to res/web/img/shadow.png diff --git a/res/web/img/vps.png b/res/web/img/vps.png new file mode 100644 index 0000000..c6c2fdd Binary files /dev/null and b/res/web/img/vps.png differ diff --git a/res/web/index.html.tmpl b/res/web/index.html.tmpl index 502ba16..d4af735 100644 --- a/res/web/index.html.tmpl +++ b/res/web/index.html.tmpl @@ -19,34 +19,85 @@ {{.Web.HeaderSnippet}}
-