0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

17750 Commits

Author SHA1 Message Date
Sander Melnikov
216c7ea20f Fix breakpoint mixins for custom breakpoint maps (#25264)
When using the `media-breakpoint-between` or `media-breakpoint-only`
mixins with a custom breakpoint map – not defined as `$grid-breakpoints`
– the mixin incorrectly defaults back to the global `$grid-breakpoints`
map in certain situations. This commit correctly passes on the
`$breakpoints` argument to the other mixins called within the block.
2018-01-13 09:45:21 +02:00
ysds
f4bf0542d7 Add direct children selectors to avoid cascading styles into a menu form (#25279) 2018-01-13 09:40:55 +02:00
Mark Otto
44eedf3e58 Merge branch 'custom-check-disabled' of https://github.com/gijsbotje/bootstrap into v4-dev 2018-01-12 17:32:56 -08:00
Mark Otto
6d8d8639f3 dist 2018-01-11 22:42:40 -08:00
XhmikosR
80d0943b95 Comply to the new rules. 2018-01-11 18:48:46 +02:00
XhmikosR
6d336502c7 Clean up and tweak ESLint rules.
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
2018-01-11 18:48:46 +02:00
Mark Otto
92cc0aba7b Deprecate hover media query shim and mixins (#25270)
* Deprecate hover media query shim and mixins

Fixes #25195.

This never was completed or fully implemented, and the docs are inaccurate as to what browsers are currently affected by this stickied hover problem. This PR aims to update the docs and deprecate the shim from our mixins and only return the pseudo-classes. To reflect the order of these states used elsewhere (e.g., our button styles), I've also updated the order of each within the mixin.

* Mention in docs and variables that it's deprecated
2018-01-11 10:12:15 +00:00
Patrick H. Lauke
2e15b94888
Remove touch-action:manipulation click optimization (#25250)
Due to a severe performance bug in Chrome (see https://bugs.chromium.org/p/chromium/issues/detail?id=800522) and due to the fact that (with the exception of IE/Edge on Windows desktop with touchscreen) all modern browsers now optimize the click delay away anyway, this optimization is not needed.

Closes https://github.com/twbs/bootstrap/issues/24670
2018-01-11 09:51:44 +00:00
XhmikosR
4a1bc75152
Merge branch 'v4-dev' into custom-check-disabled 2018-01-11 10:49:38 +02:00
XhmikosR
bfceedc84a
Update devDependencies and gems. (#25192) 2018-01-11 10:48:46 +02:00
Vytas
bea31472ea Fix invalid "constraint validation API" URL in docs (#25244) 2018-01-11 10:36:16 +02:00
Christian Oliff
d015ab9099 Update browser compatibility note for position: sticky since Edge supports it now (#25229)
The latest shipping version of Edge supports position: sticky and I've successfully tested it with Bootstrap 4 and it works as intended. I added IE10 in place of Edge in that note as I assume that IE10 also has the `position: relative` fallback.
REF: https://caniuse.com/#search=sticky
2018-01-11 10:31:03 +02:00
Vytas
5c53c8e647 Fix variable name in display utility class naming (#25261) 2018-01-11 10:26:32 +02:00
XhmikosR
13be9aa00b Ignore the bogus lang vnu.jar error. 2018-01-11 10:16:12 +02:00
XhmikosR
2f9d4d8ab2 Work around Travis errors by switching to sudo. 2018-01-11 10:16:12 +02:00
Gijs Boddeus
ec307bdf4b
Merge branch 'v4-dev' into custom-check-disabled 2018-01-10 21:49:10 +01:00
Łukasz
1a231e4bee Check for window before window.QUnit (#25199) 2018-01-08 13:15:22 +01:00
gijsbotje
d7dbdf91c6 added variable for the background of checked and indeterminate custom inputs and radios that are disabled
added styles for these cases
2018-01-06 01:14:15 +01:00
Jesse Mandel
20a251a597 Added required checkbox example 2018-01-05 12:24:19 -08:00
Jesse Mandel
a05f1d883e add validation feedback/tooltip support to form-check-inputs 2018-01-05 10:55:13 -08:00
Mark Otto
34cd2038d2 dist 2018-01-03 16:03:22 -08:00
Mark Otto
20765b5025
Print tweaks (#25164)
* Add min-width to body when printing

This should address some inconsistencies between browsers when printing. It applies a min-width to the body so that the content better resembles what your might see on your screen. I've made it a variable for easy customizing, too.

* Don't underline buttons when printing

* Add basic print styles for page and body size to create a semi-consistent print experience across browsers
2018-01-03 16:01:03 -08:00
ysds
8184c649a1 Document order-0 (#25191) 2018-01-03 16:47:13 +02:00
Martijn Cuppens
a1d134f8a8 Multiple accordion support (#25161) 2018-01-03 16:40:58 +02:00
Patrick H. Lauke
7044ea82c1 Patch fractional viewport widths to work around Safari rounding bug (#25177)
Includes simplifying the prose in `tables.md` and adding the bug to the list of browser bugs.

Closes https://github.com/twbs/bootstrap/issues/25166
2018-01-03 09:42:03 +02:00
Mark Otto
1cfbb8305a
Add some documentation on using CSS vars (#25176)
* Add some documentation on using CSS vars

Fixes #25147

* link to MDN doc
2018-01-02 22:58:40 -08:00
Mark Otto
460849ddcd
Validation tooltip example (#25143)
* Add additional form validation examples

Fixes #24811.

This adds .valid-feedback to our custom styles and server side examples; previously we ommitted this to suggest you don't always need valid feedback. In addition, this adds examples of the .{valid|invalid}-tooltip classes with a new subsection in the Validation docs.

* Update validation tooltip styles to remove fixed width; instead should retain itself to the parent element

* update ids

* finish docs paragraph, mention position: relative
2018-01-02 21:57:56 -08:00
Martijn Cuppens
d66875d0e6 Remove double borders for custom select and custom file
Fixes #25168
2018-01-02 21:57:10 -08:00
Mark Otto
2dc5762f96 Update pagination focus styles
- Drops the hover-focus mixin for standard :hover
- Adds explicit :focus styles to match button, input, etc with a box-shadow
- Adjusts z-index values to ensure the layers go initial, hover, active, focus

Fixes #24838.
2018-01-02 21:49:01 -08:00
Mark Otto
e3e4d0389d dist 2018-01-02 21:19:29 -08:00
Mark Otto
1e6a0f4ff3 add example of textarea to docs 2018-01-02 21:18:14 -08:00
Mark Otto
9474d06b1b Merge branch 'patch-8' of https://github.com/gijsbotje/bootstrap into gijsbotje-patch-8 2018-01-02 21:14:02 -08:00
Patrick H. Lauke
8462cc2a19
Expand keyboard advice for tooltips, clarify what manual trigger does in table 2018-01-02 19:35:13 +00:00
Patrick H. Lauke
8bb39f27bd
Remove incorrect roles from accordion, tweak/expand accessibility info, use buttons for accordion
* Remove incorrect roles from accordion, tweak/expand accessibility info
* Use `<button>` elements rather than links for the accordion
2018-01-02 18:19:47 +00:00
Andres Galante
c0246e926f improves accordion styles 2018-01-02 09:46:07 -03:00
Mark Otto
dccd0037d8 improve additive/subtractive border util docs 2018-01-01 20:51:20 -08:00
Mark Otto
750291b251 Darken border color slightly 2018-01-01 20:50:59 -08:00
Mark Otto
7acfa61ec0 Merge branch 'docs-border-utilities' of https://github.com/ysds/bootstrap into ysds-docs-border-utilities 2018-01-01 20:32:44 -08:00
Mark Otto
44eebe40de dist 2018-01-01 20:29:19 -08:00
patrickhlauke
987ae5b8c8 Use <button> elements rather than links for the accordion 2018-01-01 21:59:05 +00:00
patrickhlauke
04bffc36dd Remove incorrect roles from accordion, tweak/expand accessibility info 2018-01-01 21:43:41 +00:00
Gijs Boddeus
48c45992a8
Textarea support for input groups
The append and prepend classes vertically aligned items in the center
For textareas this meant the addon would aling vertically instead of stretch and have it's contents vertically aligned
these changes fix that so everything is aligned how it should be
2017-12-31 15:38:29 +01:00
Martijn Cuppens
ae71e71fe1 Allow nested structure for accordions (#25121)
This commit allows nested structures for accordions. Also a part of
the documentation about data-children is removed because this
functionality didn't work and it's not applicable anymore.

Tests with the collapse accordion are also a bit adjusted to the new
situation.
2017-12-31 14:53:33 +02:00
Martijn Cuppens
bee859cc9c docs: Fix overflow issue in IE. (#25142) 2017-12-31 14:45:26 +02:00
ysds
e290d8f527 Add description about positive border 2017-12-31 15:09:43 +09:00
ysds
863cb131c9 Add positive border utilities 2017-12-31 14:52:02 +09:00
Mark Otto
d08eb55dc9 dist 2017-12-30 21:34:23 -08:00
ysds
6b5a2ff626 Apply of #25068 to input group 2017-12-30 20:59:57 -08:00
Andres Galante
5f3856ce29 removes hardcoded value for nav-link padding 2017-12-30 20:58:25 -08:00
Kramb
8c87e019a5 Add modal-dialog-centered class to vertically centered modal example. 2017-12-30 20:57:22 -08:00