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

6585 Commits

Author SHA1 Message Date
Chris Rebert
48e62fdf34 https://webkit.org/b/150715 has been fixed
Fixed by way of https://webkit.org/b/152803
Thanks Google Translate (I guess) and WebKit Team!
[ci skip]
2016-01-07 18:14:51 -08:00
Chris Rebert
6ab9e10efa https://webkit.org/b/147284 has been fixed
Refs #16814
[ci skip]
2016-01-07 14:09:39 -08:00
Mark Otto
ed612b2b41 grunt 2016-01-07 00:17:09 -08:00
Mark Otto
b09f70e101 clear up and split out breadcrumb examples 2016-01-06 23:58:07 -08:00
Chris Rebert
88c629fc59 Merge pull request #18788 from twbs/refs-18458
Add nested definition list to docs example
2016-01-06 22:29:13 -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
850611d895 Add nested definition list to docs example
Refs #18458
[skip sauce]
2016-01-06 16:56:27 -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
Mark Otto
e1caaea06f grunt 2016-01-06 15:59:10 -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
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
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