aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-10 23:07:32 -0800
committerMark Otto <[email protected]>2012-02-10 23:07:32 -0800
commitd7aefe67e3df78bde61eaa7ecab807bb03aeb1ef (patch)
treee4651bdb92a13d886fa3856c3248e1adf51f0e75 /docs
parentc10661cf5d5e84bf840c0f2404218c0bc08add27 (diff)
downloadbootstrap-d7aefe67e3df78bde61eaa7ecab807bb03aeb1ef.tar.xz
bootstrap-d7aefe67e3df78bde61eaa7ecab807bb03aeb1ef.zip
scope th bottom vertical-align to only thead, update code styles to include more comments in less file and scrollable option for pre tag
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/bootstrap.zipbin52560 -> 52621 bytes
-rw-r--r--docs/assets/css/bootstrap.css13
-rw-r--r--docs/assets/css/docs.css3
-rw-r--r--docs/base-css.html1
-rw-r--r--docs/templates/pages/base-css.mustache1
-rw-r--r--docs/upgrading.html7
6 files changed, 17 insertions, 8 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index ed47cebd5..416ee8766 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 0b622d7d4..144783be4 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -374,8 +374,7 @@ ol {
li {
line-height: 18px;
}
-ul.unstyled,
-ol.unstyled {
+ul.unstyled, ol.unstyled {
margin-left: 0;
list-style: none;
}
@@ -499,6 +498,10 @@ pre code {
background-color: transparent;
border: 0;
}
+.pre-scrollable {
+ max-height: 340px;
+ overflow-y: scroll;
+}
form {
margin: 0 0 18px;
}
@@ -1004,14 +1007,14 @@ table {
padding: 8px;
line-height: 18px;
text-align: left;
+ vertical-align: top;
border-top: 1px solid #ddd;
}
.table th {
font-weight: bold;
- vertical-align: bottom;
}
-.table td {
- vertical-align: top;
+.table thead th {
+ vertical-align: bottom;
}
.table thead:first-child tr th, .table thead:first-child tr td {
border-top: 0;
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index c3a6848d7..4cdbb0c7c 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -481,9 +481,6 @@ hr.soften {
/* Misc
-------------------------------------------------- */
-pre.prettyprint {
- overflow: hidden;
-}
.browser-support {
max-width: 100%;
diff --git a/docs/base-css.html b/docs/base-css.html
index 3317f9321..ac260bffb 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -385,6 +385,7 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/pre&gt;
</pre>
<p><strong>Note:</strong> Be sure to keep code within <code>&lt;pre&gt;</code> tags as close to the left as possible; it will render all tabs.</p>
+ <p>You may optionally add the <code>.pre-scrollable</code> class which will set a max-height of 350px and provide a y-axis scrollbar.</p>
</div><!--/span-->
<div class="span4">
<h2>Google Prettify</h2>
diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache
index 8fe3443a6..0be4c1e34 100644
--- a/docs/templates/pages/base-css.mustache
+++ b/docs/templates/pages/base-css.mustache
@@ -309,6 +309,7 @@
&lt;/pre&gt;
</pre>
<p>{{_i}}<strong>Note:</strong> Be sure to keep code within <code>&lt;pre&gt;</code> tags as close to the left as possible; it will render all tabs.{{/i}}</p>
+ <p>{{_i}}You may optionally add the <code>.pre-scrollable</code> class which will set a max-height of 350px and provide a y-axis scrollbar.{{/i}}</p>
</div><!--/span-->
<div class="span4">
<h2>Google Prettify</h2>
diff --git a/docs/upgrading.html b/docs/upgrading.html
index 47cac06dc..5ab8a39ba 100644
--- a/docs/upgrading.html
+++ b/docs/upgrading.html
@@ -248,6 +248,13 @@
<div class="alert alert-info">
<strong>Heads up!</strong> We're rewritten just about everything for our plugins, so head on over to <a href="./javascript.html">the Javascript page</a> to learn more.
</div>
+ <h3>Tooltips</h3>
+ <ul>
+ <li>The plugin method has been renamed from <code>twipsy()</code> to <code>tooltip()</code>, and the class name changed from <code>twipsy</code> to <code>tooltip</code>.</li>
+ <li>The <code>placement</code> option value that was <code>below</code> is now <code>bottom</code>, and <code>above</code> is now <code>top</code>.</li>
+ <li>The <code>animate</code> option was renamed to <code>animation</code>.</li>
+ <li>The <code>html</code> option was removed, as the tooltips default to allowing HTML now.</li>
+ </ul>
<h3>Popovers</h3>
<ul>
<li>Child elements now properly namespaced: <code>.title</code> to <code>.popover-title</code>, <code>.inner</code> to <code>.popover-inner</code>, and <code>.content</code> to <code>.popover-content</code>.</li>