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

649 Commits

Author SHA1 Message Date
Chris Rebert
69d42cef14 move scrollspy callouts so they're all adjacent to each other 2014-11-11 19:42:29 -08:00
Chris Rebert
e2e9613f83 move popover examples heading to directly before the actual examples 2014-11-11 19:40:47 -08:00
Chris Rebert
d79e898d67 consolidate relatedTarget docs in dropdown event docs 2014-11-11 19:38:06 -08:00
Chris Rebert
ab1a9d4fac move data attributes callout into data attributes doc subsection 2014-11-11 19:35:08 -08:00
Chris Rebert
5ba5200195 move carousel accessibility callout next to rest of callouts 2014-11-11 19:29:56 -08:00
Chris Rebert
3b2d1570fa move single-toggle button plugin callout before example for consistency 2014-11-11 19:26:10 -08:00
Heinrich Fenkart
56f4156126 Merge pull request #15087 from patrickhlauke/dropdown-accessibility-tweaks
Wash-up of some stray dropdown examples
2014-11-12 01:19:39 +01:00
Patrick H. Lauke
0681971c8a Wash-up of some stray dropdown examples
adding explicit aria-expanded="false" initial state (so they're
correctly announced by AT as being collapsed), and - in the case of
old-school use of <a> - role="button"
2014-11-11 23:52:52 +00:00
Mark Otto
2006a435d9 Merge pull request #15077 from jayanthkoushik/issue-15076-fix
Fix Issue #15076.
2014-11-11 15:47:01 -08:00
Patrick H. Lauke
9391ef207f aria-hidden added to some stray glyphicons
plus minor tweak to customizer's generated alerts
2014-11-11 22:41:21 +00:00
Patrick H. Lauke
eb580f739c Improved accessible glyphicon advice/use
...to actually make it consistent with what I said in the glyphicon docs
section...
2014-11-11 22:13:25 +00:00
Jayanth Koushik
917decab6c Fix Issue #15076.
This commit adds documentation explaining the need to have an initial
.active element in carousels.
2014-11-11 15:28:21 +05:30
Patrick H. Lauke
bb89657bcb Assorted accessibility (and some consistency) fixes for documentation
Closes #14951 by merging it.
2014-11-11 07:46:14 +01:00
Chris Rebert
c513f58c6a Remove X-UA-Compatible caveat from Validators docs
Refs #15072
2014-11-10 13:14:33 -08:00
XhmikosR
5339f7c8d5 Merge pull request #15009 from patrickhlauke/glyphicon-accessibility-tweaks
Glyphicon accessibility tweaks
2014-11-10 12:30:34 +02:00
Patrick H. Lauke
eb74d8c863 Accessibility tweaks and explanation for glyphicons
- add aria-hidden="true" to avoid SRs unintentionally reading out the
Unicode character (see
http://www.filamentgroup.com/lab/bulletproof_icon_fonts.html)
- callout with advice on accessible icon usage
- replaced sr-only text in examples with (in the case of button) cleaner
aria-label
- additional example of icon used to convey meaning (in a
non-interactive control)
2014-11-10 08:55:58 +00:00
Mark Otto
2cc66cbb58 Merge branch 'master' into derp
Conflicts:
	dist/css/bootstrap-theme.css
	dist/css/bootstrap-theme.css.map
	dist/css/bootstrap-theme.min.css
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	docs/_includes/customizer-variables.html
	docs/assets/js/customize.min.js
	docs/assets/js/raw-files.min.js
	docs/dist/css/bootstrap-theme.css
	docs/dist/css/bootstrap-theme.css.map
	docs/dist/css/bootstrap-theme.min.css
	docs/dist/css/bootstrap.css
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
	less/_variables.less
2014-11-09 23:48:56 -08:00
Mark Otto
eb74a8cbf3 darken primary blue for accessibility contrast on link colors 2014-11-09 23:11:28 -08:00
Mark Otto
f17b636bce color contrast for links, gets us to 4.63:1 2014-11-09 23:01:50 -08:00
Mark Otto
e020d50838 fix variable, run grunt 2014-11-09 22:05:09 -08:00
Mark Otto
86af1f39ab Merge branch 'master' into derp
Conflicts:
	Gruntfile.js
	_config.yml
	dist/css/bootstrap-theme.css
	dist/css/bootstrap-theme.css.map
	dist/css/bootstrap-theme.min.css
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	docs/_includes/components/button-groups.html
	docs/_includes/components/jumbotron.html
	docs/_includes/components/media.html
	docs/_includes/components/navs.html
	docs/_includes/customizer-variables.html
	docs/_includes/footer.html
	docs/_includes/getting-started/browser-device-support.html
	docs/_includes/js/carousel.html
	docs/_includes/js/dropdowns.html
	docs/_includes/js/modal.html
	docs/_includes/js/popovers.html
	docs/_includes/js/tooltips.html
	docs/_includes/nav/getting-started.html
	docs/_includes/nav/javascript.html
	docs/_layouts/default.html
	docs/assets/css/docs.min.css
	docs/assets/css/src/docs.css
	docs/assets/js/customize.min.js
	docs/assets/js/docs.min.js
	docs/assets/js/raw-files.min.js
	docs/browser-bugs.html
	docs/dist/css/bootstrap-theme.css
	docs/dist/css/bootstrap-theme.css.map
	docs/dist/css/bootstrap-theme.min.css
	docs/dist/css/bootstrap.css
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
	docs/examples/justified-nav/index.html
	less/_forms.less
	less/_tooltip.less
	less/navs.less
	less/theme.less
2014-11-09 22:02:53 -08:00
Chris Rebert
d904429e05 Merge pull request #14986 from twbs/safari-broken-printing-doc
Add #14868 to the compatibility docs
2014-11-05 14:59:24 -08:00
Jayanth Koushik
e55feacf5b Add initialization examples to tooltip and popover "Opt-in functionality" callouts
Fixes #14950.
Closes #15015 by merging it.
2014-11-04 20:00:08 +01:00
Heinrich Fenkart
d107004278 Remove duplicate code from Customizer/Gruntfile by sharing it 2014-11-04 12:35:38 +01:00
Chris Rebert
594831f4f3 Add event.relatedTarget + data-* example to Modal docs
Fixes #14245
2014-11-03 13:37:27 -08:00
Chris Rebert
f0d8894d54 Add #14868 to the compatibility docs 2014-11-03 10:56:30 -08:00
Aaron Cordovez
f412979287 Fix typo
Corrected spelling of the word "elements"
2014-11-01 17:46:33 -07:00
Manuel Meurer
1f64aac6b9 fix whitespace in js dropdown docs 2014-11-01 11:51:11 +01:00
Chris Rebert
88dfd954fa Replace deprecated uses of .pull-left & .pull-right in .media docs
Refs https://github.com/twbs/bootlint/pull/153
[skip sauce]
2014-10-30 11:36:24 -07:00
hillai
1339ab7a13 Replace v3.2.1 reference with v3.3.0 since there wasn't a v3.2.1
Closes #14941
2014-10-30 10:20:54 -07:00
Mark Otto
22baa8153b fixes #14911: bump dependencies to fix customizer text from being cut shor 2014-10-29 09:42:00 -07:00
Mark Otto
a75c6d84e1 grunt 2014-10-28 23:08:42 -07:00
Mark Otto
aad0f00887 indentation and comment 2014-10-28 23:04:25 -07:00
XhmikosR
a515191afd Customizer: include the minified files only on GitHub pages. 2014-10-29 07:30:57 +02:00
Chris Rebert
c897f9d5f0 Safari v8.0 still suffers from Justified Nav rendering bug 2014-10-28 21:24:45 -07:00
Heinrich Fenkart
a7f58a8356 grunt 2014-10-29 04:30:31 +01:00
Mark Otto
2758cfecd8 Merge pull request #14885 from twbs/remove-baseurl
Remove `baseurl` as it doesn't serve any real purpose.
2014-10-28 17:21:04 -07:00
Chris Rebert
d87a636ff9 add missing href="#" to .btn-group-justified example
[skip sauce]
2014-10-28 16:10:43 -07:00
Chris Rebert
3eec86e2e5 add missing hrefs to <a>s in docs+examples 2014-10-28 16:05:32 -07:00
Chris Rebert
780c9b05fe reads more smoothly
For @XhmikosR
2014-10-28 13:11:35 -07:00
Chris Rebert
223d9b4b6b Merge branch 'master' into jonschlinkert/master 2014-10-28 11:10:51 -07:00
Chris Rebert
a43d4767ba .bs-customizer-input => .col-xs-4 2014-10-27 15:02:21 -07:00
Chris Rebert
032a5ab72f add clearfix divs to customizer input rows 2014-10-27 15:00:30 -07:00
Chris Rebert
af70ac8ae1 Tweak parser to ignore empty Less section docstrings; fixes #14878 2014-10-27 13:50:45 -07:00
XhmikosR
3908235e0f Remove baseurl as it doesn't serve any real purpose. 2014-10-27 19:35:59 +02:00
Mark Otto
482863005e fix home nav 2014-10-27 01:34:43 -07:00
Mark Otto
f26821a83a fix progress bar animated biznas 2014-10-26 22:48:12 -07:00
Mark Otto
d6b0f45fb7 Merge branch 'master' into derp
Conflicts:
	Gruntfile.js
	dist/css/bootstrap-theme.css
	dist/css/bootstrap-theme.css.map
	dist/css/bootstrap-theme.min.css
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	docs/_includes/components/dropdowns.html
	docs/_includes/components/media.html
	docs/_includes/components/navs.html
	docs/_includes/components/progress-bars.html
	docs/_includes/components/responsive-embed.html
	docs/_includes/css/buttons.html
	docs/_includes/css/forms.html
	docs/_includes/css/less.html
	docs/_includes/css/overview.html
	docs/_includes/css/responsive-utilities.html
	docs/_includes/customizer-variables.html
	docs/_includes/getting-started/browser-device-support.html
	docs/_includes/getting-started/grunt.html
	docs/_includes/getting-started/template.html
	docs/_includes/header.html
	docs/_includes/js/alerts.html
	docs/_includes/js/buttons.html
	docs/_includes/js/carousel.html
	docs/_includes/js/collapse.html
	docs/_includes/js/dropdowns.html
	docs/_includes/js/modal.html
	docs/_includes/js/popovers.html
	docs/_includes/js/scrollspy.html
	docs/_includes/js/tabs.html
	docs/_includes/js/tooltips.html
	docs/_includes/nav/components.html
	docs/_includes/nav/getting-started.html
	docs/_layouts/default.html
	docs/about.html
	docs/assets/css/docs.min.css
	docs/assets/css/src/docs.css
	docs/assets/js/customize.min.js
	docs/assets/js/docs.min.js
	docs/assets/js/raw-files.min.js
	docs/browser-bugs.html
	docs/components.html
	docs/components/navbar.md
	docs/css.html
	docs/dist/css/bootstrap-theme.css
	docs/dist/css/bootstrap-theme.css.map
	docs/dist/css/bootstrap-theme.min.css
	docs/dist/css/bootstrap.css
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
	docs/examples/blog/index.html
	docs/examples/carousel/index.html
	docs/examples/cover/index.html
	docs/examples/dashboard/index.html
	docs/examples/grid/index.html
	docs/examples/jumbotron-narrow/index.html
	docs/examples/jumbotron/index.html
	docs/examples/justified-nav/index.html
	docs/examples/navbar-fixed-top/index.html
	docs/examples/navbar-static-top/index.html
	docs/examples/navbar/index.html
	docs/examples/non-responsive/index.html
	docs/examples/offcanvas/index.html
	docs/examples/signin/index.html
	docs/examples/starter-template/index.html
	docs/examples/sticky-footer-navbar/index.html
	docs/examples/sticky-footer/index.html
	docs/examples/theme/index.html
	docs/examples/tooltip-viewport/index.html
	docs/getting-started.html
	docs/javascript.html
	docs/migration.html
	less/_animation.less
	less/_modal.less
	less/_navbar.less
	less/_variables.less
	less/glyphicons.less
	less/navs.less
	less/panels.less
	less/progress-bars.less
2014-10-26 22:31:59 -07:00
Heinrich Fenkart
66e140db82 Docs: progress bars' animation now needs to be manually toggled
Refs #14409
2014-10-26 20:43:41 +01:00
jonschlinkert
3e9b461766 Replaces markdown.js with [remarkable](https://github.com/jonschlinkert/remarkable).
- remarkable has 100% support for [commonmark](http://jgm.github.io/CommonMark/spec.html)
  - [faster](https://github.com/jonschlinkert/remarkable/tree/master/benchmark)
  - easier to monkeypatch. this is a goal of ours, might be useful to you at some point given the custom tokenizing/parsing you're doing for documentation.
2014-10-26 06:38:10 -04:00
Mark Otto
5eb08f5d8d Merge pull request #14748 from twbs/apple-touch-icon
Docs: Use a 180x180 apple-touch-icon-precomposed.png.
2014-10-25 21:02:08 -07:00
Mark Otto
dbef67f198 fix validation 2014-10-25 18:53:43 -07:00
Mark Otto
e795ea1084 Fixes #14791: document dropdown dividers 2014-10-25 18:44:55 -07:00
Cameron Little
0755d529c6 Tabs plugin accessibility
Added support for `aria-expanded` toggling via JavaScript. Added
`aria-controls`, `aria-expanded`, `aria-labelledby` to tabs docs.

Added `aria-expanded` unit test for the tabs plugin.

See also #13554.

Closes #14154 by merging it.
2014-10-26 02:25:47 +01:00
Mark Otto
38217ee405 Merge branch 'pr/14801'
Conflicts:
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	docs/assets/js/customize.min.js
	docs/assets/js/raw-files.min.js
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
2014-10-25 18:16:40 -07:00
Mark Otto
6e3c55a115 grunt 2014-10-25 18:13:50 -07:00
XhmikosR
db550a9235 Run grunt. 2014-10-25 14:12:21 +03:00
Jenn Dodd
e8643ed8b3 Remove .media-object from docs.
Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>
2014-10-23 18:48:50 -04:00
Nicole Sullivan
919b4ccb15 Fixes #14799: Add vertical alignment of image in media component
Signed-off-by: Jenn Dodd <jedodd@pivotal.io>
2014-10-23 18:48:18 -04:00
XhmikosR
f33ed634fc Docs: Use a 180x180 apple-touch-icon.png.
Refs:
1c4fcf3214
345925f043

[ci skip]
2014-10-23 09:17:27 +03:00
XhmikosR
41dbc53b9b Fix a small typo in comment.
[ci skip]
2014-10-23 09:11:12 +03:00
Chris Rebert
57e4b58782 Merge pull request #14859 from twbs/fix-14853
Clarify order of tabs events
2014-10-22 18:57:43 -07:00
Chris Rebert
b421dc9490 Clarify order of tabs events; fixes #14853
[skip sauce]
2014-10-22 18:38:18 -07:00
Chris Rebert
8d806b0ae5 Document .alert-dismissible .close restrictions; fixes #14802
[skip sauce]
2014-10-22 18:05:42 -07:00
Phil Hughes
ab8dbc214e Implement hide and hidden events for tabs
Closes #14772.
2014-10-22 21:42:35 +02:00
Patrick H. Lauke
e1d40f7633 Add aria-pressed to single toggle buttons
also includes tiny fix/clarification to two existing unit tests for the
.active class, adding data-toggle=“button” explicitly to the tested
buttons

Closes #14819.
2014-10-22 21:02:19 +02:00
Chris Rebert
fece552ce0 Merge pull request #14841 from twbs/role-button
add role="button" to a couple more dummy-anchor btns
2014-10-22 08:31:35 -07:00
XhmikosR
908190a6c5 Replace the unicode ellipsis symbol with 3 dots.
[ci skip]
2014-10-22 13:49:24 +03:00
Heinrich Fenkart
930c422f22 grunt 2014-10-22 04:28:16 +02:00
Chris Rebert
f26dde085f add role="button" to a couple more dummy-anchor btns 2014-10-20 20:16:09 -07:00
Chris Rebert
8a6a253355 clarify that "build & test everything" Grunt task requires Jekyll
Refs #13131.
2014-10-14 11:41:30 -07:00
XhmikosR
909a178362 Change Twitter links to use https. 2014-10-07 15:28:41 +03:00
Jacob
2c562d2386 Merge pull request #14590 from twbs/carousel-keyboard-option
Add `keyboard` option to carousel
2014-10-02 23:11:14 -07:00
Mark Otto
82eaf3cdce Fixes #14251: Don't use hidden screen reader content in docs table so that Safari doesn't screw up overflow: hidden; content 2014-10-02 22:18:39 -07:00
Mark Otto
76268c4b96 more grunt 2014-10-02 21:21:49 -07:00
Mark Otto
12091b9567 Fixes #14711: Account for list groups in collapsing panels 2014-10-02 21:19:20 -07:00
Heinrich Fenkart
038a63b0eb Add keyboard option to carousel
Also adds unit tests for keyboard events.

Fixes #14468.
2014-10-03 05:16:31 +02:00
Mark Otto
2aedd274f2 fixes #14714: don't use specific value in buttons docs 2014-10-02 20:09:23 -07:00
David Nguyen
6fa7495333 Fix #12563: Reiterate that empty tooltips+popovers do not get displayed 2014-10-02 10:44:20 -07:00
Nicole Bartelt
7398e1904b Added default collapsed class to the collapsed accordion html code example in the docs 2014-09-30 17:54:34 -07:00
Nicole Bartelt
d8c02c7d29 Added default collapsed class to the collapsed accordion examples in the docs 2014-09-30 17:10:51 -07:00
Mark Otto
8e25695d09 Fixes #14687: Include video element in responsive embed 2014-09-26 13:45:28 -07:00
Chris Rebert
89d437deda rm redundant grid column classes from responsive utilities demos 2014-09-25 09:09:19 -07:00
Chris Rebert
e70fc61eff fix typo in Tools section of Getting Started docs 2014-09-24 11:10:18 -07:00
Mark Otto
73117814ea Merge pull request #14677 from twbs/bootlint-docs
Mention Bootlint in Getting Started docs under new Tools section
2014-09-23 22:03:35 -07:00
Mark Otto
6eb633775b Merge pull request #14674 from twbs/fix-14478
Document that the autofocus attribute doesn't work in modals.
2014-09-23 22:03:13 -07:00
Chris Rebert
afde59ef87 Mention Bootlint in Getting Started docs under new Tools section
[skip sauce]
2014-09-23 18:24:37 -07:00
Chris Rebert
f334a15e9e Also mention the "no justified navbars" limitation in the Nav docs
Refs #14598
[skip sauce]
2014-09-23 18:06:39 -07:00
Chris Rebert
93f4426fed linkify reference to Nav component in Scrollspy docs 2014-09-23 17:18:15 -07:00
Chris Rebert
d6903e4239 Document that the autofocus attribute doesn't work in modals.
Closes #14478.
2014-09-23 16:53:09 -07:00
Mark Otto
5d051736a4 Add brief note about justified navs being unsupported to fix #14598 2014-09-23 14:29:48 -07:00
Mark Otto
ccecb7cde4 fixes #14654: callout for scrollspy-nav link 2014-09-22 20:27:23 -07:00
Chris Rebert
be79bef527 Safari percentages were fixed in v7.1 & iOS 8.0; fixes #14663 2014-09-22 13:48:05 -07:00
Mark Otto
d1660ad078 Swap -small and -large variables for -sm and -lg 2014-09-21 16:04:37 -07:00
Chris Rebert
1f329f8f17 the justified nav bug is still present in Safari v7.1 2014-09-21 15:34:57 -07:00
Mark Otto
e33922eb06 grunt 2014-09-18 19:11:47 -07:00
Mark Otto
642fbf7e36 Fixes #14642: Add docs mention for blank checkboxes and radios 2014-09-18 19:00:26 -07:00
Mark Otto
86828fcd3d Some secondary button border action 2014-09-17 18:10:28 -07:00
Chris Rebert
3a1bf02ebf tweak grunt docs description 2014-09-17 17:48:40 -07:00
Mark Otto
9f2aeafe85 Merge branch 'master' into derp
Conflicts:
	Gruntfile.js
	dist/css/bootstrap-theme.css.map
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	dist/fonts/glyphicons-halflings-regular.svg
	docs/_includes/components/badges.html
	docs/_includes/components/input-groups.html
	docs/_includes/components/pagination.html
	docs/_includes/css/forms.html
	docs/_includes/footer.html
	docs/_includes/getting-started/browser-device-support.html
	docs/_includes/getting-started/grunt.html
	docs/_includes/home-nav.html
	docs/_includes/js/alerts.html
	docs/_includes/js/buttons.html
	docs/_includes/js/carousel.html
	docs/_includes/js/collapse.html
	docs/_includes/js/modal.html
	docs/_includes/js/popovers.html
	docs/_includes/js/tooltips.html
	docs/_includes/nav/getting-started.html
	docs/_includes/nav/javascript.html
	docs/assets/css/docs.min.css
	docs/assets/css/src/docs.css
	docs/assets/js/customize.min.js
	docs/assets/js/raw-files.min.js
	docs/browser-bugs.html
	docs/dist/css/bootstrap-theme.css.map
	docs/dist/css/bootstrap.css
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
	docs/dist/fonts/glyphicons-halflings-regular.svg
	fonts/glyphicons-halflings-regular.svg
	less/_button-group.less
	less/_jumbotron.less
	less/_variables.less
	less/mixins/vendor-prefixes.less
	less/panels.less
	less/thumbnails.less
	package.json
2014-09-17 15:21:31 -07:00