Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
added border to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
pchinjr committed Jan 20, 2016
1 parent 2e3be64 commit 8abcc19
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
3 changes: 2 additions & 1 deletion css/busfinder.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#jPanelMenu-menu {
padding-top: 50px;
background: #EEDFCC;
border-left: 5px solid rgba(255, 255 , 255, 0.7);
}

#jPanelMenu-menu ul {
Expand Down Expand Up @@ -310,7 +311,7 @@ h1 {
background-color: white;

}
.onefive
.onefive
{
width: 25%;
height: 48px;
Expand Down
5 changes: 3 additions & 2 deletions js/busfinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -750,13 +750,14 @@ $(function(){
return this;
}

})
});

var ContentView = Backbone.View.extend({
el: $(".app-container"),

initialize: function() {
$('#jPanelMenu-menu').click(function() {

$('#jPanelMenu-menu').click(function() {
jPM.close();
});
},
Expand Down
18 changes: 9 additions & 9 deletions js/jquery.jpanelmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@
{
code: 27,
open: false,
close: true
close: true
},
{
code: 37,
open: false,
close: true
close: true
},
{
code: 39,
open: true,
close: true
close: true
},
{
code: 77,
open: true,
close: true
close: true
}
],

Expand Down Expand Up @@ -119,7 +119,7 @@
$(jP.panel).find('> *').each(function(){
if ( $(this).css('position') == 'fixed' && $(this).css(jP.options.direction) == 'auto' ) { jP.fixedChildren.push(this); }
});

if ( jP.fixedChildren.length > 0 )
{
var newPanelStyle = { position: 'relative' };
Expand Down Expand Up @@ -253,7 +253,7 @@

openMenu: function(animated) {
if ( typeof(animated) == "undefined" || animated == null ) { animated = jP.options.animated };

jP.clearTimeouts();

jP.options.before();
Expand All @@ -262,7 +262,7 @@
jP.setMenuState(true);

jP.setPanelStyle({ position: 'relative' });

jP.showMenu();

var animationChecks = {
Expand Down Expand Up @@ -440,7 +440,7 @@
$(document).on('click',jP.panel,function(e){
if ( jP.menuIsOpen() ) jP.closeMenu(jP.options.animated);
});

$(document).on('touchend',jP.panel,function(e){
if ( jP.menuIsOpen() ) jP.closeMenu(jP.options.animated);
});
Expand Down Expand Up @@ -544,4 +544,4 @@
getPanel: function() { return $(jP.panel); }
};
};
})(jQuery);
})(jQuery);

0 comments on commit 8abcc19

Please sign in to comment.