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

231 Commits

Author SHA1 Message Date
Mark Otto
25954702ea Merge pull request #10883 from ZDroid/patch-3
Remove "Remove margin on the body" from base css docs
2013-09-30 17:08:09 -07:00
Mark Otto
6670026572 Merge pull request #10889 from twbs/contextual-table-docs-xs
table contextual classes docs: .col-lg-* => .col-xs-*
2013-09-30 17:07:19 -07:00
Chris Rebert
def45c1f74 table contextual classes docs: .col-lg-* => .col-xs-* 2013-09-30 11:01:29 -07:00
Chris Rebert
0b8a3e65aa use .col-xs-* in "Forms: Column Sizing" docs so more responsive 2013-09-30 10:52:59 -07:00
Chris Rebert
7247527f04 also use .col-sm-* in other .form-horizontal example for consistency 2013-09-30 10:45:20 -07:00
Zlatan Vasović
f2d90d12dc Remove "Remove margin on the body" from base css docs
Normalize did that.
2013-09-30 19:31:41 +02:00
Alex Kalicki
e34e73714a Better documentation and optimized examples for grid classes 2013-09-28 22:51:30 -04:00
Mark Otto
1a476b623e don't include . in link 2013-09-24 21:27:49 -05:00
Chris Rebert
2fa03734a3 add cross-reference to Input Groups in CSS Form docs; fixes #10792 2013-09-24 18:48:38 -07:00
Chris Rebert
af4d102767 Use "Skip to main content" phrasing consistently; further #10786 fixes 2013-09-24 18:02:18 -07:00
Chris Rebert
c4e7e3c933 deprecate .hide; fixes #10446 2013-09-23 12:46:57 -07:00
Zlatan Vasović
73403b78cc white → #fff 2013-09-19 16:41:06 +02:00
Julian Thilo
10a9601560 Fix #10556
Make media queries example in docs clearer
2013-09-10 18:00:58 +02:00
Javier Eguiluz
6c0f20c446 [doc] fixed the horizontal form example 2013-09-05 11:57:23 +02:00
Chris Rebert
0b0087f3a7 fix swapped angle brackets in docs; fixes part of #10456 2013-09-04 20:33:18 -07:00
Mark Otto
124c80b30a add docs callout to mention #9947 2013-09-04 17:58:01 -07:00
Mark Otto
1c4bdb053b Fixes #10399: Add hover styles to text emphasis classes 2013-09-04 13:56:32 -07:00
Mark Otto
6ce9b4d041 Fixes #10417: Document .hidden in the Helper classes *Screen reader content* section 2013-09-04 12:08:07 -07:00
Zhipeng Liu
7c7c0e6139 CSS docs - Grid section: two dots are missing before 'col-md-8'
Add the two missing docs
2013-09-04 15:45:10 +08:00
Chris Rebert
1113224e97 minor copyedit 2013-09-03 12:53:52 -07:00
Chris Rebert
488b8dad2b slightly clarify button.active use in docs 2013-09-03 12:21:19 -07:00
Mark Otto
14b3a3542f fixes #10316: Document .active and :active for buttons 2013-09-02 00:09:49 +02:00
Mark Otto
b45c3ea647 fixes #10164: Document .center-block mixin and update CSS to include it as a class as well 2013-09-01 11:21:14 +02:00
Javier Eguiluz
83354ab156 [doc] minor fix in the LESS mixins example 2013-08-29 11:51:39 +02:00
Mark Otto
4ad2ecf975 Improve upon #9937: Link and put reset column stuff to action in the grid example 2013-08-26 17:58:15 -07:00
Mark Otto
00895977ff Merge branch 'master' of github.com:twbs/bootstrap 2013-08-24 14:40:36 -07:00
Mark Otto
7c8d9551cc fixes #9887: documents show and hide classes 2013-08-24 14:40:24 -07:00
Mark Otto
26eb9f3440 Merge pull request #10112 from kevinSuttle/button-roles
Add role="button" to <a> buttons
2013-08-24 14:31:33 -07:00
Mark Otto
d67ce62f5d Merge pull request #9996 from jodytate/master
changed description of default button
2013-08-24 13:41:24 -07:00
Kevin Suttle
dd9c15273c Add even more role="button" attributes
Missed the <a class="btw" in my regex search
2013-08-24 16:31:15 -04:00
Kevin Suttle
0add7700ad Add role="button" to <a> buttons
These should really be <button> elements, but until that gets squared away, this will suffice.
2013-08-24 16:29:35 -04:00
Mark Otto
ddd594c6e2 follow up to #9963 and #10005: update docs to use .screen-*-min vars, update customizer as well; run grunt to adjust raw files 2013-08-23 23:33:16 -07:00
Mark Otto
6de67c0ab6 Deprecate .hide-text mixin for .text-hide as mixin and class 2013-08-23 22:11:41 -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
df56ecbdcb fix form 2013-08-24 11:39:34 +08:00
Mark Otto
2b37d2b533 Update and document use of small in headings 2013-08-23 14:22:51 -07:00
Mark Otto
f8de960c38 Merge branch 'master' of github.com:twbs/bootstrap
Conflicts:
	css.html
2013-08-23 10:47:36 -07:00
Chris Rebert
4912f960f4 fix #10070 by resyncing fieldset disabled live example & example code 2013-08-23 10:18:39 -07:00
Mark Otto
495768bbf5 Merge branch 'master' of github.com:twbs/bootstrap 2013-08-22 23:19:49 -07:00
Chris Rebert
354e2ee4f9 add cross-reference to .navbar-left/right in .pull-left/right docs 2013-08-22 12:28:00 -07:00
Mark Otto
bc2e97756f Always wrap form examples in .bs-example; add some missing role='form' 2013-08-21 15:12:55 -07:00
Mark Otto
6fc988613a Merge branch 'master' of github.com:twbs/bootstrap 2013-08-21 14:30:27 -07:00
jody tate
68b7998c05 removed extraneous space 2013-08-21 08:46:13 -07:00
jody tate
3d366038d7 removed reference to button color and gradient
Changed the wording to reflect the default button's new look since it's no longer grey and doesn't have a gradient. I'd say this new wording isn't ideal and needs something a bit more, well, descriptive.
2013-08-21 08:44:54 -07:00
Chris Rebert
d666a89621 fix #9915 2013-08-20 16:21:18 -07:00
Mark Otto
0886fee103 quick fix for docs mention 2013-08-19 15:12:25 -07:00
Mark Otto
ea3fa72f1d Clarify responsive tables and tuck margin 2013-08-19 00:45:20 -07:00
Mark Otto
5639287d5d Copy edits, fix classes for demo, add subnav links 2013-08-19 00:16:51 -07:00
Mark Otto
3260288df8 Merge branch '3.0.0-wip' of https://github.com/eratzlaff/bootstrap into eratzlaff-3.0.0-wip 2013-08-19 00:15:47 -07:00
Elvis Ratzlaff
7818c5e186 Add Test case to documentation 2013-08-19 03:14:38 -04:00
Mark Otto
6262230d0f update grid options max container width in docs to reflect latest changes 2013-08-19 00:06:26 -07:00
Mark Otto
e293873484 smaller h1 and h2 2013-08-18 21:49:05 -07:00
Mark Otto
e989acfc79 Add responsive tables with help of .table-responsive wrapper 2013-08-18 21:43:05 -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
9c12d670ed clarify inline block mention in docs 2013-08-18 16:27:20 -07:00
Mark Otto
b09fcc019c remove old glyphicons mention 2013-08-18 01:32:33 -07:00
Mark Otto
c729f16282 it's levi-OH-sa, not levi-oh-SAR 2013-08-17 22:51:00 -07:00
Mark Otto
903e92a327 Update helper classes to reflect changes and mention mixins 2013-08-17 14:15:14 -07:00
Mark Otto
6fe1264a80 mo betta heading examples labels 2013-08-17 14:11:05 -07:00
Mark Otto
2a4bd786ed more accurate grid classes in examples 2013-08-17 14:09:35 -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
e04590babb remove grid examples callout 2013-08-15 21:39:40 -07:00
Mark Otto
c4b59fc1ca fixes #9663: third part, document the resets 2013-08-15 20:43:55 -07:00
Mark Otto
e3c6a1fc4f form control state ordering 2013-08-15 14:35:15 -07:00
Mark Otto
8211b12c0f improve table classes' snippets and ordering 2013-08-15 13:00:34 -07:00
Mark Otto
33edb95b98 drop legend from docs example per #9626 2013-08-15 12:35:22 -07:00
Mark Otto
49e95f2bcf add clearfix mention to another grid example and clear up examples 2013-08-15 11:47:45 -07:00
Mark Otto
209d3af301 Fixes #9617: consistent variation order, add .label-primary 2013-08-15 11:31:26 -07:00
Mark Otto
18be4e880c Merge pull request #9591 from BBosman/9523
Doc fixes related to #9523
2013-08-15 10:01:14 -07:00
Christian
6b612ae3fe Update css.html
I know the form code are only examples, but it'd be good to encourage usage of the proper input type for the email inputs by changing the type from "text" to "email".
2013-08-15 21:57:24 +09:00
Bas Bosman
1619122603 Doc fixes related to #9523 2013-08-15 11:40:39 +02:00
Mark Otto
7f4e05fcce Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-14 23:53:21 -07:00
Mark Otto
f058a6a3ea fixes #9522 2013-08-14 23:52:57 -07:00
Chris Rebert
c84d34b5f1 fix inaccurate comment in media query docs 2013-08-14 23:31:21 -07:00
Mark Otto
6e26f846cd fix #9454: add grid docs about responsive column clearing 2013-08-14 23:11:38 -07:00
Mark Otto
70b0fb445e fixes #9523: more accurate grid table breakpoint numbers 2013-08-14 22:57:59 -07:00
Gabriele Cirulli
fb71f40245 tweak note about zoom disabled on mobile 2013-08-14 23:51:26 +02:00
Gabriele Cirulli
a3b279c556 improve the "zoom disabled" documentation 2013-08-14 23:26:34 +02:00
Gabriele Cirulli
fb6bd757df add information on how to disable mobile zoom to the docs 2013-08-14 22:08:17 +02:00
Pedro Pereira
1800edc07c CSS Grid old classes in use 2013-08-14 17:02:57 +08:00
Matthew Leffler
a380e80cd7 Typo 2013-08-13 17:56:12 -06:00
saiwang
84b1ef5048 fix mixin code example 2013-08-14 02:23:44 +08:00
Bas Bosman
052edcd8de Fixes #9415 2013-08-13 18:10:57 +02: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
a13fe0a4a0 use unique IDs in Forms examples in docs 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
4876a3a716 Validation states docs: fix closing tag 2013-08-12 17:06:02 -07:00
Chris Rebert
1c64c8f43b fix ID of <select> in fieldset[disabled] example 2013-08-12 16:54:58 -07:00
Mark Otto
abedd38c5b update grid xs mixin and update docs to match new mixins 2013-08-12 11:52:51 -07:00
Chris Rebert
f5b1499776 copyedit media queries docs added in aefed0ada9 2013-08-12 11:31:45 -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
Bas Bosman
8dd45053ce Add missing aria-hidden attribs to close buttons 2013-08-12 17:56:10 +02:00
Mark Otto
aefed0ada9 fixes #9317: document media queries 2013-08-12 00:48:36 -07:00
Mark Otto
efe62a7ef4 rename and refactor a smidge to add medium grid mixins 2013-08-12 00:36:22 -07:00
Mark Otto
a2b9988eb9 Media query (grid and responsive utilities) overhaul
Grid classes have been changed to account for a fourth set of classes,
meaning we now have XS, S, M, and L options. Specifically, we made the
following changes:

* Renames `.col-` to `.col-xs-`
* Adds `.col-md-` for devices 992px wide and up
* Remaps `.col-lg-` for devices 1200px wide and up

Alongside that, we've updated our media queries to better handle
advanced grid layouts:

* All column classes now kick in when they hit a `min-width`, undoing
the #9128 fix in
https://github.com/twbs/bootstrap/commit/db45a60cc86190a060f0baf0b3961cb
c690f3a65
* All column offsets, pushes, and pulls are scoped to an appropriate
range, meaning a `min-width` and `max-width` (thanks for the idea,
@eratzlaff)

We've also modified the widths of our grid containers for the small
device grid (now a max 720px instead of 728px) and large device grid
(now a max 1140px instead of 1170px) to avoid horizontal scrollbar
problems in Firefox (likely due to box-sizing, which is why we didn't
see it in 2.x).

Similarly, we've updated the responsive ultility classes to match the
new four media query approach of the grid system. That means we've:

* Added new `.visible-xs` and `.hidden-xs` classes
* Reassigns visible and hidden classes for small, medium, and large to
matching grid system media queries
* Updates docs examples to match grid system and account for fourth
utility range

-----

Fixes the following:

* #9135: fourth grid tier
* #9302: undoes previous range change for small grid system, so no need
to update any docs here
* #8755: consistent grid and responsive utilities schemas)
* #9195, #9216, and #9227: no more horizontal scrollbars
2013-08-12 00:28:50 -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
d490c35af3 Merge pull request #9198 from bwhitty/3.0.0-wip
Fixed #9196 - malformed HTML in doc
2013-08-07 08:34:33 -07:00
Braden Whitten
a4638259a5 Fixed #9196 - malformed HTML in doc
Stray <h3> was being closed by an </h2>. Updated to valid HTML. Fixes #9196
2013-08-07 09:18:12 -04:00