Mark Otto
f2e35bf702
docs layout and alignment refinement
2013-08-18 01:23:45 -07:00
Mark Otto
1e0453f825
Restore glyphicons
2013-08-18 00:36:51 -07:00
Mark Otto
d713f8341c
Update jumbotron
...
* Defaults to no rounded corners and full width in the viewport
* When in a container, the jumbotron has extra padding and will have
rounded corners
* Updates default jumbotron example to show the full width default
display
Fixes #9759 .
2013-08-17 20:33:52 -07:00
fat
1d53dd31f5
add role=menu to html
2013-08-17 15:48:29 -07:00
Mark Otto
3bcadfc2c5
brand, not title, in navbar examples
2013-08-17 14:42:55 -07:00
Mark Otto
3cb38197f2
more specific panel titles and docs notes
2013-08-17 14:27:21 -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
7ab52272d7
better well content labels
2013-08-15 15:27:37 -07:00
Mark Otto
98368c0cca
fixes #9632 : button spacing in narrow viewports
2013-08-15 13:24:48 -07:00
Mark Otto
3d37833134
reorder alerts
2013-08-15 13:06:51 -07:00
Mark Otto
4da7cad021
reorder and cleanup progress bar display
2013-08-15 13:06:01 -07:00
Mark Otto
209d3af301
Fixes #9617 : consistent variation order, add .label-primary
2013-08-15 11:31:26 -07:00
Mark Otto
da6a7827d2
fixes #9616
2013-08-15 11:09:13 -07:00
Mark Otto
039966a0fc
add call out to fix #9569
2013-08-14 22:48:04 -07:00
Bas Bosman
c4568e4c3b
Ordered breadcrumbs
2013-08-14 15:16:30 +02:00
Chris Rebert
aa2c152d85
rm action
attr from highlighted example code too
...
fixup to e61c71e077
2013-08-14 00:09:42 -07:00
Mark Otto
fa330f308a
Overhaul navbar alignment (.pull-) utilities ( fixes #9440 )
...
Now navbars have their own float utility classes, mixin-ed versions of
`.pull-left` and `.pull-right`.
* Removed chained `.navbar-nav.pull-right`
* Added `.navbar-left` and `.navbar-right` as mixins of the default
float utilities, but only above the `@grid-float-breakpoint` to match
the new navbar behavior
* Updated components docs to match the new changeas
* Added callout about component alignment here to explain the new
classes
2013-08-13 15:19:59 -07:00
Mark Otto
e61c71e077
fix up broken tests by removing empty attr
2013-08-13 14:23:10 -07:00
Mark Otto
bd93ed2cb6
Merge branch '3.0.0-wip' into bs3_navbar_overhaul
...
Conflicts:
dist/css/bootstrap.min.css
2013-08-13 13:48:33 -07:00
Mark Otto
33a88c9a94
Merge branch '3.0.0-wip' into bs3_drop_accordion_for_panel
...
Conflicts:
dist/css/bootstrap.min.css
2013-08-13 10:36:38 -07:00
Mark Otto
69a3e9b4d0
enable button groups in vertical button groups
2013-08-13 10:24:18 -07:00
Mark Otto
f15f259876
derp
2013-08-13 09:59:38 -07:00
Mark Otto
237640c706
Drop the accordion for the panel
...
* Deletes the accordion.less file
* Extends the panel to be collapsible with our JS plugin
* Supports panel color variations
2013-08-12 23:36:25 -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
Chris Rebert
f111c3e763
Components docs: Dropdowns section: add .sr-only toggle buttons so aria-labelledby validates
2013-08-12 19:47:18 -07:00
Chris Rebert
f2cea2dc47
add alt text to <img>s in components.html
2013-08-12 19:46:34 -07:00
Chris Rebert
b33989a977
add src attribute to holder.js-powered <img>s so that they validate
...
use `data:` URL of empty invalid PNG: src="data:image/png;base64,"
2013-08-12 18:59:59 -07:00
Chris Rebert
3ec7930720
add ARIA roles to Dropdown examples in Components docs
2013-08-12 18:09:25 -07:00
Chris Rebert
8a1fc99f50
give navbar forms non-empty action
s
2013-08-12 17:43:38 -07:00
Chris Rebert
10356f9d67
rm unnecessary blank id attribute
2013-08-12 17:43:38 -07:00
Chris Rebert
598f811fa0
add alt text to media object <img>s
2013-08-12 17:28:53 -07:00
Chris Rebert
5b9717ef67
add alt text to thumbnail <img>s
2013-08-12 17:28:53 -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
1f745176d4
Merge pull request #9384 from BBosman/aria-hidden
...
Add missing aria-hidden attribs to close buttons
2013-08-12 09:55:46 -07:00
Bas Bosman
8dd45053ce
Add missing aria-hidden attribs to close buttons
2013-08-12 17:56:10 +02:00
Bas Bosman
38b2083f3c
Aria role search instead of form
2013-08-12 17:38:20 +02:00
Mark Otto
5e73cc90d9
fixes #9266 manually on account of list group file reorganization
2013-08-12 01:39:43 -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
Kevin Suttle
a86f5d24f8
Give forms and search fields proper ARIA roles
...
http://blog.paciellogroup.com/2013/02/using-wai-aria-landmarks-2013/#tablex
http://www.w3.org/TR/wai-aria/roles#form
http://www.w3.org/TR/wai-aria/roles#search
2013-08-11 21:45:50 -04:00
Mark Otto
a88888aaeb
fix broken components page, also likely from @kevinsuttle's #9332
2013-08-11 14:49:50 -07:00
Mark Otto
0b9efa9565
fix indentation
2013-08-11 13:20:24 -07: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
Mark Otto
5eac5dab5d
Merge pull request #9245 from jlaswell/patch-1
...
Update components.html
2013-08-10 15:39:28 -07:00
jlaswell
64888ce0b0
Update components.html
...
Keeping bs-examples consistent with code provided.
2013-08-08 12:31:48 -04:00
Guillermo González de Agüero
5c98288122
Changed "Standard pagination" to "Default pagination"
2013-08-08 12:26:06 +02:00
Guillermo González de Agüero
50d5a6d17a
Fixed link to JavaScript buttons plugin
2013-08-07 12:42:46 +02: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
Chris Rebert
b976956432
Fix #9132 , but in the correct branch
...
People, don't PR against `gh-pages` please!
2013-08-06 12:09:44 -07:00
Rakhat Jabagin
b29b8acd28
remove repeated 'pagination' class in code example
2013-08-06 09:19:07 +06:00
Mark Otto
c4281f3919
Update labels to include a base class
...
* Builds on the new button styles by requiring a `.btn-default` for the
regular, gray labels
* Updates components examples to show new stuff
2013-08-05 15:30:28 -07:00
Mark Otto
c15f5a89a0
Enable scrollable responsive nav bar
...
Fixes #9007 in a hopefully decent way
2013-08-05 14:19:32 -07:00
Chris Rebert
b6390d298a
trivial docs grammar improvements
2013-08-04 00:06:56 -07:00
Chris Rebert
19e8342c7a
adjust description & give source for nested .btn-group
s example
2013-08-03 23:34:27 -07:00
Chris Rebert
a84e07b272
components.html: rm disconnected sentence fragment
2013-08-03 23:23:40 -07:00
Chris Rebert
b9c572184f
add .btn-xs to .btn-group example
2013-08-03 21:59:01 -07:00
Chris Rebert
7a04e95b71
rm stray space in components.html
2013-08-03 21:58:31 -07:00
Chris Rebert
23ef8c0c20
Greater standardization of sizing terminology
...
In class names:
* large => lg
* small => sm
* mini => xs ("Extra small")
In screen size categories:
* Tiny => Extra small
2013-08-03 21:39:57 -07:00
Mark Otto
a0c44329e3
Merge pull request #8939 from frabrunelle/3.0.0-wip
...
add nav to media object and thumbnails
2013-08-02 19:58:17 -07:00
Mark Otto
6b850132d0
Remove requirement of .list-group-flush
when list groups are in panels
...
Fixes #8900
2013-08-02 17:57:19 -07:00
Mark Otto
d0b94ead9a
Fix #9008 : consolidate .alert-block
styles into .alert
2013-08-02 09:32:58 -07:00
Francis Brunelle
521ff5c8a7
add nav to media object and thumbnails
2013-07-31 22:37:36 -04:00
Mark Otto
ba05b7a63c
Merge pull request #8908 from bbeng89/3.0.0-wip
...
Small fix to justified button groups docs
2013-07-31 09:48:33 -07:00
Blake Bengtson
2433faa528
Small fix to justified button groups docs
2013-07-31 08:39:07 -05:00
faceach
a538c8dfb3
miss one 'div' close tag under components page
2013-07-31 18:57:39 +08:00
Mark Otto
b281ad6409
Input groups overhaul
...
* Moves input groups CSS into separate file
* Moves input groups docs into the Components page
* Add support for radios and checkboxes in input groups to fix #8679
2013-07-27 18:56:31 -07:00
Mark Otto
94df8090a7
fixes for hella broken links on account of jekyll and twbs.github.com links
2013-07-27 00:28:23 -07:00
Mark Otto
0f2b22a210
herpy derpy shit for urls
2013-07-27 00:18:12 -07:00
Mark Otto
22fda2f54d
Upate IDs on components page
2013-07-26 19:37:31 -07:00
Mark Otto
1659ac6473
Fix up navbar forms
2013-07-25 23:32:12 -07:00
Mark Otto
56404bc89b
Add .panel-title
to panel component to mirror modals
...
/cc @leeaston
2013-07-25 21:16:43 -07:00
James Holland
bbe0d0d874
fix typo / doc components.html responsive menu dropdowns now have ref to .dropdown-header instead of .nav-header
2013-07-19 00:04:58 -04:00
Mark Otto
a8005b3d0b
flatten docs dir back into root
2013-07-18 17:41:30 -07:00