Commit Graph

6523 Commits

Author SHA1 Message Date
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
Mark Otto 004e30866c Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-01-06 15:01:41 -08:00
Mark Otto 8812541b83 grunt 2016-01-06 15:01:22 -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 20261385ea fix blog example to use customized pagination based on button styles 2016-01-06 14:57:00 -08:00
Mark Otto e482fe24e1 add docs notes 2016-01-06 14:48:48 -08:00
Mark Otto d5b2dea1a5 Rip out the pager component 2016-01-06 14:47:33 -08:00
Mark Otto 8c85934621 Clarify a few things in migration docs 2016-01-06 14:10:46 -08:00
Mark Otto 8ba7f3db73 grunt 2016-01-06 14:07:17 -08:00
Mark Otto ce18736cd8 fix example css 2016-01-06 14:07:13 -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 d22a8926d2 Merge pull request #18741 from bassjobsen/patch-15
fix justified navbar
2016-01-06 00:08:35 -08:00
Mark Otto f550d99553 grunt 2016-01-06 00:07:41 -08:00
Mark Otto ff07ba3af4 Merge pull request #18771 from twbs/v4-custom-forms-revamp
v4: Custom forms (disabled state, revamp, etc)
2016-01-06 00:02:25 -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 3c009add3b Merge pull request #18734 from tagliala/fix-highlight-docs
Fix margins in highlighted code in docs
2016-01-05 20:48:13 -08:00
Chris Rebert eb26e69a85 Add alternative migration possibility for panel color variants
Refs #18767
[ci skip]
2016-01-05 17:07:22 -08:00
Mark Otto dd64fa87f3 grunt 2016-01-05 00:22:44 -08:00
Mark Otto a79f89b354 grunt 2016-01-03 19:16:53 -08:00
Mark Otto a439bc16c6 Merge pull request #18752 from twbs/v4-docs-scsslint
v4: Docs Sass linting
2016-01-03 19:14:46 -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 5c43dff155 Merge pull request #18697 from bassjobsen/patch-31
remove `<div class="bd-sidebar">`
2016-01-03 19:13:44 -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
Mark Otto c76a2c3218 Merge pull request #18669 from twbs/fix-18652
Remove .dl-horizontal; it's redundant to the grid system
2016-01-03 19:10:42 -08:00
Mark Otto 16552b241c Merge pull request #18675 from patrickhlauke/docs-code1
Docs: tweaks to content code
2016-01-03 19:03:26 -08:00
Mark Otto ca6f6ca2f5 grunt 2016-01-03 18:43:59 -08:00
Mark Otto 1364caf0b6 reformat syntax styles for linting 2016-01-03 18:28:07 -08:00
Mark Otto b435894e2d basic linting 2016-01-03 18:27:54 -08:00
Mark Otto 7a582b2ffe basic linting changes, disable some id selector testing per file as needed 2016-01-03 18:17:58 -08:00
Mark Otto ef5e2a5b5b property order linting 2016-01-03 18:12:33 -08:00
Mark Otto 26b4211c23 we nuked the focusedinput example awhile back, so nuking the styles too 2016-01-03 18:10:47 -08:00
Mark Otto 6e7a9c5a38 basic linting 2016-01-03 18:10:34 -08:00
Mark Otto 84cd41956f nuke vendor prefixes 2016-01-03 18:10:22 -08:00
Mark Otto 7a00b13b07 remove unused rule for ads css that was hiding an image that no longer exists (i think) 2016-01-03 18:09:36 -08:00
Chris Rebert e655c2db52 Add Wall of Browser Bugs entry for #18738
* https://bugs.webkit.org/show_bug.cgi?id=152637
* http://openradar.appspot.com/24030853

[ci skip]
2016-01-01 13:31:02 -08:00
Chris Rebert 422ed9ab48 grunt dist docs
[ci skip]
2016-01-01 12:37:52 -08:00
Chris Rebert e9192f6de0 Update copyright years to 2016
[ci skip]
2016-01-01 12:31:38 -08:00
Bass Jobsen a01d2f0056 add .nav-justified class 2016-01-01 17:17:22 +01:00
Bass Jobsen 470bb9c815 add new CSS classes to the navbar 2016-01-01 17:15:24 +01:00
Geremia Taglialatela ac77f5843a Fix margins in highlights 2015-12-31 20:00:28 +01:00
Chris Rebert 95893cd449 Merge pull request #18614 from patrickhlauke/docs-browsers-devices1
Docs: update browser support info
2015-12-30 10:38:50 -08:00
Patrick H. Lauke 2f4bdca9b5 Split out to new para, into two sentences 2015-12-30 10:37:09 +00:00
Johann-S e36fd5a9b2 [Tab] Add documentation for method show 2015-12-27 21:11:17 +01:00
Patrick H. Lauke cc7cc4eda6 Remove Opera 18 and IE11 mention
As per our browser compat policy, we only claim support for latest
versions of Opera on desktop. Current Opera is version 34. From testing, IE11 does support `pointer-events:none` just fine now.
2015-12-27 10:24:34 +00:00
Bass Jobsen 38b40d8f59 remove `<div class="bd-sidebar">`
content had already been wrapped in the `<div class="col-md-3 col-md-push-9 bd-sidebar">`
2015-12-27 01:29:18 +01:00
Patrick H. Lauke fb4ff3e204 Tweak the wording for link functionality
to harmonise it with the callout given in pagination
2015-12-26 23:33:36 +00:00
Patrick H. Lauke f1cdb3b68d Add note and advice about .disabled and keyboard focus 2015-12-26 23:33:35 +00:00
Patrick H. Lauke 699c6bb383 Merge pull request #18690 from patrickhlauke/docs-tooltips1
Docs: add accessibility callout for tooltips
2015-12-26 20:41:48 +00:00
Patrick H. Lauke b14c7f1e17 Add accessibility callout for tooltips 2015-12-26 20:12:51 +00:00
Jerry Cheung 37426b9d83 Fix typo in docs/getting-started/introduction.md
Remove 'including'.
2015-12-26 09:41:42 -08:00
Patrick H. Lauke ff07a81e9f Change wording on link styled as button
"Go somewhere" is more descriptive of an example link, rather than a
button that triggers in-page functionality. Also makes it consistent
with all other examples in this page
2015-12-26 12:40:04 +00:00
Patrick H. Lauke 097575ad43 Merge pull request #18679 from patrickhlauke/docs-button-disabled1
Docs: add aria-disabled to disabled link example and description
2015-12-25 22:32:33 +00:00
Chris Rebert f954e5958c Merge pull request #18678 from patrickhlauke/docs-button-active1
Docs: add aria-pressed=true to components buttons active state example
2015-12-25 15:11:53 -07:00
Patrick H. Lauke efe2419fec Change "preformatted text" heading and intro para
also, stray "blocks" in the "Sample output", which doesn't seem to
belong there.
2015-12-25 21:26:41 +00:00
Patrick H. Lauke f6b0f8f3ad Add ellipsis to modal example code 2015-12-25 21:17:32 +00:00
Patrick H. Lauke 66479d8a5f Add aria-disabled to disabled link example and description 2015-12-25 21:13:57 +00:00
Patrick H. Lauke b5bf4334ca Add aria-pressed=true to example
...as per the text immediately preceding this example
2015-12-25 21:09:59 +00:00
Patrick H. Lauke 68e0b01ac8 Fix code block example
use `<code>` (as it's still semantically code that we're marking up) and
make the example actually multiple lines...
2015-12-25 13:49:16 +00:00
Patrick H. Lauke 25a36729bc Missing angle brackets 2015-12-25 13:44:33 +00:00
Chris Rebert 4c86e37c2d Remove .dl-horizontal; it's redundant to the grid system; fixes #18652
[skip sauce]
2015-12-24 21:26:26 -07:00
Chris Rebert 95d030c226 Add Tether to example pages that were missing it
[skip sauce]
2015-12-24 18:13:53 -07:00
Chris Rebert 11b526e51d Include Tether via CDN in starter templates; fixes #18664
[skip sauce]
2015-12-24 18:08:41 -07:00
Patrick H. Lauke 88064925a4 Use more appropriate structure for site navigation
Use the structure as documented in
http://v4-alpha.getbootstrap.com/components/navbar/#collapsible-content
- wrapping both the toggle and the navigation in a `<nav>`, using a
`<ul>` for the navigation items
2015-12-24 19:46:39 +00:00
Patrick H. Lauke 5a06173a53 Move collapsing navbar after the toggle
It's unclear why the example currently has the content that's
shown/hidden BEFORE the toggle. Generally, this is not a recommended
content order, as after toggling, the newly shown content precedes the
toggle and requires keyboard users, and particularly assistive
technology users, to then navigate in reverse to reach it.
2015-12-24 18:10:37 +00:00
Patrick H. Lauke 3317d04a0b Add missing aria attributes to main site navigation menu toggle 2015-12-24 16:55:41 +00:00
Patrick H. Lauke d0d9183a8f Add missing aria attributes to navbar collapse examples 2015-12-24 16:52:43 +00:00
Patrick H. Lauke e2bf1e9fae Merge pull request #18654 from patrickhlauke/docs-helptext1
Docs: reintroduce `aria-describedby` advice for help text
2015-12-24 13:38:46 +00:00
XhmikosR 612ff4f5d1 Run `grunt`.
[ci skip]
2015-12-24 12:50:15 +02:00
Patrick H. Lauke e9ccb573ef Add aria-describedby to main form controls example 2015-12-24 10:11:33 +00:00
Patrick H. Lauke 0fe8f920b7 Docs: reintroduce aria-describedby advice for help text
Based on v3 http://getbootstrap.com/css/#forms-help-text, adapted to
make examples more "real life"
2015-12-24 10:08:29 +00:00
Chris Rebert 76a4c303ee Refactor Breadcrumbs component
Use new `.breadcrumb-item` class instead of child selectors and `li` tag selectors,
so as to no longer require the usage of `<ol>`-based markup.

Rename variables to follow naming conventions:
* $breadcrumb-padding-vertical => $breadcrumb-padding-y
* $breadcrumb-padding-horizontal => $breadcrumb-padding-x

Introduce new variable: $breadcrumb-item-padding

[skip sauce]
2015-12-23 22:16:35 -07:00
Patrick H. Lauke bac3d68f52 Clarify what text-capitalize actually does
as on first skimming over these, it may not be completely obvious
2015-12-23 14:29:12 +00:00
Patrick H. Lauke 9cf2e50b1e Change italicized to italic
...otherwise, by the same logic, it should be "Bolded text" above. just
looks clunky...
2015-12-23 14:26:29 +00:00
David\ Beitey 7efd6280b4 Fix bulleted lists on Utilities doc 2015-12-23 15:49:51 +10:00
Patrick H. Lauke 56b84556c7 Add Windows 10 Mobile / Microsoft Edge 2015-12-22 19:10:52 +00:00
Patrick H. Lauke e0058829ab Clarify platform/web view 2015-12-22 19:02:43 +00:00
Patrick H. Lauke 1861496e5e Add a generic note about webkit/blink/gecko/web view browsers 2015-12-22 10:04:29 +00:00
Chris Rebert 15cf85588d Migration guide: .panel-title's closest replacement is .card-header; fixes #18619
[skip sauce]
2015-12-21 11:55:58 -07:00
Chris Rebert b97048824e Address IE10 in browser compatibility docs
[skip sauce]
2015-12-20 21:05:57 -07:00
Patrick H. Lauke f3a1ad484f Expand on proxy browsers 2015-12-20 22:17:23 +00:00
Patrick H. Lauke 7c94ecdb99 Keep Safari/Win as Not supported 2015-12-20 22:06:47 +00:00
Patrick H. Lauke 1df660173c Update info for supported browsers 2015-12-20 15:03:55 +00:00
Chris Rebert 0fe1d1ee3d Add RubyGems section to "Download" docs
Closes #17291 by finishing the last remaining task.
Also reorders the sections in the "Download" docs.

[skip sauce]
2015-12-17 13:29:58 -08:00
Quy 1f097c73ca Fix anchor link 2015-12-13 11:04:15 -08:00
Quy 4658147ff8 Remove extraneous character 2015-12-12 21:31:40 -08:00
Chris Rebert 7c93a0e858 Merge pull request #18561 from twbs/fix-18558
Docs: Replace `data-src` attribute with `src` in highlighted code
2015-12-12 16:33:26 -08:00
Chris Rebert d4d146dbe3 Docs: Replace `data-src` attribute with `src` in highlighted code; fixes #18558
[skip sauce]
2015-12-12 16:01:06 -08:00
Chris Rebert 6da5fa00e8 Merge pull request #18511 from bassjobsen/patch-15
Docs Responsive breakpoints from em to px
2015-12-12 15:55:10 -08:00
Bass Jobsen 6367155450 Using px rather than em values
Should close https://github.com/twbs/bootstrap/issues/18556
2015-12-13 00:23:55 +01:00
Chris Rebert 1a0f8db796 Add <br>s to fix appearance of responsive float docs example
[skip sauce]
2015-12-12 00:10:29 -08:00
Patrick H. Lauke 70247e36f6 Merge pull request #18531 from patrickhlauke/ie-edge-progressbar
progress bar for IE10+/Edge (border radius, use ::-ms-fill, variant mixins, striped)
2015-12-11 09:04:55 +00:00
Patrick H. Lauke aeb179a3d8 update progress bar documentation
clarify lack of support for striped and animated striped bars in
IE10+/Edge
2015-12-11 08:58:11 +00:00
Chris Rebert 1dcbbdd49b Remove fully supported features from IE9 limitations docs
If these are supported, why bother mentioning them in a section that's about communicating what's not supported?
These rows made sense when the section also covered IE8 (http://getbootstrap.com/getting-started/#support-ie8-ie9 ),
which doesn't support these features, but we no longer care about IE8 in v4.

[skip sauce]
2015-12-10 15:39:46 -08:00