0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Commit Graph

15517 Commits

Author SHA1 Message Date
Mark Otto
eb19def798 flex the footer and include some margin magic
- we need to set margin for space between footer buttons as flexbox doesn't render HTML spaces like inline-block does

- flexbox doesn't have collapsing margins or anything, so we hack it with some :not(:first-child) and :not(:last-child) action
2016-12-25 15:28:44 -08:00
Mark Otto
33746dc63e flex the modal header so we can remove custom styles
updates the dom order in our docs to match (floated content comes first, but no need for that in flexbox)
2016-12-25 15:28:44 -08:00
Mark Otto
e7f8ca08b0 No need to override a margin-top that never was set; only specify margin-bottom override 2016-12-25 15:28:44 -08:00
Mark Otto
31b9d93ffd Enable flex on the .modal-content, ensure .modal-body stretches the height (if needed) 2016-12-25 15:28:44 -08:00
Mark Otto
c214aa32d0 darker border on modal header 2016-12-25 15:28:44 -08:00
Mark Otto
103cae2333 trailing space 2016-12-25 14:03:50 -08:00
Mark Otto
dcd4a63e4e line break for sanity 2016-12-25 14:03:50 -08:00
Mark Otto
bab4f1ef3c add my-auto and m-auto 2016-12-25 14:03:50 -08:00
Mark Otto
4ca1a7f077 document it all, add align items examples 2016-12-25 14:03:50 -08:00
Mark Otto
4f85513608 responsive auto margin classes 2016-12-25 14:03:50 -08:00
Mark Otto
f99d179690 reorder docs 2016-12-25 14:03:50 -08:00
Mark Otto
f2f489c837 stub out some docs 2016-12-25 14:03:50 -08:00
Mark Otto
43c206d6ff add mr-auto and ml-auto for some flex shiz 2016-12-25 14:03:50 -08:00
Bardi Harborow
19fcb21677 Disable Hound on test cases. 2016-12-25 20:23:22 +11:00
Mark Otto
56c63aa6b8 Fixes #18228: Don't use transparent for bottom border, use bg color 2016-12-25 00:57:17 -08:00
Alessandro Rodi
9103bffe37 [Fix #19849] Tabs are opened even if disabled. (#20795)
* [Fix #19849] Tabs are opened even if disabled.

* fix hund code review hints

* rollback hound issues because Travis fails
2016-12-24 23:31:34 -08:00
Mark Otto
0d96c633b3 grunt 2016-12-24 17:50:19 -08:00
Quy
c64da95e92 Update IE9 support (#21424) 2016-12-24 16:12:26 -08:00
Mark Otto
cd18ee8af6 grunt 2016-12-24 14:29:41 -08:00
Mark Otto
43ef8b129e fixes #21423 by updating docs to mention flex display instead of inline-block; clarifies follow-up text about use of the proper utilities 2016-12-24 14:21:04 -08:00
Mark Otto
af977b561a dedupe 2016-12-24 14:21:04 -08:00
Mark Otto
4f9f1a0ea3 started fixing nested .bd-example stuff, then rewrote the modal docs
- better table of contents and overall structure

- clearer examples of modal contents, longer modals, and modal options
2016-12-24 14:21:04 -08:00
Mark Otto
6b419fdc3a nest modal examples css 2016-12-24 14:21:04 -08:00
Mark Otto
d5784d811b rip numbers 2016-12-24 14:21:04 -08:00
Mark Otto
6fb2c18e14 add order docs 2016-12-24 14:21:04 -08:00
Quy
78ee9f3c3e Update toc numbering (#21422) 2016-12-24 14:21:04 -08:00
Mark Otto
991f2468d0 remove unused media vars, update numbers (oof) /cc @Quy 2016-12-24 14:21:04 -08:00
Mark Otto
d93991b1c5 remove unused utils, comment 2016-12-24 14:21:04 -08:00
Mark Otto
9d13fd3fe3 remove old flex utils, update docs to match 2016-12-24 14:21:04 -08:00
Mark Otto
378aa6667b align-self docs 2016-12-24 14:21:04 -08:00
Mark Otto
75e756dfef document align-content utils 2016-12-24 14:21:04 -08:00
Mark Otto
7d47a01158 change presentation of those utils docs 2016-12-24 14:21:04 -08:00
Mark Otto
463e8bee76 document justify-content and align-items utils 2016-12-24 14:21:04 -08:00
Mark Otto
4024dc7a52 indentation 2016-12-24 14:21:04 -08:00
Mark Otto
574c3119f3 duplicate of the .flex-fill util 2016-12-24 14:21:04 -08:00
Mark Otto
90aa8a28a2 remove the table classes in favor of lists 2016-12-24 14:21:04 -08:00
Mark Otto
feb445376b try out alt responsive variation lists 2016-12-24 14:21:04 -08:00
Mark Otto
6fa6bf7123 add docs class for highlighting 2016-12-24 14:21:04 -08:00
Mark Otto
5464f4ab7e Start to blow out and document more flexbox utilities
- Adds new flexbox.md file to utilities docs

- Adds a `breakpoints.yml` data file for easier output of responsive classes in the docs. Will put this to use on other pages soon.

- Adds hella flex utils. There are some dupes for now, but they'll get removed in time.
2016-12-24 14:21:04 -08:00
Mark Otto
e4933c72da fix incorrect class name for inline-flex 2016-12-24 14:21:04 -08:00
Mark Otto
9979827cd3 Revamp navs docs
- Reorganize things, leading with the base nav first instead of an accessibility note, and then moving the rest to a new available styles section.

- Add horizontal alignment options thanks to new flex utils (these new utils will be documented later in another commit).

- Dropped `.nav-stacked` for a flex util and added additional alignment options, so document those, too.
2016-12-24 14:21:04 -08:00
Mark Otto
d9baeeb0af Change up the "justified" nav options
Given move to flexbox, we can make this available for everyone and clean it up some.

- Simplifies the `.nav-justified` styles to build on the flex-powered `.nav` base class.

- Adds the `.nav-fill` to make nav links fill available horizontal space, but not equal width.
2016-12-24 14:21:04 -08:00
Mark Otto
699d8a5a80 Make .nav flex-powered
- Set an explicit `display: flex` on the base `.nav` class and remove the floats/clearfixes from our navs.

- Set some global styles for `.nav-link`, a departure from the previous solution that featured no predefined padding.

- Move `.nav-link` from `inline-block` to `block` given this setting was added for our tabs and pills anyway.

- Remove horizontal margin from nav tabs; let folks set that on their own from now on.
2016-12-24 14:21:04 -08:00
Mark Otto
ec0dbc74a7 pull in changes from #19832 to fix offcanvas 2016-12-24 14:21:04 -08:00
Mark Otto
66c87cb7ca Undo #21171 (which closed #20977)
Turns out we did have the correct height calculation with our custom selects. The problem was we lacked a shared line-height with our buttons and inputs.

This restores the previous `calc` math and adds a line-height that reuses the input line-height.
2016-12-24 14:21:04 -08:00
Mark Otto
4377e2956b update navbars in jumbotron, offcanvas, starter examples to flex versions 2016-12-24 14:21:04 -08:00
Mark Otto
9fd339bdc8 better/more form spacing in navbars 2016-12-24 14:21:04 -08:00
Mark Otto
f721ebf3b4 unify alignment of all these dang navbar forms 2016-12-24 14:21:04 -08:00
Bardi Harborow
effb2fb4b4 Move uglifyjs to npm script. 2016-12-24 00:34:27 +11:00
Johann-S
b0508a975d Closes: #21412: Fix unit test for carousel 2016-12-23 22:56:55 +11:00