0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-30 12:24:19 +01:00
Commit Graph

107 Commits

Author SHA1 Message Date
Bardi Harborow
e4c0311626 Update broken links. 2017-01-05 11:17:22 +11:00
Mark Otto
308114f65c throw some margin utils to fix spacing 2016-12-25 15:48:44 -08:00
Mark Otto
2cad717634 space that out a smidge 2016-12-25 15:48:44 -08:00
Mark Otto
43ef8b129e fixes #21423 by updating docs to mention flex display instead of inline-block; clarifies follow-up text about use of the proper utilities 2016-12-24 14:21:04 -08:00
Bardi Harborow
855a67b1d6 Remove IE9 browser hacks. (#21393) 2016-12-22 13:41:31 -08:00
Mark Otto
c1cf6310f2 remove .mb-0 from static form controls to follow up #21270 2016-12-20 14:46:45 -08:00
Brad Kent
8250bd1b21 Fix #20936 make inline checkbox/radio markup same as stacked (#20995)
* #20936 make inline checkbox/radio markup same as stacked

* tweak language and remove extra blank line in snippet
2016-11-28 20:56:49 -08:00
Mark Otto
e17e75b757 Update inline forms (updated docs and new flexbox styles) (#21212)
* fix form-inline with flex enabled
* grunt
* fix alignment of labels
* shorter if syntax
* add new form example to docs for now
* update inline form docs usage guidelines
* responsive margins
* better margin utils
* fix sizing of .form-check
* flexbox alignment of .form-check
* no need to change direction
* support custom controls in inline form, for default and flex modes
* add example of custom select and checks to docs
* remove hidden and visible label variants since we cover that in the usage guidelines at the start and include hidden labels everywhere
* use property value instead of layout name
* apply to all labels
* add a visible label, space it out
* add id
2016-11-26 16:55:18 -08:00
Mark Otto
6910516d2c Merge pull request #21086 from ETNOL/feature/OmitXsFromGrid
Feature/omit xs from grid
2016-11-16 20:37:51 -08:00
Bardi Harborow
b4dbc69f0e Fix broken and redirected links. 2016-11-09 01:14:48 +11:00
Eric Nolte
cec0c7c6d6 Update docs to reflect new breakpoint naming convention 2016-11-04 10:54:34 -06:00
Mark Otto
6a11ae580d add horizontal form examples 2016-10-28 16:38:30 -07:00
Mark Otto
a6cd4937af rework some copy 2016-10-28 16:36:09 -07:00
Mark Otto
ab49e3f7e6 fixes #21000: Remove margin from static form control example 2016-10-27 08:58:12 -07:00
Mark Otto
3fa312ccdf Use correct class for validation coloring on label elements 2016-10-09 16:40:56 -07:00
Mark Otto
55e130f88f Update static form control
- Remove margin-bottom override in favor of .mb-0 utility class
- Apply the input line-height styles to match
- Remove the min-height to match the input
2016-10-09 16:16:13 -07:00
Mark Otto
6c867667a1 Merge branch 'v4-dev' into v4-utils 2016-10-09 14:36:43 -07:00
Bardi Harborow
2e69dfa8c1 Fix broken/redirected links, moving to HTTPS where possible. (#20557) 2016-10-03 09:55:59 -07:00
Mark Otto
7bf868a709 v4: Social meta tags (#20825)
* descriptions for getting started pages

* descriptions for layout

* add content page descriptions

* more descriptions, updates to some existing ones

* correct site url

* add social stuff to config for twitter cards

* add twitter meta tags; use large image for homepage and regular card for all others

* add the assets

* more site config

* more social shiz to partial, remove existing meta for the partial, remove page title from homepage for simpler if statements
2016-10-02 18:19:47 -07:00
Mark Otto
0be876359e Update docs to use new spacing util class names 2016-09-08 22:16:28 -07:00
Mark Otto
7e18498b64 Fixes #20608 and #20578: Consistent checkbox and radio markup (#20629)
- Update docs examples to use newer .form-check suite of classes
- Update form validation mixin to use newer classes as well
2016-09-05 11:39:37 -07:00
Alex Shafer
17bc19a805 Remove some strong language in docs/forms.md
Remember, there may be children/students using these examples...
2016-08-18 08:19:09 -04:00
Mark Otto
425e3d407e Bring back some 'help text' love for forms with .form-text
- Includes new class
- New docs to support it
- Rearranged older docs
2016-05-10 08:24:38 -07:00
Mark Otto
73d9815343 Merge branch 'v4-forms-cleanup' of https://github.com/twbs/bootstrap into v4-forms-cleanup 2016-05-09 19:25:42 -07:00
Mark Otto
35c11b69df Update checkboxes and radios docs
- Add lighter gray text to disabled state for .form-check
- Separate radios and checkboxes example
- Clarify docs
2016-05-09 11:00:36 -07:00
Mark Otto
707903c60c oops, another checkbox needing a new class 2016-05-08 23:14:28 -07:00
Mark Otto
a6d48b7ee3 add options to the examples so they render properly 2016-05-08 22:53:32 -07:00
Mark Otto
a803ab7f58 fix remaining checkboxes and radios in docs 2016-05-08 22:53:17 -07:00
Mark Otto
d95aad695c fix broken markdown formatting 2016-05-08 22:52:58 -07:00
Mark Otto
dde85e9888 Redo checkboxes and radios
- Move disabled radio and checkbox styles to Reboot
- Collapse .radio and .checkbox into single class, .form-check
- Collapse .radio-inline and .checkbox-inline into single class, .form-check-inline
- Require classes for sub-elements in both new classes
2016-05-08 16:05:27 -07:00
Mark Otto
bd904d70c9 lol my bad, fix that last one too 2016-05-08 15:31:53 -07:00
Mark Otto
b2dd8e1694 fix validation of dupe ids 2016-05-08 13:38:34 -07:00
Mark Otto
0a4d3155ab Fixes #18573: Change name of .form-control-label to .col-form-label (and .form-control-legend to .col-form-legend) to reiterate use for only grid layouts 2016-04-08 21:05:23 -05:00
Mark Otto
91627de4de fix up broke forms styles and docs example for the grid 2016-04-08 20:58:36 -05:00
Mark Otto
80144d74d7 Merge branch 'v4-dev' into v4-forms-cleanup 2016-04-08 20:55:19 -05:00
Patrick H. Lauke
c25556e918 Appropriate use of fieldset/div, legend, callout for hidden/no label alternatives 2016-02-19 15:51:59 +00:00
Mark Otto
0c46412a4c Merge branch 'v4-dev' into v4-custom-forms-validation 2016-02-13 17:55:23 -08:00
Mark Otto
4724110583 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-02-13 17:54:40 -08:00
Chris Rebert
a1bf344c4f Merge pull request #18925 from twbs/fixes-18922
Make translation of custom file input text easier
2016-02-09 01:38:14 -08:00
Mark Otto
4972f87724 Update form validation docs
- Give some guidance on when someone might use any of the three
validation states. Fixes #18702.

- Improve the examples to provide examples of supporting validation
text with the new `.form-control-feedback`, as well as always-present
help text. Nullifies #18704.
2016-02-09 01:12:49 -08:00
Mark Otto
5744c58556 clarify help text class in docs 2016-02-09 01:10:55 -08:00
Mark Otto
371fbdb0e8 .text-help is dead, long live .form-control-feedback
Uses a new more specific class, adds some basic spacing, and clarifies
that this class is only for validation feedback.

Clears up the help text class question in
https://github.com/twbs/bootstrap/pull/18704#issuecomment-168241731 and
addresses the vertical spacing in #18703.
2016-02-09 01:10:05 -08:00
Mark Otto
af400363d2 Update grid docs for form layouts
- Add container to fix padding in mobile views
- Add large and small variations
- Cross link grid classes and mixins
- Fix up some words
2016-02-09 00:36:05 -08:00
Mark Otto
d7d32c475f clearer copy 2016-02-09 00:20:18 -08:00
Mark Otto
09aefaa2af Alternate fix to #17965: Updates to use the new class name and adds some basic docs for custom checkbox/radio validation 2016-02-08 23:21:32 -08:00
Chris Rebert
44eedd2115 docs/components/forms.md: Fix typo: non => none
Fixup for 365db6e3a8
/fyi @mdo
[skip sauce]
2016-02-07 17:50:38 -08:00
Mark Otto
365db6e3a8 clarify some docs for form validation including quick mention for customizing or disabling icons 2016-02-06 18:16:37 -08:00
cndpzc
6384789f95 Fix typo in forms.md
Closes #19049
2016-01-28 20:45:59 -08:00
Chris Rebert
aa62428cdf Add docs for custom file input's text and $custom-file-text
[skip sauce]
2016-01-26 13:19:19 -08:00
Raphael Ackermann
740ffb8ed4 typo: from controls --> form controls 2016-01-14 09:59:40 +01:00