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

651 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
a17f23c022 nuke the other incomplete example per @ianw 2014-12-01 01:39:31 -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
Zac Echola
bf43c9cf9f escaped uri 2014-11-13 09:12:31 -06:00
Chris Rebert
ddf39cc2e7 Don't line wrap event names in JS plugin docs 2014-11-12 16:32:51 -08:00
Chris Rebert
82eaefcd43 add link to MDN docs regarding iOS Safari element clickability 2014-11-12 16:16:10 -08:00
Zac Echola
75dfed7f8f corrects IRC room 2014-11-12 15:31:36 -06:00
Chris Rebert
856d31b373 Merge pull request #15089 from twbs/data-attrib-callout
move data attributes callout into data attributes doc subsection
2014-11-12 10:07:22 -08:00
Chris Rebert
84dcd226df Merge pull request #15094 from twbs/js-navs
JS docs: add Options, Methods, Events subsections to nav sidebar
2014-11-12 10:06:07 -08:00
Chris Rebert
b87370c28f navbar callouts cleanup
Move all callouts to be adjacent to each other
Combine JS-related callouts into a single callout
2014-11-11 21:22:30 -08:00
Chris Rebert
1211a8155e JS docs: add Options, Methods, Events subsections to nav sidebar 2014-11-11 21:16:34 -08:00
Chris Rebert
c672ed3fb0 Merge pull request #15092 from twbs/scrollspy-callouts
move scrollspy callouts so they're all adjacent to each other
[skip sauce]
2014-11-11 19:56:28 -08:00
Chris Rebert
cb9531f378 Merge pull request #15091 from twbs/popovers-heading
move popover examples heading to directly before the actual examples
2014-11-11 19:53:49 -08:00
Chris Rebert
125945eb90 add missing dots to .sr-only class mentions, for consistency w/ rest of docs 2014-11-11 19:51:10 -08:00
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