Mark Otto
308114f65c
throw some margin utils to fix spacing
2016-12-25 15:48:44 -08:00
Mark Otto
96986bb4a3
Use calc() on .col-form-label padding calculations
...
Fixes #21135 .
There's a height mismatch here because we're setting padding on the labels, while inputs get padding *and* a top+bottom border. This now uses calc to determine the exact height needed to match labels to inputs.
2016-12-25 15:48:44 -08:00
Mark Otto
04d48ba504
Replaces #21270 with proper fix
...
Rather than overriding this just on inline form examples, this should be for all static form controls to match inputs.
2016-12-25 15:48:44 -08:00
Mark Otto
2cad717634
space that out a smidge
2016-12-25 15:48:44 -08:00
Mark Otto
4cd426963b
vertically center .form-group contents in inline forms
...
fixes broken inline form example mentioned in #21407
2016-12-25 15:48:44 -08:00
Mark Otto
30fd1590d3
use flex and direction to do the stacked controls instead of float hacks
...
This also fixes #21280 . Previously, we were using float and clear on the individual controls, but that meant a computer height of `0` for the parent `.custom-controls-stacked`. No more problem after using flexbox though.
2016-12-25 15:48:44 -08:00
Mark Otto
82061b25c4
move custom checks/radios to inline-flex
2016-12-25 15:48:44 -08:00
Mark Otto
0e8ee1bfba
grunt
2016-12-25 15:47:03 -08:00
Starsam80
c2e5eb1542
Use variables for the width/height classes
2016-12-25 15:32:34 -08:00
Starsam80
210050d9c9
Clean up _spacing.scss a little bit
2016-12-25 15:32:34 -08:00
Starsam80
7fdedbd5e6
Remove some leftover IE9/flex stuff
2016-12-25 15:32:34 -08:00
Mark Otto
7d05c222f8
linting
2016-12-25 15:28:44 -08:00
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