]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove negative margin from .brand in docs, update navbar to support buttons up thurr
authorMark Otto <markdotto@gmail.com>
Tue, 27 Dec 2011 18:39:39 +0000 (12:39 -0600)
committerMark Otto <markdotto@gmail.com>
Tue, 27 Dec 2011 18:39:39 +0000 (12:39 -0600)
bootstrap.css
bootstrap.min.css
docs/assets/css/docs.css
lib/patterns.less

index ff21bc836c9333c2c32721fcf28139951d085d2a..105c10de39e00b760424c5a0d63a16becfc9a859 100644 (file)
@@ -6,7 +6,7 @@
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Mon Dec 26 17:12:29 CST 2011
+ * Date: Tue Dec 27 12:39:01 CST 2011
  */
 html, body {
   margin: 0;
@@ -1215,6 +1215,9 @@ table {
   color: #ffffff;
   background-color: transparent;
 }
+.navbar .btn {
+  margin-top: 5px;
+}
 .navbar-search {
   position: relative;
   float: left;
index 711e8a37ee11c0f24c82c4ae6343612d7b88728c..048414c78250b44cede9523d079a637c40a48771 100644 (file)
@@ -176,6 +176,7 @@ tbody tr:last-child th,tbody tr:last-child td{border-bottom:0;}
 .navbar .brand a:hover,.navbar ul .active>a{color:#ffffff;text-decoration:none;background-color:#333333;background-color:rgba(255, 255, 255, 0.05);}
 .navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#ffffff;}
 .navbar p{margin:0;line-height:40px;}.navbar p a:hover{color:#ffffff;background-color:transparent;}
+.navbar .btn{margin-top:5px;}
 .navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0;}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;color:rgba(255, 255, 255, 0.75);background-color:#444;background-color:rgba(255, 255, 255, 0.3);border:1px solid #111;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none;}.navbar-search .search-query:-moz-placeholder{color:#e6e6e6;}
 .navbar-search .search-query::-webkit-input-placeholder{color:#e6e6e6;}
 .navbar-search .search-query:hover{color:#ffffff;background-color:#bfbfbf;background-color:rgba(255, 255, 255, 0.5);}
index b3c4649419599ca0a4f81253381fd8e2ff2b3211..c2c92a2519324ba174b3fe03f8f3abeb3d6b7ce7 100644 (file)
@@ -22,6 +22,7 @@ body {
 body > .navbar-fixed .brand {
   padding-right: 0;
   padding-left: 0;
+  margin-left: 20px;
   float: right;
   font-weight: bold;
   color: #000;
index 25934d80a8b522d4a7e08142cba8d4a34b1b19b6..d48d65e48b5c4d272f6d3bb62625b9f7410fb2d0 100644 (file)
       background-color: transparent;
     }
   }
+  // Buttons in navbar
+  .btn {
+    margin-top: 5px; // make buttons vertically centered in navbar
+  }
 }
 
 // Navbar search