Commit Graph

6523 Commits

Author SHA1 Message Date
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
Chris Rebert d5b57c3c4d Add Wall of Browser Bugs entry for #18504
https://connect.microsoft.com/IE/feedback/details/2110930/edge-ie11-gradient-background-image-on-tr-is-only-applied-to-first-td

[skip sauce]
2015-12-09 15:49:31 -08:00
Chris Rebert ddba805952 Add Badges entry to v4 migration guide; fixes #18506
[ci skip]
2015-12-09 14:38:37 -08:00
Chris Rebert 9c8ba517af Migration docs: Make Buttons and Button Group sections adjacent
[ci skip]
2015-12-09 14:38:08 -08:00
Jonathan 87169c3401 Added information about the help-block class
Fixes #18505
Closes #18509
2015-12-09 14:17:02 -08:00
Bass Jobsen 4c5ba3e5dc Responsive breakpoints from em to px
Should close https://github.com/twbs/bootstrap/issues/18503
2015-12-09 21:26:38 +01:00
petetnt 1614420e86 Document .card-*-outline variants 2015-12-09 11:02:04 +02:00
Chris Rebert 2f257445c3 Merge pull request #18486 from vsn4ik/v4-unnecessary-style-aliging-images
Remove unnecessary style attribyte on docs (aligning-images)
2015-12-08 18:51:36 -08:00
vsn4ik f3aaccd46f Remove !default Scss flag in docs grid example 2015-12-09 00:20:37 +03:00
vsn4ik fd2a3825aa Remove unnecessary style attribyte on docs (aligning-images) 2015-12-08 23:14:16 +03:00
Mark Otto 9a35ccbf73 derp, wrong highlight syntax 2015-12-08 10:23:22 -08:00
Lachlan Campbell 9f31574f17 add extra line before spacing utilities example 2015-12-08 13:11:42 -05:00
Mark Otto ef00fa0a6d grunt after version bump 2015-12-08 09:37:12 -08:00
Mark Otto 5d3144e8fb manually bump versions because npm script wasn't working for me 2015-12-08 09:36:08 -08:00
Chris Rebert 3b2be4701f Update docs for spacing utilities themselves to account for #18185
/fyi @mdo There might be prettier/better ways of explaining these,
        but for the sake of having accurate docs for tomorrow,
        this should do in a pinch.

[skip sauce]
2015-12-08 04:13:15 -08:00
Chris Rebert 85032786c3 Update examples to account for #18185
[skip sauce]
2015-12-08 03:41:51 -08:00
Mark Otto af8efad583 grunt 2015-12-08 01:07:14 -08:00
Mark Otto 5073d07a47 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2015-12-08 00:49:42 -08:00
Mark Otto ac5be12f24 unfuck that border from rem to px 2015-12-08 00:49:31 -08:00
Chris Rebert 4e6e3860a6 docs/components/navbar.md: Nitpick phrasing
[ci skip]
2015-12-08 00:36:42 -08:00
Mark Otto 8fa5fb2857 fixes #17887: restore hover/focus for cover nav 2015-12-08 00:20:43 -08:00
Mark Otto 834ac49eee Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2015-12-07 23:50:17 -08:00
Mark Otto 4fc721fe4a grunt 2015-12-07 23:49:29 -08:00
Chris Rebert bac09b7767 Add entry for pagination component changes to v4 migration guide
Refs #18110

[skip sauce]
2015-12-07 23:49:07 -08:00
Chris Rebert 9010ff8345 Fix header hierarchy in migration guide
[ci skip]
2015-12-07 23:47:13 -08:00
Mark Otto 04b3766452 grunt 2015-12-07 23:47:00 -08:00
Mark Otto a9f53f0fc0 Merge pull request #18110 from twbs/pagination-classes
Refactor pagination classes to avoid tag selectors & child selectors
2015-12-07 23:41:55 -08:00
Mark Otto 38847f564c grunt 2015-12-07 23:36:38 -08:00
Mark Otto 9e872efb3f rip out the .blockquote-* children classes for margin utils 2015-12-07 23:36:35 -08:00
Mark Otto 886bbe9bc0 Merge pull request #18138 from bassjobsen/patch-12
refactor blockqoutes to to avoid tag selectors & child selectors
2015-12-07 23:32:31 -08:00
Mark Otto 7303977c52 grunt 2015-12-07 23:31:06 -08:00
Mark Otto 515ff1aacb rewrite list-inline to use margin and simpler styles 2015-12-07 23:31:02 -08:00
Mark Otto d3c87d32fa Merge branch 'patch-11' of https://github.com/bassjobsen/bootstrap into bassjobsen-patch-11 2015-12-07 23:28:31 -08:00
Chris Rebert e7edf10473 .page => .page-item 2015-12-07 22:37:17 -08:00
Chris Rebert 5f35ce2095 .page>{a,span => .page-link} 2015-12-07 22:37:17 -08:00
Chris Rebert a878c4f0c6 .pagination>{li => .page} 2015-12-07 22:37:17 -08:00
Mark Otto 1e9f0ab99e grunt 2015-12-07 22:11:27 -08:00
Mark Otto 7f8a05d3ef Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2015-12-07 22:10:38 -08:00
Mark Otto 3d45bd6106 fixes #18293: clean up sticky stuff 2015-12-07 22:05:37 -08:00
Mark Otto 0186ab5fff Merge pull request #18325 from twbs/tooltip-a-nowrap
Prevent anchors in tooltip example from splitting across lines
2015-12-07 21:58:35 -08:00
Mark Otto 8f80b80c17 grunt 2015-12-07 21:35:05 -08:00
Mark Otto 4520b0f5d0 proper fix for #18439 w/ clippy placement and hover 2015-12-07 21:35:00 -08:00
Chris Rebert e117083694 Add entry about stateful buttons to v4 migration guide
Refs #18459, #17178
[skip sauce]
2015-12-07 16:48:22 -08:00
Chris Rebert 5d4fd87bfa Consolidate duplicate "Buttons" section in v4 migration docs
[skip sauce]
2015-12-07 16:30:12 -08:00
Mark Otto afbaf43505 grunt 2015-12-07 10:08:39 -08:00
Mark Otto a22d2fb5a5 fixes #17433: improve borders on .list-group-flush to remove dupe borders when appropro 2015-12-07 10:05:53 -08:00
Mark Otto ef5b6a224e Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2015-12-07 09:25:28 -08:00
Mark Otto a78b835143 grunt 2015-12-07 09:24:54 -08:00
Chris Rebert 2f176821c3 Merge pull request #18453 from twbs/wkbug-151933
Add Wall of Browser Bugs entry related to #16028
2015-12-07 01:17:20 -08:00
Chris Rebert 6e8c7c9b2d Add Wall of Browser Bugs entry related to #16028
https://bugs.webkit.org/show_bug.cgi?id=151933

[skip sauce]
2015-12-07 01:09:56 -08:00
Chris Rebert d1a0af8b24 Tweak naming and docs of font utility classes
* `.font-normal` is too generic. Rename it to `.font-weight-normal` for clarity.
* Rename `.font-bold` to `.font-weight-bold` so as to parallel `.font-weight-normal`.
* In docs, gloss "weight" term in relation to fonts for the benefit of non-typographiles.

Refs #18433

[skip sauce]
2015-12-07 00:08:54 -08:00
Mark Otto 3c4bf98af6 links and clarification in navbar docs 2015-12-06 22:47:23 -08:00
Mark Otto e61eae4f9d stub out some more of the navbar docs to include navbar-nav options and navbar-brand options 2015-12-06 22:34:06 -08:00
Chris Rebert 7739ea8d85 Add .navbar-form entry to v4 migration docs; refs #18087
[skip sauce]
2015-12-06 17:32:24 -08:00
Chris Rebert da87424a79 Remove .navbar-form from example pages; refs #18087
[skip sauce]
2015-12-06 17:30:26 -08:00
Mark Otto dd2c784c92 fix up navbar examples with proper coloring 2015-12-06 17:09:49 -08:00
Mark Otto 21b15d450d fixes #18087: .navbar-form is no more 2015-12-06 16:59:33 -08:00
Mark Otto 5a2318b68c fixes #18436 2015-12-06 16:41:38 -08:00
Mark Otto 26da610bd0 fixes #18433: add three new font utils 2015-12-06 16:39:55 -08:00
Chris Rebert 193b8306f0 Fix grammar in "Custom forms" docs
[ci skip]
2015-12-06 12:08:01 -08:00
Chris Rebert 23a7c6b1a6 Docs: Fix flavor text in input group example that got borked at some point
[skip sauce]
2015-12-06 12:02:54 -08:00
Chris Rebert 4120663c4b Add Wall of Browser Bugs entry for #15990
https://bugzilla.mozilla.org/show_bug.cgi?id=1139853
[skip sauce]
2015-12-06 03:02:40 -08:00
Chris Rebert 2268fda99c Mention Mozilla Firefox meta-bug on Wall of Browser Bugs
https://bugzilla.mozilla.org/show_bug.cgi?id=1230801

[skip sauce]
2015-12-06 02:07:29 -08:00
XhmikosR b7b448a0e7 Run `grunt`.
[ci skip]
2015-12-05 12:59:13 +02:00
XhmikosR 34a0ce571e Run `grunt`.
[ci skip]
2015-12-05 11:43:23 +02:00
XhmikosR 4191288873 Update clipboard.js to v1.5.5.
[ci skip]
2015-12-05 11:41:34 +02:00
XhmikosR 58717fa2d8 Update anchor.js to v2.0.0.
[ci skip]
2015-12-05 11:41:34 +02:00
XhmikosR 3afdbe426f Fix docs/search.json.
* only loop through `html_pages`
* skip pages without a title
* stop double escaping the title; use Jekyll's `jsonify` filter to output valid JSON
* remove `date` since we don't use it

[skip sauce]
2015-12-05 11:30:27 +02:00
XhmikosR 4e7c7f4b9d Update jekyll-search.min.js to v1.0.9.
Fixes the IE 9 error.

[ci skip]
2015-12-04 19:28:41 +02:00
XhmikosR 14772943a6 Rename jekyll-search.js to reflect that it's minified.
[ci skip]
2015-12-04 19:28:41 +02:00
Chris Rebert 211ca58657 Use non-minified CSS when running docs locally
For easier debugging.
Just like we already do for the JS.

[skip sauce]
2015-12-04 00:45:37 -08:00
XhmikosR 8a1685fdee Run `grunt`.
[ci skip]
2015-12-03 08:51:57 +02:00
Taylor Poulos 0021e7e5b4 Proposed better phrasing in the "images" section
Previously, this read "Bootstrap doesn’t apply this automatically as it causes complications to other image formats." 

In this sentence, the number of the subject and the verb don't agree, and the word "this" is unclear.
2015-12-01 19:21:12 -05:00
vsn4ik 81e0295098 Fix classes for responsive floats in migration
See a8dc4812a49d8467e8642abb510b523a9a51cd48#commitcomment-14677726

[skip sauce]
2015-12-01 01:01:02 +03:00
Chris Rebert 4a51f28e2c Prevent anchors in tooltip example from splitting across lines
So as to decrease the number of future inquiries about said edge case (which is already documented).
Refs #18304
[skip sauce]
2015-11-29 23:54:13 -08:00
Chris Rebert 548834e87f Merge pull request #18340 from twbs/responsive-pulls
Add responsive float classes
2015-11-29 21:47:49 -08:00
Chris Rebert 7ae7149f3f navs.md: Fix typo
[ci skip]
2015-11-29 20:24:33 -08:00
Mark Otto c1b79347b4 Merge pull request #18264 from twbs/input-group-btns-both-sides
Add input group example with btns on both sides for completeness+testing
2015-11-29 20:02:47 -08:00
Mark Otto 0fa2c7c486 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2015-11-29 19:54:20 -08:00
Mark Otto 45632894d9 Merge pull request #18317 from twbs/redundant-text-aligns-18300
Remove non-responsive text alignment classes
2015-11-29 19:39:48 -08:00
Mark Otto 765c5e9c07 grunt 2015-11-29 19:38:53 -08:00
Mark Otto 389a284766 fixes #18295. improve .nav-inline usefulness and document the classes as well 2015-11-29 19:38:44 -08:00
Mark Otto 1a30d12525 clarify nav default display 2015-11-29 18:44:57 -08:00
Mark Otto 3140701b52 grunt 2015-11-29 18:41:12 -08:00
Mark Otto 9f40178112 fix ads background color 2015-11-29 18:41:08 -08:00
Mark Otto e28e73e531 grunt 2015-11-29 18:39:46 -08:00
Mark Otto 6421e27b6c darken docs nav selected state and un-semibold it so it's not dangling 2015-11-29 18:36:50 -08:00
Chris Rebert c2cf58b4a0 grunt dist
[ci skip]
2015-11-29 16:59:07 -08:00
Chris Rebert fd43ce255f Add Wall of Browser Bugs entry for #18365
See http://bugzil.la/1228802

[skip sauce]
[skip validator]
2015-11-28 20:54:15 -08:00
Chris Rebert a8dc4812a4 Add responsive float classes; fixes #13690 2015-11-26 22:13:26 -08:00
Chris Rebert 48fc3d9aa7 browsers-devices.md: rm stray `</p>`
[skip sauce]
2015-11-24 22:37:38 -08:00
Richard Kraaijenhagen c960169807 Add responsive embed class for 1:1 aspect ratio
Closes #18141
2015-11-23 19:54:55 -08:00
XhmikosR 569f86051e Run `grunt`.
[ci skip]
2015-11-23 18:51:32 +02:00
Chris Rebert ade2ab1341 Remove non-responsive text alignment classes
These can be replaced by their `.text-xs-*` parallels.
This also avoids any complications from interactions between the responsive and non-responsive classes.
(e.g. `<div class="text-left text-md-right">`)

Refs #18300
[skip sauce]
2015-11-22 21:33:42 -08:00
Patrick H. Lauke b67b52527d Revert "Added button subsection to the component section" 2015-11-19 14:16:23 +00:00
Jonathan f99f9eb524 Added button subsection to the component section 2015-11-19 13:05:50 +01:00
Chris Rebert 9a5222ca31 Docs: Separate Tether out from docs.min.js
We can't include it in docs.min.js because docs.min.js includes application.js,
application.js depends on bootstrap.js,
and the tooltip portion of bootstrap.js depends on Tether.

So instead, we need to load Tether separately before bootstrap.js

[skip sauce]
2015-11-19 01:04:34 -08:00
XhmikosR eea6690d0e Run `grunt`.
[ci skip]
2015-11-16 10:03:57 +02:00
Chris Rebert 7a2ba9a224 docs/content/reboot.md: Just to avoid any ambiguity
[ci skip]
2015-11-15 17:24:46 -08:00
Chris Rebert 60511303a1 docs/content/reboot.md: Add MDN link and a comma 2015-11-15 17:18:31 -08:00
Patrick H. Lauke 8ec7819725 Touch responsiveness optimization
Admittedly wordy info dump on why we use `touch-action:manipulation`

refs https://github.com/twbs/bootstrap/pull/18051#issuecomment-156375970
2015-11-16 01:08:20 +00:00