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

960 Commits

Author SHA1 Message Date
Chris Rebert
d37bc2ae65 Merge pull request #15987 from twbs/fix-15972
add role="button" to a[data-toggle="collapse"]
2015-03-24 08:57:56 -07:00
Patrick H. Lauke
04280335f6 Add aria-expanded and aria-controls to docs navbar toggle
Also, use id rather class name for the navigation, as it's unique and
lets us use correct aria-controls (and without the use of id,
aria-expanded does not get updated correctly by the current dropdown
toggle script)
2015-03-24 10:32:53 +00:00
Patrick H. Lauke
dc4aa004d4 Add aria-expanded to navbar toggles 2015-03-24 10:30:12 +00:00
Patrick H. Lauke
6c2548e031 Move all tooltip callouts into appropriate section
Before, most callouts hierarchically came under Examples > Four
directions, which is not appropriate. Now they're under Markup
2015-03-23 22:06:22 +00:00
Patrick H. Lauke
debcb1de59 Callout for tooltips and keyboard/AT accessibility
Include callout explicitly mentioning tooltips should only be added to
focusable elements. Closes #16134
2015-03-23 21:53:30 +00:00
Rodrigo Prado
fbe0836a8f Add docs on how to install Bootstrap via composer
Closes #16113
Closes #16114

[skip sauce]
2015-03-20 18:42:03 -07:00
Chris Rebert
66ceae7b75 Clarify that role="button" is required for dismiss-on-next-click popovers
Refs #15947
2015-03-16 00:57:23 -07:00
Chris Rebert
f3ae9430f2 Document that .progress-bar-striped doesn't work in IE<=9; fixes #16058
[skip sauce]
2015-03-13 13:53:12 -07:00
Mark Otto
6944e418eb docs redesign a bit 2015-03-09 14:07:46 +00:00
Chris Rebert
cc39f5c52d add role="button" to a[data-toggle="collapse"]; fixes #15972 2015-03-03 13:18:36 -08:00
Steven Black
20d3ad10eb Accessibility and headings hierarchy for the "CSS" page.
Closes #15948 by merging it.
2015-03-03 18:29:33 +02:00
Steven Black
0862d1410e Accessibility and headings hierarchy for the "Getting started" page.
Closes #15946 by merging it.
2015-03-03 18:26:38 +02:00
Steven Black
457885075f Javascript docs: Accessibility and cosmetic changes to headings.
Closes #15915 by merging it.
2015-03-03 18:22:09 +02:00
Heinrich Fenkart
be68cdd4b8 Properly document Modal#handleUpdate 2015-03-03 06:45:38 +01:00
Chris Rebert
08e0f23929 Merge pull request #15965 from kkirsche/fixURL
[Docs / README] Fix URL to match the plugin keyword recommendation
2015-03-01 14:32:31 -08:00
Kevin Kirsche
673cd67798 Fix URL to match the keyword
Fix URL to match the keyword
2015-03-01 16:44:13 -05:00
Mark Otto
c16fee5efd Merge branch 'master' into v4
Conflicts:
	.travis.yml
	Gruntfile.js
	bower.json
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	dist/js/bootstrap.js
	dist/js/bootstrap.min.js
	docs/_data/glyphicons.yml
	docs/_includes/components/breadcrumbs.html
	docs/_includes/components/button-dropdowns.html
	docs/_includes/components/button-groups.html
	docs/_includes/components/dropdowns.html
	docs/_includes/components/glyphicons.html
	docs/_includes/components/labels.html
	docs/_includes/components/list-group.html
	docs/_includes/components/media.html
	docs/_includes/components/navs.html
	docs/_includes/components/panels.html
	docs/_includes/components/progress-bars.html
	docs/_includes/components/thumbnails.html
	docs/_includes/components/wells.html
	docs/_includes/css/buttons.html
	docs/_includes/css/forms.html
	docs/_includes/css/helpers.html
	docs/_includes/css/images.html
	docs/_includes/css/less.html
	docs/_includes/customizer-variables.html
	docs/_includes/getting-started/accessibility.html
	docs/_includes/getting-started/browser-device-support.html
	docs/_includes/getting-started/community.html
	docs/_includes/getting-started/examples.html
	docs/_includes/getting-started/grunt.html
	docs/_includes/getting-started/license.html
	docs/_includes/getting-started/template.html
	docs/_includes/header.html
	docs/_includes/js/affix.html
	docs/_includes/js/alerts.html
	docs/_includes/js/carousel.html
	docs/_includes/js/collapse.html
	docs/_includes/js/dropdowns.html
	docs/_includes/js/modal.html
	docs/_includes/js/overview.html
	docs/_includes/js/popovers.html
	docs/_includes/js/scrollspy.html
	docs/_includes/js/tabs.html
	docs/_includes/js/tooltips.html
	docs/_includes/js/transitions.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/assets/js/vendor/FileSaver.js
	docs/assets/js/vendor/autoprefixer.js
	docs/assets/js/vendor/uglify.min.js
	docs/dist/css/bootstrap.css
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
	docs/dist/js/bootstrap.min.js
	docs/examples/blog/index.html
	docs/examples/carousel/index.html
	docs/examples/cover/index.html
	docs/examples/dashboard/index.html
	docs/examples/narrow-jumbotron/narrow-jumbotron.css
	docs/examples/navbar-fixed-top/index.html
	docs/examples/navbar-static-top/index.html
	docs/examples/non-responsive/index.html
	docs/examples/non-responsive/non-responsive.css
	docs/examples/theme/index.html
	grunt/configBridge.json
	js/affix.js
	js/carousel.js
	js/collapse.js
	js/dropdown.js
	js/modal.js
	js/popover.js
	js/scrollspy.js
	js/tab.js
	js/tests/unit/affix.js
	js/tests/unit/button.js
	js/tests/unit/carousel.js
	js/tests/unit/modal.js
	js/tests/unit/tooltip.js
	js/tooltip.js
	less/badges.less
	less/glyphicons.less
	less/type.less
	less/variables.less
	package.json
	scss/_dropdown.scss
	scss/_forms.scss
	test-infra/npm-shrinkwrap.json
2015-03-01 13:44:10 -08:00
Kevin Kirsche
7b3e4d8423 Replace accidently removed text
X-Ref #15742

cc: @mdo
2015-03-01 16:24:12 -05:00
Kevin Kirsche
94406bcae0 [Fixes #15928] Encourage use of icons with form validation states for colorblind users
[Fixes #15928] Encourage use of icons with form validation states for colorblind users

Update text per @patrickhlauke's feedback

Update text per @patrickhlauke's feedback.

Fix stupid grammar mistake
2015-02-28 17:07:20 -05:00
Mark Otto
8982de3482 Merge pull request #15914 from StevenBlack/docs.js.headings
docs > js > headings
2015-02-24 21:14:43 -08:00
Heinrich Fenkart
0553300a36 Follow-up to 769c27a19f: Add new section to nav 2015-02-25 03:30:58 +01:00
Kevin Kirsche
769c27a19f Document how to properly handle modals with dynamic content height
Fixes #15106.
Closes #15910.
2015-02-25 03:23:02 +01:00
Steven Black
e9b29a3ef0 Accessibility changes to headings (transitions.html) 2015-02-24 20:19:00 -05:00
Steven Black
daccfc3c0f Accessibility changes to headings (overview.html) 2015-02-24 20:17:14 -05:00
Mark Otto
be164f4d1a Merge pull request #15900 from kkirsche/patch-5
[Docs—Fixes #15882]Use an ID as the example for Scrollspy
2015-02-24 16:30:49 -08:00
Mark Otto
7e594b4b03 Merge pull request #15903 from michael-k/patch-1
Updated license links
2015-02-24 16:28:36 -08:00
Mark Otto
2457b40eab Merge pull request #15887 from StevenBlack/headings-labels
docs>components>labels headings
2015-02-24 16:27:36 -08:00
Mark Otto
7e0b801f4c Merge pull request #15889 from StevenBlack/headings-progressbars
docs>components>progress bars headings
2015-02-24 16:27:24 -08:00
Chris Rebert
a415b91558 Merge pull request #15828 from kkirsche/patch-20
Add plugin package keyword recommendation
2015-02-24 16:26:39 -08:00
Mark Otto
13c690f992 Merge pull request #15891 from StevenBlack/headings-listgroup-panel-well
docs>components>(remaining components) headings
2015-02-24 16:26:17 -08:00
Mark Otto
7872ca69be Merge pull request #15890 from StevenBlack/headings-media
docs>components>media object headings
2015-02-24 16:25:59 -08:00
Mark Otto
3c4a8ea61b Merge pull request #15888 from StevenBlack/headings-thumbnails
docs>components>thumbnails headings
2015-02-24 16:24:49 -08:00
Mark Otto
0e12bb4947 Merge pull request #15886 from StevenBlack/headings-buttondropdowns
docs>components>button-dropdowns headings
2015-02-24 16:23:17 -08:00
Mark Otto
05d0e88dbb Merge pull request #15885 from StevenBlack/headings-buttongroups
docs>components>button-groups headings
2015-02-24 16:22:52 -08:00
Mark Otto
212c114bb6 Merge pull request #15884 from StevenBlack/headings-dropdowns
docs>components>dropdowns.html headings
2015-02-24 16:22:24 -08:00
Michael
3425489273 Updated license links
Added attributes rel and target.
2015-02-24 20:03:28 +01:00
Kevin Kirsche
ced312a90e [Docs—Fixes #15882]Use an ID as the example for Scrollspy
Fixes #15882 — Use an ID as the example for Scrollspy so that it is more clear that this is for use with a single nav.
2015-02-24 09:14:50 -05:00
Christian
1ec651b3cd Update footer.html
Update Creative Commons link to HTTPS.
2015-02-24 22:47:03 +09:00
Steven Black
79eb5854ea docs>components>(remainder) headings 2015-02-23 22:14:50 -05:00
Steven Black
74b4f83434 docs>components>media object headings 2015-02-23 21:59:27 -05:00
Steven Black
8a64c684de docs>components>progress bars headings 2015-02-23 21:51:10 -05:00
Steven Black
f8280e40a0 docs>components>thumbnails headings 2015-02-23 21:41:53 -05:00
Steven Black
3e2dee6bd5 Normalized the heading hierarchy in the documentation for the Labels component. 2015-02-23 21:35:37 -05:00
Steven Black
106445aea8 Normalized the heading hierarchy in the documentation for the Button dropdowns component. 2015-02-23 21:23:50 -05:00
Steven Black
9159e44a7a docs>components>button-groups headings
Normalized the heading hierarchy in the documentation for the Button groups component.
2015-02-23 21:16:02 -05:00
Steven Black
36fdaa8030 Docs>Components>Dropdowns headings
Normalized the heading hierarchy in the documentation for the Dropdowns component.
2015-02-23 21:01:54 -05:00
Kevin Kirsche
114d1cf76c Add plugin package keyword recommendation
Related to #15823, I would be interested in officially recommending a keyword such as `twbs-bootstrap` so that we can more easily showcase plugins and extensions for Bootstrap without requiring additional curation by the admins / collabs of TWBS

specificity

Add additional comment to docs

Fix capitalization

Update tag per @mdo's recommendation
2015-02-23 13:53:01 -05:00
Patrick H. Lauke
36d6af9bcd Fix copy/pasta'd id on accessibility skiplink callout 2015-02-21 15:02:40 +00:00
Patrick H. Lauke
b9504feb80 Typo in URL 2015-02-21 14:00:04 +00:00
Quy Ton
074419298e Fix capitalization/singular of comments in helper class docs
Closes #15839 by merging a tweaked version of it.
2015-02-20 20:02:20 -08:00
Jon Chretien
7080e895d8 fixed a few typos in the docs 2015-02-20 17:07:14 -05:00
Kevin Kirsche
504435e0b0 Fix #15712: Add example of how to use grid system within a modal
Closes #15725 by merging a tweaked version of it.
2015-02-19 16:14:06 -08:00
Chris Rebert
e9afc74b01 Dropdown docs: Tweak .dropup copy 2015-02-19 16:01:04 -08:00
Chris Rebert
89455afe97 Affix docs: add MDN link for position: sticky 2015-02-19 15:55:33 -08:00
Chris Rebert
3748e44b2e Merge pull request #15773 from kkirsche/patch-16
Fix #15766: Clarify Affix plugin docs
2015-02-19 15:53:49 -08:00
Kevin Kirsche
744c3646f5 [Fixes #15766] Need Clearer Affix plugin documentation
[Fixes #15766] Need Clearer Affix plugin documentation

Remove trailing whitespace

Update the documentation
2015-02-19 16:38:03 -05:00
Chris Rebert
0b10c6b060 Merge pull request #15662 from kkirsche/patch-5
Fix issue #15597 — Mention dropup variation in dropdown docs
2015-02-19 11:29:24 -08:00
Mark Otto
a7a6e7f8d6 Merge pull request #15703 from kkirsche/patch-9
[Fix Issue #15683] `readonly` input should not have a not-allowed cursor
2015-02-17 11:31:36 -08:00
vsn4ik
1bb3ef3e0b Use https://www.npmjs.com (new site). 2015-02-17 10:01:58 +03:00
Chris Rebert
763f8293da .text-hide docs: trivial indentation fix 2015-02-12 10:41:16 -08:00
Chris Rebert
0fe6ff9fca browser-device-support.html: tweak indentation 2015-02-12 10:40:00 -08:00
Chris Rebert
19a6406ec4 fix indentation of highlighted code in Modal docs 2015-02-12 10:36:15 -08:00
Kevin Kirsche
d78d9dc5d9 Remove separate area for dropup's
Condense the dropup example
2015-02-10 08:57:56 -05:00
XhmikosR
81115cd089 Run grunt. 2015-02-10 10:50:57 +02:00
Kevin Kirsche
894ec6f714 Fixes #15653 — Add comment which explains that how a responsive image should be centered
Fixes #15653 — Add comment which explains that how a responsive image should be centered

Redo of #15657 which I couldn't get to rebase properly after all the merges were done last night.
2015-02-09 13:55:37 -05:00
Mark Otto
2fad6e8dd2 Merge pull request #15648 from Nikita240/master
Improve image layout in the carousel example.
2015-02-08 17:25:13 -08:00
Chris Rebert
e7de01eeed Update Twitter handle: @twbootstrap => @getbootstrap
Refs 1c94b7791f
CC: @mdo
2015-02-06 11:54:07 -08:00
Patrick H. Lauke
27677fab5b Merge pull request #15714 from patrickhlauke/skip-link-fixes
Skip link workarounds for Chrome and IE
2015-02-04 15:38:17 +00:00
Kevin Kirsche
be2206edfc [Fix Issue #15701] Tooltip/popover destroy docs don't explain the delegation case
[Fix Issue #15701] Tooltip/popover destroy docs don't explain the delegation case.

Add to popovers
2015-02-03 15:49:03 -05:00
Chris Rebert
012af29efc Merge pull request #15740 from twbs/carousel-events-target
Clarify target of carousel events
2015-02-03 10:58:33 -08:00
Chris Rebert
ab99374a9c Clarify target of carousel events
[skip sauce]
2015-02-03 10:53:33 -08:00
Chris Rebert
89ef0a5d34 Clarify target of modal events 2015-02-03 10:48:56 -08:00
Kevin Kirsche
2dfc58fa5c [Fix Issue #15683] readonly input should not have a not-allowed cursor
[Fix Issue #15683] `readonly` input should not have a `not-allowed` cursor. Instead, this pull request displays a standard cursor and only displays the not-allowed cursor on disabled items.

Revise docs wording to clarify cursor display
2015-02-03 08:58:11 -05:00
XhmikosR
391054fa2d Merge pull request #15658 from kkirsche/patch-3
Fix issue #15601 — Position of Charset, X-UA-Compatible, and Viewport Meta Tags
2015-02-03 07:22:45 +02:00
Kevin Kirsche
a380e30f7e Fix issue #15601 — Position of X-UA-Compatible
Fix issue #15601 — Position of X-UA-Compatible, charset and viewport

Add comment to all examples

The non-responsive is correctly saying 2 instead of 3
2015-02-02 15:45:57 -05:00
Patrick H. Lauke
214516da16 Expand/clean-up prose about skip links 2015-02-02 12:30:21 +00:00
Patrick H. Lauke
c0892d1470 Skip link workarounds for Chrome and IE
Add tabindex="-1" to main #content to work around bug in Chrome (and old
WebKits) and IE
Update advice in accessibility section
Include patch in docs CSS to suppress outline when #content is focused
(particularly as Chrome sets focus as result of mouse click for
tabindex="-1" elements)
2015-01-31 13:09:57 +00:00
Patrick H. Lauke
4d4c7c4051 License FAQ clarification 2015-01-30 16:03:07 +00:00
Chris Rebert
97e5ac1c92 Fix #15688
Stability > Precision
2015-01-29 18:00:49 -08:00
Kevin Kirsche
98d4464065 Update per @vsn4ik's requests
data-example-id not need be moved. Only change, because data-example-id="static-dropdown" already exists.

Remove whitespace after h3.
Variation not need capitalize.
2015-01-28 13:47:02 -05:00
Kevin Kirsche
5688fc8d65 Complete @vsn4ik's requests
* Remove `<h3>Example</h3>;`
* Move `data-example-id=""` to `<h3>Dropup Variation</h3>` and change value;
2015-01-27 17:01:59 -05:00
XhmikosR
9f25895015 Fix validation errors.
Surprisingly those weren't reported by the validator; only in the grunt-contrib-htmlmin branch they were reported, so after digging into it, I saw they were indeed errors...
2015-01-26 17:58:09 +02:00
Kevin Kirsche
dc50153c93 Fix issue #15597 — Mention dropup variation in dropdown docs
Fix issue #15597 — Mention dropup variation in dropdown docs

Other pull request was so messed up I sincerely have no clue how to save it. The recommended command doesn't work, can't believe rebasing is so problematic...
2015-01-23 21:48:33 -05:00
Nikita Rushmanov
6e782ed42d Add a warning in images.html about text-align
People normally center images using text-align. However, the `.img-responsive`
class changes the display type to block. As a result you can no longer align the 
image with text-align. You must instead do it with margin: auto. There was no 
note about this on the web page, and no mention about setting the display to
block. Users were left on a frustrating journey to figure out why they can't center
images anymore!
2015-01-23 03:16:07 -08:00
Mark Otto
efd7792488 Merge branch 'master' of github.com:twbs/bootstrap 2015-01-21 21:06:28 -08:00
Mark Otto
a3890a72cf Merge branch 'master' into move-inline-css
Conflicts:
	docs/assets/css/docs.min.css
2015-01-21 20:16:08 -08:00
Mark Otto
8ec708870c Merge pull request #15299 from SpectrumPixel/patch-2
Remove "Separated link" in example where it's not
2015-01-21 19:58:03 -08:00
Mark Otto
af9c7151b3 Merge branch 'docs-anchors' 2015-01-21 19:20:21 -08:00
XhmikosR
a6f3bdb71f Move inline CSS to docs.css. 2015-01-21 09:51:12 +02:00
XhmikosR
3f512c927b Add AnchorJS for docs anchors. 2015-01-21 09:50:51 +02:00
Mark Otto
9e0c4ff786 several docs cleanup things 2015-01-20 22:57:24 -08:00
Mark Otto
74fbf61e30 custom holder theme 2015-01-20 21:12:25 -08:00
Chris Rebert
2e20e67dc1 Document sticky :hover on mobile browsers; fixes #12832 2015-01-20 19:22:20 -08:00
Mark Otto
ff1d10affb fix scrollspy nav 2015-01-19 18:51:21 -08:00
Mark Otto
72bc9b97f0 fix homepage nav styles 2015-01-19 15:44:45 -08:00
Mark Otto
a72741ed62 nuke files 2015-01-19 15:25:53 -08:00
Mark Otto
d8c94029d3 move around files 2015-01-19 15:25:49 -08:00
Mark Otto
325748ff68 Merge branch 'master' into v4
Conflicts:
	_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
	dist/js/bootstrap.min.js
	docs/_includes/components/thumbnails.html
	docs/_includes/css/forms.html
	docs/_includes/css/grid.html
	docs/_includes/customizer-variables.html
	docs/_includes/footer.html
	docs/_includes/getting-started/download.html
	docs/_includes/getting-started/template.html
	docs/_includes/js/overview.html
	docs/_includes/js/popovers.html
	docs/_includes/js/tooltips.html
	docs/assets/css/docs.min.css
	docs/assets/js/customize.min.js
	docs/assets/js/raw-files.min.js
	docs/assets/js/src/customizer.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
	docs/dist/js/bootstrap.js
	docs/dist/js/bootstrap.min.js
	docs/examples/navbar-fixed-top/index.html
	docs/examples/navbar-static-top/index.html
	docs/examples/non-responsive/index.html
	docs/examples/theme/index.html
	grunt/configBridge.json
	less/alerts.less
	less/badges.less
	less/jumbotron.less
	less/panels.less
	less/tables.less
	less/theme.less
	less/variables.less
	package.json
	scss/_button-group.scss
	scss/_buttons.scss
	scss/_forms.scss
2015-01-19 14:48:12 -08:00
Mark Otto
4ed95f5fa2 fixes #15497: increase decimals on line-height-large from 1.33 to 1.3333333 to fix button sizing in Win 8.1 Chrome 2015-01-18 15:03:14 -08:00
Chris Rebert
161eac4fd7 rm dummy href from dismiss-on-next-click popover example; fixes #15277 2015-01-18 12:51:47 -08:00
Chris Rebert
2eaa7e0e1c Merge pull request #15581 from twbs/inline-form-with-visible-labels
Add example of using .form-inline with visible <label>s
2015-01-16 08:20:41 -08:00
Dan Course
21f7254e10 12 items of *fewer* as it's a countable item
http://www.oxforddictionaries.com/words/less-or-fewer
2015-01-16 10:36:46 +00:00
Chris Rebert
ca2c1e1576 custom widths not always required for inline form fields
[skip sauce]
2015-01-15 17:52:02 -08:00
Chris Rebert
2fa70f37da Add example of using .form-inline with visible <label>s
Refs #15410
[skip sauce]
2015-01-15 17:47:22 -08:00
Chris Rebert
63f3136450 Document that tooltip+popover show+hide methods are async; fixes #15500
[skip sauce]
2015-01-15 17:18:00 -08:00
Chris Rebert
499f71d27f Merge pull request #15498 from twbs/fix-15332
Add examples of using feedback icons with .input-group
2015-01-15 15:49:46 -08:00
Chris Rebert
f1cb639c34 Docs: add missing "http://" 2015-01-15 10:46:58 -08:00
Chris Rebert
47ec330473 Merge pull request #15560 from twbs/fix-15555
Document that .form-inline & .form-horizontal work fine on non-<form>s too
2015-01-14 21:07:26 -08:00
Chris Rebert
ccc3eb5cc6 document usage of npm package; fixes #15127
[skip sauce]
2015-01-14 18:43:08 -08:00
Chris Rebert
7b84705286 Document that .form-inline & .form-horizontal work fine on non-<form>s too
Fixes #15555
[skip sauce]
2015-01-13 17:36:37 -08:00
Chris Rebert
fb6622a7d4 Document that calling tooltip/popover .show()/.hide() qualifies as manual triggering
Fixes #15465

[skip sauce]
2015-01-13 17:06:31 -08:00
Chris Rebert
901ece7996 add pointer to Masonry in the thumbnail docs 2015-01-08 13:35:05 -08:00
Mark Otto
b542137dd5 streamline homepage nav 2015-01-06 16:05:58 -08:00
XhmikosR
9db1de2a3a Update jQuery to v1.11.2. 2015-01-07 00:31:18 +02:00
Chris Rebert
be6dc3a3c9 Add example of using feedback icons with .input-group ; fixes #15332 2015-01-05 16:19:56 -08:00
Chris Rebert
19222bfe89 overview.html: add missing <p> 2015-01-03 22:05:49 -08:00
Mark Otto
0e5d17d5f6 Merge branch 'master' into v4
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
	dist/js/bootstrap.min.js
	docs/_data/glyphicons.yml
	docs/_includes/components/alerts.html
	docs/_includes/components/badges.html
	docs/_includes/components/breadcrumbs.html
	docs/_includes/components/button-dropdowns.html
	docs/_includes/components/button-groups.html
	docs/_includes/components/dropdowns.html
	docs/_includes/components/glyphicons.html
	docs/_includes/components/input-groups.html
	docs/_includes/components/jumbotron.html
	docs/_includes/components/labels.html
	docs/_includes/components/list-group.html
	docs/_includes/components/media.html
	docs/_includes/components/navbar.html
	docs/_includes/components/navs.html
	docs/_includes/components/page-header.html
	docs/_includes/components/pagination.html
	docs/_includes/components/panels.html
	docs/_includes/components/progress-bars.html
	docs/_includes/components/responsive-embed.html
	docs/_includes/components/thumbnails.html
	docs/_includes/components/wells.html
	docs/_includes/css/buttons.html
	docs/_includes/css/code.html
	docs/_includes/css/forms.html
	docs/_includes/css/grid.html
	docs/_includes/css/helpers.html
	docs/_includes/css/images.html
	docs/_includes/css/less.html
	docs/_includes/css/tables.html
	docs/_includes/css/type.html
	docs/_includes/customizer-variables.html
	docs/_includes/getting-started/accessibility.html
	docs/_includes/getting-started/disabling-responsiveness.html
	docs/_includes/getting-started/download.html
	docs/_includes/getting-started/whats-included.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/overview.html
	docs/_includes/js/popovers.html
	docs/_includes/js/tabs.html
	docs/_includes/js/tooltips.html
	docs/_includes/nav/components.html
	docs/_includes/nav/javascript.html
	docs/_jade/customizer-variables.jade
	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/raw-files.min.js
	docs/assets/js/src/customizer.js
	docs/customize.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
	less/glyphicons.less
	less/mixins/vendor-prefixes.less
	less/navbar.less
	less/popovers.less
	less/tables.less
	less/theme.less
	less/tooltip.less
	less/variables.less
	package.json
	scss/_carousel.scss
	scss/_close.scss
	scss/_forms.scss
	test-infra/npm-shrinkwrap.json
2015-01-03 20:08:58 -08:00
Chris Rebert
df38cdad32 Merge pull request #15472 from twbs/address-15288
Document that responsive tables use `overflow-y: hidden`
2014-12-31 16:12:38 -08:00
Chris Rebert
c328b6254f Merge pull request #15473 from twbs/autoprefixer-docs
Document that Autoprefixer is required
2014-12-31 16:11:42 -08:00
Mark Otto
1a932b7e02 Merge branch 'v4' of https://github.com/twbs/derpstrap into v4 2014-12-31 10:39:56 -08:00
Nate Eagleson
1b375420fa Remove extra word from disabling-responsiveness.html 2014-12-30 21:48:34 -05:00
Chris Rebert
4f1000d772 Document that Autoprefixer is required
Closes #14937
[skip sauce]
2014-12-30 18:34:48 -08:00
Chris Rebert
511f37dc04 Document that responsive tables use overflow-y: hidden
Closes #15288

[skip sauce]
2014-12-30 18:17:09 -08:00
Chris Rebert
5ccfd98c31 Document the VERSION property of the jQuery plugins; fixes #15202
[skip sauce]
2014-12-30 13:32:28 -08:00
Chris Rebert
c6ad3a8d6d update docs to use .{tooltip,popover}-{left,right,top,bottom} 2014-12-29 12:33:06 -08:00
Chris Rebert
6a5bc63649 rename .arrow => .popover-arrow 2014-12-29 12:33:06 -08:00
Mark Otto
489f2bc1fa no results in search form accounted for 2014-12-25 22:40:25 -08:00
Mark Otto
18e08e777b add custom forms, stub out examples for radios and checkboxes 2014-12-24 04:13:23 -08:00
Mark Otto
73e59c26e6 basic docs search 2014-12-24 02:44:38 -08:00
Mark Otto
0972c64e7a fix sidenav links 2014-12-23 13:23:03 -08:00
Chris Rebert
3406a5c97a Remove holder.js references from syntax-highlighted example HTML
Our use of Holder.js in the docs is a mere implementation detail.
Don't want to confuse people into thinking Holder.js
is somehow required by the Thumbnail component.

[skip sauce]
2014-12-22 14:55:41 -08:00
Mark Otto
36a99c68bf restore configbridge to footer files, update paths 2014-12-19 00:35:54 -08:00
Mark Otto
d1a766494e fix paths and baseurl action 2014-12-19 00:24:09 -08:00
Chris Rebert
f24a1cb28d remove remaining remnants of the Customizer 2014-12-17 13:44:52 -08:00
Mark Otto
4945e370f0 fixes #15340: mention in docs that most selects can't change border-radius 2014-12-14 16:59:47 -08:00
Mark Otto
b7be72c86c Merge pull request #15348 from bastienmoulia/master
Correction in the documentation, add the brand-primary true color in comment and woff2 glyphicons
2014-12-14 16:28:53 -08:00
Patrick H. Lauke
2d41894ce5 Expand/clarify advice about skip links 2014-12-14 21:27:58 +00:00
Julian Thilo
a940e1fdd6 Revert "fix typo in carousel doc" 2014-12-12 14:24:50 +01:00
Bastien
c8855a7ad1 Add glyphicons fonts in woff2 2014-12-12 14:22:41 +01:00
Emmanuel Gautier
f0be5e0409 fix typo 2014-12-12 12:53:50 +01:00
Bastien
bc36e31280 Add new brand-primary color in the doc and the true color in comment 2014-12-12 11:07:16 +01:00
Bastien
5b8ba0cb4d 200 to 260 glyphicons in the doc 2014-12-12 10:58:21 +01:00
XhmikosR
4e27c48248 Run grunt. 2014-12-11 08:24:31 +02:00
Mark Otto
95da2a9428 nuke the customizer 2014-12-10 13:51:43 -08:00
Patrick H. Lauke
d9c3e5f3ad Fix/merge advice on low percentage progress bars
- actually add the ``min-width`` extra style (and use ``em`` rather than
``px``) to the 0% and 2% example
- remove the unnecessarily redundant sentence in the "With labels"
section
- remove the unnecessary heading/section specifically for low percentage
case, make it flow naturally as part of the "With labels" section
2014-12-10 16:50:21 +00:00
Patrick H. Lauke
285ec70493 Make main segmented button keyboard-focusable
unless there's a reason why ``tabindex="-1"`` was dropped in there...
2014-12-08 22:29:34 +00:00
Patrick H. Lauke
24bc102664 Use aria-label for pagination prev/next
Cleaner alternative to using ``<span class="sr-only">``
2014-12-08 22:29:33 +00:00
Patrick H. Lauke
eee275762f Callout for labelling of input groups
plus a few suggested approaches (in some cases, elided, as the actual
content of the label - being a generic example - is not important)
2014-12-08 22:29:33 +00:00
Patrick H. Lauke
c918127e68 Split out/clarify `<select> and multiple` 2014-12-08 12:05:42 +00:00
Patrick H. Lauke
52e4b87b5a Expand advice for optional icons with hidden labels
to clarify/hint that a ``<label class="sr-only">`` is not the only way
to do it
2014-12-08 10:36:26 +00:00
Bas Bosman
e9dca8df52 Add missing to 2014-12-08 09:41:44 +01:00
Mark Otto
e11c634be9 fixes #15311: mention in docs requirement for .btn-group-* sizing on immediate .btn-group 2014-12-07 22:26:19 -08:00
Patrick H. Lauke
202f1f8d69 `<abbr>` with title also useful for AT
...and remove the redundant paragraph for basic abbreviation, which
simply repeats what was just said above.
2014-12-07 20:56:38 +00:00
Patrick H. Lauke
353d8395ae Expand advice about adding labels
Harmonizing this with same advice given for CSS inline forms
2014-12-07 20:56:37 +00:00
Patrick H. Lauke
c609272ac1 `aria-label="close" instead of sr-only span`
shorter, neater, well supported
2014-12-07 14:29:03 +00:00
Chris Rebert
08f388679b tweak grid docs copy
[skip sauce]
2014-12-06 13:55:31 -08:00
Chris Rebert
7e758f60fc Repeat warning comment about keeping "What's included" sections in sync
Refs #15238
[skip sauce]
2014-12-05 11:50:55 -08:00
Chris Rebert
0c5a5563b2 Merge pull request #15214 from twbs/example-ids
Give all embedded live docs examples data-example-id attrs
[skip sauce]
2014-12-04 19:18:29 -08:00
TJ
f837a3f775 Remove "Separated link" in example where it's not
Removed "Separated link" in example where it's not separated. This may confuse people to think that it is separated.

I don't want to sound nitpick, but I've been working with a client maintaining a custom internal Bootstrap installation with customized docs, so I've been getting a lot of feedback from client developers using the docs.
2014-12-04 19:00:31 -05:00
Mark Otto
75943868be update home and side nav to use new navbar structure 2014-12-01 15:41:11 -08:00
Mark Otto
a17f23c022 nuke the other incomplete example per @ianw 2014-12-01 01:39:31 -08:00
Mark Otto
b648a77ed3 Merge branch 'master' into v4
Conflicts:
	Gruntfile.js
	_config.yml
	dist/css/bootstrap-theme.css
	dist/css/bootstrap-theme.min.css
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	dist/fonts/glyphicons-halflings-regular.eot
	dist/fonts/glyphicons-halflings-regular.svg
	dist/fonts/glyphicons-halflings-regular.ttf
	dist/fonts/glyphicons-halflings-regular.woff
	docs/_data/glyphicons.yml
	docs/_includes/components/alerts.html
	docs/_includes/components/badges.html
	docs/_includes/components/button-dropdowns.html
	docs/_includes/components/button-groups.html
	docs/_includes/components/dropdowns.html
	docs/_includes/components/glyphicons.html
	docs/_includes/components/input-groups.html
	docs/_includes/components/labels.html
	docs/_includes/components/media.html
	docs/_includes/components/navbar.html
	docs/_includes/components/navs.html
	docs/_includes/components/pagination.html
	docs/_includes/components/panels.html
	docs/_includes/components/progress-bars.html
	docs/_includes/css/buttons.html
	docs/_includes/css/forms.html
	docs/_includes/css/grid.html
	docs/_includes/css/helpers.html
	docs/_includes/css/images.html
	docs/_includes/css/less.html
	docs/_includes/css/responsive-utilities.html
	docs/_includes/css/sass.html
	docs/_includes/css/tables.html
	docs/_includes/css/type.html
	docs/_includes/getting-started/accessibility.html
	docs/_includes/getting-started/browser-device-support.html
	docs/_includes/getting-started/community.html
	docs/_includes/getting-started/download.html
	docs/_includes/getting-started/examples.html
	docs/_includes/getting-started/whats-included.html
	docs/_includes/js/affix.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/overview.html
	docs/_includes/js/tabs.html
	docs/_includes/nav/components.html
	docs/_includes/nav/css.html
	docs/_includes/nav/javascript.html
	docs/_includes/nav/main.html
	docs/about.html
	docs/assets/css/docs.min.css
	docs/assets/js/customize.min.js
	docs/assets/js/raw-files.min.js
	docs/dist/css/bootstrap-theme.css
	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/dist/fonts/glyphicons-halflings-regular.eot
	docs/dist/fonts/glyphicons-halflings-regular.svg
	docs/dist/fonts/glyphicons-halflings-regular.ttf
	docs/dist/fonts/glyphicons-halflings-regular.woff
	docs/examples/carousel/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/non-responsive/non-responsive.css
	docs/examples/sticky-footer-navbar/index.html
	docs/examples/theme/index.html
	fonts/glyphicons-halflings-regular.eot
	fonts/glyphicons-halflings-regular.svg
	fonts/glyphicons-halflings-regular.ttf
	fonts/glyphicons-halflings-regular.woff
	less/_carousel.less
	less/_forms.less
	less/glyphicons.less
2014-11-30 20:17:45 -08:00
Mark Otto
0eb2c922d8 Merge branch 'master' of github.com:twbs/bootstrap 2014-11-30 17:11:24 -08:00
Mark Otto
88ec5152da clarify collapse example with link and button triggers; also mention classes 2014-11-30 17:10:13 -08:00
Quy Ton
a6950ce276 Add .media-object in docs 2014-11-30 07:44:14 -08:00
Mark Otto
65f72ff095 Merge pull request #15133 from patrickhlauke/docs-table-fixes
Fixes to scope
2014-11-29 23:17:36 -08:00
Mark Otto
9928144dc4 Fixes #15241: Add simple example to docs for collapse plugin 2014-11-29 23:03:47 -08:00
Mark Otto
1de638f830 fixes #15164: wrap disable pagination spans in another span 2014-11-29 18:27:51 -08:00
Mark Otto
c9289691ba fix the run-on 2014-11-29 16:53:37 -08:00
Peter Blazejewicz
c1885ef58b Add CSS source maps reference to docs. Closes #15211
- update distribution file list with relevant files
- add a short reference to CSS source map purpose
- add link to Google Chrome developer network article
2014-11-27 22:03:32 +01:00
Chris Rebert
44447eeefe Give all embedded live docs examples data-example-id attrs
Refs #11410
2014-11-24 17:09:32 -08:00
Julian Thilo
c022d88ac5 Merge pull request #15108 from zacechola/irc_room
corrects IRC room
2014-11-24 15:46:14 +01:00
Julian Thilo
7bf002d63d Fix #15194: Shrink media link area 2014-11-22 13:45:32 +01:00
XhmikosR
0c816d910d Merge pull request #15159 from twbs/docs-muted
Clean up old `muted` references and switch to `text-muted`.
2014-11-20 10:27:42 +02:00
Chris Rebert
af77842ce7 Merge pull request #15111 from twbs/events-tables-wrapping
Don't line wrap event names in JS plugin docs
2014-11-20 00:06:33 -08:00
XhmikosR
a1b8aa351e Clean up old muted references and switch to text-muted. 2014-11-20 08:02:25 +02:00
Chris Rebert
8bb59abf40 Merge pull request #15090 from twbs/dropdowns-events
consolidate relatedTarget docs in dropdown event docs
2014-11-19 17:33:17 -08:00
Quy Ton
347ad61010 Fix name spelling 2014-11-17 08:05:26 -08:00
Chris Rebert
03f35d2dab Since Safari has released new fixed versions, we're unlikely to take any further action on this. 2014-11-17 03:19:05 -08:00
Chris Rebert
450a9ece10 Merge pull request #15125 from patrickhlauke/docs-clean-up
Docs clean up - unnecessary role attributes, callout clarifications
2014-11-17 02:13:21 -08:00
XhmikosR
d782eed426 Merge pull request #15129 from twbs/examples-img-alt
Specify `img` alternative text.
2014-11-17 11:31:21 +02:00
Chris Rebert
7876ebd2ed rm redundant role="button" from <button> 2014-11-16 16:34:28 -08:00
XhmikosR
1a2baf4873 Merge pull request #15139 from patrickhlauke/docs-button-section-restructure
Docs button section restructure
2014-11-16 17:42:33 +02:00
XhmikosR
5245bafb92 Merge pull request #15135 from hillai/patch-1
Add modal autofocus example
2014-11-16 17:42:05 +02:00
hillai
0ada807ce6 Add modal autofocus example 2014-11-16 16:48:08 +02:00
Patrick H. Lauke
cb8581580c Move button-tags section to start of button section 2014-11-15 00:26:22 +00:00
Patrick H. Lauke
25ef6ad625 Move context-specific callout to general tag usage 2014-11-15 00:25:13 +00:00
Chris Rebert
729a115c88 split .form-inline .input-group into separate docs example 2014-11-14 12:03:54 -08:00
Patrick H. Lauke
db4e5efb8f Fixes to scope
as discssued in
https://github.com/twbs/bootstrap/issues/15117#issuecomment-63029993

- added ``scope="row"`` to row headers
- made sure row headers are actual ``<th>`` elements
- removed ``scope="col"`` where it was redundant
- simplified table examples with (to me) unnecessary
``rowspan``/``colspan`` (unless you really want complex tables, in which
case we would need full-on ``id`` and ``headers`` attributes to make
sure each table cell has an explicit association with the related header
cells - overkill, in my opinion)
- one table (in typography) left header-less, as it's more or less presentational (though its structure is still important, hence not adding ``role="presentation"``)
2014-11-14 13:40:09 +00:00
Patrick H. Lauke
bab36220c9 Redundant role="navigation" on <nav>s
plus one example that still used the old <div role="navigation"> and a
fix-up of the callout as per
https://github.com/twbs/bootstrap/issues/15109
2014-11-14 10:52:57 +00:00
Patrick H. Lauke
25cac1ea9a Redundant role="form" on <form>s 2014-11-14 10:52:56 +00:00
Patrick H. Lauke
27d9d35ffd Expand caveat for disabled fieldsets and links 2014-11-14 10:52:56 +00:00
XhmikosR
4d2fb67050 Specify img alternative text. 2014-11-14 11:28:17 +02:00
Quy Ton
cd03436379 Fix link 2014-11-13 22:20:30 -08:00
Chris Rebert
7bdc307b70 clarify that Bower is one among several installation methods 2014-11-13 15:18:55 -08:00
Chris Rebert
3a96a80a1b Merge pull request #15093 from twbs/id-callouts
Give all docs callouts IDs
[skip sauce]
2014-11-13 12:24:03 -08:00
XhmikosR
6ce4ca75a2 Fix a small grammar mistake.
[ci skip]
2014-11-13 22:18:02 +02:00
Chris Rebert
ea407666ce give all docs callouts IDs
[skip sauce]
2014-11-13 12:16:03 -08:00
XhmikosR
5660be42fa Use a 40x40 image for the navbar brand image example.
Saves 3.4KB.
2014-11-13 22:09:38 +02:00
Chris Rebert
e5c888f4a2 Fix .form-inline docs example
Make sample code match live example
Move <label> out of .input-group into .form-group instead
Change field from Email to Username to make it less redundant, slightly more realistic
Add <label> for Username field for consistency
Fixes #15118
2014-11-13 11:32:33 -08:00