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

17380 Commits

Author SHA1 Message Date
Mark Otto
8ffbb74e81
Remove margin-bottom on .bd-example (#25048) 2017-12-28 10:47:34 -08:00
Mark Otto
3e0dd5a5d7 Add examples of disabled tooltip and popover triggers 2017-12-28 10:26:43 -08:00
Mark Otto
dd621e5511
Improve lint vars output messaging (#25049) 2017-12-28 10:24:08 -08:00
Mark Otto
57083c3042 Expand border utilities to include top, right, bottom, left 2017-12-28 10:23:04 -08:00
ysds
b97cb2aa74 Remove blank line 2017-12-28 10:21:14 -08:00
ysds
0b771174d5 Add docs about active menu items (#24993) 2017-12-28 10:21:14 -08:00
Mark Otto
ee83a963f3 linting 2017-12-28 10:20:34 -08:00
Mark Otto
a6ae1cc50d Move alert theme-color() levels to variables
Closes #24341
2017-12-28 10:20:34 -08:00
Mark Otto
be3aa437a1 add note about single vs group 2017-12-28 10:19:27 -08:00
Mark Otto
1171e175c0 Update JS-powered buttons docs to include single button example
Closes #25067
2017-12-28 10:19:27 -08:00
Patrick Yeo
d5cbe696da Allow customizing Popover and Tooltip border-radius while I'm at it 2017-12-28 10:18:50 -08:00
Patrick Yeo
eaca6c0e44 Allow customizing Popover and Tooltip font-size outside of $font-size-sm 2017-12-28 10:18:50 -08:00
Mark Otto
ced70da441 Update version to 4.0.0-beta.3 2017-12-28 09:50:04 -08:00
Mark Otto
e0fe88659c npm dist 2017-12-27 21:08:51 -08:00
Andres Galante
a5232abefc Set cursor:pointer for <summary> 2017-12-28 02:08:10 +00:00
Mark Otto
1a4a94bfd9 apply same active/focus shadow styling to button variants 2017-12-27 17:56:28 -08:00
Mark Otto
afc984dca7 line break 2017-12-27 17:56:28 -08:00
Mark Otto
9023909484 fix mixin include 2017-12-27 17:56:28 -08:00
Mark Otto
97cfe5a582 Only apply the active and focus shadow on the focus state for :active 2017-12-27 17:56:28 -08:00
Mark Otto
c0129f8c2a dist 2017-12-27 16:30:18 -08:00
patrickhlauke
e3f9c463fc Opinionated: reintroduce cursor:pointer
Explicitly re-adds the "hand" `cursor:pointer` for non-disabled `.btn`, `.close`, `.navbar-toggler` elements, as well as forcing `page-link` pagination controls to always have the "hand" cursor (even if an author uses it on, say, `<button>` elements for a dynamically updating in-page pagination).

Controversial, as everybody jumped on the bandwagon following this article https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b - which does have its merits of course, but there are also counter-arguments like http://kizu.ru/en/issues/cursor-pointer/

And seeing the amount of issues we've seen following the change, and the potential complexity needed to consistently address the cursor issue (see https://github.com/twbs/bootstrap/issues/24156 where i explore how the cursor needs to be based on "intent", and how that's tough to determine), I'm favouring an opinionated take here of just reintroducing the `cursor:pointer`.
2017-12-27 16:28:10 -08:00
Mark Otto
8ae78b6820 dist 2017-12-27 16:20:10 -08:00
Mark Otto
921c4cb78b extra space 2017-12-27 13:41:15 -08:00
Mark Otto
26d7a939cd closes #24929 2017-12-27 13:41:06 -08:00
Mark Otto
42e881f590 improve docs tables 2017-12-27 13:40:51 -08:00
Mark Otto
c8e581afbb dist 2017-12-26 22:30:04 -08:00
Mark Otto
cf5e99e172 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-12-26 22:28:14 -08:00
Mark Otto
6fd11a6169 dist 2017-12-26 22:28:04 -08:00
Mark Otto
d603239b8a linting 2017-12-26 22:02:54 -08:00
Mark Otto
28fd9deb54 un-nest and un-chain popover classes 2017-12-26 21:58:57 -08:00
Mark Otto
fa2cc20e92 consolidate content properties, un-nest 2017-12-26 21:56:48 -08:00
Mark Otto
468c1615e2 smaller popover arrows for more reasonable visuals and more ideal pixel rounding 2017-12-26 21:54:47 -08:00
Mark Otto
572193524f remove popover static example 2017-12-26 21:50:23 -08:00
Mark Otto
acee8a00d6 remove broken static demo 2017-12-26 21:45:53 -08:00
Mark Otto
6cf71f298c Merge branch 'fix-arrows' of https://github.com/simonihmig/bootstrap into simonihmig-fix-arrows 2017-12-26 21:36:12 -08:00
Mark Otto
b01e81ed36 Rewrite custom file input
- Changes the wrapping label to a div so we can style the label instead of another element while also supporting form validation.
- Fixes form validation styles for custom file input (closes #24831).
- Updates docs with validation styles (also adding example feedback text while I was there) and new how it works section.
2017-12-26 16:14:08 -08:00
ysds
c5209270ac Clean up button group (#25073)
* Remove unnecessary float

- since parent btn-group is displayed as inline-flex, the child elements are placed left to right by default.

* Cleanup of reset rounded corners

- Remove `border-radius :0` since it is enough by each reset of left and right side
- A `.dropdown-toggle` selector should not be used for reset rounded corner since it does not have border-radius property. Instead use .dropdown-toggle as negation pseudo-class.
2017-12-26 16:04:11 -08:00
ysds
8c6011ab4f Fix input group border radius issue (#25075) (#25076)
* Fix input group border radius issue (#25075)

* Remove migration note

- All buttons In input group do not have to be the same element now.

* lint
2017-12-26 14:23:07 -08:00
Mark Otto
be6fbf5387 dist 2017-12-26 13:50:15 -08:00
Mark Otto
03e1c47bc2 Darken table border-color
Fixes #25016 which noticed a .thead-light and border-color of the .table-border are the same color.
2017-12-26 13:47:48 -08:00
Mark Otto
90d492bc4a dist 2017-12-26 13:33:29 -08:00
Mark Otto
dd7a8be711 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-12-26 13:31:53 -08:00
Mark Otto
234a894a0b dist 2017-12-26 13:31:42 -08:00
Mark Otto
878e5c5910 Closes #25039
Adds some additional context on `.form-group` usage
2017-12-26 13:21:08 -08:00
Mark Otto
4205b262d3 Update SCSS import order to have print styles last 2017-12-26 13:20:12 -08:00
Mark Otto
2435afe4e6 Move from h4s and misc to h5s so headings from example snippets don't show in our table of contents 2017-12-26 13:18:19 -08:00
Mark Otto
2416801c7e remove input group overrides since they're defaults now 2017-12-23 17:50:52 -08:00
Mark Otto
73ca04df53 space custom select sizing examples 2017-12-23 17:50:52 -08:00
Mark Otto
c468f89b1c Make custom select and file inputs 100% wide
Matches browser default inputs and swaps some max-width properties for a regular width
2017-12-23 17:50:52 -08:00
Mark Otto
28b9b40faa
closes #24973 2017-12-23 16:47:33 -08:00