Skip to content

Commit f5de8e9

Browse files
committed
Removed margin from map so it is visible below the navigation bar, updated the Navbar template to allow bootstrap functionality of collapsing it with a button for small displays.
1 parent 7354f21 commit f5de8e9

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

app/styles/main.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ div#preload {
206206
*/
207207

208208
.navbar-opaque{
209-
opacity: 0.95;
209+
opacity: 0.92;
210210
}
211211

212212
/*
@@ -466,7 +466,7 @@ button[active=active] {
466466
height: 100%;
467467
width: 100%;
468468
position: absolute;
469-
padding-top: 50px !important;
469+
//padding-top: 50px !important;
470470
}
471471

472472
#leftSideBar {
@@ -512,8 +512,8 @@ button[active=active] {
512512
//position: relative;
513513
}
514514

515-
#OpenLayers_Control_Zoom_5 {
516-
top: 60px;
515+
.olControlZoom {
516+
top: 60px !important;
517517
}
518518

519519
.tab-header {

app/templates/NavBar.hbs

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
<div class="navbar navbar-inverse navbar-fixed-top">
1+
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
22
<div class="container">
3-
<div class="collapse navbar-collapse">
3+
<div class="navbar-header">
4+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
5+
<span class="icon-bar"></span>
6+
<span class="icon-bar"></span>
7+
<span class="icon-bar"></span>
8+
</button>
9+
<a class="navbar-brand" href="{{url}}" style="font-size:30px">{{title}}</a>
10+
</div>
11+
<div class="navbar-collapse collapse">
412
<ul class="nav navbar-nav" id="tab-headers-main">
5-
<li><a class="tab-header" target="_blank" href="{{url}}" style="font-size:30px"><strong>{{title}}</strong></a></li>
613
<li class="divider-vertical"></li>
714
</ul>
8-
</div><!--/.nav-collapse -->
15+
</div>
916
</div>
10-
</div>
17+
</div>

0 commit comments

Comments
 (0)