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

142 Commits

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