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

8197 Commits

Author SHA1 Message Date
XhmikosR
fbd42af6ca Reduce whitespace liquid outputs. (#24470) 2017-10-22 14:53:06 +03:00
Johann-S
c86f72be96 Use navbar-expand-sm in our navbar bottom example for small devices (#24463) 2017-10-20 13:18:04 +03:00
XhmikosR
37bfbcf117 Be consistent with "JS"/"JavaScript". (#24457) 2017-10-20 10:44:03 +03:00
rmacklin
9e6dabbb10 Reduce z-indexes in button-group, input-group, list-group, and pagination to the minimum necessary (#24315)
These were using `z-index: 2` to "Place active items above their
siblings for proper border styling". However, using `z-index: 1` is
sufficient for accomplishing that goal.

In input-group, there were also three `z-index: 3` rules for the
hover/focus/active states. I reduced these to `z-index: 2` since they
just needed to be "one more than normal" (i.e. one more than what is now
`z-index: 1` after my changes).

These changes can be verified by viewing the documentation pages for
Button group, Input group, List group, and Pagination before and after
this commit and observing that the active elements are still "above"
their siblings, so their borders look correct.
2017-10-20 10:01:29 +03:00
XhmikosR
e79b2354d6 Merge branch 'v4-dev' into input-group-custom-forms 2017-10-20 09:43:00 +03:00
XhmikosR
b3babbfc26 migration.md: fix Jekyll variable. (#24449)
Rationale: the page is not available locally, only on gh-pages, thus leading to a 404 locally.
2017-10-20 09:41:36 +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
Andrew Murphy
c600176c2a another ; 2017-10-19 21:34:45 +01:00
Andrew Murphy
b69d535822 formatting 2017-10-19 21:22:40 +01:00
Andrew Murphy
8504f68815 typo 2017-10-19 21:15:07 +01:00
Andrew Murphy
d578117c73 suggested changes 2017-10-19 21:14:08 +01:00
Mark Otto
fc94de5b8b typo 2017-10-19 12:23:29 -07:00
Mark Otto
50a2345032 new current_ruby-version var 2017-10-19 12:23:29 -07:00
Mark Otto
0a1c70d9b9 update getting started docs too 2017-10-19 12:23:29 -07:00
Gijs Boddeus
7b06b9292f spelling changes to theming.md (#24444) 2017-10-19 10:33:31 -07:00
Laussel Loïc
13898af590 remove form control label as it have been removed (#24442) 2017-10-19 10:31:49 -07:00
Gijs Boddeus
98af557842 fix missing word in colors.md (#24440) 2017-10-19 09:11:23 -07:00
Mark Otto
06641ca0b3 Gradients and shadows (#24429)
* Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency

* - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables.

- Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow`
variables with unified `$input-btn-focus-box-shadow` to match our
combined variables approach elsewhere.

* Put new focus width var to use in buttons mixins

* use new button input-box shadow var

* Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true

* use correct var

* fix focus shadows in button mixins

* Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items

* Generate .bg-gradient- utilities

* add headings to colors page and document bg-gradient utils

* update the button color for active status, check with yiq as it's done for basic state and hover state
2017-10-19 09:03:33 -07:00
XhmikosR
d763d019ad Make 1.9.1 the minimum jQuery version again. (#24434) 2017-10-19 09:02:27 -07:00
Mark Otto
0c67ab1fa6 Better docs for table-responsive classes (#24438) 2017-10-19 08:55:53 -07:00
XhmikosR
1f43fe970b Fix a few 404 and one redirected link. (#24432) 2017-10-19 08:18:57 -07:00
Gijs Boddeus
07034cb3b0 fix typo in flex.md (#24431) 2017-10-19 01:01:48 -07:00
Mark Otto
39b144c88f Update docs for IE10+IE11 support of auto margins (#24427)
IE10 and IE11 do not properly support the use of margin-auto on flex parents with a justify-content value other than flex-start. This PR removes the examples showcasing those two classes at play together in favor of simpler ones with _just_ the margin-auto utilities.

More details can be found at https://stackoverflow.com/a/37535548, which has been linked to from the docs as well.

Closes #24319 and closes #24413.
2017-10-19 09:16:18 +03: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
Andrew Murphy
5114a4758d Use the 'spacing' template. More examples
The most important change is to say "for the named breakpoint ( `sm`, `md`, `lg`, `xl`) and above".
The existing "hiding elements para" (not yet live) is exactly what's needed.
Keep simple for "english as a second language" people (e.g. hide not hidden)
2017-10-18 22:28:09 +01: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
Mark Otto
c075968c14 mention color contrast function change 2017-10-17 18:37:11 -07:00
Mark Otto
a48dbdbf97 document color-yiq function 2017-10-17 18:29:47 -07:00
XhmikosR
289836ef96 Fix typo in scrollspy.md (#24398) 2017-10-17 15:27:37 +03:00
Anuj Tomar
fa234e27aa Correct $zindex-sticky value (#24402) 2017-10-17 08:51:34 +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
658e81a084 Mention bootstrap bundle in docs. (#24385) 2017-10-16 08:01:58 +03:00
XhmikosR
db487f9845 Update build-tools.md (#24378) 2017-10-16 05:17:53 +03:00
Lucas Banegas
71e60e1f85 Describe compiled CSS (#24271) 2017-10-13 14:34:43 +03:00
Jesse Mandel
991cbe74d0 Update colors in _data and theming.md to match _variables.scss (#24355) 2017-10-13 13:34:27 +03:00
Michael Letcher
c8ee8509cb Updated Safari Bug (#24350) 2017-10-12 21:22:18 +03:00
Varunram
ab093b90f6 Add borderless table class along with docs. Rebase 2017-10-11 00:01:57 +05:30
XhmikosR
a8fb64f3e3 Lint examples' CSS too. 2017-10-09 11:20:05 +03:00
XhmikosR
0c1597ebde examples/dashboard/dashboard.css: merge duplicate selector. 2017-10-09 11:20:05 +03:00
XhmikosR
ef38ca1c11 Make Dropped the Affix jQuery plugin bold. (#24294) 2017-10-08 14:20:41 +03:00
XhmikosR
7b715ee7e8 Examples: remove unused images. (#24237) 2017-10-04 19:23:17 +03:00
XhmikosR
1c24bdeca8 Remove double spaces. 2017-10-04 13:01:15 +03:00
XhmikosR
9289773b8a content/images.md: fix indentation in picture snippet. 2017-10-04 13:01:15 +03:00
XhmikosR
1207048319 Add image dimensions in examples page. (#24236) 2017-10-04 11:51:11 +03:00
Johann-S
101129763c Add a navbar-bottom example with a dropup inside. 2017-10-04 10:32:32 +02:00
Andres Galante
f2725a6721 #24176 adds a note on the image docs about how to use picture 2017-10-03 22:13:00 -07:00
Mark Otto
742e3a79dd Update column resets docs to include new section for column breaks
- Moves offset reset to the offset section
- Adds new breaks section to fix #24136
2017-10-03 16:10:54 -07: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
XhmikosR
ee574b76a7 Switch to lowercase doctype. (#24217)
Having it uppercase doesn't offer anything and the lowercase version slightly improves gzip compression.
2017-10-03 19:34:59 +03: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
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
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
Chirag Modi
0492c3a4cd remove d-flex class from img tag in docs 2017-08-22 11:09:16 -07:00
Patrick Yeo
5c95dcc300 v4 docs Update Table docs with .table-dark and .thead-light changes 2017-08-21 18:20:14 -07:00
SKmedix
022b41ed9b Added missing dot (#23601) 2017-08-21 18:30:55 +03:00
Иван Жеков
721d948d94 Remove trailing spaces (#23593) 2017-08-21 14:51:36 +03:00
Mark Otto
d2973b3710 remove mention of clearfix source from docs, closes #23578 2017-08-20 14:08:57 -07:00
Simon Podlipsky
b5a2441f1b Changed Typography title to Text 2017-08-20 11:32:15 -07:00
Mark Otto
fd8c052c67 Restore grid offset classes
Fixes #23360 by restoring just the offset class generation to our grid
framework mixins. Also restores the `make-col-offset` mixin.

Docs have been restored to illustrate this behavior and merged with the
newer margin utilities examples.
2017-08-20 11:17:48 -07:00
Jeroen van Warmerdam
d5db28d183 Carousel prev/next controls are renamed accordingly (#23561) 2017-08-19 12:19:33 +03:00
XhmikosR
94cb75ad2f Update reboot.md (#23521) 2017-08-18 15:40:01 +03:00
Jonathan Berger
a77f515a22 Fix error in Alerts component doc (#23522) 2017-08-17 19:01:51 +03:00
XhmikosR
27637cf3bd Remove the unneeded d-block from .carousel-items. (#23472) 2017-08-17 12:11:31 +03:00
XhmikosR
1b95964291 browsers-devices.md: fix typo. (#23495) 2017-08-16 18:52:24 +03:00
Retroity
7b873fa0a1 Fixed Example Carousel so it works on mobile (#23470) 2017-08-15 22:13:58 +03:00
Mark Otto
e82d541836 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-08-15 10:43:45 -07:00
Mark Otto
62a3e9c1f0 fixes #23464: update grid migration docs to mention order replaced push/pull 2017-08-15 10:43:16 -07:00
Rolandas Barysas
b150410660 Remove $zindex-dropdown-backdrop from docs (#23461)
It was removed in 6d64afe.
2017-08-15 18:16:40 +03:00
Peder Johnsen
6a49f88d8f Small typo on screenreaders page (#23416)
Just fixes small typo
2017-08-14 18:09:16 -07:00
jipexu
20af0373f3 Mention badge-default in migration docs, fix typo on popover docs (#23409) 2017-08-14 14:04:06 -07:00
Cory Becker
2564ee98a6 Remove apostrophe 2017-08-14 13:59:40 -07:00
Patrick Yeo
ea854233b7 v4 docs Add description for global variable $enable-caret 2017-08-14 09:28:16 -07:00
Mark Otto
0f2acc4b9e Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-08-13 16:47:45 -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
Alan Orth
b12d28c58e docs/4.0/examples/blog: Use ml-sm-auto instead of offset-sm-1 (#23388)
Bootstrap 4.0 Beta 1 dropped the offset classes in favor of using margin utilities. Update the blog example in the docs to use the appropriate `ml-auto` instead of `offset-sm-1` class to retain a pixel perfect with previous versions.
2017-08-13 11:57:25 +03: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
XhmikosR
9e6c11e329 Remove IE 10 viewport bug workaround JS. 2017-08-11 10:18:49 -07:00
Brian Surowiec
860ca6dee8 Fix malformed link 2017-08-11 10:15:07 -07:00
Clark Winkelmann
ac9176be92 Fix .table-info migration text
.table-info should be .info in bootstrap 3
2017-08-11 10:14:00 -07:00
XhmikosR
8a7fe34005 Fix about sidebar. 2017-08-11 10:12:51 -07:00
Steven Black
716e1247bf “Sass” is standard in text and headings. (#23328) 2017-08-11 18:50:03 +03:00
Chirag Modi
6a5a38106a Fix broken links in doc (#23324) 2017-08-11 17:40:41 +03:00
XhmikosR
f8e89c52b5 Fix JavaScript case and a typo. (#23320) 2017-08-11 16:50:08 +03:00
Jan Karlo Dela Cruz
537b5f0127 Fix broken links in documentation. (#23315) 2017-08-11 16:26:51 +03:00
Sean
ce35fdd527 Updated Feather link (#23303)
Feather link didn't go anywhere.

Changed feather link from `colebemis.com/feather` to `feathericons.com`
2017-08-11 14:42:02 +03:00
béla
06044d5f82 Update Rubygems version. (#23289) 2017-08-11 13:54:24 +03:00
Garth Bjerk
bfd05c3423 Fix the broken about link in the footer (#23298) 2017-08-11 13:43:06 +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
Christian Oliff
b5f89d5672 Remove the Internet Explorer 10 for Windows Phone 8 workaround (#23122)
I suggest that there's no longer a need to include the section on workaround for the IE10 bug on Windows Phone 8. Not only was this bug patched in a later release of Windows Phone 8 (which shipped in 2013), but Windows Phone 8's support ended a long time ago - even its successor Windows Phone 8.1 is no longer supported by Microsoft. The potential audience affected by this bug is likely microscopic so I suggest it can be safely removed. 

I suggest the workaround JS (http://getbootstrap.com/assets/js/ie10-viewport-bug-workaround.js) can also be safely removed from the docs and examples but I haven't done that in this PR.
2017-08-10 23:06:15 -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
Dillon Chanis
9706ce72c9 Add clear description and use case with example 2017-08-10 22:45:35 -07:00
Dillon Chanis
b1b8aedf0e Add use case description and example 2017-08-10 22:45:35 -07:00
Mark Otto
d23813988a Add examples of forms in dropdown menus 2017-08-10 22:44:57 -07:00
Mark Otto
09019a8ecd Set explicit text-align on <body> element so we can use inherit to override the default <th> text-align value 2017-08-10 22:43:50 -07:00
Mark Otto
caa7117e23 Update javascript.md 2017-08-10 22:42:23 -07:00
Varunram
5538967381 Add event.preventDefault documentation to javascript.md 2017-08-10 22:42:23 -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
Mark Otto
3fbdedbf22 Add basic property-value utils for position 2017-08-10 22:35:38 -07:00
Mark Otto
0356a1417a Merge branch 'new-home' into v4-dev 2017-08-10 20:46:25 -07:00
Jonathan
94e860c557 Dropped .radio-inline and .checkbox-inline
Dropped `.radio-inline` and `.checkbox-inline`.
2017-08-10 20:42:55 -07:00
Mark Otto
209a963539 remove commented out code while here 2017-08-09 08:32:14 -07:00
Mark Otto
4e07146624 rewrite parts of download page 2017-08-09 08:32:14 -07:00
Mark Otto
ba7d921732 clarify optional js, add some links, emphasize some text 2017-08-09 08:32:14 -07:00
XhmikosR
fd113b93f6 Fix flex order generated code and a typo. 2017-08-09 08:29:52 -07:00
Mark Otto
da3185ee0a new homepage, new assets, clean out old stuff 2017-08-07 21:35:43 -07:00
Pablo Crivella
8606c0d3ec Fix typo 2017-08-06 19:14:55 -07:00
Mark Otto
0cde0ae18d better label, remove some contents to better illustrate behavior 2017-08-04 15:15:42 -07:00
Mark Otto
062d113eee remove old validation docs, fixes #23217 2017-08-04 14:21:21 -07:00
Mark Otto
698a7b4253 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-07-31 11:31:54 -07:00
Mark Otto
0d14fe9e88 fixes https://github.com/toshimaru/jekyll-toc/issues/25 2017-07-31 11:31:44 -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
XhmikosR
ef1c729156 Update docs and carousel example for order-. 2017-07-30 14:00:14 -07:00
汪磊
3619586c16 Update accessibility.md 2017-07-30 13:58:52 -07:00
Johann-S
f4f63d8623 Update Popper.js to 1.11.0 (#23162) 2017-07-28 09:34:53 +03:00
Scott Petrovic
21d8909598 fix location of favicons so it loads when viewing the examples. This is the only one I found in the project, so I am assuming it is the right one to point to (#22895) 2017-07-16 16:19:20 +03:00
Mark Otto
2e5be3f46f only need the one utility class, it'll naturally apply at sm and above 2017-07-14 16:44:44 -07:00
John Galt
095c46c242 Fix #22974 2017-07-14 16:44:44 -07:00
Mark Otto
64bf037bd1 mention how to do edge-to-edge in docs
/cc #23070
2017-07-14 16:31:34 -07:00
Mark Otto
16fdaa2bef fixes #23045 2017-07-14 16:31:13 -07:00
Mark Otto
f2e912bb0e Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-07-12 21:11:08 -07: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
Mark Otto
6c0e31f82e fix broken example link 2017-07-09 19:57:16 -07:00
Vincent Le Put
136a0d5cb6 Docs: added missing quote in input-group example (#23010) 2017-07-06 23:33:50 +02:00
Mark Otto
4d515e4026 move the about directory into the docs to avoid collision with the multiple versions of our hosted docs 2017-07-05 11:27:06 -07: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
Casper
6797e84215 fixed doc vertical-align.md "inlie" to "inline" (#22984) 2017-07-04 09:32:41 +02:00
Mark Otto
d785e8a53a fixes #22979 2017-07-03 19:05:50 -07:00
Mark Otto
6cf1a106d4 fixes #22968 2017-07-02 14:37:46 -07:00
Mark Otto
67245a474f fix some busted links 2017-07-02 12:00:24 -07:00
Mark Otto
6f073edc79 Add .text-truncate class. We already had a mixin and documented the class, so this fixes that. 2017-07-01 23:05:51 -07:00
Mark Otto
cfb383cc01 update link 2017-07-01 23:05:51 -07:00
Mark Otto
502856b5c2 update name 2017-07-01 23:05:51 -07:00
Mark Otto
4b84614e7f Redo the "responsive helpers" files
- Moves the embed SCSS to the utilities subfolder
- Separate the floats from the embed docs
- Rename embed docs from responsive helpers to embeds
2017-07-01 23:05:51 -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
150d686a30 migration guide updated 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
45722e94ac Drop .blockquote-reverse, replace with text utils, and redesign blockquote to not have a border 2017-06-30 15:04:56 -07:00
Mark Otto
4554d74221 update redirect_from on docs pages 2017-06-30 15:04:10 -07:00
Mark Otto
7eafb16579 update that docs bit too 2017-06-30 11:44:09 -07:00
Mark Otto
3afb571ec3 formatting 2017-06-30 11:44:09 -07:00
Mark Otto
3fd0708f8d this were removed 2017-06-30 11:44:09 -07:00
Mark Otto
6b34cba118 drop that part of the docs, not applicable 2017-06-30 11:44:09 -07:00
Mark Otto
4982926dcf Drop offsets and push/pull for new order variants 2017-06-30 11:44:09 -07:00
Mark Otto
b013b987b0 remove grid gutter sass map as it's output css was all jacked up 2017-06-30 09:01:39 -07:00
Mark Otto
7cebaa8bb0 callout for future sass implementation
[skip ci]
2017-06-30 08:55:16 -07:00
Mark Otto
6055453e41 Merge branch 'v4-dev' into colors-redux 2017-06-29 23:15:48 -07:00
Mark Otto
964e06800a Drop the old $gray- variables for the new color range 2017-06-29 23:15:27 -07:00
Craig Potter
41f8af8afa fix broken links on Utilities for layout page 2017-06-29 15:41:50 -07:00
Mark Otto
0f232de9d7 move table variants to use sass map 2017-06-28 09:36:27 -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
64008ad721 Merge branch 'v4-dev' into colors-redux 2017-06-27 19:59:09 -07:00
Richard Beales
db732995cc Update migration.md to fix minor typo 2017-06-27 12:59:29 +02:00
Mark Otto
2f1bcaafa2 Merge branch 'v4-dev' into colors-redux 2017-06-25 18:42:14 -07:00
Mark Otto
9bfbee3503 add border color utilities 2017-06-25 18:39:14 -07:00
Mark Otto
f8d61218ca revamp button docs to loop over theme colors 2017-06-25 18:31:34 -07:00
Mark Otto
52cf0fe648 update instances of .bg-inverse and .bg-faded to .bg-dark and .bg-light 2017-06-25 18:31:23 -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
fc053ed096 update background utils 2017-06-25 18:16:37 -07:00
Mark Otto
aa83c4f417 update badges to use the theme colors sass map 2017-06-25 18:15:32 -07:00
Mark Otto
a0fb496635 update rendering of colors in options.md 2017-06-25 18:12:50 -07:00
Sibiraj
d9920317f3 Writing style Tweaks to accessibility.md
* fix accessibility.md

* Update accessibility.md
2017-06-21 13:02:24 +02: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
222eddda5e Merge branch 'v4-dev' into colors-redux 2017-06-18 18:32:42 -07:00
Mark Otto
7e2d41becd remove mention of postcss-flexbugs-fixes from docs 2017-06-18 18:17:48 -07: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
74f1d002b4 Merge branch 'v4-dev' into colors-redux 2017-06-18 02:19:34 -07:00
Mark Otto
bcc1f84d56 close #22338 by putting h4 text within links, but keep headings as is because i can't justify writing h3.h4 😭 2017-06-17 21:57:47 -07:00
Mark Otto
ea2d6adfc7 mention labels being outside input-group 2017-06-17 21:10:06 -07:00
Mark Otto
58bd8fdf2b Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-06-17 19:03:25 -07:00
Mark Otto
3e25ebb587 document it 2017-06-17 13:13:47 -07:00
Mark Otto
54ee882e50 redo intro 2017-06-15 20:30:02 -07:00
Mark Otto
42d614347e fix broken button 2017-06-15 20:28:14 -07:00
Mark Otto
09e3509ff3 render the colors 2017-06-15 11:16:40 -07:00
Mark Otto
ae6440a480 clarify now that custom is gone 2017-06-15 09:32:26 -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