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

385 Commits

Author SHA1 Message Date
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