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

1005 Commits

Author SHA1 Message Date
Mark Otto
0af35cc6e7 nav changes 2016-09-05 22:40:44 -07:00
Mark Otto
4a63dc62bf Update ads code and styles (also fixes #20477 in different way) 2016-08-21 22:38:08 -07:00
Mark Otto
8e9a9a5960 Enable flexbox grid CSS on our docs page
- Creates new flexbox grid Sass file in our docs assets
- Updates the Gruntfile to compile said new Sass file and minify the output
- Update notice on flexbox docs page for how it works
- Only enable compiled flexbox grid CSS in hosted docs site, not in dev (for easier and specific debugging of all flexbox features)
2016-07-26 21:09:39 -07:00
Patrick H. Lauke
a426c4951c remove navbar-toggler unicode symbol in HTML
remove current HTML-based symbol, add any missing aria-* attributes
2016-07-19 22:11:44 +01:00
Ivan Malopinsky
8d8df4e37a update theme parameters to fix #19333 2016-02-28 03:52:49 +02:00
XhmikosR
79067a6440 Fix validation errors.
[skip sauce]
2016-02-19 11:26:54 +02:00
Chris Rebert
88aa1082c8 Merge pull request #18987 from xcatliu/v4-dev-fix-search-json-prefix
Add prefix to footer.html search.json
[skip sauce]
2016-02-18 18:36:14 -08:00
Chris Rebert
e0dfe0d24d Docs: Remove <meta name="keywords"> from <head>
Ports #18872 to v4
[skip sauce]
2016-02-18 18:08:43 -08:00
Patrick H. Lauke
40aee9325d - Conveying color meaning to AT as markdown include
- Add/replace callout for color and AT with include
2016-02-17 10:53:50 +00:00
Mark Otto
42c52a278f Improve docs sidenav active link highlighting
Capture the slug once before applying it and add a slash to it to so we get a unique string to match against instead of a fuzzy partial 'contains'. Helps avoid 'grid' highlighting 'flexbox-grid', for example.
2016-02-06 00:22:31 -08:00
Mark Otto
102a20f5b3 center the nav 2016-02-03 19:29:15 -08:00
xcatliu
fe18aa8cb5 Add prefix to footer.html search.json 2016-01-21 13:29:51 +08:00
Chris Rebert
19d6301506 docs: Add SRI hash for jQuery; refs #18665 2016-01-10 23:54:17 -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
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
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
3317d04a0b Add missing aria attributes to main site navigation menu toggle 2015-12-24 16:55:41 +00:00
Mark Otto
5d3144e8fb manually bump versions because npm script wasn't working for me 2015-12-08 09:36:08 -08:00
XhmikosR
14772943a6 Rename jekyll-search.js to reflect that it's minified.
[ci skip]
2015-12-04 19:28:41 +02:00
Chris Rebert
211ca58657 Use non-minified CSS when running docs locally
For easier debugging.
Just like we already do for the JS.

[skip sauce]
2015-12-04 00:45:37 -08:00
Chris Rebert
a8dc4812a4 Add responsive float classes; fixes #13690 2015-11-26 22:13:26 -08:00
Chris Rebert
9a5222ca31 Docs: Separate Tether out from docs.min.js
We can't include it in docs.min.js because docs.min.js includes application.js,
application.js depends on bootstrap.js,
and the tooltip portion of bootstrap.js depends on Tether.

So instead, we need to load Tether separately before bootstrap.js

[skip sauce]
2015-11-19 01:04:34 -08:00
XhmikosR
ec0c83f76b Merge pull request #17919 from marciovicente/v4-dev
Adding autocomplete attribute in docs input search
2015-10-27 21:06:33 +02:00
XhmikosR
a50849f61b Switch to jQuery 2.1.4.
Now that we don't support IE 8 it's safe to do that.
2015-10-24 19:09:33 +03:00
Marcio Vicente
c46d1d65f1 Adding autocomplete attribute in docs input search 2015-10-13 22:56:54 -03:00
Patrick H. Lauke
872eadeb99 Add shrink-to-fit viewport directive
Fixes potential problems with iOS9's new viewport behavior - see for
instance https://forums.developer.apple.com/thread/13510
2015-10-06 12:35:39 +01:00
XhmikosR
87a3fdd1b7 Clean up inclusion of IE-specific JS files.
Move them to footer, and remove duplicate ones.

[ci skip]
2015-09-06 13:33:52 +03:00
XhmikosR
19e5cf226d Fix missing anchors and 404 errors.
[skip sauce]
2015-09-02 09:37:38 +03:00
Mark Otto
5d5398afdb Merge pull request #17389 from Gupocca/link-fixing
Fix several erroneous links in docs.
2015-09-01 20:06:00 -07:00
XhmikosR
74a1648bf7 Remove the unused Google fonts.
[ci skip]
2015-08-30 13:32:42 +03:00
XhmikosR
8941bdfbda Merge pull request #17392 from twbs/v4-dev-xmr-https
Use `https` when possible.
2015-08-30 13:31:05 +03:00
Gupocca
34932d71b4 Fix several erroneous links in docs.
Related to #17314.
2015-08-29 10:59:04 -07:00
XhmikosR
8328344212 Use https when possible.
[ci skip]
2015-08-29 18:50:20 +03:00
XhmikosR
3fef66eaf5 Fix the JS errors due to jekyll-search.
1) Update it to v1.0.8
2) Include jekyll-search where it's used only

[ci skip]
2015-08-28 14:28:47 +03:00
wangsai
3b415db33f fix footer links 2015-08-25 14:49:02 +08:00
David\ Beitey
b60c94925c Replace docs reference to iconography 2015-08-25 12:43:04 +10:00
Heinrich Fenkart
2fb4e182c6 Docs: a little bit of love for the wall of browser bugs 2015-08-21 00:41:18 +02:00
Heinrich Fenkart
73a88dbe86 Docs: Update all dropdowns to new HTML structure 2015-08-21 00:18:55 +02:00
Mark Otto
5a905ef8a5 basic responsive top nav hacks for docs 2015-08-18 23:44:18 -07:00
Mark Otto
923677013d themes link 2015-08-18 23:19:38 -07:00
Mark Otto
d52755b3eb comment out versions for now 2015-08-18 20:31:27 -07:00
Mark Otto
7de3b3eced fix footer to use new dropdown markup 2015-08-18 19:51:21 -07:00
Mark Otto
a3eecaadb0 fix main docs nav to use latest navbar changes 2015-08-18 01:06:36 -07:00
Mark Otto
5dd88488d4 stub out docs links 2015-08-17 21:08:30 -07:00
Mark Otto
78d18c82c7 rip gauges tracking 2015-08-17 21:08:15 -07:00
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