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

709 Commits

Author SHA1 Message Date
Mark Otto
5abd0ed521 move multiple carousels section up, add responsive classes there, reformat some stuff 2016-12-04 20:37:21 -08:00
Mark Otto
b0db5788df break up example into three separate examples to show flexibility 2016-12-04 20:07:01 -08:00
Mark Otto
d57ec90243 clear up docs intro 2016-12-04 20:06:45 -08:00
Mark Otto
a5c2562c06 update left/right classes on controls and add img classes 2016-12-04 19:53:37 -08:00
Starsam80
ea9f846e0f Remove .float-left from card header nav (#21292) 2016-12-04 16:46:57 -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
2f9a94caac Inverse card improvements (#21242)
* Add a color to .card-inverse to account for non .card- prefixed classes

* reword the docs to better articulate what the class does
2016-11-28 13:22:51 -08:00
Mark Otto
5db88075c1 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-11-27 22:29:33 -08:00
Mark Otto
1562a2db4c make a brief mention of #20433 2016-11-27 22:29:24 -08:00
Starsam80
8d031090d0 Rename .flex-xs-* and .flex-items-xs-* to .flex-* and .flex-items-* (#21218)
* Clean up _flex.scss a little

This commit just cleans up the formating of _flex.scss by changing
it so that it uses a single `@include media-breakpoint-up` instead
of multiple. It also aligns all of the CSS properties so it looks
a bit nicer.

* Remove `-xs` from flex classes
2016-11-27 15:19:27 -08:00
Starsam80
b1e8d60348 Remove 'xs' from text utilities (#21217) 2016-11-26 20:33:46 -08:00
Mark Otto
87a0749f89 Merge branch 'container-tooltip-option' into v4-dev 2016-11-26 17:02:40 -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
25216349b3 add some disabled navbar link examples 2016-11-26 00:19:30 -08:00
andyexeter
0ded703f6b Implement container option for tooltips and popovers. 2016-11-26 19:13:15 +11:00
Mark Otto
d315c9499d v4: Flexbox nav options (#21201)
* Add some flexbox nav components
  - Includes .nav-justified for inline, tab, and pill nav components
  - Includes example of using the flex utils (.d- and .flex-items-) for centered nav
* redo heading hierarchy a bit
2016-11-25 17:46:13 -08:00
Mark Otto
83c8bfa30d Fixes #21195: Add more table of contents to pages with longer contents 2016-11-25 14:01:06 -08:00
Mark Otto
ec47feefd6 Fixes #21114: clarify by removing mention of nesting 2016-11-23 11:35:41 -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
ffaad0a819 Responsive display utilities (#20934)
* Explore responsive display utils, but with a twist: lowest breakpoint has no breakpoint modifier in the class name
* make floats use the same format, add float-none mixin
2016-10-31 21:27:56 -07:00
Mark Otto
f734814f6b Make spacer utils responsive (#20926)
* make spacer utils responsive by grid tier
* update scale to add two levels, document them
* change responsive spacing utils to avoid the xs abbreviation in the class name for that tier
* update code snippet to match source
* update usage in our docs
* linter
* docs updates
2016-10-31 21:13:05 -07:00
Mark Otto
7ba4ac0cd3 add specific docs example for badged list group items
floated content has to come first in the DOM, otherwise you can get alignment bugs. in flexbox though, that's not the case. as such, i'm adding this example code to guide folks to the changes needed to move between default and flex modes.
2016-10-30 14:13:06 -07: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
63a524b352 Merge pull request #19887 from ryanburnett/v4-dev
Alphabetized carousel options & added "ride" to it
2016-10-27 22:21:06 -07:00
judetucker
b3944c2334 cleaned up the docs to complete the change from tag to badge 2016-10-27 15:03:45 -07:00
Mark Otto
da6b5a0551 Merge pull request #21028 from judetucker/card_docs_float
Docs correction to change .pull to .float on Card docs
2016-10-27 11:51:06 -07:00
Mark Otto
8ed7ebcd63 fixes #18565: mention carousel sizing in docs 2016-10-27 09:19:07 -07:00
Mark Otto
ab49e3f7e6 fixes #21000: Remove margin from static form control example 2016-10-27 08:58:12 -07:00
Einar Gangsø
45cbbad871 Docfix: Typo default -> secondary, and reorder 2016-10-27 10:12:14 +02:00
judetucker
7cc086e2c1 change the header nav description to include the new float 2016-10-26 22:05:46 -07:00
Mark Otto
d9fa3fd797 Rename .tag to .badge to avoid conflicting with WordPress 2016-10-26 18:33:58 -07:00
Johann-S
9d129a43d6 Use a single class name for opened/expanded/shown state of widgets 2016-10-25 14:07:41 +02:00
Mark Otto
f8e4a531cf alt attributes 2016-10-19 00:30:59 -07:00
Mark Otto
4ee28feb14 More navbar example content with forms 2016-10-19 00:18:47 -07:00
Mark Otto
036bb85b21 Tweak that navbar brand image alignment with new vertical align utils 2016-10-18 20:04:55 -07:00
Mark Otto
c7ad18117d add examples of images in the navbar-brand section 2016-10-18 18:47:49 -07:00
Mark Otto
b8cc944155 more html linting 2016-10-17 23:45:25 -07:00
Mark Otto
9bc5dba777 html linting 2016-10-17 23:37:02 -07:00
Mark Otto
87689833fb docs copy 2016-10-17 22:16:28 -07:00
Mark Otto
25e63a7b57 document new navbar classes and styles, update responsive variation, fix broken float classes 2016-10-17 22:09:11 -07:00
Mark Otto
19d6092364 drop data-target so the dropdown link works 2016-10-16 20:45:12 -07:00
Mark Otto
247ad23e97 Merge branch 'v4-navbars' of github.com:twbs/bootstrap into v4-navbars 2016-10-16 19:46:55 -07:00
Mark Otto
b4cdccba84 Merge branch 'v4-dev' into v4-navbars 2016-10-16 19:46:47 -07:00
Mark Otto
7a3459c0b1 Merge pull request #20890 from bardiharborow/scrollspy-docs
Update scrollspy navbar example.
2016-10-15 13:39:41 -07:00
Rodrigo Castro
6e2d46db86 Fixes #20897 - Changed btn-default for btn-secondary on V4's Modal documentation page 2016-10-13 15:35:20 -03:00
Bardi Harborow
9b86a6b41d Update scrollspy navbar example. 2016-10-13 11:08:15 +11:00
Johann-S
de1255b14e Collapse using card component 2016-10-11 13:25:36 +02:00
Mark Otto
06fab9fc50 remove arrows from popovers docs 2016-10-09 20:03:43 -07:00
Mark Otto
ab2480f7ca remove arrow from static html demos 2016-10-09 20:02:24 -07:00
Mark Otto
3fa312ccdf Use correct class for validation coloring on label elements 2016-10-09 16:40:56 -07:00
Mark Otto
b7444eb82a Don't use collapse classes on elements with padding
Fixes #20600.
2016-10-09 16:32:19 -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
b04e9fb87c separate out the custom html example 2016-10-09 15:35:52 -07:00
Mark Otto
d212ff80ae Merge branch 'v4-dev' of https://github.com/dumb/bootstrap into dumb-v4-dev 2016-10-09 15:29:26 -07:00
Mark Otto
750a9d7d80 fix bad merge 2016-10-09 15:08:34 -07:00
Mark Otto
7dee5560a1 Merge branch 'v4-dev' into v4-navbars 2016-10-09 15:04:32 -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
Patrick van Hesteren
98671231ec Updated documentation of the focus option from the modal component. (#19409) 2016-10-02 23:05:59 -07:00
Mark Otto
1db3586dc0 Merge branch 'v4-dev' into v4-navbars 2016-10-02 19:26:29 -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
3dc4b3647c Rename pull-*-{left|right} classes to .float-*-left and .float-*-right 2016-09-26 00:54:10 -07:00
Mark Otto
d11c93341f fix that navbar toggler example in docs 2016-09-15 13:32:09 -07:00
Mark Otto
64dcb8b507 Merge branch 'v4-dev' into v4-navbars 2016-09-15 10:20:57 -07:00
Mark Otto
8104bd7a02 v4: Update tooltip placement docs (#20696)
* Fixes #19796: Remove mention of tooltip auto placement

* add note to migration docs
2016-09-11 22:30:37 -07:00
Mark Otto
818d1f53a5 Merge branch 'v4-hamburger-fix2' of https://github.com/patrickhlauke/bootstrap into patrickhlauke-v4-hamburger-fix2 2016-09-11 21:57:38 -07:00
Mark Otto
0be876359e Update docs to use new spacing util class names 2016-09-08 22:16:28 -07:00
Kovah
076a950442 Docs: Breaks out Utilities into separate section and optimizes its pages (#20678) 2016-09-08 21:48:17 -07:00
Mark Otto
a2b33257fc fix spacing a bit 2016-09-07 21:21:30 -07:00
Mark Otto
7df7f40a33 Merge branch 'patch-21' of https://github.com/kkirsche/bootstrap into kkirsche-patch-21 2016-09-07 21:08:02 -07:00
Mark Otto
07752bab7b v4: Card image fixes (#20667)
* Add .img-fluid to card images in columns to ensure proper resizing
* change that variable from regular value to variable
* use calc to figure out a tighter border for card images
2016-09-07 20:40:12 -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
Starsam80
a996eb344d Fix segmented buttons in input group docs (#20489)
Fixes #20484
2016-09-04 17:50:39 -07:00
Mark Otto
c2b8012764 minor docs edit to fix #20538 2016-08-21 19:33:54 -07:00
Mark Otto
ab9d351860 fixes #19930: update split dropup variation to include modifier 2016-08-21 19:07:15 -07:00
Mark Otto
bf056d45be Fixes #20495: Update heading hierarchy to avoid nested ToC that leads to hiding of entire ToC 2016-08-21 17:18:38 -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
Pierre-Denis Vanduynslager
0f25df1dff Fix dropdown example in docs (Fix #20410) 2016-08-02 01:38:32 -04:00
Mark Otto
7fd00263e3 Merge branch 'v4-dev' into v4-navbars 2016-07-23 21:05:18 -07:00
Patrick Yeo
6157001bcd Tooltip Static Demo uses v3 class names 2016-07-21 12:44:26 -07:00
Patrick H. Lauke
a426c4951c remove navbar-toggler unicode symbol in HTML
remove current HTML-based symbol, add any missing aria-* attributes
2016-07-19 22:11:44 +01:00
Pvanhesteren
ef9099a237 Port #19410 to v4
Clarify valid values of Carousel's `pause` option

Fixes #18205

[skip sauce]
2016-07-17 00:17:30 -07:00
Mark Otto
d12804eb4d Fixes #17193: Remove mention and link to non-existant transitions plugin; that intro paragraph was two dupe sentences 2016-06-12 21:25:04 -07:00
dumb
6e7bf66de9 Fix issue #16941 - HTML example in tooltip docs
Added an example tooltip that uses HTML content, and expanded the
description of the html option to clarify usage.
2016-05-16 16:18:51 -04:00
Mark Otto
d4457b3303 improve docs examples for .navbar-text 2016-05-15 12:37:47 -07:00
Mark Otto
dfa2536c3b Restore .navbar-text and add some basic examples to the docs /cc #18049 2016-05-15 12:29:56 -07:00
Mark Otto
9c0c5fd9b1 Merge branch 'v4-navbars' of https://github.com/twbs/bootstrap into v4-navbars 2016-05-14 12:41:48 -07:00
Mark Otto
f98f9c9155 add docs note to clear up #18599--active states for navbars can be on anchors or parents 2016-05-14 12:41:26 -07:00
Mark Otto
05bdecd0b0 Add dropdown menu example to navbar docs 2016-05-13 08:19:16 -07:00
Heiko Jansen
f4c86ffc77 Remove reference to "loaded.bs.modal" event
Since the "remote" option is no longer available in v4 the reference to the "loaded.bs.modal" event is no longer needed, too.
2016-05-13 14:36:46 +02:00
Mark Otto
9c100a6a9f clarify example with code comment 2016-05-12 19:47:49 -07:00
Mark Otto
083271ae48 Update collapsible navbar docs
- Add .text-muted for text color control over .bg-inverse in the examples
- Add a dark navbar collapse example
2016-05-12 11:24:43 -07:00
Ryan Burnett
0747484188 Alphabetized carousel options & added "ride" to it 2016-05-12 09:40:23 -04:00
Mark Otto
e70f7162ec Fix #17511 by adding mention to the docs for how to extend the card columns 2016-05-11 23:13:52 -07:00
Mark Otto
7cc802ea78 Consolidate button-dropdown.md with dropdowns.md to simplify docs 2016-05-11 14:13:16 -07:00
Mark Otto
fda92d02a3 Unfuck those split button dropdowns
- Really we didn't need to do any of that strip units stuff to generate six new variables, two for each button size
- Using sibling selectors, we can target those split button dropdown toggles using the .dropdown-toggle-split class, and adjust padding and margin as needed
- Now, we nuke the margin-left from the ::after generated caret and tighten up the padding so that those split toggles don't look huge next to their main button
2016-05-11 11:36:09 -07:00
Mark Otto
b280e36b78 Merge branch 'v4-dev' into v4-split-buttons 2016-05-11 11:07:06 -07:00
Mark Otto
9d6b41c127 Merge pull request #19141 from twbs/v4-forms-cleanup
v4: Forms cleanup
2016-05-11 10:49:31 -07: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
5aa32b3f3a clarify docs comment from #19459 2016-05-09 10:29:04 -07:00
Mark Otto
9f6e881d00 Merge pull request #19459 from delftswa2016/v4-card-ordering
Explicitly state the ordering of cards in card columns in the docs
2016-05-09 10:14:50 -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
Floris Verburg
d330eaee50 Explicitly state the ordering of cards in card columns 2016-03-10 15:10:50 +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
Mark Otto
23d47122ef Merge branch 'multiple-input-group-addon' of https://github.com/vicary/bootstrap into vicary-multiple-input-group-addon 2016-02-07 23:41:35 -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
Chris Rebert
5142ac2389 Docs: Add captions above progress bars; refs #17264
[skip sauce]
2016-02-07 13:13:07 -08:00
Chris Rebert
8dfd30cc21 Docs: Add "Horizontal centering" subheading for .m-x-auto
Refs #19102
[skip sauce]
2016-02-07 03:00:59 -08:00
Chris Rebert
3bd8dee1c7 docs/components/modal.md: Fix typo
Fixup for #19105
[ci skip]
2016-02-06 21:29:30 -08:00
Mark Otto
d7d0e186bd Merge branch 'v4-dev' into v4-split-buttons 2016-02-06 20:33:26 -08:00
Mark Otto
6c2b0d2b76 Updat modal sizing
- Switch from width to max-width for all widths to avoid scaling outside viewport bounds
- Rejigger the media queries for a more logical breakpoint for the large and small modal sizes
- Avoids changing the width of the default modal (nullifying #17794 and fixing #17581)
2016-02-06 20:18:48 -08:00
Mark Otto
cbda7e3862 Revamp list group items built with anchors and buttons
- Make it an explicit class instead of qualifying with elements (.list-group-item-action)
- Rearrange the entire file for more straightforward flow
- Fix text-decoration bug as a result of the reorder
- Switch from h4's to h5's in docs
- Update docs to merge anchors and buttons sections; clearify usage guidelines there, too
- Nullify #17479 in the process
2016-02-06 19:50:00 -08:00
Mark Otto
b8ff763d62 Tweak disabled button docs to help out #17231 2016-02-06 18:34:52 -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
Mark Otto
c59dbe56fe Drop .center-block for .m-x-auto
- Both classes do about the same thing, but with different names
- Clarifies docs for .m-x-auto requiring a fixed width block element for it to work
- Add missing heading for clearfix section in docs (unrelated)
2016-02-06 15:40:25 -08:00
Mark Otto
b75116c679 Merge branch 'v4-card-fuckery' into v4-dev 2016-02-03 20:53:30 -08:00
Mark Otto
b75a0ca979 fuck that other class, let's just get tabs and pills in there 2016-02-03 20:52:33 -08:00
Mark Otto
b4a2b99395 Dump the type margin overrides in alerts for utils, document that particular example, sidesteps part of #18884 2016-02-03 20:43:12 -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
Abdullah Alrasheed
497d28843e DOCS - Fix a link in popover for v4 2016-01-24 13:31:27 +08:00
Mark Otto
955e0405ea fuck around with card borders and more 2016-01-17 18:55:24 -08:00
Mark Otto
fb14ee70d0 Merge pull request #18885 from twbs/list-group
Remove near-duplicate contextual list group example
2016-01-17 15:25:04 -08:00
Quy
8e00f623b3 Use mixin syntax 2016-01-15 09:49:56 -08:00
Raphael Ackermann
740ffb8ed4 typo: from controls --> form controls 2016-01-14 09:59:40 +01:00
Chris Rebert
5cde72fae3 Remove near-duplicate contextual list group example
[skip sauce]
2016-01-13 18:12:16 -08:00
Chris Rebert
5e9b365b25 List group docs: rm unnecessary <p> from Markdown source
[skip sauce]
2016-01-13 15:57:54 -08:00
Bass Jobsen
db7b8362fd remove link to the pager component
see https://github.com/twbs/bootstrap/pull/18782
2016-01-11 09:47:36 +01:00
Mark Otto
f6ad665c26 Switch up some split button stuff
- New vars
- New function for stripping units so we can combine rems and ems in math functions
- Add new classes for sizing and spacing around the split dropdown toggle so that the caret isn't misaligned
2016-01-08 13:23:24 -08:00
Mark Otto
b09f70e101 clear up and split out breadcrumb examples 2016-01-06 23:58:07 -08:00
Chris Rebert
d5ec7e3f50 Merge pull request #18784 from twbs/input-types
Add comprehensive `.form-control` example(/testcase) to docs
2016-01-06 19:09:05 -08:00
Chris Rebert
3f04c082dd Merge branch 'input-type-reset-btn' into v4-dev 2016-01-06 16:25:32 -08:00
Chris Rebert
56746938ed Add <input type="reset"> example to Button Tags docs for completeness
[skip sauce]
2016-01-06 16:24:43 -08:00
Chris Rebert
3d5b340217 Add comprehensive .form-control example(/testcase) to docs
Put all the textual input types right next to each other for easy visual comparison.
Refs #17308, #18763

[skip sauce]
2016-01-06 15:57:19 -08:00
Mark Otto
416efb8538 Merge pull request #18783 from twbs/v4-nav-cleanup
v4: Nav cleanup
2016-01-06 15:55:49 -08:00
Mark Otto
9c19dc91da Nav docs updates
- More consistent states and labels in nav examples
- Add stacked pills example for with <nav> element
2016-01-06 15:39:38 -08:00
Chris Rebert
cbe9b7a035 Tweak phrasing of .tab('show') docs
Refs #18708
[ci skip]
2016-01-06 15:02:58 -08:00
Chris Rebert
c3ae4be961 Merge pull request #18708 from Johann-S/showDoc
Add documentation for Tab plugin's `show` method
2016-01-06 15:00:45 -08:00
Mark Otto
d5b2dea1a5 Rip out the pager component 2016-01-06 14:47:33 -08:00
Chris Rebert
602b107edb Remove usages of and references to <input type="datetime">
It has been removed from the HTML specification: https://github.com/whatwg/html/issues/336
Only Presto Opera ever implemented a special UI for it.

[skip sauce]
2016-01-06 11:28:17 -08:00
Chris Rebert
1300af1d2d Update docs to account for #18772
/fyi @mdo

[skip sauce]
2016-01-06 01:33:13 -08:00
Mark Otto
5c803b656c update docs to match 2016-01-06 01:11:22 -08:00
Mark Otto
2db13042bd Merge pull request #18501 from petetnt/card-outline-docs
Document .card-*-outline variants
2016-01-06 01:09:58 -08:00
Mark Otto
d8d67eaa6a rewrite custom file input component to use classes over nested elements 2016-01-05 23:45:44 -08:00
Mark Otto
8d66b9956c Change .c-select to .custom-select 2016-01-05 23:34:51 -08:00
Mark Otto
42a50e7d2c clarify docs 2016-01-05 23:28:26 -08:00
Mark Otto
ef3061d5f1 update forms docs
- add more details on custom checkboxes and radios for how we handle the states and how the css works
- create a disabled custom checkboxes and radios example
2016-01-05 23:26:36 -08:00
Mark Otto
09c3942986 Merge pull request #18662 from patrickhlauke/docs-collapse-accessibility-patch1
Docs: accessibility fix-up of collapsible content navbar, change site-wide main navbar
2016-01-03 19:14:14 -08:00
Mark Otto
0a3573b235 Merge pull request #18686 from patrickhlauke/docs-pagination-kbd1
Docs: add note and advice about .disabled and keyboard focus
2016-01-03 19:12:33 -08:00
Johann-S
e36fd5a9b2 [Tab] Add documentation for method show 2015-12-27 21:11:17 +01:00