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

7941 Commits

Author SHA1 Message Date
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
Mark Otto
976595bd1d Require quick start to be more explicit about CSS and JS 2017-10-02 21:40:17 -07:00
Mark Otto
61cc1d8ca6 fix up colors, closes #23325 2017-10-02 20:57:24 -07:00
Mark Otto
e626277c73 Merge branch 'dropdown-caret' of https://github.com/pat270/bootstrap into v4-dev 2017-10-02 20:51:14 -07:00
Mark Otto
cd8fd1d2bc change away from vars 2017-10-02 20:44:23 -07:00
Mark Otto
cf639df5c4 add components section, remove todos 2017-10-02 20:44:23 -07:00
Mark Otto
3d0b07cb68 functions aww yeah 2017-10-02 20:44:23 -07:00
Mark Otto
9db52f9a47 add new thing to a map 2017-10-02 20:44:23 -07:00
Mark Otto
04298fcd10 quote those to match source code 2017-10-02 20:44:23 -07:00
Mark Otto
201303a9d9 nuke the options page, add redirect from it to new theming page 2017-10-02 20:44:23 -07:00
Mark Otto
bdba863e83 bring over colors section 2017-10-02 20:44:23 -07:00
Mark Otto
f0c82ab4ec port over variable options list 2017-10-02 20:44:23 -07:00
Mark Otto
af28d55541 port latest from options for default vars 2017-10-02 20:44:23 -07:00
Mark Otto
00a0a4debd Stub out new Theming page 2017-10-02 20:44:23 -07: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
Andres Galante
0c03b70bcb adds a note on typography docs about rem units on font-size-base (#23988) 2017-10-02 18:59:07 -07:00
Andres Galante
2f459afb97 Adds text-muted and text-white to the examples on color utilities (#23877) 2017-10-02 18:58:33 -07:00
Herst
a224387a21 Migrate forgotten Bootstrap 3 style offset class (#23951) 2017-10-02 18:57:57 -07:00
Luke Frake
c2fb64ce37 Add order first to grid (#24202)
* Add first class to grid framework to add negative ordering

* Add order-first explination to the docs
2017-10-02 18:56:13 -07:00
Mike Jacobson
1bde860c01 Clarify ScrollSpy 'activate' event element 2017-10-02 18:55:22 -07:00
XhmikosR
2891dc143d Normalize examples' CSS. (#24210) 2017-10-02 21:54:47 +03:00
XhmikosR
44dcc8d719 Make Node.js 6 the minimum version.
Also, be consistent with Node.js' name.
2017-10-01 12:01:27 -07:00
Aarón García Hervás
961750e01b Fix link to Extend section in Migration docs (#24192) 2017-10-01 20:23:48 +03:00
Mark Otto
e471ea0617 Updates to customizing variables docs (#24186)
* Variable overrides within the same Sass file can come before or after the default value, but across files they must come first.
* Removed the double :: at the end of the paragraph.
* Fixed usage of overwrite when we mean override.
2017-10-01 09:57:50 +03:00
Andres Galante
f02f545e0e changes the order of the close btn on alerts to improve accecibility 2017-09-30 23:32:39 -07:00
Mark Otto
4e2ed6890c remove that, the example comes first now 2017-09-30 20:30:40 -07:00
Mark Otto
9473a7298e more links, clarify predefined classes 2017-09-30 20:30:40 -07:00
Mark Otto
72ef6f4d86 be more specific about context and breakpoint scaling 2017-09-30 20:30:40 -07:00
Mark Otto
5463612c4d be more specific 2017-09-30 20:30:40 -07:00
Mark Otto
6e9100155d rewrite containers and rows section 2017-09-30 20:30:40 -07:00
Mark Otto
92a9b68372 link to css tricks article, add code snippet to example 2017-09-30 20:30:40 -07:00
Mark Otto
c449f3323a link to mdn flex doc 2017-09-30 20:30:40 -07:00
XhmikosR
502ac7ee4d Lint docs js too and use `strict consistently. (#24160) 2017-09-28 17:25:28 +03:00
Herst
838924eefc Mention replacement for .btn-group-justified (#23838)
Solution mentioned by Chris Baswell at https://stackoverflow.com/a/45969088
2017-09-27 10:53:56 +03:00
Ray Villalobos
71469a2fac Take out reference to Flex Order (#23759)
Since flex-order was renamed to just order, change the subtitle.
2017-09-27 10:49:48 +03:00
Ray Villalobos
87c9e3aa5d Add auto to the list of sizes (#23786)
I feel like `auto` is missing from the values here and that it should be there. Although it is mentioned below, only a single use case, whereas in other sections it appears with the option to set the left margin of an element to auto, for example.
2017-09-27 10:43:43 +03:00
Moris Zen Pasic
4cfe228151 Changed hex values to follow bootstrap coding guidelines 2017-09-27 09:36:42 +02:00
Moris Zen Pasic
bc2db58b73 Added examples to the existing docs change for more clarity 2017-09-27 09:36:42 +02:00
Moris Zen Pasic
d66f47d099 Making the customization option docs cleared about variable overrides with !default flag 2017-09-27 09:36:42 +02:00
Andres Galante
3eae92f1fe Fix color on example btn on navbar (#24052) 2017-09-26 17:42:04 +03:00
XhmikosR
f17443748d Move Autoprefixer's config in package.json.
This is so other plugins can use it too.
2017-09-26 17:16:27 +03:00
XhmikosR
92d3536306 Mention that dropdowns depend on popper.js too. 2017-09-26 17:04:45 +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
XhmikosR
388356acdf docs: fix syntax highlighting for shell scripts. (#24103)
Switch all instances to `sh` but keep `bash` so that things won't break either way.
2017-09-26 12:30:58 +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
Andres Galante
7e3ff772d0 Add light weight to text utility classes (#23970) 2017-09-17 09:53:05 +03:00
XhmikosR
a96d2e2bd4 album/index.html: Refactor Holder code. 2017-09-15 13:20:25 +03:00
Rudger Gravestein
9ff5f65fa8 Update holder.js image data-src + create theme
to fix the images
2017-09-14 12:59:13 +02:00
Patrick H. Lauke
d1b3c0c98d Structure examples with appropriate <main>, <header>, <footer>
Structure examples with appropriate `<main>`, `<header>`, `<footer>`
2017-09-13 19:51:08 +01: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
Rami Yushuvaev
65cb97b3d6 Add an introduction and a table with examples 2017-09-09 17:43:12 -07:00
Rami Yushuvaev
256c539e26 review updates 2017-09-09 17:43:12 -07:00
Rami Yushuvaev
0e3b90c85d Hiding Elements: new doc section in display.md
This new section will replace the `hidden-*` class. https://v4-alpha.getbootstrap.com/layout/responsive-utilities/

More info can be found here at https://getbootstrap.com/docs/4.0/migration/#responsive-utilities
2017-09-09 17:43:12 -07:00
Mark Otto
9cd634fb46 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-09-09 17:39:56 -07:00
Mark Otto
6df1f5338b fix redirect, close #23888 2017-09-09 17:39:47 -07:00
Mark Otto
1abafb36fe copy edits 2017-09-09 17:02:42 -07:00
Herst
187fb4d010 Mention removal of contextual progress bar classes 2017-09-09 17:02:42 -07:00
vsn4ik
5da8ff61ad Use CSS3 pseudo elements in documentation 2017-09-09 17:01:48 -07:00
Herst
02c7eae47e Don't create empty columns in documentation 2017-09-09 17:00:24 -07:00
vsn4ik
84b3097a4a Dont use short jQuery methods 2017-09-08 11:41:42 +03:00
Mark Otto
d3d06583c5 consistent comma usage :D 2017-09-07 09:31:50 -07: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
vsn4ik
fbd1f52f89 Use site.repo in docs 2017-09-05 21:00:40 -07:00
Mark Otto
0b1875d080 Update form validation migration docs 2017-09-05 20:58:54 -07:00
Mark Otto
5d97a1c4ab jquery 3 mention 2017-09-05 20:52:47 -07:00
Mark Otto
ff83a0a05b mention bower drop 2017-09-05 20:52:47 -07:00
Mark Otto
2d3cbe46c2 headings, pointer events 2017-09-05 20:52:47 -07:00
Mark Otto
b2b4ee2008 responsive table break 2017-09-05 20:52:47 -07:00
Mark Otto
802cab529a Update migration.md 2017-09-05 20:52:47 -07:00
Mark Otto
e7906267f1 Update migration.md 2017-09-05 20:52:47 -07:00
XhmikosR
20802038ca Update migration.md 2017-09-05 20:52:47 -07:00
Mark Otto
04629019cb add section to migration docs for important v4 beta 2 changes 2017-09-05 20:52:47 -07:00
Mark Otto
88eca66a34 add title to starter template code snippet 2017-09-05 20:42:16 -07:00
Andres Galante
90f6912c99 adds captions and scop col on thead th (#23755) 2017-09-04 15:40:13 -07:00
Andres Galante
8672161f75 adds clarification that gris values should be set in px (#23829) 2017-09-04 15:39:24 -07:00
Morva Kristóf
d8881c2f97 Removing extra bracket in introduction docs. (#23791) 2017-09-04 15:39:00 -07:00
oxlay
ce46946b92 Improve clarity of documentation for .card-body (#23691) 2017-09-04 15:38:00 -07:00
Patrick Yeo
59631a6f04 v4 docs Update Table Responsive to include .table-responsive{-sm|-md|-lg|-xl} (#23665) 2017-09-04 15:35:24 -07:00
Herst
f8048c817f Mention dropping of .checkbox/.radio (#23656)
* Mention dropping of .checkbox/.radio

* copy edirts
2017-09-04 15:33:18 -07:00
Herst
612eff6369 Remove usage of dropped .checkbox from docs (#23655) 2017-09-04 15:31:18 -07:00
Tanguy Krotoff
c770e68836 Drop Bower support (#23568) 2017-09-04 15:29:05 -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
Johann-S
bfa4df21f3 Merge branch 'v4-dev' into patch-5 2017-09-02 19:31:12 +02:00
vsn4ik
7a4285b4e7 Fix migration button stateful link 2017-09-02 16:55:46 +03:00
Eugenio
56e415d57d Correct typo (#23805)
Shouldn't this be 'output' ?
2017-09-01 22:58:53 +01: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
Johann-S
0b06ad69d2 Merge branch 'v4-dev' into patch-5 2017-08-29 21:32:52 +02:00
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
Herst
0fdbaaf885 Remove speculations about jQuery 3 2017-08-25 14:01:34 +02:00