From: Mark Otto Date: Sat, 23 Dec 2017 00:13:01 +0000 (-0800) Subject: Form check markup v2 (#25050) X-Git-Tag: v4.0.0-beta.3~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16f14172406fd88ddb21242ea361833ec19d4fc6;p=thirdparty%2Fbootstrap.git Form check markup v2 (#25050) * match layout behaviors * ditch the indicator as separate element for psuedo-elements on the label * move disabled to attribute only on input * redo default inline check to support new markup * redo inline forms * clean up vars * update validation mixin to new structure * update checks in docs * linting for for/id attributes --- diff --git a/docs/4.0/components/dropdowns.md b/docs/4.0/components/dropdowns.md index 926729a3d9..b49e84f920 100644 --- a/docs/4.0/components/dropdowns.md +++ b/docs/4.0/components/dropdowns.md @@ -615,8 +615,8 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
-
@@ -639,8 +639,8 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
-
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md index d485ef4cdd..ee67ffa800 100644 --- a/docs/4.0/components/forms.md +++ b/docs/4.0/components/forms.md @@ -26,10 +26,8 @@ Here's a quick example to demonstrate Bootstrap's form styles. Keep reading for
- + +
@@ -154,7 +152,9 @@ If you want to have `` elements in your form styled as plain tex Default checkboxes and radios are improved upon with the help of `.form-check`, **a single class for both input types that improves the layout and behavior of their HTML elements**. Checkboxes are for selecting one or several options in a list, while radios are for selecting one option from many. -Disabled checkboxes and radios are supported, but to provide a `not-allowed` cursor on hover of the parent `