]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
clean up subnav aesthetics
authorMark Otto <markdotto@gmail.com>
Mon, 23 Jan 2012 20:04:48 +0000 (12:04 -0800)
committerMark Otto <markdotto@gmail.com>
Mon, 23 Jan 2012 20:04:48 +0000 (12:04 -0800)
docs/assets/css/docs.css
docs/components.html

index 416b1830cd4be9d70dc956f4d2c3099b2b29ae02..e7714fd5c4c968e87e2e8ba68c5000d6a70f2e69 100644 (file)
@@ -115,8 +115,8 @@ section {
 ------------------------- */
 /* supporting docs pages */
 .subhead {
-  padding-bottom: 14px;
-  border-bottom: 3px solid #e5e5e5;
+  padding-bottom: 0;
+  border-bottom: 0;
 }
 .subhead h1,
 .subhead p {
@@ -126,6 +126,36 @@ section {
   font-size: 45px;
 }
 
+/* Subnav */
+.subhead .nav {
+  padding: 0 10px;
+  background-color: #eeeeee; /* Old browsers */
+  background-repeat: repeat-x; /* Repeat the gradient */
+  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
+  background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
+  background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
+  background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
+  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
+  background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
+  border: 1px solid #eee;
+  -webkit-border-radius: 4px;
+     -moz-border-radius: 4px;
+          border-radius: 4px;
+}
+.subhead .nav a {
+  margin: 0;
+  padding-top: 11px;
+  padding-bottom: 11px;
+  -webkit-border-radius: 0;
+     -moz-border-radius: 0;
+          border-radius: 0;
+}
+.subhead .nav .active a {
+  background-color: #fff;
+  color: #333;
+}
+
 
 /* Quick links
 -------------------------------------------------- */
index 47efee5ac7d447a5f7797bca6deff66f999e43ca..8cd76bedc809770a0cbba8c720d5ef03b9ff2e80 100755 (executable)
         <p class="lead">Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.</p>
         <ul class="nav pills">
           <li><a href="./components.html#buttonGroups">Button groups</a></li>
-          <li><a href="./components.html#buttonDropdowns">Split button dropdowns</a></li>
+          <li><a href="./components.html#buttonDropdowns">Button dropdowns</a></li>
           <li><a href="./components.html#navs">Nav, tabs, pills</a></li>
           <li><a href="./components.html#navbar">Navbar</a></li>
           <li><a href="./components.html#breadcrumbs">Breadcrumbs</a></li>
           <li><a href="./components.html#pagination">Pagination</a></li>
           <li><a href="./components.html#thumbnails">Thumbnails</a></li>
-          <li><a href="./components.html#alerts">Alert messages</a></li>
+          <li><a href="./components.html#alerts">Alerts</a></li>
           <li><a href="./components.html#progress">Progress bars</a></li>
         </ul>
       </header>