diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 7ab9f58429..b1369c96d8 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -443,6 +443,19 @@ section > ul li { +/* Misc docs stuff +-------------------------------------------------- */ + +/* Pseudo :focus state for showing how it looks in the docs */ +input.focused { + border-color: rgba(82,168,236,.8); + outline: 0; + outline: thin dotted \9; /* IE6-9 */ + -moz-box-shadow: 0 0 8px rgba(82,168,236,.6); + box-shadow: 0 0 8px rgba(82,168,236,.6); +} + + /* Responsive variations -------------------------------------------------- */ diff --git a/docs/components.html b/docs/components.html index 76035431a2..1d4db2f8f3 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1578,9 +1578,6 @@

Use the alerts jQuery plugin for quick and easy dismissal of alerts.

-
- -

Options

For longer messages, increase the padding on the top and bottom of the alert wrapper by adding .alert-block.

@@ -1599,51 +1596,28 @@ -
- -

Contextual alternatives

Add optional classes to change an alert's connotation.

-

Error or danger

Oh snap! Change a few things up and try submitting again.
-
-
-<div class="alert alert-error">
-  ...
-</div>
-
- -

Success

-
Well done! You successfully read this important alert message.
-
-
-<div class="alert alert-success">
-  ...
-</div>
-
- -

Information

-
Heads up! This alert needs your attention, but it's not super important.
-<div class="alert alert-info">
-  ...
-</div>
+<div class="alert alert-error">... </div>
+<div class="alert alert-success">...</div>
+<div class="alert alert-info">...</div>
 
- diff --git a/docs/css.html b/docs/css.html index 97d25136d7..9d215b5bd8 100644 --- a/docs/css.html +++ b/docs/css.html @@ -1590,10 +1590,10 @@ For example, <code>&lt;section&gt;</code> should be wrapped

Input focus

We remove the default outline styles on some form controls and apply a box-shadow in its place for :focus.

- +
-<input class="input-xlarge" id="focusedInput" type="text" value="This is focused...">
+<input id="focusedInput" type="text" value="This is focused...">
 

Invalid inputs

diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 03110beacc..0172ada8a2 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -1509,9 +1509,6 @@

Use the alerts jQuery plugin for quick and easy dismissal of alerts.

-
- -

Options

For longer messages, increase the padding on the top and bottom of the alert wrapper by adding .alert-block.

@@ -1530,51 +1527,28 @@ -
- -

Contextual alternatives

Add optional classes to change an alert's connotation.

-

Error or danger

Oh snap! Change a few things up and try submitting again.
-
-
-<div class="alert alert-error">
-  ...
-</div>
-
- -

Success

-
Well done! You successfully read this important alert message.
-
-
-<div class="alert alert-success">
-  ...
-</div>
-
- -

Information

-
Heads up! This alert needs your attention, but it's not super important.
-<div class="alert alert-info">
-  ...
-</div>
+<div class="alert alert-error">... </div>
+<div class="alert alert-success">...</div>
+<div class="alert alert-info">...</div>
 
- diff --git a/docs/templates/pages/css.mustache b/docs/templates/pages/css.mustache index 2190d781d3..682bda94bd 100644 --- a/docs/templates/pages/css.mustache +++ b/docs/templates/pages/css.mustache @@ -1529,10 +1529,10 @@ For example, <code>&lt;section&gt;</code> should be wrapped

Input focus

We remove the default outline styles on some form controls and apply a box-shadow in its place for :focus.

- +
-<input class="input-xlarge" id="focusedInput" type="text" value="This is focused...">
+<input id="focusedInput" type="text" value="This is focused...">
 

Invalid inputs