From 49ebf542a29216c55d48306b58bd232506d67154 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 30 Mar 2013 00:19:05 -0700 Subject: [PATCH] reorder docs --- docs/_includes/docs-nav.html | 5 +- docs/docs.html | 338 ++++++++++++++++++----------------- 2 files changed, 176 insertions(+), 167 deletions(-) diff --git a/docs/_includes/docs-nav.html b/docs/_includes/docs-nav.html index 3ad2bbd48b..78a26ffb23 100644 --- a/docs/_includes/docs-nav.html +++ b/docs/_includes/docs-nav.html @@ -68,10 +68,11 @@
  • Images
  • +
  • Helper classes
  • +
  • Responsive utilities
  • Components
  • Glyphicons
  • -
  • Responsive utilities
  • Dropdowns
  • Button groups
  • Button dropdowns
  • @@ -86,7 +87,7 @@
  • Alerts
  • Progress bars
  • Media object
  • -
  • Misc
  • +
  • Wells
  • JavaScript
  • Overview
  • diff --git a/docs/docs.html b/docs/docs.html index f243c39de9..1c3b2d4340 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -2070,6 +2070,174 @@ For example, <section> should be wrapped as inline. + +
    + + +

    Close icon

    +

    Use the generic close icon for dismissing content like modals and alerts.

    +
    +

    +
    +{% highlight html linenos %} + +{% endhighlight %} + +

    .pull-left

    +

    Float an element left

    +{% highlight html linenos %} +
    ...
    +{% endhighlight %} +{% highlight css linenos %} +.pull-left { + float: left; +} +{% endhighlight %} + +

    .pull-right

    +

    Float an element right

    +{% highlight html linenos %} +
    ...
    +{% endhighlight %} +{% highlight css linenos %} +.pull-right { + float: right; +} +{% endhighlight %} + +

    .clearfix

    +

    Clear the float on any element. Utilizes the micro clearfix as popularized by Nicolas Gallagher.

    +{% highlight html linenos %} +
    ...
    +{% endhighlight %} +{% highlight css linenos %} +// Mixin +.clearfix { + &:before, + &:after { + content: " "; + display: table; + } + &:after { + clear: both; + } +} + +// Usage +.element { + .clearfix(); +} +{% endhighlight %} +
    + + + +
    + +

    For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query. Also included are utility classes for toggling content when printed.

    + +

    Responsive classes

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ClassPhones 767px and belowTablets 979px to 768pxDesktops Default
    .visible-phoneVisible
    .visible-tabletVisible
    .visible-desktopVisible
    .hidden-phoneVisibleVisible
    .hidden-tabletVisibleVisible
    .hidden-desktopVisibleVisible
    + +

    Print classes

    + + + + + + + + + + + + + + + + + + + + +
    ClassBrowserPrint
    .visible-printVisible
    .hidden-printVisible
    + +

    When to use

    +

    Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation. Responsive utilities should not be used with tables, and as such are not supported.

    + +

    Test case

    +

    Resize your browser or load on different devices to test the above classes.

    +

    Visible on...

    +

    Green checkmarks indicate that class is visible in your current viewport.

    + +

    Hidden on...

    +

    Here, green checkmarks indicate that class is hidden in your current viewport.

    + + +
    + + @@ -2388,112 +2556,6 @@ For example, <section> should be wrapped as inline. - -
    - -

    For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query. Also included are utility classes for toggling content when printed.

    - -

    Responsive classes

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ClassPhones 767px and belowTablets 979px to 768pxDesktops Default
    .visible-phoneVisible
    .visible-tabletVisible
    .visible-desktopVisible
    .hidden-phoneVisibleVisible
    .hidden-tabletVisibleVisible
    .hidden-desktopVisibleVisible
    - -

    Print classes

    - - - - - - - - - - - - - - - - - - - - -
    ClassBrowserPrint
    .visible-printVisible
    .hidden-printVisible
    - -

    When to use

    -

    Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation. Responsive utilities should not be used with tables, and as such are not supported.

    - -

    Test case

    -

    Resize your browser or load on different devices to test the above classes.

    -

    Visible on...

    -

    Green checkmarks indicate that class is visible in your current viewport.

    - -

    Hidden on...

    -

    Here, green checkmarks indicate that class is hidden in your current viewport.

    - - -
    - - - - @@ -4317,14 +4379,14 @@ For example, <section> should be wrapped as inline. - -
    +
    -

    Wells

    +

    Default well

    Use the well as a simple effect on an element to give it an inset effect.

    @@ -4354,61 +4416,7 @@ For example, <section> should be wrapped as inline.
    ...
    {% endhighlight %} - -

    Close icon

    -

    Use the generic close icon for dismissing content like modals and alerts.

    -
    -

    -
    -{% highlight html linenos %} - -{% endhighlight %} - -

    Helper classes

    -

    Simple, focused classes for small display or behavior tweaks.

    - -

    .pull-left

    -

    Float an element left

    -{% highlight html linenos %} -
    ...
    -{% endhighlight %} -{% highlight css linenos %} -.pull-left { - float: left; -} -{% endhighlight %} - -

    .pull-right

    -

    Float an element right

    -{% highlight html linenos %} -
    ...
    -{% endhighlight %} -{% highlight css linenos %} -.pull-right { - float: right; -} -{% endhighlight %} - -

    .clearfix

    -

    Clear the float on any element. Utilizes the micro clearfix as popularized by Nicolas Gallagher.

    -{% highlight html linenos %} -
    ...
    -{% endhighlight %} -{% highlight css linenos %} -.clearfix { - &:before, - &:after { - content: " "; - display: table; - } - &:after { - clear: both; - } -} -{% endhighlight %} - - -
    +