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
Mark Otto
c064eef67b Massive cleanup
- Simpler main nav on all pages
- Back to purple masthead on homepage instead of dark graphite
- Active link styles on the main nav
- Cleaned up sidebar nav
- New docs layout name
- Homepage copy edits
- Updated bright purple docs color
2015-08-14 22:45:55 -07:00
Mark Otto
46fbaab5ef unfuck all that watch shit 2015-08-12 20:01:15 -07:00
Mark Otto
eaeee93fa3 docs rearrange 2015-08-09 23:38:16 -07:00
Mark Otto
317c667d1c rewrite browser and device support 2015-08-09 23:12:09 -07:00
Mark Otto
5d11eaa1de update description 2015-08-09 22:49:52 -07:00
Mark Otto
44fe355ec2 un-affix top navbar 2015-08-09 20:31:16 -07:00
Mark Otto
fed0d8a2d4 restore page headers, use partial and page frontmatter to organize it 2015-08-05 17:47:45 -07:00
Mark Otto
bc88c90b2c footer overhaul again 2015-08-05 00:54:30 -07:00
Mark Otto
d80f26fe49 unaffix sidebar and simplify styles of docs side nav to be more like v3 2015-08-05 00:38:36 -07:00
Mark Otto
6848ee2484 top level examples link 2015-08-05 00:12:26 -07:00
Mark Otto
6836530f72 account for nav on docs pages 2015-08-05 00:10:15 -07:00
Mark Otto
95b0ec18f4 new global navbar for all docs pages 2015-08-04 23:39:51 -07:00
Mark Otto
042b5fc7eb tweak footer styles 2015-08-04 22:39:54 -07:00
Mark Otto
1ddc3f5e21 Merge branch 'master' into v4m 2015-08-04 22:29:45 -07:00
Mark Otto
39d9bc9cea Merge branch 'master' of https://github.com/twbs/bootstrap 2015-08-04 20:08:10 -07:00
Mark Otto
f9bee7deb6 fixes #16902: remove the .container-fluid from the grid system in modal example since it's doubling up padding 2015-08-04 19:57:49 -07:00
Mark Otto
10cc97cdd9 Merge pull request #16560 from supergibbs/multiple-button-input-groups
Multiple button input groups
2015-08-04 19:54:19 -07:00
Mark Otto
253619882f Merge pull request #16818 from zacechola/fix_16805
Move help block docs up page, add `.help-block` to validation example
2015-08-04 19:52:08 -07:00
Mark Otto
cf2d9bfe8a Help with issues like #16823 by mentioning where to download example source code 2015-08-04 19:50:50 -07:00
Mark Otto
c9c9c614a9 simpler footer with no social buttons, fewer links 2015-07-31 15:03:17 -07:00
XhmikosR
abdf41f5f3 Add a local jQuery fallback.
Shouldn't really happen, but China for example has blocked Google so this should help.
2015-07-26 10:07:33 +03:00
Mark Otto
63f5da62bf remove all instances of .bs-docs-grid in grid docs since it's unused. nullifies #16838 2015-07-17 16:21:48 -07:00
Zac Echola
185dd0d824 Move help block docs up page, add .help-block to validation example 2015-07-13 13:17:02 -05:00
Patrick H. Lauke
38c715316b Add example with visible <label> and input group addon
Also, include visible <label> as a suggestion in the accessibility
callout.
2015-07-09 10:55:21 +01:00
Matt Kantor
c7ddec640a Update Twitter's address in examples.
They're no longer on Folsom St.
2015-07-04 13:32:19 -07:00
Chris Rebert
ef02c55945 Document that Tab show method is async
[skip sauce]
2015-07-01 16:42:13 -07:00
Chris Rebert
e723395cc3 Document that Collapse show,hide,toggle methods are async; fixes #16746
[skip sauce]
2015-07-01 16:39:12 -07:00
Chris Rebert
06bec75006 Add Methods section to Popovers nav menu in docs
[skip sauce]
2015-06-30 17:21:05 -07:00
vsn4ik
d4fc042dcd Added *.min.map to whats-included. 2015-06-19 22:46:34 +03:00
Mark Otto
169d2a4a78 Merge branch 'master' into v4 2015-06-18 23:56:43 -07:00
Kevin Kirsche
fe36aec994 Re-order popover elements in docs
X-Ref #13969
2015-06-18 20:03:35 -04:00
Mark Otto
de2b660a14 Clarify what's being hovered /cc @kkirsche 2015-06-18 16:25:08 -07:00
Mark Otto
0f6fab0fd0 Merge pull request #16632 from kkirsche/patch-15
Clarify that <fieldset> only uses the disabled attribute
2015-06-18 16:22:51 -07:00
Mark Otto
5ea03fa259 Merge pull request #16563 from dbkaplun/dl-horizontal-breakpoint
Adds @dl-horizontal-breakpoint
2015-06-18 16:06:39 -07:00
Kevin Kirsche
315db4a005 Clarify that <fieldset> only uses the disabled attribute
Fix #16632
2015-06-15 19:59:26 -04:00
Mark Otto
e615ae053c overhaul nav and shit again
- drop the index pages save for examples
- comment out the extend section for now
- fix up spacing fix on team list
2015-06-13 14:05:25 -07:00
Patrick H. Lauke
3d244537fb Slightly expand accessible modals callout
to include a note about `role="document"`
2015-06-11 12:47:52 +01:00
Patrick H. Lauke
e23868c9cf Add role="document" to modal itself
Initial fix to generalise use of modals. Generally, true role="dialog"
containers would require only forms/controls as content, with all other
text correctly and explicitly associated via
aria-labelledby/aria-describedby and similar...but as authors use modals
also as generic overlays, this extra role is required to get AT
(particularly NVDA) out of "forms" mode and reenable reading keys
2015-06-11 12:40:24 +01:00
Mark Otto
393ccd12d8 hide the brand on small viewports 2015-06-09 15:23:18 -07:00
Patrick H. Lauke
caca5d46d5 Merge pull request #16571 from patrickhlauke/generalize-dropdowns
generalize dropdowns / drop role="menu"
2015-06-02 11:21:26 +01:00
Patrick H. Lauke
5fd7bc1554 generalize dropdowns / drop role="menu"
as role="menu" is a very specific (and strict) ARIA pattern for
desktop-like application menus, and our dropdowns are often used
as pure navigation dropdowns, this change abandons ARIA menus for
a more open-ended and light-weight approach
(see http://heydonworks.com/practical_aria_examples/#submenus and
http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria)
note that in dropdown.js, switched to now target ``.dropdown-menu``
instead of ``role["menu"]`` - this also prevents bootstrap scripts
from "bleeding" into non-bootstrap components on the same page.
also removed the ``role=["listbox"]`` part, which appears to be
vestigial/unused (only place in bootstrap that uses that
role are carousels, and their key handling is done separately)
2015-06-02 11:03:21 +01:00
Mark Otto
b5b4c9c701 Merge pull request #16484 from kkirsche/patch-13
ScrollSpy requires non-body elements to have height and overflow…
2015-05-30 17:32:20 -07:00
Kevin Kirsche
962ae5ac2f [Close #16441] ScrollSpy requires non-body elements to have height and padding
[Close #16441] ScrollSpy requires non-body elements to have height and padding
2015-05-30 18:24:23 -04:00
Dan Kaplun
78bdbcdc08 Adds @dl-horizontal-breakpoint 2015-05-30 12:57:36 -04:00
Patrick H. Lauke
3b59b97c62 ensure divider list items have role="separator"
http://www.w3.org/TR/wai-aria/roles#separator
2015-05-29 23:48:35 +01:00
Mark Otto
ed4e873fe1 comment out third level of nav 2015-05-29 14:05:42 -07:00
Mark Otto
e6bc8da426 fix thumbnails for everywhere 2015-05-29 14:05:14 -07:00
Supergibbs
24918b3bd8 A little cleanup 2015-05-29 11:32:25 -07:00
Supergibbs
7b23005f58 Clarified documentation about input groups and added an example of
multiple buttons
2015-05-29 11:29:56 -07:00
Mark Otto
9b1d5adf3f change holder from blue to gray 2015-05-28 14:07:45 -07:00
Chris Rebert
3487898a6a Merge pull request #16504 from kkirsche/patch-8
Clarify the bs-callout on multiple open modals
2015-05-26 15:15:15 -07:00
Morton Fox
665d2d25c0 Update source maps link 2015-05-26 08:14:57 -04:00
Kevin Kirsche
97f8e5610d Clarify the bs-callout on multiple open modals
[Close #16502] Clarify the bs-callout on multiple open modals

Currently it states overlapping modals, this isn't the only case as this truly applies to any instance when a user would want to open multiple modals at the same time. For this reason, I have modified the title of the callout to make this more clear.
2015-05-18 18:30:58 -04:00
Chris Rebert
efe2023014 Add missing type="button" attrs to <button>s in list-group docs
Fixes Bootlint warnings:
	W007 Found one or more `<button>`s missing a `type` attribute.

[skip sauce]
2015-05-17 23:22:27 -07:00
XhmikosR
315907c97c Use https when possible. 2015-05-17 12:43:20 +03:00
Bryan Braun
dec2faec3d Update Anchor.js and port over the existing styles.
Anchor.js 1.0.0 drops the need to use anchor.css, so we remove it
from the codebase and move any leftover styles over to docs.css.

Closes #16488 by merging it.
2015-05-16 09:58:15 +03:00
Chris Rebert
c111c291be Relicense ie10-viewport-bug-workaround.js under MIT License
Fixes #16470
Closes #16483
2015-05-14 22:43:27 -07:00
Mark Otto
588b7e564e grrrrrrrrrrrrrrrrrrrunt 2015-05-14 11:11:03 -07:00
Mark Otto
54df51b5ea Merge pull request #16437 from twbs/fix-16249
Document that nested tabs are not supported
2015-05-14 11:07:05 -07:00
Mark Otto
c5babda02f Merge pull request #16215 from zacechola/list_group_buttons
Adds button styles to `.list-group-item`
2015-05-13 21:35:39 -07:00
Mark Otto
82279a8eb2 Merge branch 'btn-borders' of https://github.com/martinbean/bootstrap into martinbean-btn-borders 2015-05-13 21:20:02 -07:00
XhmikosR
1eba173c9e Update jQuery to v1.11.3. 2015-05-10 01:22:23 +03:00
Chris Rebert
843581b8ff docs examples: input[placeholder]: "Enter email" => "Email"
For uniformity, as we don't seem to use this "Enter <X>" phrasing anywhere else.

[skip sauce]
2015-05-08 00:24:39 -07:00
Julian Thilo
a3c480fd94 Closes #16249: Doc that nested tabs are not supported 2015-05-06 22:37:56 +02:00
Chris Rebert
89f2c5c5c0 Document that $(...).button('reset') is async.
Closes #16362.
[skip sauce]
2015-05-05 15:03:12 -07:00
Chris Rebert
fce30b57e2 Mark stateful button feature as deprecated
Refs https://github.com/twbs/bootstrap/issues/16362#issuecomment-96268469
[skip sauce]
2015-05-05 15:03:05 -07:00
Chris Rebert
a19441dd64 Merge pull request #16409 from twbs/fix-16361
Document Affix plugin's `checkPosition` method
2015-05-04 12:28:41 -07:00
Anthony Barone
1f5519b981 Added #panels-footer to components nav in docs 2015-05-03 20:33:38 -04:00
Chris Rebert
75d6c14dc9 Document that 'manual' is mutually exclusive of other tooltip/popover triggers
Closes #16122
[skip sauce]
2015-05-02 18:24:12 -07:00
Chris Rebert
85235c55ac Document Affix plugin's checkPosition method
Fixes #16361
Refs #16356
[skip sauce]
2015-05-02 13:02:48 -07:00
Patrick H. Lauke
0b937117a4 Remove inappropriate role="button" from download links 2015-04-30 11:08:23 +01:00
Zac Echola
fa2cdd44bc Adds documentation for buttons in link groups
Mostly a duplication of the *Linked items* section, but for buttons.
Includes a note not to use the standard btn classes.
2015-04-28 10:58:42 -05:00
Martin Bean
9a451d4aea Add @btn-border-radius variables (#16271) 2015-04-26 17:42:34 +01:00
Mark Otto
3117c98f13 nav 2015-04-25 13:20:59 -07:00
vsn4ik
d46f6dcbdc DOCS: Separation of .dropdown and .dropup. 2015-04-25 12:52:22 +03:00
Mark Otto
46a3506a42 clarify some docs, improve layout 2015-04-22 23:09:05 -07:00
Adrien Siami
e949505b89 Allow viewport option to be a function
Closes #16151 by merging a rebased version of it that adds docs and 1 more assertion.
2015-04-21 22:20:15 -07:00
Chris Rebert
c6b62f0cd9 Merge pull request #16147 from Johann-S/event_inserted
Fixes #16124.
2015-04-21 21:40:14 -07:00
Mark Otto
325133b33f fix nav 2015-04-18 18:15:19 -07:00
Mark Otto
7e86bfd9ac change nav to use index files for each section; stub out index views for everything 2015-04-18 12:28:50 -07:00
Chris Rebert
a955164a67 Merge pull request #16282 from JoshData/patch-1
affix plugin does not work within a pulled/pushed column
2015-04-17 12:37:41 -07:00
Mark Otto
0ab1576ae2 Merge branch 'v4' of https://github.com/twbs/derpstrap into v4 2015-04-16 18:54:17 -07:00
Mark Otto
605990400e collapsing navbar tools 2015-04-16 18:50:32 -07:00
Mark Otto
c84cf4f7f5 rename classes from .bs-docs and .bs to .bd 2015-04-16 14:07:20 -07:00
Mark Otto
3c93681245 more docs nav changes 2015-04-15 16:07:50 -07:00
Mark Otto
5e0ac61649 footer copy 2015-04-15 15:31:31 -07:00
Chris Rebert
21e94b0374 Update docs to account for #15755 2015-04-14 18:40:36 -07:00
Joshua Tauberer
20b5e24765 affix plugin does not work within a pulled/pushed column
This documents the limitation discussed in https://github.com/twbs/bootstrap/issues/12126:

> When using column reordering and using the affix-plugin on an element positioned with push, the affix plugin doesn't work correctly - the element affected by the affix plugin is positioned to the left even when the element is in a column positioned on the right.

Seems to affect Safari (tested in version 8) only.

That issue has (unfortunately) been closed, so this at least documents the behavior.
2015-04-14 16:37:07 -04:00
Johann-S
3d71eae301 Add event after template inserted 2015-04-08 13:10:53 +02:00
Chris Rebert
4cf748b017 Carousel docs: fix typo in holder.js color 2015-04-07 18:52:59 -07:00
fyquah95
4d153b9125 indented javascript/modal/using-grid-system sample code from 4 spaces to 2 spaces 2015-04-01 17:43:32 +08:00
Mark Otto
ce75f289f2 grunt 2015-03-28 23:33:11 -07:00
Patrick H. Lauke
3b28b75cf3 Remove wrong role="tabpanel" from parent container
As per discussion on https://github.com/w3c/wai-wcag-quickref/issues/2
and #13554
2015-03-27 11:57:03 +00:00
Chris Rebert
caa84299ec Merge pull request #16158 from twbs/fix-16020
remove redundant aria-hidden usage from Modals
2015-03-25 18:40:44 -07:00
Chris Rebert
d6714d1383 Merge pull request #16157 from twbs/fix-16069
Document how to disable transitions in jQuery plugins
2015-03-25 18:14:15 -07:00
Chris Rebert
6c5e7dfce1 rm redundant aria-hidden usage from Modals; fixes #16020 2015-03-25 18:06:47 -07:00
Chris Rebert
e8a5112b31 Document how to disable transitions in jQuery plugins; fixes #16069
[skip sauce]
2015-03-25 17:56:59 -07:00
Chris Rebert
343827081f Properly document $(...).tab('show') method; fixes #16115
[skip sauce]
2015-03-25 17:47:56 -07:00
Chris Rebert
1bafd4c829 docs: #myTab => #myTabs, to slightly increase clarity 2015-03-25 17:39:44 -07:00
Chris Rebert
2f3076f20a add missing <code> within docs heading for .modal('handleUpdate') 2015-03-24 15:15:21 -07:00