From 32761b33036eb3a0e186d310b56877b1c994ac89 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 14 Apr 2013 12:54:56 -0700 Subject: [PATCH] use spaces for indenting, not tabs /cc @juthilo --- docs/docs.html | 84 ++++++++++++++++++++++++-------------------------- 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/docs/docs.html b/docs/docs.html index ce0a99f0d7..c57ced0d27 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -70,8 +70,8 @@ title: Bootstrap Documentation

This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*). The image files are compressed using ImageOptim, a Mac app for compressing PNGs.

-

jQuery required

-

Please note that all JavaScript plugins require jQuery to be included, as shown in the 101 template.

+

jQuery required

+

Please note that all JavaScript plugins require jQuery to be included, as shown in the starter template.

@@ -1015,12 +1015,10 @@ For example, <section> should be wrapped as inline.

Striped

Use .table-striped to add zebra-striping to any table row within the <tbody>.

-
-

Cross-browser compatibility

+

Cross-browser compatibility

Striped tables are styled via the :nth-child CSS selector, which is not available in IE8.

-
@@ -1406,8 +1404,8 @@ For example, <section> should be wrapped as inline.

Inputs

Most common form control, text-based input fields. Includes support for all HTML5 types: text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and color.

-

Type declaration required

-

Inputs will only be fully styled if their type is properly declared.

+

Type declaration required

+

Inputs will only be fully styled if their type is properly declared.

@@ -1543,12 +1541,12 @@ For example, <section> should be wrapped as inline.

Invalid inputs

Style inputs via default browser functionality. Specify a type, add the required attribute if the field is not optional, and (if applicable) specify a pattern.

- +
-

Cross-browser compatibility

+

Cross-browser compatibility

Invalid inputs are styled via the :invalid CSS selector, which is not supported by Internet Explorer 9 and below.

- + @@ -1567,17 +1565,17 @@ For example, <section> should be wrapped as inline.

Disabled fieldsets

Add the disabled attribute to a <fieldset> to disable all the controls within the <fieldset> at once.

- +
-

Link functionality of <a> not impacted

+

Link functionality of <a> not impacted

This class will only change the appearance of <a class="btn"> buttons, not their functionality. You need to use custom JavaScript to disable links here.

- +
-

Cross-browser compatibility

+

Cross-browser compatibility

While Bootstrap will apply these styles in all browsers, IE and Safari don't actually support the <disabled> attribute on a <fieldset>. You need to use custom JavaScript to disable the fieldset in these browsers.

- +
@@ -1673,12 +1671,12 @@ For example, <section> should be wrapped as inline.

Input groups

Add text or buttons before, after, or on both sides of any text-based input. Use .input-group with a .add-on to prepend or append elements to an <input>.

- +
-

Cross-browser compatibility

+

Cross-browser compatibility

Avoid using <select> elements here as they cannot be fully styled in WebKit browsers.

- +
@ @@ -2155,7 +2153,7 @@ For example, <section> should be wrapped as inline. We use .disabled as a utility class here, similar to the common .active class, so no prefix is required.

-

Link functionality not impacted

+

Link functionality not impacted

This class will only change the <a>'s appearance, not its functionality. You need to use custom JavaScript to disable links here.

@@ -2175,9 +2173,9 @@ For example, <section> should be wrapped as inline. {% endhighlight %} -
-

Cross-browser rendering

-

As a best practice, we highly recommend using the <button> element whenever possible to ensure matching cross-browser rendering.

+
+

Cross-browser rendering

+

As a best practice, we highly recommend using the <button> element whenever possible to ensure matching cross-browser rendering.

@@ -2193,7 +2191,7 @@ For example, <section> should be wrapped as inline.

Add classes to an <img> element to easily style images in any project.

-

Cross-browser compatibility

+

Cross-browser compatibility

Keep in mind that Internet Explorer 8 lacks support for rounded corners.

@@ -2950,9 +2948,9 @@ For example, <section> should be wrapped as inline.

Button dropdown menus

Use any button to trigger a dropdown menu by placing it within a .btn-group and providing the proper menu markup.

- +
-

Plugin dependency

+

Plugin dependency

Button dropdowns require the dropdown plugin to be included in your version of Bootstrap.

@@ -3308,12 +3306,12 @@ For example, <section> should be wrapped as inline.

For any nav component (tabs, pills, or list), add .disabled for gray links and no hover effects.

- +
-

Link functionality not impacted

+

Link functionality not impacted

This class will only change the <a>'s appearance, not its functionality. You need to use custom JavaScript to disable links here.

- +
{% endhighlight %} -
-

Body padding required

+
+

Body padding required

The fixed navbar will overlay your other content, unless you add padding to the bottom of the <body>. The navbar itself has a height of 54px by default. At 768px and above, its height shrinks to 50px. Try out your own values or use our snippet below:

{% highlight css linenos %} body { @@ -3594,7 +3592,7 @@ body { } } {% endhighlight %} -

Make sure to include this after the core Bootstrap CSS.

+

Make sure to include this after the core Bootstrap CSS.

@@ -4019,9 +4017,9 @@ body {

Self collapsing

When there are no new or unread items, badges will simply collapse (via CSS's :empty selector) provided no content exists within.

- +
-

Cross-browser compatibility

+

Cross-browser compatibility

Badges won't self collapse in Internet Explorer 8 because it lacks support for the :empty selector.

@@ -4873,7 +4871,7 @@ body {

Individual or compiled

Plugins can be included individually, or all at once. Do not attempt to include both. Both bootstrap.js and bootstrap.min.js contain all plugins in a single file.

-

Plugin dependencies

+

Plugin dependencies

Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs (in notes like this one).

@@ -5718,9 +5716,9 @@ $('#example').tooltip(options)

Examples

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.

- +
-

Plugin dependency

+

Plugin dependency

Popovers require the tooltip plugin to be included in your version of Bootstrap.

@@ -6124,9 +6122,9 @@ $('.nav-tabs').button()

About

Get base styles and flexible support for collapsible components like accordions and navigation.

- +
-

Plugin dependency

+

Plugin dependency

Collapse requires the transitions plugin to be included in your version of Bootstrap.

@@ -6393,7 +6391,7 @@ $('#myCollapsible').on('hidden', function () {

Optional captions

Add captions to your slides easily with the .carousel-caption element within any .item. Place just about any optional HTML within there and it will be automatically aligned and formatted.

-

Responsive visibility

+

Responsive visibility

Captions are hidden by default and will show up only with viewports greater than 768px wide.