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

670 Commits

Author SHA1 Message Date
Mark Otto
0c46412a4c Merge branch 'v4-dev' into v4-custom-forms-validation 2016-02-13 17:55:23 -08:00
Mark Otto
4724110583 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-02-13 17:54:40 -08:00
Ameya Pandilwar
8cd2778148 Updated label to tag in list-group example 2016-02-11 18:59:47 -05:00
Ameya Pandilwar
4ed5fa77ff Rename .label class to .tag 2016-02-11 03:54:30 -05:00
Chris Rebert
a1bf344c4f Merge pull request #18925 from twbs/fixes-18922
Make translation of custom file input text easier
2016-02-09 01:38:14 -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
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
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
c8bd62b214 clarify, fix margin 2016-02-08 22:13:30 -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
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
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
5142ac2389 Docs: Add captions above progress bars; refs #17264
[skip sauce]
2016-02-07 13:13:07 -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
d7d0e186bd Merge branch 'v4-dev' into v4-split-buttons 2016-02-06 20:33:26 -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
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
b8ff763d62 Tweak disabled button docs to help out #17231 2016-02-06 18:34:52 -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
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
b75116c679 Merge branch 'v4-card-fuckery' into v4-dev 2016-02-03 20:53:30 -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
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
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
Abdullah Alrasheed
497d28843e DOCS - Fix a link in popover for v4 2016-01-24 13:31:27 +08:00
Mark Otto
955e0405ea fuck around with card borders and more 2016-01-17 18:55:24 -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
Quy
8e00f623b3 Use mixin syntax 2016-01-15 09:49:56 -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
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
Mark Otto
f6ad665c26 Switch up some split button stuff
- New vars
- New function for stripping units so we can combine rems and ems in math functions
- Add new classes for sizing and spacing around the split dropdown toggle so that the caret isn't misaligned
2016-01-08 13:23:24 -08:00
Mark Otto
b09f70e101 clear up and split out breadcrumb examples 2016-01-06 23:58:07 -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
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
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
Chris Rebert
c3ae4be961 Merge pull request #18708 from Johann-S/showDoc
Add documentation for Tab plugin's `show` method
2016-01-06 15:00:45 -08:00
Mark Otto
d5b2dea1a5 Rip out the pager component 2016-01-06 14:47:33 -08:00
Chris Rebert
602b107edb Remove usages of and references to <input type="datetime">
It has been removed from the HTML specification: https://github.com/whatwg/html/issues/336
Only Presto Opera ever implemented a special UI for it.

[skip sauce]
2016-01-06 11:28:17 -08:00
Chris Rebert
1300af1d2d Update docs to account for #18772
/fyi @mdo

[skip sauce]
2016-01-06 01:33:13 -08:00
Mark Otto
5c803b656c update docs to match 2016-01-06 01:11:22 -08:00
Mark Otto
2db13042bd Merge pull request #18501 from petetnt/card-outline-docs
Document .card-*-outline variants
2016-01-06 01:09:58 -08:00
Mark Otto
d8d67eaa6a rewrite custom file input component to use classes over nested elements 2016-01-05 23:45:44 -08:00
Mark Otto
8d66b9956c Change .c-select to .custom-select 2016-01-05 23:34:51 -08:00
Mark Otto
42a50e7d2c clarify docs 2016-01-05 23:28:26 -08:00
Mark Otto
ef3061d5f1 update forms docs
- add more details on custom checkboxes and radios for how we handle the states and how the css works
- create a disabled custom checkboxes and radios example
2016-01-05 23:26:36 -08:00
Mark Otto
09c3942986 Merge pull request #18662 from patrickhlauke/docs-collapse-accessibility-patch1
Docs: accessibility fix-up of collapsible content navbar, change site-wide main navbar
2016-01-03 19:14:14 -08:00
Mark Otto
0a3573b235 Merge pull request #18686 from patrickhlauke/docs-pagination-kbd1
Docs: add note and advice about .disabled and keyboard focus
2016-01-03 19:12:33 -08:00
Johann-S
e36fd5a9b2 [Tab] Add documentation for method show 2015-12-27 21:11:17 +01:00
Patrick H. Lauke
cc7cc4eda6 Remove Opera 18 and IE11 mention
As per our browser compat policy, we only claim support for latest
versions of Opera on desktop. Current Opera is version 34. From testing, IE11 does support `pointer-events:none` just fine now.
2015-12-27 10:24:34 +00:00
Patrick H. Lauke
fb4ff3e204 Tweak the wording for link functionality
to harmonise it with the callout given in pagination
2015-12-26 23:33:36 +00:00
Patrick H. Lauke
f1cdb3b68d Add note and advice about .disabled and keyboard focus 2015-12-26 23:33:35 +00:00
Patrick H. Lauke
b14c7f1e17 Add accessibility callout for tooltips 2015-12-26 20:12:51 +00:00
Patrick H. Lauke
ff07a81e9f Change wording on link styled as button
"Go somewhere" is more descriptive of an example link, rather than a
button that triggers in-page functionality. Also makes it consistent
with all other examples in this page
2015-12-26 12:40:04 +00:00
Patrick H. Lauke
097575ad43 Merge pull request #18679 from patrickhlauke/docs-button-disabled1
Docs: add aria-disabled to disabled link example and description
2015-12-25 22:32:33 +00:00
Chris Rebert
f954e5958c Merge pull request #18678 from patrickhlauke/docs-button-active1
Docs: add aria-pressed=true to components buttons active state example
2015-12-25 15:11:53 -07:00
Patrick H. Lauke
f6b0f8f3ad Add ellipsis to modal example code 2015-12-25 21:17:32 +00:00
Patrick H. Lauke
66479d8a5f Add aria-disabled to disabled link example and description 2015-12-25 21:13:57 +00:00
Patrick H. Lauke
b5bf4334ca Add aria-pressed=true to example
...as per the text immediately preceding this example
2015-12-25 21:09:59 +00:00
Patrick H. Lauke
5a06173a53 Move collapsing navbar after the toggle
It's unclear why the example currently has the content that's
shown/hidden BEFORE the toggle. Generally, this is not a recommended
content order, as after toggling, the newly shown content precedes the
toggle and requires keyboard users, and particularly assistive
technology users, to then navigate in reverse to reach it.
2015-12-24 18:10:37 +00:00
Patrick H. Lauke
d0d9183a8f Add missing aria attributes to navbar collapse examples 2015-12-24 16:52:43 +00:00
Patrick H. Lauke
e2bf1e9fae Merge pull request #18654 from patrickhlauke/docs-helptext1
Docs: reintroduce `aria-describedby` advice for help text
2015-12-24 13:38:46 +00:00
Patrick H. Lauke
e9ccb573ef Add aria-describedby to main form controls example 2015-12-24 10:11:33 +00:00
Patrick H. Lauke
0fe8f920b7 Docs: reintroduce aria-describedby advice for help text
Based on v3 http://getbootstrap.com/css/#forms-help-text, adapted to
make examples more "real life"
2015-12-24 10:08:29 +00:00
Chris Rebert
76a4c303ee Refactor Breadcrumbs component
Use new `.breadcrumb-item` class instead of child selectors and `li` tag selectors,
so as to no longer require the usage of `<ol>`-based markup.

Rename variables to follow naming conventions:
* $breadcrumb-padding-vertical => $breadcrumb-padding-y
* $breadcrumb-padding-horizontal => $breadcrumb-padding-x

Introduce new variable: $breadcrumb-item-padding

[skip sauce]
2015-12-23 22:16:35 -07:00
Patrick H. Lauke
bac3d68f52 Clarify what text-capitalize actually does
as on first skimming over these, it may not be completely obvious
2015-12-23 14:29:12 +00:00
Patrick H. Lauke
9cf2e50b1e Change italicized to italic
...otherwise, by the same logic, it should be "Bolded text" above. just
looks clunky...
2015-12-23 14:26:29 +00:00
David\ Beitey
7efd6280b4 Fix bulleted lists on Utilities doc 2015-12-23 15:49:51 +10:00
Chris Rebert
1a0f8db796 Add <br>s to fix appearance of responsive float docs example
[skip sauce]
2015-12-12 00:10:29 -08:00
Patrick H. Lauke
aeb179a3d8 update progress bar documentation
clarify lack of support for striped and animated striped bars in
IE10+/Edge
2015-12-11 08:58:11 +00:00
petetnt
1614420e86 Document .card-*-outline variants 2015-12-09 11:02:04 +02:00
Vicary Archangel
c0f931d050 Multiple input-group-addon support
1. Invert `:first-child` into `:not(:last-child)` and vice versa
2. Remove double border at the left of `.form-control`
3. Shifts negative margins of `.btn` and `.btn-group` to retain
rightmost border when using at the left of `.form-control`.
2015-12-09 16:40:32 +08:00
Mark Otto
9a35ccbf73 derp, wrong highlight syntax 2015-12-08 10:23:22 -08:00
Lachlan Campbell
9f31574f17 add extra line before spacing utilities example 2015-12-08 13:11:42 -05:00
Chris Rebert
3b2be4701f Update docs for spacing utilities themselves to account for #18185
/fyi @mdo There might be prettier/better ways of explaining these,
        but for the sake of having accurate docs for tomorrow,
        this should do in a pinch.

[skip sauce]
2015-12-08 04:13:15 -08:00
Chris Rebert
85032786c3 Update examples to account for #18185
[skip sauce]
2015-12-08 03:41:51 -08:00
Chris Rebert
4e6e3860a6 docs/components/navbar.md: Nitpick phrasing
[ci skip]
2015-12-08 00:36:42 -08:00
Chris Rebert
e7edf10473 .page => .page-item 2015-12-07 22:37:17 -08:00
Chris Rebert
5f35ce2095 .page>{a,span => .page-link} 2015-12-07 22:37:17 -08:00
Chris Rebert
a878c4f0c6 .pagination>{li => .page} 2015-12-07 22:37:17 -08:00
Mark Otto
a22d2fb5a5 fixes #17433: improve borders on .list-group-flush to remove dupe borders when appropro 2015-12-07 10:05:53 -08:00
Mark Otto
ef5b6a224e Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2015-12-07 09:25:28 -08:00
Chris Rebert
d1a0af8b24 Tweak naming and docs of font utility classes
* `.font-normal` is too generic. Rename it to `.font-weight-normal` for clarity.
* Rename `.font-bold` to `.font-weight-bold` so as to parallel `.font-weight-normal`.
* In docs, gloss "weight" term in relation to fonts for the benefit of non-typographiles.

Refs #18433

[skip sauce]
2015-12-07 00:08:54 -08:00
Mark Otto
3c4bf98af6 links and clarification in navbar docs 2015-12-06 22:47:23 -08:00
Mark Otto
e61eae4f9d stub out some more of the navbar docs to include navbar-nav options and navbar-brand options 2015-12-06 22:34:06 -08:00
Mark Otto
21b15d450d fixes #18087: .navbar-form is no more 2015-12-06 16:59:33 -08:00
Mark Otto
26da610bd0 fixes #18433: add three new font utils 2015-12-06 16:39:55 -08:00
Chris Rebert
193b8306f0 Fix grammar in "Custom forms" docs
[ci skip]
2015-12-06 12:08:01 -08:00
Chris Rebert
23a7c6b1a6 Docs: Fix flavor text in input group example that got borked at some point
[skip sauce]
2015-12-06 12:02:54 -08:00
Chris Rebert
548834e87f Merge pull request #18340 from twbs/responsive-pulls
Add responsive float classes
2015-11-29 21:47:49 -08:00
Chris Rebert
7ae7149f3f navs.md: Fix typo
[ci skip]
2015-11-29 20:24:33 -08:00
Mark Otto
c1b79347b4 Merge pull request #18264 from twbs/input-group-btns-both-sides
Add input group example with btns on both sides for completeness+testing
2015-11-29 20:02:47 -08:00
Mark Otto
0fa2c7c486 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2015-11-29 19:54:20 -08:00
Mark Otto
45632894d9 Merge pull request #18317 from twbs/redundant-text-aligns-18300
Remove non-responsive text alignment classes
2015-11-29 19:39:48 -08:00
Mark Otto
389a284766 fixes #18295. improve .nav-inline usefulness and document the classes as well 2015-11-29 19:38:44 -08:00
Mark Otto
1a30d12525 clarify nav default display 2015-11-29 18:44:57 -08:00
Chris Rebert
a8dc4812a4 Add responsive float classes; fixes #13690 2015-11-26 22:13:26 -08:00
Richard Kraaijenhagen
c960169807 Add responsive embed class for 1:1 aspect ratio
Closes #18141
2015-11-23 19:54:55 -08:00
Chris Rebert
ade2ab1341 Remove non-responsive text alignment classes
These can be replaced by their `.text-xs-*` parallels.
This also avoids any complications from interactions between the responsive and non-responsive classes.
(e.g. `<div class="text-left text-md-right">`)

Refs #18300
[skip sauce]
2015-11-22 21:33:42 -08:00
Chris Rebert
eaf3f16fc6 Add input group example with btns on both sides for completeness+testing
[skip sauce]
2015-11-15 14:15:36 -08:00
Mark Otto
2102ab4775 document links with text emphasis classes, fixes #18223 2015-11-14 21:12:41 -08:00
Mark Otto
9e23bbc1bc fix broke markup 2015-11-14 19:46:03 -08:00
Mark Otto
f712e922d1 unfuck that class name change 2015-11-14 19:45:35 -08:00
Mark Otto
11dff583ce Merge pull request #18250 from twbs/v4-checkbox-markup
Checkbox validation markup (Take 2)
2015-11-14 19:40:08 -08:00
Chris Rebert
54a964ae19 s/error/danger/
[skip sauce]
2015-11-14 19:35:46 -08:00
Zac Echola
0462cd3d81 Simplifies markup for checkbox validation states 2015-11-14 19:26:13 -08:00
Mark Otto
6fd1c80d37 Merge pull request #17153 from kkirsche/patch-17
v4 — Change .has-error to .has-danger for uniformity.
2015-11-12 22:20:07 -08:00
Mark Otto
edce1b509a Merge pull request #17204 from petetnt/petetnt/v4-dev-patch-2
modal.md - wrapped rows to a .container-fluid, added .bd-example-row...
2015-11-12 21:36:45 -08:00
Chris Rebert
be5e223177 Move [hidden] style from _utilities.scss to _reboot.scss; fixes #18230
[skip sauce]
2015-11-12 19:15:54 -08:00
David\ Beitey
206472e1e1 Reorder attributes in Navs documentation
Attribute order now adheres to the Code Guide
(http://codeguide.co/#html-attribute-order).
2015-11-04 09:58:19 +10:00
Bass Jobsen
ec23ccf9d4 linking to the color scheme directly
Because of a color scheme has a color and background color.
2015-10-31 01:54:33 +01:00
Chris Rebert
97d0827556 Docs: Make pagination <span> example live
[skip sauce]
2015-10-29 22:40:12 -07:00
Chris Rebert
5ee0d22856 Capitalize header cells in option and method tables of JS docs
[skip sauce]
2015-10-27 11:42:41 -07:00
David Beitey
c88d40dc5c Minor wording tidy-up on Utilities doc page 2015-10-27 11:12:19 +10:00
Chris Rebert
e929001260 Merge pull request #18050 from tshinnic/v4_docs_navbar_scheme_name_typos_1
v4 docs Missed navbar color scheme name changes
2015-10-24 21:27:46 -07:00
Thomas Shinnick
af83f80a9b v4 docs Missed navbar color scheme name changes
Change d6b6a20a0d missed two doc mentions
of the previous names when changing to new:
    .navbar-default  -->  .navbar-light
    .navbar-inverse  -->  .navbar-dark
2015-10-24 22:19:34 -05:00
Thomas Shinnick
e544bf4cf8 Remove unnecessary .bd-popover class from docs
Also one spelling typo corrected.

Closes #18043
2015-10-23 23:20:43 -07:00
Chris Rebert
4461884f69 Rename docs-specific static tooltip/popover classes for clarity; refs #18043
[skip sauce]
2015-10-23 23:17:19 -07:00
Peshkov, Igor
9598f98a48 Fix docs for tooltips. 2015-10-16 15:24:53 +03:00
Patrick H. Lauke
68189e2269 Add "keyboard users" to heading for sr-only-focusable 2015-10-16 00:57:49 +01:00
Patrick H. Lauke
9302fd4fd4 Remove redundant .sr-only text for Close buttons
Since `aria-label` is used, it's not necessary anymore.
2015-10-16 00:56:59 +01:00
Chris Rebert
684300058e Tweak .text-capitalize example to show what happens to interior capital letters; refs #17893
[ci skip]
2015-10-12 11:18:11 -07:00
Chris Rebert
b301129f02 Add docs for #17710 2015-10-11 15:20:12 -07:00
Chris Rebert
a180a3362a Move border-radius mixin from scss/_mixins.scss to scss/mixins/_border-radius.scss
Reunites the family.
Closes #17791
2015-10-08 08:56:13 -04:00
Liam Stanley
ed9a011a88 Remove random trailing less-than symbol 2015-10-01 00:05:07 -04:00
Tommy Kelly
808fb03cf7 Clarify the purpose of CSS class .in to .fade 2015-09-28 16:59:21 -04:00
Chris Rebert
a9f24fc59f Use backticks/<code> for JS snippets in docs headings; closes #17192
[skip sauce]
2015-09-28 12:24:41 -07:00
Mark Otto
fabba295c3 Merge pull request #17626 from wolfika/v4-dev
Add <h3> header example to Cards docs
2015-09-27 23:01:28 -07:00
Chris Rebert
ef5cc0bfa9 Merge pull request #17689 from twbs/fix-17169-more
Docs: Clarify [hidden] & .hidden
2015-09-27 00:34:12 -07:00
Johann-S
5a15971920 Use correct default value of constraints in Tooltip docs; fixes #17671
Closes #17699
2015-09-25 14:25:08 -07:00
Chris Rebert
c91e4f5162 Clarify [hidden] attr docs; closes #17169
[ci skip]
2015-09-23 18:58:40 -07:00
Chris Rebert
6f025183d5 Move v3 .hidden note into Migration docs 2015-09-23 18:32:10 -07:00
petetnt
c0b5aba3fc Rename placeholders according to the classes specified 2015-09-22 11:31:04 +03:00
wolfika
e305455ef0 Add <h3> header example to Cards docs
resolves #17609
2015-09-16 21:28:04 +02:00
Johann-S
c9597b1c54 Fix doc for tooltips and popover method dispose 2015-09-16 09:40:26 +02:00
Rolandas Barysas
99aadb92f8 v4 - fixed incorrect inline form class in docs 2015-09-10 10:46:26 +03:00
Zearin
8e29c43c46 Fix usage of “its” and “it’s” 2015-09-07 10:07:35 -04:00
Mark Otto
741f7d4b5a Fixes #17486: start work on responsive cards for decks, groups, and columns 2015-09-06 09:36:19 -07:00
Mark Otto
584cfdd72b Fixes #17230: Renames .navbar-static-top to .navbar-full and adds docs for it 2015-09-05 20:58:28 -07:00
XhmikosR
1ba807f15d Update Holder.js to v2.8.2.
[ci skip]
2015-09-05 07:51:14 +03:00
David\ Beitey
3c86d7f00c Document btn-info-outline as an example 2015-09-03 17:37:54 +10:00
vsn4ik
88d004f6e1 Remove dropped form-horizontal from forms.md 2015-09-03 07:48:15 +03:00
Mark Otto
e0a2b9ed4c fixes #17441 2015-09-02 09:35:43 -07:00
Andrew Smith
b424626e97 Update all usages of 'control-label' with 'form-control-label' in docs 2015-09-02 15:01:02 +10:00
Mark Otto
3221563228 Merge pull request #17359 from caleb/patch-1
Update static form control example
2015-09-01 20:23:35 -07:00
Mark Otto
0537c5a455 Merge pull request #17336 from petetnt/petetnt/v4-dev-patch-3
Document utility class .bg-inverse
2015-09-01 20:17:09 -07:00
Mark Otto
5d5398afdb Merge pull request #17389 from Gupocca/link-fixing
Fix several erroneous links in docs.
2015-09-01 20:06:00 -07:00
Chris Rebert
d258559f11 Merge pull request #17427 from supergibbs/v4-docs-nav-link-in-scrollspy
Fixed link to nav component from scrollspy documentation
2015-09-01 18:01:39 -07:00
Mark Otto
88ec75b6e6 Merge pull request #17428 from abitdodgy/docs-fix
Adds table-responsive class to docs table
2015-09-01 16:49:52 -07:00
Mohamad El-Husseini
b994b1f999 adds table-responsive class to table 2015-09-01 20:26:11 -03:00
Supergibbs
9d30cb38d9 Fixed link to nav component from scrollspy documentation
(reported by ianhernandez in Slack)
2015-09-01 15:45:02 -07:00
Gleb Mazovetskiy
c7d8e7a077 Accept elements as the tooltip / popover content
When a DOM node is passed to an HTML tooltip, the `title` node is only
moved if it is not already in the tooltip. Otherwise, `empty()` is used
instead of `detach()` before appending the `title` to avoid memory
leaks. If a DOM node is passed to a plain text tooltip, its text is
copied via jQuery `.text()`.

Replaces `.detach()` with `.empty()`, as `.detach()` is almost never
useful but instead leaks memory. The difference between `empty` and
`detach` is that the latter keeps all the attached jQuery events/data.
However, since we do not return the previous children, the user would
have to keep these themselves, thus they can `detach()` if necessary.

This is a port of https://github.com/twbs/bootstrap/pull/14552 to v4.
2015-08-31 01:06:13 +01:00
Gupocca
34932d71b4 Fix several erroneous links in docs.
Related to #17314.
2015-08-29 10:59:04 -07:00
XhmikosR
8328344212 Use https when possible.
[ci skip]
2015-08-29 18:50:20 +03:00
Mohamad El-Husseini
81806703e5 removes table-responsive div from components/navs 2015-08-28 11:35:11 -03:00
XhmikosR
3e66427127 Less to Sass typos.
[ci skip]
2015-08-27 08:14:39 +03:00
Caleb Land
ec83b06d55 Update static form control example
Use the `row` class on the `form-group`, and change the `control-label` class to `form-control-label`
2015-08-26 23:47:50 -04:00
petetnt
6aebac8e38 Document .bg-inverse 2015-08-26 16:01:34 +03:00
XhmikosR
0873e9afa8 Fix validation errors. 2015-08-25 15:38:20 +03:00
Chris Rebert
275989e64f Document that dropdowns are intentionally click-based rather than hover-based
And link to a relevant blog post w/ more info.
Refs #16966
[skip sauce]
2015-08-24 16:43:42 -07:00
Chris Rebert
fd72dfe6cf Rephrase/copyedit IE [hidden] compatibility docs
Fixes grammatical erratum from cf7819d8d5
2015-08-23 00:44:54 -07:00
Mark Otto
cf7819d8d5 mention the IE compatability for hidden attr per #17169 2015-08-22 23:17:46 -07:00
Heinrich Fenkart
44f2e73421 Docs: fix typo from 9c52e03 2015-08-23 04:56:09 +02:00
Mark Otto
9c52e03d31 avoid mentioning css block level in cards docs /cc #17158 #17103 2015-08-22 18:58:02 -07:00
Chris Rebert
8d26e26eb4 Merge pull request #17235 from kkirsche/patch-28
Add btn-info to buttons examples
2015-08-22 13:32:48 -07:00
vsn4ik
2965adfea0 Remove dropped btn-xs and btn-group-xs from docs 2015-08-22 21:16:05 +03:00
Kevin Kirsche
6b45c9234a Add btn-info to buttons examples
Fix #17234
2015-08-22 13:52:27 -04:00
petetnt
3f81cf6093 modal.md - wrapped rows to a .container-fluid, added .bd-example-row for better visualization 2015-08-21 12:23:41 +03:00
Chris Rebert
69f9240863 forms.md: Fix link to disabled buttons docs 2015-08-20 22:35:58 -07:00
Chris Rebert
0372cc656d forms.md: Fix rebooted form styles link 2015-08-20 22:23:19 -07:00
Chris Rebert
5404ed5946 Fix options link in Tooltip docs 2015-08-20 22:16:16 -07:00
Chris Rebert
d3d04e8fe6 Fix options link in Popover docs 2015-08-20 22:15:31 -07:00
Chris Rebert
d29c34c2f6 Popover docs: Fix "Tether" capitalization 2015-08-20 22:14:25 -07:00
Chris Rebert
136e8a4806 tooltips.md: Fix capitalization of "Tether" more 2015-08-20 22:13:39 -07:00
Chris Rebert
7fa1341b47 tooltips.md: Fix capitalization of "Tether" 2015-08-20 22:12:14 -07:00
Chris Rebert
30cc2c4815 Modal docs: Add MDN autofocus docs link 2015-08-20 22:05:55 -07:00
Chris Rebert
6623ad2e9b <progress> docs: Add MDN link 2015-08-20 22:02:54 -07:00
Chris Rebert
6524e53dbb Pagination docs: Fix "pager alternative" link 2015-08-20 21:59:39 -07:00
Chris Rebert
e39d9a7941 Breadcrumb docs: Add MDN CSS doc links 2015-08-20 21:57:49 -07:00
Mark Otto
c961723184 Merge pull request #17178 from twbs/die-stateful-btn
rm docs references to nuked stateful button feature
2015-08-20 21:08:57 -07:00
Mark Otto
f8fcc3d60d Merge pull request #17184 from kkirsche/patch-28
v4 - Fix Broken link in text alignment section of v4 Card docs
2015-08-20 21:07:33 -07:00
Chris Rebert
85fac53cc8 navs.md: Fade effect: add missing backtick 2015-08-20 19:12:37 -07:00
Chris Rebert
55168ff93e Card Columns docs: Link to MDN multi-column CSS docs 2015-08-20 19:06:31 -07:00
Kevin Kirsche
61b8d83feb Fix Broken link in text alignment section of v4 Card docs
Fix #17182
2015-08-20 22:06:06 -04:00
Chris Rebert
92ce5431be Card Columns docs: Put IE<=9 warning on its own line
Otherwise the "Heads up!" is at the end of the previous line, making the connection to the warning unclear.
2015-08-20 19:03:22 -07:00
Chris Rebert
d24a15d2b0 rm docs references to nuked stateful button feature
[skip sauce]
2015-08-20 18:47:41 -07:00
Heinrich Fenkart
66be25917a Docs: various fixes
Mostly links.
Fixes #17056.
2015-08-21 02:15:17 +02:00
Heinrich Fenkart
12df7622a0 Merge pull request #17025 from hebbet/v4-dev
fix broken link to flexbox
2015-08-21 01:02:03 +02:00
Heinrich Fenkart
73a88dbe86 Docs: Update all dropdowns to new HTML structure 2015-08-21 00:18:55 +02:00
Kevin Kirsche
b3125aa499 v4 - Accordion example should use cards
Partial Fix: #17157

Additional code needed to get cards to butt up against each other as expected.
2015-08-20 15:35:11 -04:00
Kevin Kirsche
df734852ee v4 Docs - Fix scroll spy navbar example
Fix #17125
2015-08-20 15:24:07 -04:00
Heinrich Fenkart
d16144cf2f Merge pull request #17152 from zacechola/popover_container_example
v4 - Fix container option example code
2015-08-20 21:15:55 +02:00
Zac Echola
8bfb295c1b Fix container option example code 2015-08-20 13:46:49 -05:00
Christian Oliff
9471ad7533 Fix tether typo
Fix tether typo
2015-08-21 00:43:34 +09:00
Heinrich Fenkart
0771881935 Merge pull request #17133 from zacechola/btn_xs_removal
Remove btn-xs from dropdown docs
2015-08-20 16:48:04 +02:00
Zac Echola
8dec4e8995 Remove btn-xs from dropdown 2015-08-20 09:18:11 -05:00
Benjamin Dean
b381af5e65 Fix "background-variants" anchor 2015-08-20 12:53:35 +03:00
gps035
d868eb2825 Correct presented class for outline buttons 2015-08-19 23:17:19 +01:00
Chris Rebert
1efb07dad9 Merge pull request #17047 from petetnt/petetnt-v4-dev-patch-1
Fixed couple of formatting errors in modal.md (v4)
2015-08-19 13:11:27 -07:00
Chris Rebert
7102ac6e6c Merge pull request #17034 from chrisrowe/patch-1
Fixed "Srollspy" typo in component title
2015-08-19 13:10:22 -07:00
Thomas McDonald
c9a5f82357 Merge pull request #17038 from supergibbs/tehter-spelling
tehter spelling
2015-08-19 12:40:37 -07:00
Pete Nykänen
66a9ed278e Fixed couple of formatting errors in modal.md
One extra `</p>` was out of place, plus couple of issues with `'s which caused some odd formatting.
2015-08-19 21:43:16 +03:00
Chris Rowe
95999a13b4 Fixed "Srollspy" typo in component title 2015-08-19 19:29:21 +01:00
Bram van Leur
7ec40d25cd v4: Fix Typo in Forms docs 2015-08-19 20:22:55 +02:00
Supergibbs
b071e6e03c tehter -> tether 2015-08-19 11:01:11 -07:00
Thomas McDonald
323b9b1320 remove .btn-xs reference in docs 2015-08-19 10:38:22 -07:00
Pascal Herbert
547e6e8af8 fix broken link to flexbox 2015-08-19 18:46:05 +02:00
Mark Otto
c8306d2f70 rewrite active and disabled styles for navs 2015-08-18 20:25:31 -07:00
Mark Otto
d2f4c35061 rewrite some button group docs 2015-08-18 20:25:18 -07:00
Mark Otto
1ee84d4a1c help text tweaks 2015-08-18 19:36:01 -07:00
Mark Otto
a79e7db6bd document some help text examples to the docs 2015-08-18 19:30:22 -07:00
Mark Otto
58d1297fcb overhaul custom selects with latest from primer, shoutout 2015-08-18 19:26:18 -07:00
Mark Otto
ff72ea6b81 navbar positioning 2015-08-18 01:18:21 -07:00
Mark Otto
d6b6a20a0d rewrite navbar once more for lower key styles and a new take on modifiers for improved customization 2015-08-18 00:46:29 -07:00
Mark Otto
f1e10c37fd rewrite navbar bits some more 2015-08-17 23:43:59 -07:00
Mark Otto
4cb324afab add redirects for all top level docs sections 2015-08-17 20:34:11 -07:00
Mark Otto
d2a29b5643 typo 2015-08-17 18:21:59 -07:00
Mark Otto
29b4031db5 allow <button> elements as .dropdown-item's 2015-08-17 18:18:37 -07:00
Mark Otto
e558f490dd Rewrite dropdowns
- Remove nested > selectors for dropdown items
- Update docs examples to use all the new markup
2015-08-17 11:19:14 -07:00
Mark Otto
9970983b6b copy 2015-08-17 00:42:41 -07:00
Jacob Thornton
db14bac42f update tooltip/popover docs 2015-08-15 12:07:06 -07:00
Mark Otto
c064eef67b Massive cleanup
- Simpler main nav on all pages
- Back to purple masthead on homepage instead of dark graphite
- Active link styles on the main nav
- Cleaned up sidebar nav
- New docs layout name
- Homepage copy edits
- Updated bright purple docs color
2015-08-14 22:45:55 -07:00
Mark Otto
31cddd11c6 bump headings 2015-08-14 00:36:47 -07:00
Mark Otto
43e1678bf3 update utils, use important 2015-08-14 00:36:26 -07:00
Mark Otto
879114a808 Merge branch 'v4' of https://github.com/twbs/derpstrap into v4 2015-08-12 22:56:56 -07:00
Mark Otto
faacbdb49f Remove .help-block entirely
- Fixes #13267 somewhat.
- Instead of a single, block-level class, let's use a combination of existing elements and classes.
- For block-level help text, use p.text-muted.
- For inline-level help text, use span.text-muted or small.text-muted.
2015-08-12 22:14:31 -07:00
Thomas McDonald
454fc7c03a add example for disabled pager link 2015-08-12 21:17:33 -07:00
Mark Otto
5e928c7c2b Merge branch 'v4' of https://github.com/twbs/derpstrap into v4 2015-08-12 21:16:56 -07:00
Mark Otto
067311f44b basic docs fix for badges in list group, still needs more changes 2015-08-12 21:15:19 -07:00
Jacob Thornton
11abb0f7e9 fix modal 2015-08-12 21:12:03 -07:00
Mark Otto
314161cb17 remove hella vars from the jumbotron 2015-08-12 20:28:46 -07:00
Thomas McDonald
9305fd378f fix scrollspy example 2015-08-12 19:49:08 -07:00
Mark Otto
37eb1e1d8b fix well to card 2015-08-11 12:28:28 -07:00
Mark Otto
58051f959f tweak collapse docs 2015-08-11 09:50:36 -07:00
Mark Otto
c74e47a139 rewrite alerts docs a bit 2015-08-10 16:36:44 -07:00
Mark Otto
121615ceba dropdown fixes and dropdown docs tweaks 2015-08-10 16:31:28 -07:00
Mark Otto
9fe6b85c32 rewrite dropdown events in markdown 2015-08-10 16:16:39 -07:00
Mark Otto
03c91b83bd simplify some button docs copy 2015-08-10 16:11:44 -07:00
Mark Otto
58e03cd4bf tweak buttons docs 2015-08-10 00:05:40 -07:00
Mark Otto
743717fbce really fix those outline buttons 2015-08-09 23:45:36 -07:00
Mark Otto
eaeee93fa3 docs rearrange 2015-08-09 23:38:16 -07:00
Mark Otto
68e4d897ba shoutout to outline buttons 2015-08-09 22:48:48 -07:00
Mark Otto
08d6dc5b71 add basic figure support 2015-08-09 21:42:47 -07:00
Mark Otto
7a50a2cbe8 introduce display heading classes 2015-08-09 21:17:27 -07:00
Mark Otto
31a47369bb content 2015-08-09 20:28:46 -07:00
Mark Otto
c6d5fee88a transitions and text changes 2015-08-08 21:37:48 -07:00
Mark Otto
7c3f5b6d59 rewrite some forms docs, use new validation styles and icons 2015-08-08 14:15:09 -07:00
Mark Otto
14d8c29596 fix broken markup 2015-08-05 23:50:27 -07:00
Mark Otto
36800a2740 primary btn there as well 2015-08-05 23:15:12 -07:00
Mark Otto
be299c1b8b switch to primary button there 2015-08-05 23:14:53 -07:00
Mark Otto
fed0d8a2d4 restore page headers, use partial and page frontmatter to organize it 2015-08-05 17:47:45 -07:00
Mark Otto
97bcfb9e7f rip badges 2015-08-05 00:48:42 -07:00
Mark Otto
8a7e08ebd2 docs twerks 2015-08-05 00:46:27 -07:00
Mark Otto
9330c4a947 Run just as fast as I can
To the middle of nowhere
To the middle of my frustrated fears
And I swear you're just like a pill
Instead of makin' me better,
You keep makin' me ill
You keep makin' me ill

adds .label-pill to replace .badge
2015-08-05 00:45:41 -07:00
Mark Otto
1ddc3f5e21 Merge branch 'master' into v4m 2015-08-04 22:29:45 -07:00
Mark Otto
18da568b8b rewrite some navbar stuff, clean out some commented out code 2015-06-22 23:24:55 -07:00
Mark Otto
9b5fe0ca46 clarify some stuff about small navbar; also renamed navbar-condensed to -sm 2015-06-22 16:30:52 -07:00
Mark Otto
169d2a4a78 Merge branch 'master' into v4 2015-06-18 23:56:43 -07:00
Mark Otto
331b8d2250 Add 21x9 responsive embed modifier
- Credit: @adammacias
- Fixes #16499
2015-06-18 16:01:52 -07:00
Mark Otto
e615ae053c overhaul nav and shit again
- drop the index pages save for examples
- comment out the extend section for now
- fix up spacing fix on team list
2015-06-13 14:05:25 -07:00
Mark Otto
6e3054be68 components index 2015-06-13 13:26:05 -07:00
Mark Otto
9863eb75d2 move spacing utils to separate file, document them a bit 2015-06-01 01:19:02 -07:00
Mark Otto
7c552d70fc fix utils ToC listing by unnesting headings 2015-05-29 14:05:31 -07:00
Mark Otto
71bcf0dd0b update cards docs to clarify things, fix remaining broken cards 2015-05-29 13:09:07 -07:00
Mark Otto
b455ed8def add markdown toc stuff 2015-05-29 01:58:52 -07:00
Mark Otto
74d17ab7a0 rewrite much of cards and the docs 2015-05-28 14:07:34 -07:00
Mark Otto
6e3d4331db new card sizing maybe 2015-05-27 19:00:11 -07:00
Mark Otto
663576a7ae Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
Conflicts:
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	docs/assets/css/docs.min.css
2015-05-27 15:49:55 -07:00
Mark Otto
68bcb89291 Update buttons.md 2015-04-30 14:39:57 -07:00
Mark Otto
8174f6c409 update buttons role copy
/cc @cvrebert @patrickhlauke
2015-04-30 11:40:54 -07:00
Mark Otto
a999a0aff2 remove some callouts on buttons by rewriting things a bit 2015-04-29 11:44:19 -07:00
Mark Otto
847b7bc71e fix up file example 2015-04-27 00:51:31 -07:00
Mark Otto
aee20f7ffc docs note 2015-04-26 07:49:11 -07:00
Chris Rebert
4c3c402b0e forms.md: fix typo 2015-04-23 17:33:35 -07:00
Chris Rebert
ff85ad1472 card.md: fix typo 2015-04-23 17:17:48 -07:00
Chris Rebert
cfcc597c85 reboot.md: fix typo 2015-04-23 16:30:12 -07:00
Mark Otto
fe6756485f add card grid sizing 2015-04-23 01:33:19 -07:00
Mark Otto
37e543759b scope grid example styles better 2015-04-23 01:30:55 -07:00
Mark Otto
490294e68b Fix up some form docs styles, sizing, etc 2015-04-23 01:10:14 -07:00
Mark Otto
dc3abb5f12 Update labels and form grid examples 2015-04-23 00:51:39 -07:00
Mark Otto
b45d719e37 more reboot edits 2015-04-22 23:13:11 -07:00
Mark Otto
46a3506a42 clarify some docs, improve layout 2015-04-22 23:09:05 -07:00
Mark Otto
8f94078da8 New form control sizing, new navbar condensed variation, update nav and navbar spacing 2015-04-18 18:12:10 -07:00
Mark Otto
7e86bfd9ac change nav to use index files for each section; stub out index views for everything 2015-04-18 12:28:50 -07:00
Mark Otto
81fb03406e move responsive embed to utilities docs, update the nav to dedupe things 2015-04-17 21:07:09 -07:00
Mark Otto
b326ecdd65 move js tabs docs to navs docs page 2015-04-17 20:59:22 -07:00
Mark Otto
fe203ec382 reorganize code docs 2015-04-17 20:19:51 -07:00
Mark Otto
bf085b1a02 delete the .page-header and its docs 2015-04-17 20:00:38 -07:00