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

371 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
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
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
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
b14c7f1e17 Add accessibility callout for tooltips 2015-12-26 20:12:51 +00: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
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
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
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
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
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
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
petetnt
1614420e86 Document .card-*-outline variants 2015-12-09 11:02:04 +02: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
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
Chris Rebert
4e6e3860a6 docs/components/navbar.md: Nitpick phrasing
[ci skip]
2015-12-08 00:36:42 -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
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
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
Mark Otto
21b15d450d fixes #18087: .navbar-form is no more 2015-12-06 16:59:33 -08:00