improved layout, thanks Paolo
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-06-17 23:16:11) dev
|
Version 2.00.0 (2012-06-17 23:35:00) dev
|
||||||
|
|||||||
@@ -83,3 +83,14 @@ li {margin-bottom: 0;} /*bootswatch*/
|
|||||||
margin-top: 7px;
|
margin-top: 7px;
|
||||||
float:right;
|
float:right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.open > .dropdown-menu ul { /* fix menu issue when BS2.0.4 is applied */
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navbar{padding-top:9px;}
|
||||||
|
#navbar .auth_navbar, #navbar .auth_navbar a {color:inherit;}
|
||||||
|
.ie-lte7 #navbar .auth_navbar, #navbar .auth_navbar a {color:expression(this.parentNode.currentStyle['color']); /* ie7 doesn't support inherit */}
|
||||||
|
|
||||||
|
#navbar .auth_navbar a:hover {color:white;text-decoration:none;} /* this overwrites bootswatch theme */
|
||||||
|
|
||||||
|
|||||||
@@ -300,4 +300,3 @@ div.error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ie9 #query_panel {padding-bottom:2px;}
|
.ie9 #query_panel {padding-bottom:2px;}
|
||||||
|
|
||||||
|
|||||||
@@ -70,9 +70,6 @@
|
|||||||
if(jQuery(this).find('ul').length)
|
if(jQuery(this).find('ul').length)
|
||||||
jQuery(this).children('a').contents().before('<i class="icon-chevron-right"></i>');
|
jQuery(this).children('a').contents().before('<i class="icon-chevron-right"></i>');
|
||||||
});
|
});
|
||||||
jQuery('.auth_navbar').each(function(){
|
|
||||||
jQuery(this).addClass('btn-group').children('a').addClass('btn')
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<noscript><link href="{{=URL('static', 'css/bootswatch_nojs.css')}}" rel="stylesheet" type="text/css" /></noscript>
|
<noscript><link href="{{=URL('static', 'css/bootswatch_nojs.css')}}" rel="stylesheet" type="text/css" /></noscript>
|
||||||
@@ -90,12 +87,12 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="brand" href="#">web2py™ </a>
|
<a class="brand" href="#">web2py™ </a>
|
||||||
<div id="navbar">{{='auth' in globals() and auth.navbar(separators=(' ',' ','')) or ''}}</div>
|
|
||||||
<div class="nav-collapse">
|
<div class="nav-collapse">
|
||||||
{{is_mobile=request.user_agent().is_mobile}}
|
{{is_mobile=request.user_agent().is_mobile}}
|
||||||
{{if response.menu:}}
|
{{if response.menu:}}
|
||||||
{{=MENU(response.menu, _class='mobile-menu nav' if is_mobile else 'nav',mobile=is_mobile,li_class='dropdown',ul_class='dropdown-menu')}}
|
{{=MENU(response.menu, _class='mobile-menu nav' if is_mobile else 'nav',mobile=is_mobile,li_class='dropdown',ul_class='dropdown-menu')}}
|
||||||
{{pass}}
|
{{pass}}
|
||||||
|
<div class="nav pull-right" id="navbar">{{='auth' in globals() and auth.navbar(separators=(' ',' | ','')) or ''}}</div>
|
||||||
</div><!--/.nav-collapse -->
|
</div><!--/.nav-collapse -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user