Commit Graph

19163 Commits

Author SHA1 Message Date
XhmikosR 8876334b7f Fix `npm run docs-github` script. (#23688)
`$npm_config_tmp` is a non-existent variable.
Also, use double quotes since single ones don't work.
Finally, git ignore the temp file.
2017-08-26 12:59:04 +03:00
meeque 9612830701 Add unit test for xss in data target attribute 2017-08-25 23:20:14 +01:00
Johann-S bcad4bcb5f Fix XSS in data-target 2017-08-25 23:20:14 +01:00
Gijs Boddeus 4356d08abb Merge pull request #3 from twbs/v4-dev
update from official repo
2017-08-25 23:29:40 +02:00
David Bailey ba6a6f1369 Fix sticky margin when a modal is opened (#23669)
* Adjust margin for sticky elements on modal

Previously white space was visible to the right of sticky elements due to right padding being added to the body. This fixes #23661.

* Add unit tests for margin of sticky elements on modal
2017-08-25 22:01:41 +01:00
Herst 0fdbaaf885 Remove speculations about jQuery 3 2017-08-25 14:01:34 +02:00
Johann-S 5a90b4aa3e Collapse - preventDefault only on <a> elements not inside the collapsible
element
2017-08-25 09:48:35 +01:00
Johann-S 4571ab0e57 Fix toggle for Tooltips/Popover which was called even if the Tooltip/Popover was disabled 2017-08-24 09:33:49 +01: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
Johann-S b72489a851 Update which required jQuery release folks should use 2017-08-23 09:55:09 +03:00
Johann-S 6063b0dc65 Enable the `no-return-assign` rule. 2017-08-23 00:05:38 +03:00
XhmikosR ef8c77d8dc Tweak ESLint rules. 2017-08-23 00:05:38 +03:00
Chirag Modi 0492c3a4cd remove d-flex class from img tag in docs 2017-08-22 11:09:16 -07:00
Svyatoslav Polishchuk 70ca04bbdc replaced basic line-heights variable with button's line-heights variable for button size classes 2017-08-22 11:08:22 -07:00
Patrick H. Lauke 6ca451ebf8 Add pointer-events declarations
make outer `.modal-dialog` pass through events for custom click
handling, counteract it for the actual `.modal-content`
2017-08-22 10:54:12 -07:00
Patrick Yeo c1865b4563 Add momentum scrolling on responsive tables for webkit touch devices 2017-08-22 10:47:52 -07:00
Patrick Yeo f66fa3fa2b Generate series of `.table-responsive-*` classes to accomodate overflowing tables in a variety of screen sizes 2017-08-22 10:47:52 -07:00
Patrick Yeo f7eb3c98b2 `.thead-dark` and `.thead-light` border color should display the right border color 2017-08-21 18:20:14 -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
Patrick Yeo 3bf3bdf420 Rename `.table-inverse`, `.thead-inverse`, `.thead-default` to `.table-dark`, `.thead-dark`, `.thead-light` respectively 2017-08-21 18:20:14 -07:00
Patrick Yeo 0759427935 (#22414) Rename variables `$table-inverse-bg`, `$table-inverse-accent-bg`, `$table-inverse-hover-bg`, `$table-inverse-border-color`, `$table-inverse-color` to `$table-dark-bg`, `$table-dark-accent-bg`, `$table-dark-hover-bg`, `$table-dark-border-color`, `$table-dark-color` for consistency 2017-08-21 18:20:14 -07:00
Patrick H. Lauke 6b6f45ad67 Exclude input type=range from touch-action:manipulation 2017-08-21 22:45:11 +01:00
Mark Otto bd3ca58c08 Rename grayscale function to gray 2017-08-21 13:55:25 -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
Mark Otto 22f6ee52f0 remove commented out code, fixes #23530 2017-08-20 14:06:05 -07:00
Mark Otto 6bea2e24fe dist 2017-08-20 13:36:58 -07:00
Mark Otto 26e6d8b2b2 drop the now unused -color variable 2017-08-20 13:36:16 -07:00
Mark Otto c0434f69f4 Merge branch 'fix/badge-default-colors' of https://github.com/jonwolski/bootstrap into jonwolski-fix/badge-default-colors 2017-08-20 13:35:06 -07:00
Mark Otto 834ee9b433 Simplify selector and only override what we set
1. Instead of having two selectors, we use the `.list-group-item` class and have coverage for list items and anchors.
2. Rather than override all border values, we only override what we set with `border-top`.
2017-08-20 12:21:24 -07:00
gijsbotje bb32e91154 added suggested fix for list-groups with a elements 2017-08-20 12:21:24 -07:00
gijsbotje 2ba0127c91 fixes double border when .list-group.list-group-flush is preceded by .card-header 2017-08-20 12:21:24 -07:00
Mark Otto 25bbfcdd7c dist 2017-08-20 12:09:33 -07:00
Alex Chegodaev 1da730c67f added @content directive to media-breakpoint-only mixin for min and max cases 2017-08-20 11:46:55 -07:00
Mark Otto c4b3d81887 Drop the variables file table of contents and update the comment at the top
I never use this dang list and it just falls out of date far too easily. Dropping for my own sanity.
2017-08-20 11:42:19 -07:00
gijsbotje 6fc9dde727 equalize height of the first card of the card-group 2017-08-20 11:41:16 -07:00
Albert Willemsen f822307694 fixed package.json jspm section. 2017-08-20 11:40:21 -07:00
Simon Podlipsky b5a2441f1b Changed Typography title to Text 2017-08-20 11:32:15 -07:00
XhmikosR f67805c6c0 Update redirect.html 2017-08-20 11:31:30 -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 41bcab6900 Fix favicons inclusion after e932345. (#23473) 2017-08-18 17:35:45 +03:00
Jon Wolski f07d870381
Remove `color` property from `badge` class
I suggest removing `color: #FFF` from the `badge` class, because it is
provided by the `badge-<modifier>` classes along with a
background-color, whereas there is no corresponding background-color
provided on the `badge` class itself.

Background
----------

According to the documentation:

> [badge] Requires one of the contextual, color modifier classes for `color` and
> `background-color`.

That is, color and background color should be provided by a modifier
class, rather than the badge class itself.

e.g. `<span class='badge badge-primary'>4</span>`

In general, providing a `color` property without also providing a
`background-color` should be avoided. [W3 QA tips]

In this context, this is a problem only if someone creates a `badge`
without providing a modifier. Such an omition may be difficult to trouble-shoot,
because this will most likely yield white text on a white background.

[W3 QA tips](https://www.w3.org/QA/Tips/color)
2017-08-18 09:35:00 -05:00
XhmikosR 74d96392d2 Update devDependencies and fix a typo in comment. (#23534) 2017-08-18 16:55:59 +03:00
XhmikosR 94cb75ad2f Update reboot.md (#23521) 2017-08-18 15:40:01 +03:00
Johann-S 58994a16c5 Add a unit test to check if the carousel do not cycle when its parent isn't visible 2017-08-17 17:48:14 +01:00
Johann-S d2bd8fb7a9 Unit test to check if our carousel do not cycle when we cannot see it 2017-08-17 17:48:14 +01:00
Johann-S 58b54b6c15 Carousel - do not call next when the carousel or the parent isn't visible 2017-08-17 17:48:14 +01:00