0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

cleanup subnav example

This commit is contained in:
Mark Otto 2012-07-13 10:58:20 -07:00
parent 2d4f5eb5a4
commit 5cb116beb8
4 changed files with 8 additions and 4 deletions

View File

@ -3950,6 +3950,7 @@ input[type="submit"].btn.btn-mini {
.navbar-search .search-query {
padding: 4px 9px;
margin-bottom: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
font-weight: normal;
@ -4237,12 +4238,14 @@ input[type="submit"].btn.btn-mini {
-------------------------------------------------- */
.navbar-subnav .navbar-inner {
padding-right: 10px;
padding-left: 10px;
background-color: #f9f9f9;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f1f1f1));
background-image: -webkit-linear-gradient(top, #ffffff, #f1f1f1);
background-image: -o-linear-gradient(top, #ffffff, #f1f1f1);
background-image: linear-gradient(to bottom, #ffffff, #f1f1f1);
background-image: -moz-linear-gradient(top, #ffffff, #f1f1f1);
background-image: -o-linear-gradient(top, #ffffff, #f1f1f1);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f1f1f1));
background-repeat: repeat-x;
border: 1px solid #e5e5e5;
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff1f1f1', GradientType=0);

View File

@ -1242,7 +1242,6 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Title</a>
<div class="nav-collapse subnav-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>

View File

@ -1171,7 +1171,6 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">{{_i}}Title{{/i}}</a>
<div class="nav-collapse subnav-collapse">
<ul class="nav">
<li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>

View File

@ -117,6 +117,7 @@
.navbarVerticalAlign(28px); // Vertically center in navbar
margin-bottom: 0;
.search-query {
margin-bottom: 0;
padding: 4px 9px;
#font > .sans-serif(13px, normal, 1);
color: @white;
@ -384,6 +385,8 @@
#gradient > .vertical(#ffffff, #f1f1f1);
.box-shadow(none);
border: 1px solid #e5e5e5;
padding-left: 10px;
padding-right: 10px;
}
// Lighten vertical dividers