Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

f.navbar #153

Merged
merged 24 commits into from
Aug 8, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
cbadcdf
Begin to change the navbar
lukevers Aug 3, 2013
984d780
Make the hide/show button more uniform
lukevers Aug 3, 2013
e4a2f34
Fixed unresponsive jQuery problem.
lukevers Aug 3, 2013
69ff5ba
Navbar dropdown menus don't get hidden under nodes.
lukevers Aug 3, 2013
c176bcd
Fixed issue with bootstrap compatability.
lukevers Aug 3, 2013
f939ac9
Added basic support for layers.
lukevers Aug 3, 2013
4e233a2
Fixed different button font-sizes.
lukevers Aug 6, 2013
a872d8a
Layer control.
lukevers Aug 6, 2013
eb3b4e0
Use MarkerClusters on layers
lukevers Aug 6, 2013
d372246
The "Hide" button should fade in instead of just being there.
lukevers Aug 6, 2013
f7a430c
Make "search" disabled currently.
lukevers Aug 6, 2013
cd97e50
Starting to re-implement layers more efficiently.
lukevers Aug 7, 2013
f2a9ab4
Removed all extra layers and only used a few now.
lukevers Aug 7, 2013
c3bbb12
Removed layer function code in preperation for new code.
lukevers Aug 7, 2013
5ca14ba
Changed "layers" to "filters"
lukevers Aug 7, 2013
6247ba3
On/off button for filter
lukevers Aug 7, 2013
e684fc0
Removing strings.
lukevers Aug 7, 2013
5b219e6
Set default filter, saved some lines of code.
lukevers Aug 7, 2013
5b01b08
Beginning of filter working! Not completely though.
lukevers Aug 7, 2013
5608bc5
More work on filters, but it doesn't work completely yet.
lukevers Aug 7, 2013
36e8123
Clear board when turn filter on.
lukevers Aug 7, 2013
ccb09d8
Added a node-shadow back.
lukevers Aug 8, 2013
6e2fa0a
Filter layers correctly
lukevers Aug 8, 2013
1c6e7b9
Don't remove all nodes and filter until active or potential is clicked
lukevers Aug 8, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions depslist
Original file line number Diff line number Diff line change
Expand Up @@ -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
334 changes: 22 additions & 312 deletions res/web/css/style.css
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added res/web/img/vps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading