From be299c1b8bdff1e247af9ab211f3db89c24e1836 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 5 Aug 2015 23:14:53 -0700 Subject: switch to primary button there --- docs/components/buttons.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/components') diff --git a/docs/components/buttons.md b/docs/components/buttons.md index 77d090cbe..e0f6796b9 100644 --- a/docs/components/buttons.md +++ b/docs/components/buttons.md @@ -48,10 +48,10 @@ The `.btn` classes are designed to be used with the ` - - +Link + + + {% endexample %} ## Sizes -- cgit v1.2.3 From 36800a2740cd0f0d6150e27a5311121fccc67eb2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 5 Aug 2015 23:15:12 -0700 Subject: primary btn there as well --- docs/components/forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components') diff --git a/docs/components/forms.md b/docs/components/forms.md index 95a2c5992..976655eb7 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -79,7 +79,7 @@ Remember, since Bootstrap utilizies the HTML5 doctype, **all inputs must have a Check me out - + {% endexample %} -- cgit v1.2.3 From 14d8c295964857f14ad3d5bb98f24f8274296a05 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 5 Aug 2015 23:50:27 -0700 Subject: fix broken markup --- docs/components/list-group.md | 1 - 1 file changed, 1 deletion(-) (limited to 'docs/components') diff --git a/docs/components/list-group.md b/docs/components/list-group.md index a15c8d8fe..3532b3998 100644 --- a/docs/components/list-group.md +++ b/docs/components/list-group.md @@ -129,5 +129,4 @@ Add nearly any HTML within, even for linked list groups like the one below.

Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.

- {% endexample %} -- cgit v1.2.3 From 7c3f5b6d59a3479c92cd85b2a1f72a3c6a346743 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 8 Aug 2015 14:15:09 -0700 Subject: rewrite some forms docs, use new validation styles and icons --- docs/components/forms.md | 119 ++++------------------------------------------- 1 file changed, 9 insertions(+), 110 deletions(-) (limited to 'docs/components') diff --git a/docs/components/forms.md b/docs/components/forms.md index 976655eb7..bfb24bd28 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -15,7 +15,7 @@ Bootstrap provides several form control styles, layout options, and custom compo Bootstrap's form controls expand on [our Rebooted form styles](/components/reboot/#forms) with classes. Use these classes to opt into their customized displays for a more consistent rendering across browsers and devices. The example form below demonstrates common HTML form elements that receive updated styles from Bootstrap with additional classes. -Remember, since Bootstrap utilizies the HTML5 doctype, **all inputs must have a `type` attribute** for proper rendering. +Remember, since Bootstrap utilizes the HTML5 doctype, **all inputs must have a `type` attribute**. {% example html %}
@@ -425,16 +425,6 @@ When you need to place plain text next to a form label within a form, use the `.
{% endexample %} -## Focus state - -We remove the default `outline` styles on some form controls and apply a `box-shadow` in its place for `:focus`. Shown below is a custom input that only **demonstrates** the `:focus` state on an `` with `.form-control`. - -
-
- -
-
- ## Disabled states Add the `disabled` boolean attribute on an input to prevent user interactions. Disabled inputs appear lighter and add a `not-allowed` cursor. @@ -534,6 +524,7 @@ Block level help text for form controls. Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add `.has-warning`, `.has-error`, or `.has-success` to the parent element. Any `.control-label`, `.form-control`, and `.help-block` within that element will receive the validation styles. +{% comment %} {% callout warning %} #### Conveying validation state to assistive technologies and colorblind users @@ -541,20 +532,22 @@ Using these validation styles to denote the state of a form control only provide Ensure that an alternative indication of state is also provided. For instance, you can include a hint about state in the form control's `