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

452 Commits

Author SHA1 Message Date
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
4a064209ba Merge branch 'v4-dev' into v4-forms-cleanup 2016-05-08 15:25:26 -07:00
Mark Otto
80341bf709 Merge pull request #19476 from delftswa2016/v4-card-docs
Added explicit commentary to .card-* classes
2016-05-08 14:20:12 -07:00
Mark Otto
b2dd8e1694 fix validation of dupe ids 2016-05-08 13:38:34 -07:00
Mark Otto
9f2ab98026 Merge branch 'v4-dev' into v4-forms-cleanup 2016-04-23 14:24:08 -07:00
Chris Rebert
315755a414 Port #19741 to v4
[ci skip]
2016-04-15 12:17:44 -07:00
Patrick H. Lauke
1bfcf05f65 Add aria-label and callout about labelling pagination components 2016-04-10 15:01:06 +01: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
Teo Dell'Amico
1b35105852 Add display utility classes (.d-{inline,block,inline-block}); fixes #19343
Refs #19665
[skip sauce]
2016-04-06 15:49:08 -07:00
Chris Rebert
3165835a1b Add docs for .w-100 utility class
[skip sauce]
2016-04-06 15:06:25 -07:00
Kay.L
cc5e248aa2 Docs: Correct arg offsets to offset in tooltips & popovers
[skip sauce]
2016-04-02 10:38:04 -07:00
Floris Verburg
68975f504f Fixed typos 2016-03-11 14:21:15 +01:00
Floris Verburg
28f5c60419 Added explicit commentary to .card-* classes 2016-03-11 12:14:08 +01:00
Chris Rebert
b8fceb17a4 Remove iOS virtual keyboard bug section from docs
The modal backdrop positioning bug related to iOS' virtual keyboard doesn't seem to reproduce in iOS 8.0+.
(Possibly as a side-effect of https://bugs.webkit.org/show_bug.cgi?id=153224 )
Refs #9023
[skip sauce]
2016-03-06 22:57:42 -08:00
Patrick H. Lauke
13194ada33 Merge pull request #19277 from patrickhlauke/v4-dev-forms-fixes#2
Forms fixes: fieldset/legend, new .form-control-legend, accessibility advice
2016-02-25 11:28:16 +00:00
Paul Rose
723f82eac2 Correct grammar 2016-02-24 23:04:38 -06: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
XhmikosR
79067a6440 Fix validation errors.
[skip sauce]
2016-02-19 11:26:54 +02:00
Jeremy Kratz
dd47423ae6 Docs: Add example of .dropdown-menu-right
Fixes #18493
Closes #18836
[skip sauce]
2016-02-18 18:51:25 -08:00
Russell Beye
e91c9e2898 Document .pos-f-t utility class; fixes #18494
Add documentation to components/utilities to publicly expose the
.pos-f-t utility class to users.

Closes #18799
[skip sauce]
2016-02-18 18:33:16 -08:00
Tobias
bf73425277 Document the possibility of extending the $spacers map
It's very handy to add another spacer size (e.g. `4`) which can easily be done by extending the map.
Example:
```
$spacers: (
  0: (
    x:   0,
    y:   0
  ),
  1: (
    x:   $spacer-x,
    y:   $spacer-y
  ),
  2: (
    x:   ($spacer-x * 1.5),
    y:   ($spacer-y * 1.5)
  ),
  3: (
    x:   ($spacer-x * 3),
    y:   ($spacer-y * 3)
  ),
  4: (
    x:   ($spacer-x * 5),
    y:   ($spacer-y * 5)
  )
);
```

Closes #18706
[skip sauce]
2016-02-18 18:18:47 -08:00
Patrick H. Lauke
40aee9325d - Conveying color meaning to AT as markdown include
- Add/replace callout for color and AT with include
2016-02-17 10:53:50 +00:00
Mark Otto
d6207d852a Merge branch 'fix-19094' of https://github.com/ameya-pandilwar/bootstrap into ameya-pandilwar-fix-19094 2016-02-16 20:28:51 -08:00
Mark Otto
a2fe2aaced Merge pull request #19116 from twbs/docs-17264
Docs: Add captions above progress bars
2016-02-16 20:26:41 -08:00
Igor Tarasov
c27ff124c3 Fix docs for new naming of .btn-outline
This one was overlooked at edit

See #17719 and #19199
2016-02-16 08:20:44 +03: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
Ameya Pandilwar
8cd2778148 Updated label to tag in list-group example 2016-02-11 18:59:47 -05:00
Ameya Pandilwar
4ed5fa77ff Rename .label class to .tag 2016-02-11 03:54:30 -05: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
Mark Otto
c8bd62b214 clarify, fix margin 2016-02-08 22:13:30 -08:00
Chris Rebert
1d14d5c404 Fix apparent typo in b8ff763d62
[ci skip]
2016-02-08 03:05:03 -08:00
Chris Rebert
72f10dd7e6 Only caption 1st set of progress bar examples 2016-02-08 00:39:33 -08:00
Mark Otto
9c3ba540b4 add example of multiple add-ons to docs 2016-02-07 23:48:47 -08:00