0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00

fix up docs popover examples and copy

This commit is contained in:
Mark Otto 2012-07-09 21:13:33 -07:00
parent 148e5a3d89
commit f4877c2369
6 changed files with 11 additions and 12 deletions

View File

@ -800,16 +800,15 @@
.thumbnails { .thumbnails {
margin-left: 0; margin-left: 0;
} }
.thumbnails > li {
float: none;
}
[class*="span"], [class*="span"],
.row-fluid [class*="span"] { .row-fluid [class*="span"] {
display: block; display: block;
float: none; float: none;
width: auto; width: auto;
max-width: 100%;
margin-left: 0; margin-left: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
} }
.input-large, .input-large,
.input-xlarge, .input-xlarge,

View File

@ -4714,7 +4714,7 @@ input[type="submit"].btn.btn-mini {
left: 0; left: 0;
z-index: 1010; z-index: 1010;
display: none; display: none;
width: 218px; width: 238px;
background-color: #fff; background-color: #fff;
border: 1px solid #ccc; border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.2);
@ -4833,6 +4833,7 @@ input[type="submit"].btn.btn-mini {
.popover-title { .popover-title {
padding: 8px 14px; padding: 8px 14px;
margin: 0;
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;
line-height: 18px; line-height: 18px;

View File

@ -607,8 +607,8 @@ form.bs-docs-example {
position: relative; position: relative;
display: block; display: block;
float: left; float: left;
width: 210px; width: 260px;
margin: 10px; margin: 20px;
} }

View File

@ -863,8 +863,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
</div> </div>
<h2>Examples</h2> <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>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>
<p class="muted"><strong>*</strong> Requires <a href="#tooltips">Tooltip</a> to be included</p>
<h3>Static popover</h3> <h3>Static popover</h3>
<p>Four options are available: top, right, bottom, and left aligned.</p> <p>Four options are available: top, right, bottom, and left aligned.</p>

View File

@ -795,8 +795,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
</div> </div>
<h2>{{_i}}Examples{{/i}}</h2> <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>{{_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>
<p class="muted"><strong>*</strong> {{_i}}Requires <a href="#tooltips">Tooltip</a> to be included{{/i}}</p>
<h3>{{_i}}Static popover{{/i}}</h3> <h3>{{_i}}Static popover{{/i}}</h3>
<p>{{_i}}Four options are available: top, right, bottom, and left aligned.{{/i}}</p> <p>{{_i}}Four options are available: top, right, bottom, and left aligned.{{/i}}</p>

View File

@ -9,7 +9,7 @@
left: 0; left: 0;
z-index: @zindexPopover; z-index: @zindexPopover;
display: none; display: none;
width: 218px; width: 238px;
background-color: #fff; background-color: #fff;
-webkit-background-clip: padding-box; -webkit-background-clip: padding-box;
-moz-background-clip: padding; -moz-background-clip: padding;
@ -47,6 +47,7 @@
} }
.popover-title { .popover-title {
margin: 0; // reset heading margin
padding: 8px 14px; padding: 8px 14px;
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;