diff --git a/docs/base-css.html b/docs/base-css.html index 6485d76a22..92117b80ef 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -358,7 +358,7 @@
<div>
   <h1>Heading</h1>
-  <p>Something right here...</p>
+  <p>Something right here…</p>
 </div>

Note: Be sure to keep code within <pre> tags as close to the left as possible; it will render all tabs.

@@ -369,11 +369,11 @@

Using the google-code-prettify library, you're blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers.

<div>
   <h1>Heading</h1>
-  <p>Something right here...</p>
+  <p>Something right here…</p>
 </div>
<div>
   <h1>Heading</h1>
-  <p>Something right here...</p>
+  <p>Something right here…</p>
 </div>

Download google-code-prettify and view the readme for how to use.

@@ -521,14 +521,14 @@ <table> <thead> <tr> - <th>...</th> - <th>...</th> + <th>…</th> + <th>…</th> </tr> </thead> <tbody> <tr> - <td>...</td> - <td>...</td> + <td>…</td> + <td>…</td> </tr> </tbody> </table> @@ -591,7 +591,7 @@

Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the .table class is required.

 <table class="table">
-  ...
+  …
 </table>
@@ -636,7 +636,7 @@

Note: Sprited tables use the :nth-child CSS selector and is not available in IE7-IE8.

 <table class="table table-striped">
-  ...
+  …
 </table>
@@ -680,7 +680,7 @@

Add borders around the entire table and rounded corners for aesthetic purposes.

 <table class="table table-bordered">
-  ...
+  …
 </table>
@@ -725,10 +725,10 @@

4. Condensed table

-

Make your tables more compact by adding the .table-condensed class to cut table cell padding in half (from 10px to 5px).

+

Make your tables more compact by adding the .table-condensed class to cut table cell padding in half (from 8px to 4px).

 <table class="table table-condensed">
-  ...
+  …
 </table>
@@ -770,7 +770,7 @@

5. Striped table w/ TableSorter.js

-

Include the jQuery Tablesorter plugin and automaically get clear styles for sorted columns.

+

Include the jQuery Tablesorter plugin and automatically get clear styles for sorted columns.

 <script src="jquery.tablesorter.js"></script>
 <script >
@@ -782,7 +782,7 @@
   });
 </script>
 <table class="table table-striped">
-  ...
+  …
 </table>
@@ -937,7 +937,7 @@

With v2.0, we have lighter and smarter defaults for form styles. No extra markup, just form controls.

- + @@ -1057,13 +1057,13 @@
- +
- +
@@ -1112,7 +1112,7 @@
 <fieldset
   class="control-group error">
-  ...
+  …
 </fieldset>
 
@@ -1296,7 +1296,8 @@ Action

-   + +

diff --git a/docs/index.html b/docs/index.html index 25e76cb545..0beff1e7e2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -77,7 +77,7 @@
  • Built on LESS
  • Complete style guide docs
  • Fully responsive design
  • -
  • Small CSS footprint (10kb gzipped)
  • +
  • Small footprint (10kb gzipped)
  • Support for IE7 and up
  • Custom jQuery plugins
  • Dozens of components
  • @@ -136,7 +136,7 @@ -

    Designed for everyone, everywhere.

    +
    @@ -217,7 +217,6 @@ ================================================== -->

    Get started in no time.

    -
    @@ -228,7 +227,7 @@
    -

    Use it with LESS.js

    +

    Use it with LESS

    A fan of using LESS? No problem, just download the repo and add these lines to your page:

    - - + +
    -

    What's included

    -

    Shown on the left are all the default form controls we support. Here's the bulleted list:

    +

    {{_i}}What's included{{/i}}

    +

    {{_i}}Shown on the left are all the default form controls we support. Here's the bulleted list:{{/i}}

      -
    • text inputs (text, password, email, etc)
    • -
    • checkbox
    • -
    • radio
    • -
    • select
    • -
    • multiple select
    • -
    • file input
    • -
    • textarea
    • +
    • {{_i}}text inputs (text, password, email, etc){{/i}}
    • +
    • {{_i}}checkbox{{/i}}
    • +
    • {{_i}}radio{{/i}}
    • +
    • {{_i}}select{{/i}}
    • +
    • {{_i}}multiple select{{/i}}
    • +
    • {{_i}}file input{{/i}}
    • +
    • {{_i}}textarea{{/i}}

    -

    New defaults with v2.0

    -

    Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.

    +

    {{_i}}New defaults with v2.0{{/i}}

    +

    {{_i}}Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.{{/i}}

    @@ -993,66 +993,66 @@
    - Form control states + {{_i}}Form control states{{/i}}
    - +
    - +
    - +
    - +
    - +
    - +
    - Something may have gone wrong + {{_i}}Something may have gone wrong{{/i}}
    - +
    - Please correct the error + {{_i}}Please correct the error{{/i}}
    - +
    - Woohoo! + {{_i}}Woohoo!{{/i}}
    - - + +
    -

    Redesigned browser states

    -

    Bootstrap features styles for browser-supported focused and disabled states. We remove the default Webkit outline and apply a box-shadow in it's place for :focus.

    +

    {{_i}}Redesigned browser states{{/i}}

    +

    {{_i}}Bootstrap features styles for browser-supported focused and disabled states. We remove the default Webkit outline and apply a box-shadow in it's place for :focus.{{/i}}


    -

    Form validation

    -

    It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding .control-group.

    +

    {{_i}}Form validation{{/i}}

    +

    {{_i}}It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding .control-group.{{/i}}

     <fieldset
       class="control-group error">
    -  ...
    +  …
     </fieldset>
     
    @@ -1064,38 +1064,38 @@
    - Extending form controls + {{_i}}Extending form controls{{/i}}
    - +
    -

    Use the same .span* classes from the grid system for input sizes.

    +

    {{_i}}Use the same .span* classes from the grid system for input sizes.{{/i}}

    - +
    @
    -

    Here's some help text

    +

    {{_i}}Here's some help text{{/i}}

    - +
    .00
    -

    Here's more help text

    +

    {{_i}}Here's more help text{{/i}}

    - +
    - +
    -

    Note: Labels surround all the options for much larger click areas and a more usable form.

    +

    {{_i}}Note: Labels surround all the options for much larger click areas and a more usable form.{{/i}}

    - +
    - - + +
    -

    Prepend & append inputs

    -

    Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.

    +

    {{_i}}Prepend & append inputs{{/i}}

    +

    {{_i}}Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.{{/i}}


    -

    Checkboxes and radios

    -

    Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <label class="checkbox"> that wraps the <input type="checkbox">.

    -

    Inline checkboxes and radios are also supported. Just add .inline to any .checkbox or .radio and you're done.

    +

    {{_i}}Checkboxes and radios{{/i}}

    +

    {{_i}}Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <label class="checkbox"> that wraps the <input type="checkbox">.{{/i}}

    +

    {{_i}}Inline checkboxes and radios are also supported. Just add .inline to any .checkbox or .radio and you're done.{{/i}}

    @@ -1162,81 +1162,82 @@
    - - - + + + - + - + - + - + - + - + - + - + - + - +
    ButtonClassDescription{{_i}}Button{{/i}}{{_i}}Class{{/i}}{{_i}}Description{{/i}}
    Default{{_i}}Default{{/i}} .btnStandard gray button with gradient{{_i}}Standard gray button with gradient{{/i}}
    Primary{{_i}}Primary{{/i}} .primaryProvides extra visual weight and identifies the primary action in a set of buttons{{_i}}Provides extra visual weight and identifies the primary action in a set of buttons{{/i}}
    Info{{_i}}Info{{/i}} .infoUsed as an alternate to the default styles{{_i}}Used as an alternate to the default styles{{/i}}
    Success{{_i}}Success{{/i}} .successIndicates a successful or positive action{{_i}}Indicates a successful or positive action{{/i}}
    Danger{{_i}}Danger{{/i}} .dangerIndicates a dangerous or potentially negative action{{_i}}Indicates a dangerous or potentially negative action{{/i}}
    -

    Buttons for actions

    -

    As a convention, buttons should only be used for actions while hyperlinks are to be used for objects. For instance, "Download" should be a button while "recent activity" should be a link.

    +

    {{_i}}Buttons for actions{{/i}}

    +

    {{_i}}As a convention, buttons should only be used for actions while hyperlinks are to be used for objects. For instance, "Download" should be a button while "recent activity" should be a link.{{/i}}

    -

    For anchors and forms

    -

    Button styles can be applied to anything with the .btn applied. However, typically you’ll want to apply these to only <a> and <button> elements.

    +

    {{_i}}For anchors and forms{{/i}}

    +

    {{_i}}Button styles can be applied to anything with the .btn applied. However, typically you’ll want to apply these to only <a> and <button> elements.{{/i}}

    -

    Note: All buttons must include the .btn class. Button styles should be applied to <button> and <a> elements for consistency.

    +

    {{_i}}Note: All buttons must include the .btn class. Button styles should be applied to <button> and <a> elements for consistency.{{/i}}

    -

    Multiple sizes

    -

    Fancy larger or smaller buttons? Have at it!

    +

    {{_i}}Multiple sizes{{/i}}

    +

    {{_i}}Fancy larger or smaller buttons? Have at it!{{/i}}

    - Primary action - Action + {{_i}}Primary action{{/i}} + {{_i}}Action{{/i}}

    - Primary action - Action + {{_i}}Primary action{{/i}} + {{_i}}Action{{/i}}

    -

    Disabled state

    -

    For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s .disabled for links and :disabled for <button> elements.

    +

    {{_i}}Disabled state{{/i}}

    +

    {{_i}}For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s .disabled for links and :disabled for <button> elements.{{/i}}

    - Primary action - Action + {{_i}}Primary action{{/i}} + {{_i}}Action{{/i}}

    -   + +

    @@ -1251,7 +1252,7 @@ ================================================== -->
    @@ -1365,7 +1366,7 @@
    -

    Light red background color is only used to show the dimensions of the icons in the docs.

    +

    {{_i}}Light red background color is only used to show the dimensions of the icons in the docs.{{/i}}

    @@ -1373,38 +1374,38 @@
    -

    Built as a sprite

    -

    Instead of making every icon an extra request, we've compiled them into a sprite—a bunch of images in one file that uses CSS to position the images with background-position. This is the same method we use on Twitter.com and it has worked well for us.

    -

    Glyphicons has granted us use of the Halflings set in our open-source toolkit so long as we provide a link and credit. Please consider doing the same in your projects.

    +

    {{_i}}Built as a sprite{{/i}}

    +

    {{_i}}Instead of making every icon an extra request, we've compiled them into a sprite—a bunch of images in one file that uses CSS to position the images with background-position. This is the same method we use on Twitter.com and it has worked well for us.{{/i}}

    +

    {{_i}}Glyphicons has granted us use of the Halflings set in our open-source toolkit so long as we provide a link and credit. Please consider doing the same in your projects.{{/i}}

    -

    How to use

    -

    With v2.0.0, the <i> tag is essentially dedicated to iconography. To use the icons, you can place the follow code wherever you like one to appear:

    +

    {{_i}}How to use{{/i}}

    +

    {{_i}}With v2.0.0, the <i> tag is essentially dedicated to iconography. To use the icons, you can place the follow code wherever you like one to appear:{{/i}}

     <i class="chevron-left"></i>
     
    -

    There are over 100 classes to choose from for your icons. Just add an <i> tag with the right class and you're set. You can find the full list in sprites.less or right here in this document.

    +

    {{_i}}There are over 100 classes to choose from for your icons. Just add an <i> tag with the right class and you're set. You can find the full list in sprites.less or right here in this document.{{/i}}

    -

    Use cases

    -

    Icons are great, but where would one use them? Here are a few ideas:

    +

    {{_i}}Use cases{{/i}}

    +

    {{_i}}Icons are great, but where would one use them? Here are a few ideas:{{/i}}

      -
    • As visuals for your sidebar navigation
    • -
    • For a purely icon-driven nav
    • -
    • For buttons to help convey the meaning of an action
    • -
    • With links to share context on a user's destination
    • +
    • {{_i}}As visuals for your sidebar navigation{{/i}}
    • +
    • {{_i}}For a purely icon-driven nav{{/i}}
    • +
    • {{_i}}For buttons to help convey the meaning of an action{{/i}}
    • +
    • {{_i}}With links to share context on a user's destination{{/i}}
    -

    Essentially, anywhere you can put an <i> tag, you can put an icon.

    +

    {{_i}}Essentially, anywhere you can put an <i> tag, you can put an icon.{{/i}}

    -

    Examples

    +

    {{_i}}Examples{{/i}}

    -

    Use them in buttons, or in button groups for a toolbar style presentation.

    +

    {{_i}}Use them in buttons, or in button groups for a toolbar style presentation.{{/i}}

    - Refresh - Settings + {{_i}}Refresh{{/i}} + {{_i}}Settings{{/i}}

    @@ -1421,12 +1422,12 @@
    -

    Or, use them in navigation.

    +

    {{_i}}Or, use them in navigation.{{/i}}

    diff --git a/docs/templates/pages/index.mustache b/docs/templates/pages/index.mustache index dc99d2c83e..7616de4f11 100644 --- a/docs/templates/pages/index.mustache +++ b/docs/templates/pages/index.mustache @@ -4,34 +4,34 @@ ================================================== -->
    -

    Bootstrap,
    from Twitter

    -

    Bootstrap is a responsive frontend toolkit from Twitter designed to kickstart web development, featuring HTML, CSS, and JS for dozens of base elements and common design components.

    +

    {{_i}}Bootstrap,
    from Twitter{{/i}}

    +

    {{_i}}Bootstrap is a responsive frontend toolkit from Twitter designed to kickstart web development, featuring HTML, CSS, and JS for dozens of base elements and common design components.{{/i}}

    - Download on GitHub - Get started → + {{_i}}Download on GitHub{{/i}} + {{_i}}Get started →{{/i}}

    -

    Feature highlights

    +

    {{_i}}Feature highlights{{/i}}

      -
    • Built on LESS
    • -
    • Complete style guide docs
    • -
    • Fully responsive design
    • -
    • Small CSS footprint (10kb gzipped)
    • -
    • Support for IE7 and up
    • -
    • Custom jQuery plugins
    • -
    • Dozens of components
    • +
    • {{_i}} Built on LESS{{/i}}
    • +
    • {{_i}} Complete style guide docs{{/i}}
    • +
    • {{_i}} Fully responsive design{{/i}}
    • +
    • {{_i}} Small footprint (10kb gzipped){{/i}}
    • +
    • {{_i}} Support for IE7 and up{{/i}}
    • +
    • {{_i}} Custom jQuery plugins{{/i}}
    • +
    • {{_i}} Dozens of components{{/i}}