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

196 Commits

Author SHA1 Message Date
ysds
eeb3ce0138 Fix dropup example code 2017-11-20 09:18:17 +01:00
Daniel Niccoli
c81ce9fdf4 Removed .col-form-label from vertical form example (#24771)
Fixes #24739
2017-11-15 03:37:23 +02:00
Patrick Yeo
031695e2f3 Add missing role="button" in collapse examples. (#24725) 2017-11-09 07:56:07 +02:00
Vasilii Artemchuk
5a2d6c70f4 Use native pseudo-selectors instead of jQuery selectors (#24713) 2017-11-09 07:51:19 +02:00
XhmikosR
ed374d1ee9 Remove a few extra newlines. 2017-11-03 14:12:47 +02:00
patrickhlauke
f9188de4af Fix invalid <nav ... role="tablist"> in docs. 2017-10-31 21:36:17 +02:00
XhmikosR
95025a992f Remove the redundant role=navigation from navs. 2017-10-31 21:36:17 +02:00
XhmikosR
b67a4be8de
Minor Markdown consistency cleanup. (#24605) 2017-10-30 23:53:57 +02:00
Johann-S
10773f45d4 Fix bad title for our dispose method in our documentation 2017-10-30 15:46:39 +01:00
Mark Otto
b5cd9b91b2 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-10-29 16:13:37 -07:00
Mark Otto
136aefead4 nuke container class for consistency while we're here 2017-10-29 16:03:13 -07:00
Mark Otto
a82d0ce67b tweak spacing 2017-10-29 16:02:30 -07:00
Johann-S
e454c8ec1e Add dropright and dropleft (right and left placements for our dropdown) (#23860)
* Add dropright (right placement for our dropdown)

* Add dropleft

* moves drop left arrow to the left
2017-10-29 15:29:13 -07:00
Mark Otto
b1623c4429
Add .modal-dialog-centered for optional vertically centered modal (#24510)
* Add .modal-dialog-centered for optional vertically cenetered modal

Fixes #23638

* adds modal-dialog-centered class to docs and removes margin to avoid generating a vertical scrolling

* mention limitations

* fix aria attr

* Add `width: 100%` to the .modal-content for the centered version. Adding it here to avoid adding another selector by limiting it to the centered modal modifier.
2017-10-29 15:14:10 -07:00
Mark Otto
dfd5229167 Merge branch 'v4-dev' of https://github.com/jipexu/bootstrap into jipexu-v4-dev 2017-10-29 11:46:26 -07:00
Johann-S
aec2e38caf Add information about the fact we do not use Popper.js for Dropdown c… (#24571)
* Add information about the fact we do not use Popper.js for Dropdown contained in navbars

* Update dropdowns.md

* Update dropdowns.md
2017-10-28 22:43:44 -07:00
jeanpierre
63828f0cf0 form y space in doc 2017-10-27 14:55:07 +02:00
Mark Otto
2f90be3150 Merge branch 'input-group-custom-forms' into v4-dev 2017-10-22 19:39:47 -07:00
Mark Otto
2d0399e4ea clarify 2017-10-22 19:39:32 -07:00
Mark Otto
bc175e2a6a mention spacing in card docs, fixes part of #24373 2017-10-22 19:33:27 -07:00
Mark Otto
8e81e69d30 copy edit 2017-10-22 19:31:59 -07:00
Mark Otto
8f9e8569ae add ids, add for attributes, and fix dupe ids 2017-10-22 14:04:46 -07:00
XhmikosR
060258f9be Fix broken URI fragment and a redirected link. (#24456) 2017-10-22 15:13:32 +03:00
XhmikosR
37bfbcf117 Be consistent with "JS"/"JavaScript". (#24457) 2017-10-20 10:44:03 +03:00
Mark Otto
34a1e45400 Add input group support for custom selects and custom files
Closes #24437, closes #22457
2017-10-19 23:22:06 -07:00
Laussel Loïc
13898af590 remove form control label as it have been removed (#24442) 2017-10-19 10:31:49 -07:00
XhmikosR
1f43fe970b Fix a few 404 and one redirected link. (#24432) 2017-10-19 08:18:57 -07:00
Kevin Ruscoe
1154032f0a Update alerts.md (#24420)
This document contains the word JavaScript everywhere apart from in one place where it's abbreviated to JS. This just makes sure it's written as JavaScript consistently across the page.
2017-10-18 19:49:32 -07:00
Gijs Boddeus
40d242eddc Fix typo in popovers.md (#24425)
double use of see
2017-10-18 19:45:37 -07:00
Mark Otto
64ccd8974a Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-10-18 14:22:32 -07:00
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