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

216 Commits

Author SHA1 Message Date
Mark Otto
1a569bab3f few popover docs changes to clarify things mentioned in #24005 2017-10-18 14:22:26 -07:00
Kevin Ruscoe
a2edd106a7 badges: Make using the contextual classes on links clearer. (#24422) 2017-10-18 23:56:43 +03:00
Andrew Murphy
ad77ea7ae0 #24373 : Documentation/Navbar : Refer to utility classes used. Hidden when printing. (#24380)
* Refer to utility classes uses. Add Printing section

refer to (not navbar) classes used for newbies
navbars don't print, so add example of a print-only alternative

* typos, add links

typo in {% example %}
add links to component pages

* grammar

* Add a dropdown with divider to the main example

* change id name to stop travis error

I assume id="camelCase" is the standard for id names, rather than the clearly superior id="underscore_words"

* review changes

still like to emphasise the foreign utility classes in the main example
bg-light's name is self explanatory (so its obvious where to look it up), but mr-sm-2's name isn't at first

* review changes

* grammar

* .fixed-top/bottom don't reserve space on the screen

... as they are position:fixed. 
better wording welcome

* copyediting

- rewrite utils line and link to the utils pages
- restore the paragraphs to the placement section
- fix formatting and grammar
2017-10-18 10:26:33 -07:00
Andres Galante
008e0b5b68 Improves forms migration guide, docs, and scss (#24348)
* fixes migration forms guides

* removes container from Horizontal form

* adds col-form-label sizes on form docs

* removes .form-control-label from forms.scss

* add note to migration
2017-10-18 10:11:35 -07:00
Andres Galante
217d344fa8 Remove uncessary col-form-label from form row docs (#24335) 2017-10-18 19:59:30 +03:00
Mark Otto
85fd22bd47 Revert #23108 to restore list group borders (#24411)
* revert #23108, which had no bug but was a problem with the example code

* add example to the docs for future proofing

* move it up
2017-10-17 22:05:01 -07:00
XhmikosR
289836ef96 Fix typo in scrollspy.md (#24398) 2017-10-17 15:27:37 +03:00
Johann-S
99eece1392 Add dispose methods in our documentation (#24396)
* Add dispose methods in our documentation

* Update buttons.md
2017-10-16 16:51:42 +02:00
XhmikosR
1c24bdeca8 Remove double spaces. 2017-10-04 13:01:15 +03:00
Gareth Adams
a02d068b24 Updates docs to match Tooltip type checking (#22342)
* Updates docs to match Tooltip type checking

Documentation now matches the types defined in the DefaultType constant in
js/src/tooltip.js

* Revert documentation clarify where true is invalid
2017-10-03 20:23:42 +02:00
Roman O
527f55c2f3 Offset option for dropdown can be function (#24222)
* Offset option can be function (Popper.js)

* Fix...add function type for offset option

* Remove constants for popper config

* Optimize code. Remove foreach loop.

* Refactoring. Remove getOffset method
2017-10-03 14:34:44 +02:00
Herst
aae11ab6ab Added type="button" to <button>s without any type (#23866)
https://github.com/twbs/bootlint/wiki/W007
2017-10-02 18:59:37 -07:00
Herst
a224387a21 Migrate forgotten Bootstrap 3 style offset class (#23951) 2017-10-02 18:57:57 -07:00
Mike Jacobson
1bde860c01 Clarify ScrollSpy 'activate' event element 2017-10-02 18:55:22 -07:00
Andres Galante
f02f545e0e changes the order of the close btn on alerts to improve accecibility 2017-09-30 23:32:39 -07:00
XhmikosR
502ac7ee4d Lint docs js too and use `strict consistently. (#24160) 2017-09-28 17:25:28 +03:00
Andres Galante
3eae92f1fe Fix color on example btn on navbar (#24052) 2017-09-26 17:42:04 +03:00
XhmikosR
7e6374db92 Minor Markdown consistency changes. 2017-09-26 17:04:45 +03:00
XhmikosR
31c8721913 Normalize all links. (#24109)
* use a trailing slash when possible
* use https when possible
* remove a few redirected links
* consistently use `https://popper.js.org/`
* fix `iconUrl` in nuget files
* change Jekyll Windows guide to the official one
2017-09-26 15:24:14 +03:00
Johann-S
9b8356ba52 Collapse - Allow to pass jQuery object or DOM element to the parent option 2017-09-25 13:23:13 +02:00
Patrick H. Lauke
fd56ea370c Accessibility fixes to dynamic tabs (aria-selected, remove dynamic tabs with dropdowns)
* Use `aria-selected` instead of `aria-expanded`
* Change tab.js to use `aria-selected` rather than `aria-expanded`
* Add `aria-orientation=vertical` to vertical tab list
* Remove dynamic tabs with dropdowns
* Fix non-interactive code examples
* Only set `aria-selected` on the `role="tab"` trigger - this stops `aria-selected` being incorrectly added to the `role="tabpanel"` itself (probably harmless, but nonetheless incorrect)
2017-09-24 12:00:54 +02:00
Herst
d33b26d8c7 Fix missing tabindex and role in an example modal 2017-09-23 22:39:34 +02:00
Andres Galante
00a362d3e1 Add text-light to sample card under Card columns (#23800) 2017-09-18 00:51:37 +03:00
Patrick H. Lauke
404c1a37ac Fix malformed <select> in example 2017-09-12 22:29:09 +01:00
meteorlxy
6cc8d326e2 Fix(docs): duplicate class in navbar docs 2017-09-12 08:37:37 +00:00
Herst
7add90db9c Remove hyperlink from navbar doc dropdown (#23650) 2017-09-11 16:40:54 +03:00
vsn4ik
5da8ff61ad Use CSS3 pseudo elements in documentation 2017-09-09 17:01:48 -07:00
vsn4ik
84b3097a4a Dont use short jQuery methods 2017-09-08 11:41:42 +03:00
Johann-S
f7f89f5f73 Update callout about the positionning of our Dropdowns 2017-09-07 14:03:37 +02:00
Johann-S
b822b5a17f Remove placement attribute from our Dropdown plugin 2017-09-07 13:51:25 +02:00
Johann-S
7983ba9473 Add information about our bundled dist files which contains Popper.js 2017-09-07 09:50:51 +02:00
oxlay
ce46946b92 Improve clarity of documentation for .card-body (#23691) 2017-09-04 15:38:00 -07:00
Herst
612eff6369 Remove usage of dropped .checkbox from docs (#23655) 2017-09-04 15:31:18 -07:00
Herst
b5e986cd6b IE11 supports pointer-events CSS property
See http://caniuse.com/#feat=pointer-events
2017-09-04 15:22:26 -07:00
Patrick H. Lauke
e0c95f88db Correct typo in in-page anchor (#23777)
Fixes https://github.com/twbs/bootstrap/issues/23773
2017-09-01 15:01:17 +03:00
Andres Galante
346f60cbd9 adds accecibility notes to breadcrumbs 2017-08-31 17:44:04 -04:00
Chirag Modi
b04a7c7663 typo correct aria-controls 2017-08-30 11:37:45 +05:30
Jqmey
1ea63d1312 Fix misspell 2017-08-29 08:53:44 -07:00
Valentin Alexiev
e8a03ea591 Add missing class in the list-group example with links (#23677) 2017-08-26 15:05:53 +03:00
XhmikosR
3a6fc265f6 Use the Jekyll config variable for popper.min.js. 2017-08-23 10:43:57 +03:00
Johann-S
a416d32521 Update Popper.js to 1.12.3 2017-08-23 10:43:57 +03:00
Jonathan Berger
a77f515a22 Fix error in Alerts component doc (#23522) 2017-08-17 19:01:51 +03:00
jipexu
20af0373f3 Mention badge-default in migration docs, fix typo on popover docs (#23409) 2017-08-14 14:04:06 -07:00
Mark Otto
7739388938 Merge branch 'patch-1' of https://github.com/heikojansen/bootstrap into heikojansen-patch-1 2017-08-13 16:46:43 -07:00
béla
3935e069f0 fixing list-group badge example (#23293)
https://github.com/twbs/bootstrap/issues/23291
2017-08-11 10:24:25 -07:00
Jonathan
d9d9c4b653 Use input type search for search fields 2017-08-11 10:22:01 -07:00
Jan Karlo Dela Cruz
537b5f0127 Fix broken links in documentation. (#23315) 2017-08-11 16:26:51 +03:00
XhmikosR
61e8aa2a55 Fix HTML validation errors. 2017-08-11 12:43:17 +03:00
Patrick Yeo
d36f5c7fa5 v4 docs remove left over Tooltips and Popover documentation from Button Group page 2017-08-10 23:10:42 -07:00
Mark Otto
5b584c2619 missed a modifier 2017-08-10 23:00:37 -07:00
Mark Otto
e9c24b0cda clarify text, break up larger paragraph, shorten 2017-08-10 23:00:37 -07:00
Mark Otto
11299fe47c Update badges in buttons examples
- Given buttons a required modifier (.btn alone is incomplete)
- Given the primary button, use a .badge-light for better contrast
- Consolidate example and highlight code with a `{% example %}` block
2017-08-10 23:00:37 -07:00
Patrick Yeo
e25b11d433 v4 docs Input Group Sizing section should display .input-group-sm (#23151) 2017-08-10 22:56:32 -07:00
Dave
2a2231d55b Update progress.md to reflect setting height on .progress 2017-08-10 22:50:59 -07:00
CarloMartini
0bb9fd2082 Update modal.md
Removed a duplicate explanation.
2017-08-10 22:49:15 -07:00
Mark Otto
d23813988a Add examples of forms in dropdown menus 2017-08-10 22:44:57 -07:00
Mark Otto
db3dcb7c66 Mention util.js on all JS plugin pages (#22955)
Fixes #20660
2017-08-10 22:38:45 -07:00
Mark Otto
006590ed9a Remove broken CSS that tried to reset the absolute positioning when there was no text 2017-08-10 22:36:35 -07:00
Pablo Crivella
8606c0d3ec Fix typo 2017-08-06 19:14:55 -07:00
Mark Otto
062d113eee remove old validation docs, fixes #23217 2017-08-04 14:21:21 -07:00
XhmikosR
b6791721f5 Fix HTML errors. (#23184)
The "aria-controls" attribute must point to an element in the same document.
2017-07-31 13:56:43 +03:00
Johann-S
f4f63d8623 Update Popper.js to 1.11.0 (#23162) 2017-07-28 09:34:53 +03:00
Patrick H. Lauke
c00437ec1b Add badge counter example and accessibility advice 2017-07-13 00:25:40 +01:00
Casper
b14c5cc4b8 Fixed a word (connectinh / connecting) 2017-07-12 07:35:39 +02:00
Vincent Le Put
136a0d5cb6 Docs: added missing quote in input-group example (#23010) 2017-07-06 23:33:50 +02:00
Mark Otto
a662f85398 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-07-04 11:53:55 -07:00
Johann-S
2cbaefc244 Update Popper.js to 1.10.8 2017-07-04 10:37:44 +02:00
Mark Otto
d785e8a53a fixes #22979 2017-07-03 19:05:50 -07:00
Mark Otto
67245a474f fix some busted links 2017-07-02 12:00:24 -07:00
Mark Otto
58816b38b7 Move /utilities/typography to /utilities/text to match SCSS file name 2017-07-01 23:05:51 -07:00
Mark Otto
25d5ffc9f9 Move /utilities/flexbox to /utilities/flex to match name of SCSS file 2017-07-01 23:05:51 -07:00
Mark Otto
78167242b3 cleanup offsets 2017-07-01 10:42:36 -07:00
Mark Otto
88b9e558fb clip to border-box, update overlay 2017-06-30 15:28:50 -07:00
Mark Otto
77639905cb remove a few .card-dark refs 2017-06-30 15:26:40 -07:00
Mark Otto
221f41adaf account for new blockquote changes 2017-06-30 15:23:36 -07:00
Mark Otto
6af449f645 Update card docs to loop over the theme colors and use bg, border, and color utilities 2017-06-30 15:23:36 -07:00
Mark Otto
96b1e5bce5 ditch .card-blockquote for a regular .blockquote (dependent on #22949) 2017-06-30 15:23:36 -07:00
Mark Otto
4554d74221 update redirect_from on docs pages 2017-06-30 15:04:10 -07:00
Mark Otto
3e0375e03b move list group variants to be generated from sass map 2017-06-28 09:29:59 -07:00
Mark Otto
2f1bcaafa2 Merge branch 'v4-dev' into colors-redux 2017-06-25 18:42:14 -07:00
Mark Otto
f8d61218ca revamp button docs to loop over theme colors 2017-06-25 18:31:34 -07:00
Mark Otto
9372eef9e1 rename .card-inverse to .card-dark, update docs to match 2017-06-25 18:30:24 -07:00
Mark Otto
36e482ed27 update navbars to rename .navbar-inverse to .navbar-dark, update all navbar examples and variables 2017-06-25 18:29:43 -07:00
Mark Otto
2392047a0c update alert component to use theme sass map and add a ton of options in the process 2017-06-25 18:22:51 -07:00
Mark Otto
aa83c4f417 update badges to use the theme colors sass map 2017-06-25 18:15:32 -07:00
Johann-S
38ddf9ec28 Fix modal overflow with our navbar documentation and fix typo (#22864)
* Fix modal overflow with our navbar documentation and fix typo

* Fix z-index backdrop and modal with popover/tooltip example
2017-06-21 11:47:14 +02:00
Mark Otto
597e9f8618 remove - vars, update docs to generate from data yml files, update mixins, and generate card, button, bg, and color classes from the sass map 2017-06-18 02:57:16 -07:00
Mark Otto
ea2d6adfc7 mention labels being outside input-group 2017-06-17 21:10:06 -07:00
Mark Otto
9c0e423008 Rename popover classes
Part of an update to align the naming schemes across our components.

- Renames .popover-title to .popover-header
- Renames .popover-content to .popover-body

Refs: #22092
2017-06-15 09:05:30 -07:00
Mark Otto
6c8c0aa4cf Rename .card-block to .card-body to match nomenclature of modals 2017-06-15 09:05:16 -07:00
Johann-S
e6303d4500 Fix duplicate ID in our documentation 2017-06-15 11:45:32 +02:00
Patrick H. Lauke
ff5c75510d Rename .form-control-static to .form-control-readonly-plain 2017-06-14 19:51:50 -07:00
Mark Otto
22bd955434 Merge branch 'v4-dev' into form-tweaks 2017-06-14 19:13:44 -07:00
Johann-S
8f431fc5b8 Update Popper.js 1.10.1 2017-06-14 21:13:42 +02:00
Johann-S
f0124769c9 Collapse supports multi-target thanks to @vanduynslagerp (#22713) 2017-06-14 13:21:49 +02:00
Mark Otto
3fb1bf7a20 copy tweaks 2017-06-13 22:13:05 -07:00
Mark Otto
d16ece5b2a Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks 2017-06-13 22:12:04 -07:00
Mark Otto
dc71bee83e rearrange, new examples, new docs 2017-06-13 22:11:44 -07:00
Mark Otto
142c2a0851 reorder that 2017-06-11 16:24:20 -07:00
Mark Otto
b95aa65c74 nuke subheader 2017-06-10 18:13:36 -07:00
Mark Otto
dc5a1db625 add labels and ids 2017-06-10 16:31:36 -07:00
Mark Otto
59817a1729 document server side fallbacks 2017-06-10 16:31:27 -07:00
Mark Otto
0cb95c6643 mention fallbacks 2017-06-10 16:31:14 -07:00
Mark Otto
e2b6a71725 words 2017-06-10 16:30:35 -07:00
Mark Otto
6c214ad4c2 drop the old validation styles and docs 2017-06-06 11:27:29 -07:00
Mark Otto
4831076d6e some text for the browser default version 2017-06-06 11:26:24 -07:00
Mark Otto
bcfef5b28c add instructions, clarify 2017-06-06 11:26:08 -07:00
Mark Otto
c51b7cae95 callout that 2017-06-06 11:25:54 -07:00
Mark Otto
d2c9f3f00a flesh out invalid styles on .was-validated 2017-06-05 23:00:14 -07:00
Mark Otto
af097bd5bf start rewriting 2017-06-05 20:21:08 -07:00
Mark Otto
4a554e5ff5 trying out new validation styles 2017-06-01 08:06:17 -07:00
Mark Otto
f13eb51940 Merge branch 'v4-dev' into form-tweaks 2017-05-31 21:29:23 -07:00
Mark Otto
332d882cdb Merge branch 'v4-dev' into v4-docs-streamlined 2017-05-31 20:46:29 -07:00
Mark Otto
ae0f94d469 redo some dropdown docs 2017-05-30 13:59:33 -07:00
Mark Otto
b2c1e89c6a update urls 2017-05-29 23:32:28 -07:00
Mark Otto
3e76d65656 Rearrange all the docs to allow for a docs/major.minor/ setup 2017-05-29 23:32:28 -07:00