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

270 Commits

Author SHA1 Message Date
Chris Rebert
58143b128b Fix #14856
[skip sauce]
2014-10-22 17:53:59 -07:00
Heinrich Fenkart
a332c18c87 Add type to buttons in tooltip-viewport example 2014-09-26 00:14:48 +02:00
Chris Rebert
1f329f8f17 the justified nav bug is still present in Safari v7.1 2014-09-21 15:34:57 -07:00
Chris Rebert
48c67095b0 Merge pull request #14577 from twbs/pagination-role-nav
Wrap .pagination & .pager in <nav> to improve accessibility
2014-09-16 13:01:00 -07:00
Chris Rebert
b2088366a3 Wrap .pagination & .pager in <nav> to improve accessibility 2014-09-08 20:52:07 -07:00
Patrick H. Lauke
fb1ca10b99 ARIA support for collapse
Added handling of aria-expanded=true/false to collapse.js, updated
documentation to include advice on making expand/collapse controls
accessible, updated examples and javascript documentation to use
aria-expanded and aria-controls (when targetting single collapsible
element, using ID rather than class selector)

Closes #14147.
Closes #14153.
2014-09-09 01:19:20 +02:00
thr3-arendt
de0f78bc8e Replace nonexistent .col-6 classes in offcanvas example with .col-xs-6
Fixes #14500
2014-09-04 16:58:50 -07:00
Chris Rebert
6b7142212f consistently use <nav> instead of <div> for .navbar in docs 2014-08-15 18:09:05 -07:00
Chris Rebert
9742bb2ee4 Fix #14164: move Windows Phone 8 IE10 viewport bug workaround script to footer of pages 2014-07-27 17:01:34 -07:00
XhmikosR
8d435cbb3c Run grunt. 2014-07-22 08:25:41 +03:00
vsn4ik
2fb107e918 Fix text on ".progress-bar .sr-only" elements. 2014-07-10 21:30:21 +04:00
Chris Rebert
5c1f4e1a0c add role="presentation" to tab <li>s to improve accessibility
Refs #13554.
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#tab-panel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin

[skip sauce]
2014-07-08 12:00:43 -07:00
Chris Rebert
2e3f1a23f6 Merge pull request #14072 from twbs/carousel-gloss-buttons
Add screenreader text to prev/next carousel buttons in examples to improve accessibility
2014-07-07 20:16:52 -07:00
Chris Rebert
849bf58a54 Add screenreader text to prev/next carousel buttons in examples to improve accessibility
Refs #13556.
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#carousel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin

[skip sauce]
2014-07-07 20:05:44 -07:00
Chris Rebert
94eff8c159 add role="listbox" to .carousel-inner to improve accessibility of Carousels
Refs #13556.
Per https://github.com/paypal/bootstrap-accessibility-plugin/#carousel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin

[skip sauce]
2014-07-07 19:53:57 -07:00
Chris Rebert
7c50b9ad7a Add role="tablist" to .nav-pills in examples to improve accessibility
Follow-up to e9374c0609
Per f203dea4b6
Credit: https://github.com/paypal/bootstrap-accessibility-plugin & @rohk

[skip sauce]
2014-07-07 19:24:32 -07:00
Michael Silber
1e407c81f1 Add collapsed default class to navbar-toggle 2014-07-02 16:49:03 -04:00
Chris Rebert
bf183e080e fix #13964 2014-06-30 10:27:55 -07:00
Jim Frode Hoff
29d97d07ef Update cover.css
Moved the inset box-shadow to .site-wrapper in order to keep the shadow at the edges even if content exceeds viewport and needs scrolling.
2014-06-23 22:50:38 +02:00
Mark Otto
166b66d08a formatting 2014-06-19 18:15:42 -07:00
Mark Otto
8bd4163ad4 fixes #13881: restore existing striped progress bar behavior with theme styles 2014-06-19 18:14:56 -07:00
Mark Otto
bd541083f1 Nuke equal height columns example; got a few bugs that make it not ready for prime time in v3.2 2014-06-19 02:02:23 -07:00
XhmikosR
29d00e0cd7 Move apple-touch-icon-precomposed.png and favicon.ico in docs root.
This way, it works in all browsers.
2014-06-09 01:14:44 +03:00
Mark Otto
d1cf27bd03 fix nested containers (addresses some of #13682) 2014-06-08 13:28:45 -07:00
Mark Otto
1e3b93804f grunt 2014-06-08 11:18:59 -07:00
Mark Otto
5fd8ca9089 fixes #13210: clean up tooltip example 2014-06-08 10:51:32 -07:00
Chris Rebert
95ff94091e add missing role="menu" attrs to .dropdown-menu elements in docs+examples
Docs audit prompted by #13697.
[skip sauce]
2014-05-28 17:18:22 -07:00
XhmikosR
cae7dee236 Revert 4f9270cc20.
The validator doesn't choke anymore on this and even though it's not spec compliant, it's needed for some IE versions. So until we move favicon.ico in root, this should do the job.
2014-05-22 10:55:28 +03:00
XhmikosR
7a765d1f8b Update jQuery to v1.11.1. 2014-05-13 08:33:23 +03:00
Mark Otto
be18f50fd0 nuke the rtl example 2014-05-12 19:56:29 -07:00
XhmikosR
ed98b3dfc0 Update html5shiv to 3.7.2. 2014-05-10 09:23:53 +03:00
Chris Rebert
a217ed776d Merge pull request #13558 from twbs/nav-tabs-role-tablist
add some ARIA roles to tabs for improved accessibility
2014-05-09 23:12:46 -07:00
Chris Rebert
b7ac0d401f add role="button" to [data-slide="prev"],[data-slide="next"] to improve accessibility
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#carousel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin
2014-05-09 15:31:52 -07:00
Chris Rebert
e9374c0609 add role="tablist" to .nav-tabs in examples to improve accessibility
Per https://github.com/paypal/bootstrap-accessibility-plugin#tab-panel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin
2014-05-09 15:05:20 -07:00
Chris Rebert
a84a3693b1 add ie-emulation-modes-warning.js to docs & examples 2014-04-27 22:08:44 -07:00
Mark Otto
fe11ac77a2 Merge pull request #13390 from twbs/ie10-viewport-bug
add IE10 viewport bug workaround to examples
2014-04-24 18:50:30 -07:00
Quy Ton
f6f74b5445 Add missing word. 2014-04-23 07:10:38 -07:00
XhmikosR
52b6a32145 Use the new respond.js URL. 2014-04-21 19:12:43 +03:00
XhmikosR
a549e8c332 Update html5shiv to v3.7.1. 2014-04-21 19:11:23 +03:00
Chris Rebert
448086f95a add IE10 viewport bug workaround to examples
Closes #13379.
2014-04-20 16:09:49 -07:00
Chris Rebert
96e2f9332b quote attribute value in selector in offcanvas.js 2014-04-19 17:38:00 -07:00
Mark Otto
c8a8e76851 fixes #13365: remove dupe css in grid example 2014-04-17 01:08:54 -07:00
Chris Rebert
ee7498a693 grunt dist 2014-04-09 12:07:27 -07:00
Mark Otto
de86b36b50 grunt dist 2014-04-08 23:59:17 -07:00
Mark Otto
5d78200a66 the space between spaces 2014-04-08 21:07:05 -07:00
Mark Otto
3424195e64 add screenshot 2014-04-08 21:04:02 -07:00
Mark Otto
11a835f566 Merge branch 'master' into equal-height-experiment 2014-04-08 20:51:56 -07:00
Mark Otto
f159ce8b9e Fixes #13208: Drop <b> for <span> in code snippets and examples 2014-04-07 22:59:37 -07:00
Julian Thilo
440cedeed3 Fix HTML errors 2014-03-28 13:03:22 +01:00
Julian Thilo
90902db50c Fix tooltip viewport example
- Move example to correct location docs/examples/
- Move custom JS and CSS into stand-alone files
- Update headers and footers
- Copy-editing
2014-03-28 12:48:19 +01:00
Chris Rebert
b57396944a Add equal-height grid columns as an experimental example.
Based on @pete-otaqui's work from #11851
2014-03-27 13:57:50 -07:00
Mark Otto
e5c2531a16 fixes #13026: Document more Bootstrap components in the Theme and RTL examples 2014-03-24 23:29:11 -07:00
Mark Otto
5c2a9fc9c3 Fixes #13158: add link to nonresponsive docs in the example 2014-03-24 19:13:29 -07:00
XhmikosR
4f9270cc20 Switch to icon instead of shortcut icon to fix the HTML validation tests. 2014-03-24 09:28:40 +02:00
Lewis Cowper
4e2b92f310 [trivial] Updated dates 2014-03-18 00:18:01 +00:00
Chris Rebert
4277ba62d3 add role="alert" to Alert examples, to improve accessibility
Per d8fcbcd3fe/README.md (alert)
2014-03-11 19:41:54 -07:00
ORiON-
3ea69a16f9 Fixed typo at docs/examples/rtl/index.php
The filename generated at dist/css/ called 'bootstrap-rtl.min.css'.
2014-03-11 18:42:49 +02:00
Mark Otto
309ef72ef4 Replace some images on the Carousel example with some base64 encoded 1x1 gifs 2014-03-09 22:38:13 -07:00
Bas Bosman
cb7eb674ac Add autoprefixer 2014-03-07 09:01:54 +01:00
Mark Otto
645eebba61 Merge pull request #12894 from lipis/patch-2
Removed margin-bottom from last p of .blog-footer
2014-03-06 21:11:00 -08:00
Mark Otto
a4df363174 grunt after merging #12917 2014-03-04 14:35:23 -08:00
Mark Otto
64579505d2 Fixes #12916: Don't let .lead resize on viewport change 2014-03-04 13:52:13 -08:00
Mark Otto
caf332080e Merge pull request #12897 from avindra/patch-1
Fix for stray 1px line under top navigation in Dashboard example
2014-03-04 11:35:32 -08:00
Mark Otto
2ece8dd336 Merge branch 'master' into rtl_via_css_flip 2014-03-03 21:50:03 -08:00
avindra
80ce694b24 Fix for stray 1px line under top navigation
If you add an "active" class to one of the <li> elements in the top navigation, and style it so that active tabs have a different color, it becomes clear that there is a 1 pixel stray line under the navigation. This style fixes that.
2014-03-02 16:19:44 -05:00
Lipis
e872955737 Removed margin-bottom from last p of .blog-footer 2014-03-02 11:03:09 +01:00
XhmikosR
ef49635ae2 Fix csslint errors. 2014-02-27 11:15:53 +02:00
Mark Otto
b22f064c2e Use CSS Flip to generate RTL variation 2014-02-24 19:22:41 -08:00
Mark Otto
449dd83ec3 Fixes #12735: Fix sidebar hover state in Dashboard example 2014-02-21 15:06:21 -08:00
Marti Kaljuve
6d232c2b9b Add initial right and left properties to offcanvas example for transitions. 2014-02-11 18:18:21 +02:00
Mark Otto
842af44fcc Merge branch 'pr/12579' 2014-02-08 15:53:18 -08:00
Zlatan Vasović
bdf9ce4c45 Omit semicolons consistently in docs 2014-02-07 19:31:08 +01:00
Mark Otto
cae76171d0 Follow up to 1bdd59b18c2d1b2409d0422a60e8c007053202df, to better position the sidebar so the potential scrollbar doesn't get hidden by the navbar 2014-02-07 02:44:04 -08:00
Mark Otto
3ccc16cad0 grunt for days 2014-02-07 02:24:37 -08:00
Mark Otto
16bbcd7aff clarify comment 2014-02-07 01:33:27 -08:00
Mark Otto
f83b201007 Fixes #12526: Add scrollbars when necessary to the Dashboard example's sidebar 2014-02-07 01:27:07 -08:00
Mark Otto
7eb532262f Merge pull request #12465 from XhmikosR/docs-img
Docs: losslessly compress images.
2014-02-05 14:11:46 -08:00
Mark Otto
28f5f6ecf3 Merge pull request #12512 from ZDroid/placeholder-img-fix
Improve alignment of the dashboard placeholder images
2014-02-04 16:21:23 -08:00
Panayiotis Lipiridis
40e1a3bd9f Sticky footers without any wrappers 2014-02-04 13:56:42 +01:00
XhmikosR
2deb5f9f91 Compress examples screenshots with kraken.io.
Before: 1,12 MB (1.174.728 bytes)
After:  1,11 MB (1.173.614 bytes)
2014-02-04 11:33:28 +02:00
XhmikosR
3ab2324df0 Remove double semicolon. 2014-02-04 10:39:02 +02:00
XhmikosR
9f668a5573 Add examples/**/*.css in csscomb task. 2014-02-04 10:39:02 +02:00
XhmikosR
48118576f1 Examples: fix csslint errors. 2014-02-04 09:04:40 +02:00
Chris Rebert
d675284cf6 Safari's justified nav bug is still present as of Safari v7.0.1; fixes #12454 2014-02-03 02:38:18 -08:00
Zlatan Vasović
09f62f6a7a Improve alignment of the dashboard placeholder images
Fixes #12435
2014-02-01 22:46:55 +01:00
Chris Rebert
2c6b099f91 fix "pading-right" [sic] typo in dashboard.css; fixes #12455 2014-01-30 20:39:12 -08:00
XhmikosR
8939268a33 Update jQuery to v1.11.0.
Also, use Google's CDN per #11369.
2014-01-30 20:50:17 +02:00
Chris Riddell
d002f0459d its an email input 2014-01-30 23:14:05 +10:30
Julian Thilo
af1ba5cf74 Clarify nesting in grid example 2014-01-25 01:58:54 +01:00
Christian
ae579e950b Update index.html
This is very minor, but to help encourage best practises it'd be best to have the input type 'email' for this email input example instead of 'text'
2014-01-21 18:36:48 +09:00
Quy Ton
f2d37ccc23 Additional changes to #12275 and #12292 2014-01-19 07:41:14 -08:00
Zlatan Vasović
cf8f1ec0cd Improve <meta> tags 2014-01-19 13:27:17 +01:00
westurner
a73dacf4a0 Added WAI-ARIA roles to examples/theme/index.html (document, main)
https://en.wikipedia.org/wiki/WAI-ARIA

http://www.w3.org/TR/wai-aria/roles
2014-01-18 16:32:14 -08:00
Julian Thilo
67594cb544 Fix holder.js links in examples
Replaces links to holder.js with links to the new docs.min.js.
The uncompressed holder.js file is now in docs/assets/js/vendor,
which is excluded from Jekyll builds. In turn, Holder is now
included in docs.min.js, which is smaller than holder.js,
so this should make everybody happy. :)
2014-01-18 22:58:05 +01:00
Julian Thilo
7fcfe61f4d Update copyright notices in all places
- Implements new format "Copyright 2011-xxxx Twitter, Inc.", which resonates well with our History page and more accurately reflects the copyright status of the repo
- grunt dist to update all the files
2014-01-07 01:05:24 +01:00
Mark Otto
1d0bf580c9 Use mix of medium and small grid clases on dashboard example 2014-01-05 13:26:15 -08:00
Chris Rebert
ae255447f2 add .container(-fluid) to remaining navbar examples for consistency/accuracy
follow-up to 93a4d6cc5e
2014-01-05 12:55:03 -08:00
wangsai
e4508bb37c fix assets links in all examples 2014-01-01 22:29:13 +08:00
Mark Otto
a9c829bc0c Rearrange repository contents because muahahahahahaha 2013-12-28 22:47:03 -08:00
Mark Otto
c5fb401a62 Move examples out of the main repo to twbs/bootstrap-examples
While examples are phenomenally useful and awesome for folks getting
started with Bootstrap, they don't really shine as well being buried in
the main docs. Moreover, having anything that's not core HTML, CSS, JS,
or documentation in the main repo seems to just get in the way.
Therefore, examples gets its own repo.

Specifically, we're doing the following:

* Deletes all example screenshots
* Deletes example layout
* Deletes example files
* Updates Getting Started docs to include only the template and a link
to the new examples project

All the examples and their history will be preserved in the switch.
2013-06-20 12:36:27 -07:00