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

6720 Commits

Author SHA1 Message Date
Mark Otto
325c1d4c3c spacing in docs example" 2016-02-09 01:12:58 -08:00
Mark Otto
4972f87724 Update form validation docs
- Give some guidance on when someone might use any of the three
validation states. Fixes #18702.

- Improve the examples to provide examples of supporting validation
text with the new `.form-control-feedback`, as well as always-present
help text. Nullifies #18704.
2016-02-09 01:12:49 -08:00
Mark Otto
5744c58556 clarify help text class in docs 2016-02-09 01:10:55 -08:00
Mark Otto
371fbdb0e8 .text-help is dead, long live .form-control-feedback
Uses a new more specific class, adds some basic spacing, and clarifies
that this class is only for validation feedback.

Clears up the help text class question in
https://github.com/twbs/bootstrap/pull/18704#issuecomment-168241731 and
addresses the vertical spacing in #18703.
2016-02-09 01:10:05 -08:00
Mark Otto
6140be7a09 clarifies form-group migration docs a bit per #18705 2016-02-09 00:44:38 -08:00
Mark Otto
af400363d2 Update grid docs for form layouts
- Add container to fix padding in mobile views
- Add large and small variations
- Cross link grid classes and mixins
- Fix up some words
2016-02-09 00:36:05 -08:00
Mark Otto
d7d32c475f clearer copy 2016-02-09 00:20:18 -08:00
Mark Otto
a263e19419 grunt 2016-02-08 23:43:43 -08:00
Mark Otto
09aefaa2af Alternate fix to #17965: Updates to use the new class name and adds some basic docs for custom checkbox/radio validation 2016-02-08 23:21:32 -08:00
Mark Otto
a40d94000f grunt 2016-02-08 22:32:59 -08:00
Mark Otto
c8bd62b214 clarify, fix margin 2016-02-08 22:13:30 -08:00
Chris Rebert
df07536dd1 Revert "https://webkit.org/b/138201 no longer repros" 2016-02-08 20:10:10 -08:00
Chris Rebert
b6b063812b Merge pull request #19126 from twbs/native-font-stack-docs
Fixes+tweaks to native font stack docs
2016-02-08 12:59:25 -08:00
Chris Rebert
3c8e08e307 Grid docs: Remove !default from SCSS snippets
Fixup for fb4f5f0bf1
[skip sauce]
2016-02-08 04:01:58 -08:00
Chris Rebert
74002ce92d Migration docs: Mention $grid-breakpoints and $container-max-widths by name
[skip sauce]
2016-02-08 03:57:41 -08:00
Chris Rebert
9248602ecf Fixes+tweaks to native font stack docs
[skip sauce]
2016-02-08 03:53:59 -08:00
Chris Rebert
1d14d5c404 Fix apparent typo in b8ff763d62
[ci skip]
2016-02-08 03:05:03 -08:00
Chris Rebert
72f10dd7e6 Only caption 1st set of progress bar examples 2016-02-08 00:39:33 -08:00
Mark Otto
ba4d52ef29 grunt 2016-02-07 23:49:09 -08:00
Mark Otto
9c3ba540b4 add example of multiple add-ons to docs 2016-02-07 23:48:47 -08:00
Mark Otto
23d47122ef Merge branch 'multiple-input-group-addon' of https://github.com/vicary/bootstrap into vicary-multiple-input-group-addon 2016-02-07 23:41:35 -08:00
Mark Otto
48df6e3b72 grunt 2016-02-07 23:38:03 -08:00
Chris Rebert
e3b55aadea grunt dist docs 2016-02-07 21:17:05 -08:00
Chris Rebert
44eedd2115 docs/components/forms.md: Fix typo: non => none
Fixup for 365db6e3a8
/fyi @mdo
[skip sauce]
2016-02-07 17:50:38 -08:00
Chris Rebert
f618aa7c01 https://webkit.org/b/138201 no longer repros
Wasn't able to reproduce in iOS 9.2.
So remove its entry from the Wall of Browser Bugs.
Refs #14708
[skip sauce]
2016-02-07 16:52:14 -08:00
Chris Rebert
7cbbc6a074 Merge pull request #19112 from twbs/m-x-auto-doc-centering
Docs: Add "Horizontal centering" subheading for .m-x-auto
2016-02-07 13:18:59 -08:00
Chris Rebert
5142ac2389 Docs: Add captions above progress bars; refs #17264
[skip sauce]
2016-02-07 13:13:07 -08:00
Chris Rebert
0fe396211d Fix bad localhost link in Typography docs
Fixup for 27ba4beb22
/fyi @mdo
[skip sauce]
2016-02-07 03:04:33 -08:00
Chris Rebert
8dfd30cc21 Docs: Add "Horizontal centering" subheading for .m-x-auto
Refs #19102
[skip sauce]
2016-02-07 03:00:59 -08:00
Chris Rebert
3bd8dee1c7 docs/components/modal.md: Fix typo
Fixup for #19105
[ci skip]
2016-02-06 21:29:30 -08:00
Mark Otto
cb7b780876 grunt 2016-02-06 20:32:24 -08:00
Mark Otto
6c2b0d2b76 Updat modal sizing
- Switch from width to max-width for all widths to avoid scaling outside viewport bounds
- Rejigger the media queries for a more logical breakpoint for the large and small modal sizes
- Avoids changing the width of the default modal (nullifying #17794 and fixing #17581)
2016-02-06 20:18:48 -08:00
Mark Otto
ccf971d860 Fixes #17969: Clear horizontal dls
- Using the grid classes, they still need clearfixes since rows aren't injected between them all
- Update docs to fix broken classes
2016-02-06 20:01:37 -08:00
Mark Otto
cbda7e3862 Revamp list group items built with anchors and buttons
- Make it an explicit class instead of qualifying with elements (.list-group-item-action)
- Rearrange the entire file for more straightforward flow
- Fix text-decoration bug as a result of the reorder
- Switch from h4's to h5's in docs
- Update docs to merge anchors and buttons sections; clearify usage guidelines there, too
- Nullify #17479 in the process
2016-02-06 19:50:00 -08:00
Mark Otto
de944e088b Fixes #17300: drop the unused at-viewports 2016-02-06 18:45:56 -08:00
Mark Otto
b8ff763d62 Tweak disabled button docs to help out #17231 2016-02-06 18:34:52 -08:00
Mark Otto
9c0e20e41d grunt 2016-02-06 18:20:30 -08:00
Mark Otto
365db6e3a8 clarify some docs for form validation including quick mention for customizing or disabling icons 2016-02-06 18:16:37 -08:00
Mark Otto
12bb0a7212 grunt 2016-02-06 18:09:07 -08:00
Mark Otto
b2854d85c5 grunt 2016-02-06 16:47:57 -08:00
Mark Otto
442277ddce Merge branch 'v4-dev' into v4-center-utils 2016-02-06 15:58:40 -08:00
Mark Otto
856e217574 migration notes for the text utils changes 2016-02-06 15:56:33 -08:00
Mark Otto
27ba4beb22 cross ref the type utils in the type docs 2016-02-06 15:53:10 -08:00
Mark Otto
fc6c593bec rogue line break 2016-02-06 15:50:19 -08:00
Mark Otto
b72e4ed8d6 add note to migration docs 2016-02-06 15:41:30 -08:00
Mark Otto
c59dbe56fe Drop .center-block for .m-x-auto
- Both classes do about the same thing, but with different names
- Clarifies docs for .m-x-auto requiring a fixed width block element for it to work
- Add missing heading for clearfix section in docs (unrelated)
2016-02-06 15:40:25 -08:00
Mark Otto
612b824ae0 grunt 2016-02-06 15:32:03 -08:00
Mark Otto
e06d6365f8 Strip out .err from our syntax highlighting styles because it fucks up our placeholders in code snippets 2016-02-06 15:32:00 -08:00
Mark Otto
40c3be90ca grunt 2016-02-06 15:20:08 -08:00
Mark Otto
fffaaed0fd Merge branch 'v4-dev' into v4-grid-redux 2016-02-06 15:09:32 -08:00
Mark Otto
8291562258 unrelated linting bs 2016-02-06 15:07:25 -08:00
Mark Otto
9c69f6f5c5 Merge branch 'v4-dev' into v4-font-stack 2016-02-06 15:01:44 -08:00
Mark Otto
d8e82e2e8f document 2016-02-06 13:32:53 -08:00
Mark Otto
844a180fae mention media query changes 2016-02-06 13:05:54 -08:00
Mark Otto
ce81dd8537 document migration for grid system /cc #17593 2016-02-06 13:02:59 -08:00
Mark Otto
fb4f5f0bf1 document how to customize grid tiers 2016-02-06 13:02:42 -08:00
Mark Otto
bc45addbc3 update grid vars docs 2016-02-06 13:02:28 -08:00
Mark Otto
7114e94d66 formatting 2016-02-06 13:02:10 -08:00
Mark Otto
f127bc68a3 Merge branch 'v4-dev' into v4-grid-redux 2016-02-06 12:29:06 -08:00
Mark Otto
03ec195974 linter overhaul 2016-02-06 12:28:18 -08:00
Mark Otto
d043fe4eb2 disable linter 2016-02-06 12:27:44 -08:00
Mark Otto
95f34be093 More grid updates
- Flexbox responsive behavior fixed with specific .col-{breakpoint} classes now added
- Dropped the make-col mixin in favor of a column-basics placeholder that we can extend across our grid infrastructure
- Updated docs to use required .col-xs-12 (as a safeguard for when folks enable flexbox mode--this isn't necessary in default grid mode)
- Update flexbox grid docs to include responsive docs, tweak some other bits too
2016-02-06 11:31:46 -08:00
Mark Otto
414997baa8 flip things around again, no more base class, try out some new stuff to keep responsive flex grid working 2016-02-06 10:51:59 -08:00
Mark Otto
94999c98cf simpler, more specific docs example css 2016-02-06 01:47:40 -08:00
Mark Otto
2a678d4b88 document horizontal flex utils, update the classes for the middle vertical ones 2016-02-06 01:47:25 -08:00
Mark Otto
44bcaffb95 Tweak docs example CSS for flexbox grid cols 2016-02-06 01:30:31 -08:00
Mark Otto
9a519bb7e3 Add vertical alignment docs for flexbox grid 2016-02-06 01:30:11 -08:00
Mark Otto
cac92017d3 Merge branch 'v4-dev' into v4-grid-redux 2016-02-06 00:47:40 -08:00
Mark Otto
e149a6035e Update base class for grid cols in all examples 2016-02-06 00:47:33 -08:00
Mark Otto
9a645ef51a Ensure docs grid example highlighting for flexbox mode 2016-02-06 00:47:19 -08:00
Mark Otto
511b959ff9 Add flexbox grid page to the docs (still more content to add) 2016-02-06 00:46:50 -08:00
Mark Otto
3f30818a4b Fix docs layout with added base class 2016-02-06 00:46:23 -08:00
Mark Otto
a9e428a728 Update grid docs to include new required .col base class 2016-02-06 00:46:00 -08:00
Mark Otto
29dcf9ac62 Update grid mixins code snippets in the docs to include flexbox changes 2016-02-06 00:23:52 -08:00
Mark Otto
42c52a278f Improve docs sidenav active link highlighting
Capture the slug once before applying it and add a slash to it to so we get a unique string to match against instead of a fuzzy partial 'contains'. Helps avoid 'grid' highlighting 'flexbox-grid', for example.
2016-02-06 00:22:31 -08:00
Mark Otto
18be3be3f4 grunt 2016-02-05 22:26:22 -08:00
Mark Otto
ba8ad7c5b5 Merge pull request #19086 from twbs/migration-vendor-prefix-mixins
Add migration guidance regarding vendor prefix mixins
2016-02-05 22:01:50 -08:00
Quy
3076790add Remove pager section from migration 2016-02-05 04:40:18 -08:00
Chris Rebert
12a506f1cd Add Wall of Browser Bugs entry for https://webkit.org/b/153856
Refs https://github.com/twbs/bootstrap/issues/14839#issuecomment-60940738
[skip sauce]
2016-02-04 23:12:53 -08:00
Chris Rebert
c33783814b Add migration guidance regarding vendor prefix mixins
Refs #19080
2016-02-04 20:38:46 -08:00
Chris Rebert
2c86b67a0b Mention https://webkit.org/b/153852 in browser compatibility docs
Refs #19077
[skip sauce]
2016-02-03 22:52:12 -08:00
Chris Rebert
566290f32e Add Wall of Browser Bugs entry for https://webkit.org/b/153852
Refs http://getbootstrap.com/getting-started/#overflow-and-scrolling
Refs #14839
[skip sauce]
2016-02-03 22:31:15 -08:00
Mark Otto
b75116c679 Merge branch 'v4-card-fuckery' into v4-dev 2016-02-03 20:53:30 -08:00
Mark Otto
f31575ad63 grunt 2016-02-03 20:53:00 -08:00
Mark Otto
b75a0ca979 fuck that other class, let's just get tabs and pills in there 2016-02-03 20:52:33 -08:00
Mark Otto
0f18bd3257 grunt 2016-02-03 20:43:16 -08:00
Mark Otto
b4a2b99395 Dump the type margin overrides in alerts for utils, document that particular example, sidesteps part of #18884 2016-02-03 20:43:12 -08:00
Mark Otto
2ac922c78f grunt 2016-02-03 19:45:19 -08:00
Mark Otto
ba37c37615 Redo line-height globally
- Rename -height to -height-base to match other vars
- Drop use of -height across the board and rely on it to be inherited
- Adjust padding of .dropdown-header to account for different line-height of h6 heading element (this needs refactoring for variables and rems also)
2016-02-03 19:45:13 -08:00
Mark Otto
102a20f5b3 center the nav 2016-02-03 19:29:15 -08:00
Mark Otto
0e70c6a37f Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-02-03 19:23:29 -08:00
cndpzc
6384789f95 Fix typo in forms.md
Closes #19049
2016-01-28 20:45:59 -08:00
Chris Rebert
aa62428cdf Add docs for custom file input's text and $custom-file-text
[skip sauce]
2016-01-26 13:19:19 -08:00
Chris Rebert
701b467994 Remove Wall of Browser Bugs entry for #16915
https://connect.microsoft.com/IE/feedback/details/2274240/edge-edge-renders-an-svg-img-with-max-width-100-too-small
is fixed as of Edge 25.10586.0.0 (or possibly earlier).
Confirmed in https://github.com/twbs/bootstrap/issues/16915#issuecomment-175210482
Reverts #19010

[skip sauce]
2016-01-26 12:38:27 -08:00
XhmikosR
2825bf496b Run grunt.
[ci skip]
2016-01-25 09:30:34 +02:00
Abdullah Alrasheed
497d28843e DOCS - Fix a link in popover for v4 2016-01-24 13:31:27 +08:00
Mark Otto
40525eaa4d grunt 2016-01-23 20:32:59 -08:00
Chris Rebert
e381b83233 Add Wall of Browser Bugs entry for #16915
https://connect.microsoft.com/IE/feedback/details/2274240/edge-edge-renders-an-svg-img-with-max-width-100-too-small
[skip sauce]
2016-01-23 02:49:08 -08:00
xcatliu
fe18aa8cb5 Add prefix to footer.html search.json 2016-01-21 13:29:51 +08:00
xcatliu
f8bde6ef50 Add prefix to docs/index.html assets/img/sass.png 2016-01-21 13:16:35 +08:00
David Beitey
c9f5f13fd9 Clean up printing documentation
Replace inline HTML with markdown, rewording, and cleanup.
Closes #18984
2016-01-20 18:30:28 -08:00
Chris Rebert
69523b1e04 Restore workarounds for #12078 printing bug that were lost in 86af1f3
Refs #18984
[skip sauce]
2016-01-20 18:25:57 -08:00
Chris Rebert
fc7ee66630 Docs: Tweak #18982
[skip sauce]
2016-01-20 17:50:08 -08:00
David Beitey
a5f4046d38 Document .small and .mark classes
These are available in _type.scss but not documented.  These classes are useful for styling without adding semantics.
2016-01-21 10:28:05 +10:00
Chris Rebert
332c39b690 Add Wall of Browser Bugs entry for #18228
See https://connect.microsoft.com/IE/feedback/details/2263132/edge-ie11-subpixel-problem-with-transparent-borders
Refs #18228
[skip sauce]
2016-01-20 02:06:02 -08:00
ruedap
d79cd56289 Fix typo in docs/assets/scss/docs.scss 2016-01-19 19:49:16 +09:00
Chris Rebert
f15da060ce Also filed a Radar for #17497
See http://openradar.appspot.com/24235301
Refs #17497
[skip sauce]
2016-01-19 00:24:26 -08:00
Chris Rebert
bea5af06de Add Wall of Browser Bugs entry for #17497
https://bugs.webkit.org/show_bug.cgi?id=153224
Closes #17497
2016-01-18 23:21:33 -08:00
Chris Rebert
08a2ceff6e Add Wall of Browser Bugs entry for #18543
https://connect.microsoft.com/IE/feedback/details/2256049/edge-ie11-viewport-rule-has-side-effect-of-making-scrollbars-auto-hide
[ci skip]
2016-01-18 03:43:13 -08:00
Chris Rebert
42c1e52302 Merge pull request #18915 from geskill/patch-1
Fix active Home tab in narrow-jumbotron example
2016-01-17 22:10:42 -08:00
Mark Otto
b4bd1dc0dd grunt 2016-01-17 19:17:10 -08:00
Mark Otto
955e0405ea fuck around with card borders and more 2016-01-17 18:55:24 -08:00
Mark Otto
dd4062f213 Update docs to include mention of the custom variables file 2016-01-17 16:04:18 -08:00
Mark Otto
fb14ee70d0 Merge pull request #18885 from twbs/list-group
Remove near-duplicate contextual list group example
2016-01-17 15:25:04 -08:00
Sebastian Klatte
0e410f69ac Fix active Home tab in narrow-jumbotron example
the active class should be moved from the list item to the link item
2016-01-16 16:55:53 +01:00
Quy
8e00f623b3 Use mixin syntax 2016-01-15 09:49:56 -08:00
Chris Rebert
f2a0623d34 Docs: Tweak phrasing of description of $enable-gradients
[ci skip]
2016-01-14 22:33:09 -08:00
Quy
ec1e626b98 Add missing word 2016-01-14 22:01:50 -08:00
Raphael Ackermann
740ffb8ed4 typo: from controls --> form controls 2016-01-14 09:59:40 +01:00
Chris Rebert
5cde72fae3 Remove near-duplicate contextual list group example
[skip sauce]
2016-01-13 18:12:16 -08:00
Chris Rebert
5e9b365b25 List group docs: rm unnecessary <p> from Markdown source
[skip sauce]
2016-01-13 15:57:54 -08:00
Chris Rebert
8ed66af63c Add Wall of Browser Bugs entry for #18859
See https://bugs.webkit.org/show_bug.cgi?id=153056
Refs #18859
[skip sauce]
2016-01-12 22:04:30 -08:00
Chris Rebert
22df55f24d Docs: Remove defunct Pager example styles
Refs #18782
[skip sauce]
2016-01-11 02:02:05 -08:00
Chris Rebert
05dd9e7f1c Merge pull request #18839 from bassjobsen/patch-38
remove link to the pager component
2016-01-11 01:51:59 -08:00
Bass Jobsen
db7b8362fd remove link to the pager component
see https://github.com/twbs/bootstrap/pull/18782
2016-01-11 09:47:36 +01:00
Chris Rebert
bc646158df Refer to open successor Chrome bug in Accessibility docs
https://crbug.com/262171 was closed as a duplicate of https://crbug.com/454172

[skip sauce]
2016-01-11 00:19:42 -08:00
Chris Rebert
9304f23ad8 docs: Add SRI hash for Tether; refs #18665 2016-01-10 23:54:17 -08:00
Chris Rebert
19d6301506 docs: Add SRI hash for jQuery; refs #18665 2016-01-10 23:54:17 -08:00
Chris Rebert
6058dae624 grunt dist-css docs
[ci skip]
2016-01-10 18:49:50 -08:00
Patrick H. Lauke
6338ea2b2b Merge pull request #18819 from patrickhlauke/docs-v4-about-accessibility
Remove About > Accessibility, add to Get Started
2016-01-10 12:29:18 +00:00
Chris Rebert
1367f70fbc Docs: Add missing pages to "Getting started" TOC
Fixes #17986
[skip sauce]
2016-01-09 18:08:25 -08:00
Patrick H. Lauke
927626d459 Add accessibility to getting started section 2016-01-09 22:40:13 +00:00
Patrick H. Lauke
1887664c01 Remove About > Accessibility
Currently, there is no actual accessibility page, so this avoids a 404
in the docs. More fundamentally, though, it makes more sense for
accessibility advice to be directly integrated in the docs (which we're
doing, for the most part - though we should ensure that we do
cover/mention everything where appropriate), so there's no need for a
separate accessibility page.
2016-01-09 14:18:53 +00:00
Chris Rebert
dedfffe5db Update Grid example from v3 to v4; fixes #18818 2016-01-09 03:26:54 -08:00
Chris Rebert
48e62fdf34 https://webkit.org/b/150715 has been fixed
Fixed by way of https://webkit.org/b/152803
Thanks Google Translate (I guess) and WebKit Team!
[ci skip]
2016-01-07 18:14:51 -08:00
Chris Rebert
6ab9e10efa https://webkit.org/b/147284 has been fixed
Refs #16814
[ci skip]
2016-01-07 14:09:39 -08:00
Mark Otto
ed612b2b41 grunt 2016-01-07 00:17:09 -08:00
Mark Otto
b09f70e101 clear up and split out breadcrumb examples 2016-01-06 23:58:07 -08:00
Chris Rebert
88c629fc59 Merge pull request #18788 from twbs/refs-18458
Add nested definition list to docs example
2016-01-06 22:29:13 -08:00
Chris Rebert
d5ec7e3f50 Merge pull request #18784 from twbs/input-types
Add comprehensive `.form-control` example(/testcase) to docs
2016-01-06 19:09:05 -08:00
Chris Rebert
850611d895 Add nested definition list to docs example
Refs #18458
[skip sauce]
2016-01-06 16:56:27 -08:00
Chris Rebert
3f04c082dd Merge branch 'input-type-reset-btn' into v4-dev 2016-01-06 16:25:32 -08:00
Chris Rebert
56746938ed Add <input type="reset"> example to Button Tags docs for completeness
[skip sauce]
2016-01-06 16:24:43 -08:00
Mark Otto
e1caaea06f grunt 2016-01-06 15:59:10 -08:00
Chris Rebert
3d5b340217 Add comprehensive .form-control example(/testcase) to docs
Put all the textual input types right next to each other for easy visual comparison.
Refs #17308, #18763

[skip sauce]
2016-01-06 15:57:19 -08:00
Mark Otto
416efb8538 Merge pull request #18783 from twbs/v4-nav-cleanup
v4: Nav cleanup
2016-01-06 15:55:49 -08:00
Mark Otto
9c19dc91da Nav docs updates
- More consistent states and labels in nav examples
- Add stacked pills example for with <nav> element
2016-01-06 15:39:38 -08:00
Chris Rebert
cbe9b7a035 Tweak phrasing of .tab('show') docs
Refs #18708
[ci skip]
2016-01-06 15:02:58 -08:00
Mark Otto
004e30866c Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-01-06 15:01:41 -08:00
Mark Otto
8812541b83 grunt 2016-01-06 15:01:22 -08:00