Commit Graph

17369 Commits

Author SHA1 Message Date
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
Mark Otto
1fbf531e07 prefix those 2017-12-23 16:19:49 -08:00
Mark Otto
853e5cb801 change heading 2017-12-23 16:19:33 -08:00
Mark Otto
b3e9547c59 further clarify z-index docs, fix #24999 2017-12-23 13:17:23 -08:00
simonihmig
9600ab1003 Fix tooltip/popover arrow size and position 2017-12-23 18:29:57 +01:00
XhmikosR
8b8999b07a
Update our browserslist. (#24919)
Update our browserslist.

* Add `last 1 major version` and `>= 1%`.
* Add Firefox.

Firefox v38 is older than the ESR, so basically replace ESR with v38.
2017-12-23 10:09:10 +02:00
Mark Otto
ab1808742d dist 2017-12-22 21:02:36 -08:00
Mark Otto
eb60521c03 Move .table-responsive to a parent class instead of a modifier 2017-12-22 20:09:58 -08:00
Andres Galante
aacfcc248d adds hover state to the button element for background color utilities (#24813)
* adds a hover state to the button element on the backrgound color utitility

* Adjust z-index to fix hover/focus overlaps
2017-12-22 19:41:13 -08:00
Mark Otto
5621c800aa dist 2017-12-22 17:15:46 -08:00
JCA122204
b23bf85faa Updated Quick Start Link (#25001)
* Updated Link For Getting started Page

* Change URL scheme of previous commit

From http to https
2017-12-22 16:52:36 -08:00
Mark Otto
0a420124ea
Restyle code element, remove docs example overflow, improve docs examples (#25054)
* Restyle code element, clean up variables

- Removes the padding and background-color
- Changes the color to a brand color ()
- Add new variables to kbd element styles to account for removing the code ones
- Remove overrides that were needed previously

* only break between words, and override it in the pre

* make file inputs 100% wide

* scope custom file changes in input group for sizing

* shorter button labels for responsive

* narrower cards

* button was too wide

* downsize

* fewer links in pagination

* redo cell text

* improve overflow docs
2017-12-22 16:49:57 -08:00