Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-02-17 09:04:16 +0400
committerMark Otto <markotto@twitter.com>2012-02-17 09:04:16 +0400
commit0369c1fcfc22530171fdf6a1d6400767dc13f609 (patch)
tree5143a3a1cb708a2fe0f6af736e0238cff4e305a3 /docs
parentc3d3cf7262ff53215f11ec4772c9c787643b33e2 (diff)
add mention of navbar vertical divider in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/bootstrap.zipbin53191 -> 53191 bytes
-rw-r--r--docs/components.html8
-rw-r--r--docs/templates/pages/components.mustache8
-rw-r--r--docs/upgrading.html7
4 files changed, 18 insertions, 5 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 0aad46dec2..7aee4471a1 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/components.html b/docs/components.html
index af00ece97c..cf11e69986 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -880,6 +880,14 @@
&lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
+ <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:</p>
+<pre class="prettyprint linenums">
+&lt;ul class="nav"&gt;
+ ...
+ &lt;li class="divider-vertical"&gt;&lt;/li&gt;
+ ...
+&lt;/ul&gt;
+</pre>
<h3>Component alignment</h3>
<p>To align a nav, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
<h3>Adding dropdowns</h3>
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index 76c78d141e..1887b6f770 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -804,6 +804,14 @@
&lt;li&gt;&lt;a href="#"&gt;{{_i}}Link{{/i}}&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
+ <p>{{_i}}You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:{{/i}}</p>
+<pre class="prettyprint linenums">
+&lt;ul class="nav"&gt;
+ ...
+ &lt;li class="divider-vertical"&gt;&lt;/li&gt;
+ ...
+&lt;/ul&gt;
+</pre>
<h3>{{_i}}Component alignment{{/i}}</h3>
<p>{{_i}}To align a nav, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.{{/i}}</p>
<h3>{{_i}}Adding dropdowns{{/i}}</h3>
diff --git a/docs/upgrading.html b/docs/upgrading.html
index 0c9ab1673c..f56f22545e 100644
--- a/docs/upgrading.html
+++ b/docs/upgrading.html
@@ -115,7 +115,7 @@
<ul>
<li>Media queries added for <strong>basic support</strong> across mobile and tablet devices
<li>Responsive CSS is compiled separately, as bootstrap-responsive.css</li>
- </ul>
+ </ul>
</section>
@@ -255,13 +255,10 @@
<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>Tooltips</h3>
- <ul>
- <li>Values for <code>placement</code> option changed from <code>above</code> and <code>below</code> to <code>top</code> and <code>bottom</code>. (Affects popovers, too.)</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>
+ <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>
</ul>
<h3>New plugins</h3>
<ul>