]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix up docs popover examples and copy
authorMark Otto <markotto@twitter.com>
Tue, 10 Jul 2012 04:13:33 +0000 (21:13 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 10 Jul 2012 04:13:33 +0000 (21:13 -0700)
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
docs/assets/css/docs.css
docs/javascript.html
docs/templates/pages/javascript.mustache
less/popovers.less

index 9a9bd33074f81d37c549f492063c6aa4f8ec47b8..6a420b179555b02d290a0c4daf64de4f1662faa1 100644 (file)
   .thumbnails {
     margin-left: 0;
   }
+  .thumbnails > li {
+    float: none;
+  }
   [class*="span"],
   .row-fluid [class*="span"] {
     display: block;
     float: none;
     width: auto;
-    max-width: 100%;
     margin-left: 0;
-    -webkit-box-sizing: border-box;
-       -moz-box-sizing: border-box;
-            box-sizing: border-box;
   }
   .input-large,
   .input-xlarge,
index 61da2f457880334e0de066181eb20b3d2b9165f6..52dbf7a1c0310b6fffaef1a32837af30c59bb0bb 100644 (file)
@@ -4714,7 +4714,7 @@ input[type="submit"].btn.btn-mini {
   left: 0;
   z-index: 1010;
   display: none;
-  width: 218px;
+  width: 238px;
   background-color: #fff;
   border: 1px solid #ccc;
   border: 1px solid rgba(0, 0, 0, 0.2);
@@ -4833,6 +4833,7 @@ input[type="submit"].btn.btn-mini {
 
 .popover-title {
   padding: 8px 14px;
+  margin: 0;
   font-size: 14px;
   font-weight: normal;
   line-height: 18px;
index 9593ae772a02e16beea39cbae0264b5b33026697..c5d92b613e0484b613538009aeabd25e102afa13 100644 (file)
@@ -607,8 +607,8 @@ form.bs-docs-example {
   position: relative;
   display: block;
   float: left;
-  width: 210px;
-  margin: 10px;
+  width: 260px;
+  margin: 20px;
 }
 
 
index 888391ba53d9bbb36f16ec5c37875b93ad2d4b97..c17af37cd83edf819ae072b15d3c033e795a2d8a 100644 (file)
@@ -863,8 +863,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
   </div>
 
   <h2>Examples</h2>
-  <p>Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover.</p>
-  <p class="muted"><strong>*</strong> Requires <a href="#tooltips">Tooltip</a> to be included</p>
+  <p>Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover. <strong>Requires <a href="#tooltips">Tooltip</a> to be included.</strong></p>
 
   <h3>Static popover</h3>
   <p>Four options are available: top, right, bottom, and left aligned.</p>
index 13d5285b7068a9b79744e63f54a8715c4de3a7c5..d9ef68c7de6d0ee0c3f997454b45596f8bc5ca62 100644 (file)
@@ -795,8 +795,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
   </div>
 
   <h2>{{_i}}Examples{{/i}}</h2>
-  <p>{{_i}}Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover.{{/i}}</p>
-  <p class="muted"><strong>*</strong> {{_i}}Requires <a href="#tooltips">Tooltip</a> to be included{{/i}}</p>
+  <p>{{_i}}Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover. <strong>Requires <a href="#tooltips">Tooltip</a> to be included.</strong>{{/i}}</p>
 
   <h3>{{_i}}Static popover{{/i}}</h3>
   <p>{{_i}}Four options are available: top, right, bottom, and left aligned.{{/i}}</p>
index 5ea79cf73c04cb34e9454ba86566aea89d0007a2..2d58a9a241d3d4a43a0a9d1b8490b9d24327c033 100644 (file)
@@ -9,7 +9,7 @@
   left: 0;
   z-index: @zindexPopover;
   display: none;
-  width: 218px;
+  width: 238px;
   background-color: #fff;
   -webkit-background-clip: padding-box;
      -moz-background-clip: padding;
@@ -47,6 +47,7 @@
 }
 
 .popover-title {
+  margin: 0; // reset heading margin
   padding: 8px 14px;
   font-size: 14px;
   font-weight: normal;