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

78 Commits

Author SHA1 Message Date
Mark Otto
2f2ce15e58 Fixes #10082: document .navbar-form
* Adds new section to navbar docs with example
* Updates example classes for all collapsing navbars so their numbers
increment as you scroll
2013-08-27 08:34:17 -07:00
Mark Otto
7c8d9551cc fixes #9887: documents show and hide classes 2013-08-24 14:40:24 -07:00
Mark Otto
e25ca1e7a9 Document .hide-text and .text-hide 2013-08-23 22:01:42 -07:00
Mark Otto
7a7149d2ee Rearrange helper classes docs section; add subnav list items to docs side nav 2013-08-23 22:00:54 -07:00
wangsai
004f2a2b2f change else if to else 2013-08-21 19:36:33 +08:00
fat
b6ddaf63d6 fix customizer 2013-08-19 14:16:52 -07:00
Mark Otto
08d19af710 Fix remainder of panel default examples and reorder nav links 2013-08-19 00:43:22 -07:00
Mark Otto
7481aa7398 Add subnav link for panels with tables 2013-08-19 00:42:39 -07:00
Mark Otto
5639287d5d Copy edits, fix classes for demo, add subnav links 2013-08-19 00:16:51 -07:00
Mark Otto
869a163e67 Fix broken link and wrong label 2013-08-18 22:19:16 -07:00
Mark Otto
e989acfc79 Add responsive tables with help of .table-responsive wrapper 2013-08-18 21:43:05 -07:00
Mark Otto
a9378a9267 Merge branch '3.0.0-wip' into bs3_homepage
Conflicts:
	customize.html
	dist/css/bootstrap.min.css
2013-08-18 20:15:45 -07:00
Mark Otto
108d10a920 Refactor alerts to have a base class, but no default class, thus requiring a modifier class at all times 2013-08-18 19:50:53 -07:00
Mark Otto
9dcae610e9 Merge branch '3.0.0-wip' into bs3_homepage
Conflicts:
	customize.html
	examples/justified-nav/justified-nav.css
2013-08-18 19:02:42 -07:00
Mark Otto
776fb435c5 update nav for getting started migration 2013-08-18 11:13:56 -07:00
Bruno Amaral
0989babe5d fixes two type-os in glyphicons 2013-08-18 18:47:40 +01:00
Mark Otto
f8b65b41ab Merge branch '3.0.0-wip' into bs3_restore_glyphicons
Conflicts:
	dist/css/bootstrap.min.css
2013-08-18 10:28:32 -07:00
iatek
863b03cf38 updates to migration 2013-08-18 07:20:56 -04:00
Mark Otto
c7e5fa15e0 Merge branch '3.0.0-wip' into bs3_restore_glyphicons 2013-08-18 02:04:10 -07:00
Mark Otto
b09fcc019c remove old glyphicons mention 2013-08-18 01:32:33 -07:00
Mark Otto
f2e35bf702 docs layout and alignment refinement 2013-08-18 01:23:45 -07:00
fat
57f5872467 bunch of updates to customizer 2013-08-18 00:28:52 -07:00
Mark Otto
18766db634 Merge branch '3.0.0-wip' into bs3_homepage
Conflicts:
	dist/css/bootstrap.min.css
2013-08-17 22:39:07 -07:00
fat
29bf254fc3 move customizer onto gists 2013-08-17 18:41:36 -07:00
Mark Otto
441e04c84a Merge branch '3.0.0-wip' into bs3_homepage
Conflicts:
	dist/css/bootstrap.min.css
	getting-started.html
2013-08-17 14:16:40 -07:00
Mark Otto
3c880e681d finish up second pass through docs nav, headings, organization, naming, etc (another run through at #9710) 2013-08-16 13:30:33 -07:00
Mark Otto
551c561ee2 docs cleanup on naming to fix #9710 2013-08-16 12:43:54 -07:00
Mark Otto
ffbec23c98 Docs cleanup for v3 prep 2013-08-16 00:54:19 -07:00
Mark Otto
45e2d73e93 use getbootstrap for tweet button 2013-08-15 21:29:44 -07:00
Mark Otto
c4b59fc1ca fixes #9663: third part, document the resets 2013-08-15 20:43:55 -07:00
Mark Otto
024e320e5c hella examples fixing, mostly navbars and lots of work on grids example 2013-08-15 17:39:37 -07:00
Mark Otto
8211b12c0f improve table classes' snippets and ordering 2013-08-15 13:00:34 -07:00
Mark Otto
4002ac7e65 update to include nav link and mo betta docs on that last commit 2013-08-15 10:54:32 -07:00
Mark Otto
6e26f846cd fix #9454: add grid docs about responsive column clearing 2013-08-14 23:11:38 -07:00
Mark Otto
80eb09cc1b Merge branch '3.0.0-wip' into bs3_navbar_overhaul
Conflicts:
	components.html
	dist/css/bootstrap.min.css
2013-08-12 21:34:55 -07:00
Mark Otto
8bb7def26c Navbar refactor
* Now responsive by default (fits better with mobile-first approach)
* Requires `.nav-header` to group `.navbar-brand` and `.navbar-toggle`
for proper mobile display.
* Changed `.nav-collapse` to `.navbar-collapse`
* Simplified examples in docs
2013-08-12 21:23:28 -07:00
Mark Otto
f4bb660974 drop iframe attributes for CSS styling 2013-08-12 17:46:02 -07:00
Chris Rebert
e6e60d325c social-buttons.html: drop 'px' from height+width attrs per HTML5 2013-08-12 14:48:46 -07:00
Chris Rebert
7c7c447d85 Merge pull request #9394 from twbs/valid-github-btn-html
_includes/social-buttons.html: escape ampersands in URLs so HTML validates
2013-08-12 14:40:07 -07:00
Chris Rebert
7f8f1ca65e _includes/social-buttons.html: escape ampersands in URLs to fix HTML validation error 2013-08-12 14:30:28 -07:00
Mark Otto
a78c8d9c04 Newfangled input and button group sizing (fixes #9295)
Instead of applying `.btn-` or `.input-` to individual elements in
button and input groups, we now have new sizing classes to keep your
markup a little leaner.

* Add `.input-group-sm` or `.input-group-lg` to your `.input-group` to
replicate `.input-sm` and `.input-lg`, respectively.
* Add `.btn-group-xs`, `.btn-group-sm`, or `.btn-group-lg` to your
`.btn-group` to replicate `.btn-xs`, `.btn-sm`, and `. btn-lg`,
respectively.

Both sets of new sizing classes simply use the existing individual
sizing classes as mixins, so customization of them is automatically
inherited when compiling.
2013-08-12 14:03:57 -07:00
Mark Otto
a09531a40e update to rename rc2 2013-08-12 11:48:35 -07:00
Mark Otto
6dbf588237 fixes #9310: alerts aren't dismissable by default, now requires .alert-dismissable if you need a close button 2013-08-12 01:20:22 -07:00
Mark Otto
aefed0ada9 fixes #9317: document media queries 2013-08-12 00:48:36 -07:00
fat
63425cd804 Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-11 18:42:34 -07:00
fat
8bdffecf8f rebuild + first bit of customizer urls 2013-08-11 18:42:13 -07:00
vsn4ik
06da490707 Move quotes in nav-main.html 2013-08-12 04:46:07 +04:00
Kevin Suttle
f38241d77e Ensure proper use and location of role="banner"
http://blog.paciellogroup.com/2013/02/using-wai-aria-landmarks-2013/#tablex

http://www.w3.org/TR/wai-aria/roles#banner
2013-08-11 16:34:48 -04:00
Kevin Suttle
aa454134ec Use nav for proper HTML5 ARIA role mapping
http://www.w3.org/html/wg/drafts/html/master/sections.html#the-nav-element

http://dev.w3.org/html5/spec/sections.html#the-nav-element

http://blog.paciellogroup.com/2013/02/using-wai-aria-landmarks-2013/#tablex
2013-08-10 22:33:53 -04:00
adamjacobbecker
a8d95d4721 Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.

What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.

What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo

Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
2013-08-06 21:58:09 -07:00