Commit Graph

7971 Commits

Author SHA1 Message Date
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
Mark Otto a248ae0a3c
Revamp docs About section (#24589)
- Drops the Team page for privacy and accuracy. I don't want to pressure folks into feeling committed to the project through a page like this, and it also doesn't allow folks any privacy option (as you can hide org membership on your GitHub profile).
- Moves the History page into an Overview page, which includes an updated history page and a quick team blurb at the top.
- Added redirects to the new Overview page from Team and History
2017-10-28 22:41:25 -07:00
jeanpierre 63828f0cf0 form y space in doc 2017-10-27 14:55:07 +02:00
Paweł Kuna d51a6c8db3 Add `table-row` in documentation (#24551) 2017-10-26 09:33:41 +03:00
Mark Otto 5174059226 fixes #23695 2017-10-22 22:36:10 -07: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 6ef998628d improve visual appeal of examples 2017-10-22 19:35:42 -07:00
Mark Otto 964356464c combine 2017-10-22 19:34:24 -07:00
Mark Otto 2f8d3a3d8c line break 2017-10-22 19:34:06 -07:00
Mark Otto 58f4f1b723 Merge branch 'v4-dev' of https://github.com/aavmurphy/bootstrap into aavmurphy-v4-dev 2017-10-22 19:33:52 -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 137b680c69 Merge branch 'input-group-custom-forms' of https://github.com/twbs/bootstrap into input-group-custom-forms 2017-10-22 14:07:11 -07:00
Mark Otto 8f9e8569ae add ids, add for attributes, and fix dupe ids 2017-10-22 14:04:46 -07:00
XhmikosR 29d58fb758 Enable stylelint's `function-comma-space-after`. (#24501)
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-10-23 00:00:00 +03:00
XhmikosR 44278f89e3 New examples screenshots. (#24395)
The images are PNG 8-bit optimized with optipng, zopflipng and pngout.
2017-10-22 13:49:01 -07:00
Mark Otto a1a4e12bcc start beta 3 migration docs, mention removed var 2017-10-22 12:23:40 -07:00
XhmikosR 060258f9be Fix broken URI fragment and a redirected link. (#24456) 2017-10-22 15:13:32 +03:00
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