Commit Graph

5713 Commits

Author SHA1 Message Date
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
df7c9a6d96 add alt text to <img>s in javascript.html 2013-08-12 19:47:05 -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
bb5be0a2f9 add HTML5 validation of docs pages to the build 2013-08-12 17:49:01 -07:00
Chris Rebert
715e924217 Merge pull request #9399 from twbs/make-docs-html-more-valid
Make docs HTML more valid
2013-08-12 17:48:11 -07:00
Mark Otto
f4bb660974 drop iframe attributes for CSS styling 2013-08-12 17:46:02 -07:00
Chris Rebert
8a1fc99f50 give navbar forms non-empty actions 2013-08-12 17:43:38 -07:00
Chris Rebert
a13fe0a4a0 use unique IDs in Forms examples in docs 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
81ab8ffae0 Headings docs: use put <hN>s within <td>s instead of <th>s 2013-08-12 17:43:38 -07:00
Chris Rebert
520bc8cf37 add alt text to <img>s in Images section of CSS docs 2013-08-12 17:28:53 -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
Chris Rebert
df59ecc9c4 add alt text to carousel <img>s 2013-08-12 17:28:53 -07:00
Chris Rebert
4876a3a716 Validation states docs: fix closing tag 2013-08-12 17:06:02 -07:00
Chris Rebert
9391f4de4b Merge pull request #9398 from twbs/minor-docs-fix
fix ID of <select> in fieldset[disabled] example
2013-08-12 16:55:47 -07:00
Chris Rebert
1c64c8f43b fix ID of <select> in fieldset[disabled] example 2013-08-12 16:54:58 -07:00
Mark Otto
eac61de138 fix navbar form alignment of inputs by restoring inline-block 2013-08-12 16:09:21 -07:00
Mark Otto
c558c035d7 fixes #9258: no more float bug with full-width grid columns by removing float on all .col-*-12 classes 2013-08-12 16:02:27 -07:00
Mark Otto
fb8ae7e514 drop the class on the button group toggles CSS (alt fix to #9297) 2013-08-12 15:46:11 -07:00
Mark Otto
55c36f86d0 safari not webkit 2013-08-12 15:44:01 -07:00
Chris Rebert
3d6efcf250 fix typo; fix caps 2013-08-12 15:25:41 -07:00
Mark Otto
3f2408f9e8 mention #9282 in docs browser section 2013-08-12 15:13:38 -07:00
Mark Otto
89346410c7 Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-12 15:02:21 -07:00
Mark Otto
394f698056 undo the grid max-width boundary because it makes offsets kinda borked (you'd have to set twice, for medium and large, in most cases--and that sucks) 2013-08-12 15:02:09 -07:00
Mark Otto
888e14d64e Merge pull request #9395 from twbs/valid-github-btn-html
social-buttons.html: drop 'px' from height+width attrs per HTML5
2013-08-12 14:53:53 -07:00
Mark Otto
8a669bea2e Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-12 14:52:54 -07:00
Mark Otto
eb1565681f fixes #9392: no need for width auto on inline/navbar form controls given inline-block on parent form group 2013-08-12 14:52:49 -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
Chris Rebert
e245bffe8c fix spelling 2013-08-12 14:25:15 -07:00
Mark Otto
c02269a9f0 Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-12 14:05:42 -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
Chris Rebert
38d6e7179a don't show download_dist in favor of site.download; addresses #9138 & its many dupes 2013-08-12 13:35:53 -07:00
Chris Rebert
af2ea581b2 update CDN links to point to continuously-updated build; addresses #9138 & its many dupes 2013-08-12 12:13:15 -07:00
Chris Rebert
461b05f5b1 update download_dist for RC 2 2013-08-12 12:09:52 -07:00
Mark Otto
c3c0218379 Merge pull request #9388 from johvik/patch-1
Javascript > Alert should use danger not error
2013-08-12 12:04:39 -07:00
Mark Otto
abedd38c5b update grid xs mixin and update docs to match new mixins 2013-08-12 11:52:51 -07:00
johvik
7eb0793223 Javascript > Alert should use danger not error 2013-08-12 20:52:25 +02:00
Mark Otto
a09531a40e update to rename rc2 2013-08-12 11:48:35 -07:00
Mark Otto
1462fe2c81 Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-12 11:34:44 -07:00
Mark Otto
9564c356d3 inherit font-size in code when inside pre 2013-08-12 11:34:28 -07:00
Chris Rebert
f5b1499776 copyedit media queries docs added in aefed0ada9 2013-08-12 11:31:45 -07:00
Mark Otto
a74d6cfe73 Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-12 11:09:07 -07:00
Mark Otto
f662dff6e9 fixes #9382: inline forms now require use of .form-group for proper alignment of all form controls 2013-08-12 11:07:23 -07:00
Mark Otto
ddd13dc100 Merge pull request #9373 from ggam/button-sizes
Added button-size mixin
2013-08-12 10:40:56 -07:00