Mark Otto
62a129184d
Add vertical-align utilities
...
- Adds six new utils for vertical-align property
- Documents the additional classes in the utils docs
2016-10-18 19:15:58 -07:00
Mark Otto
a3df8ca35a
remove .navbar-brand > img selector that sets display block (will be replaced with utils)
2016-10-18 18:47:36 -07:00
Mark Otto
610ec73c9d
more consistent navbar-brand line-height
2016-10-18 18:47:08 -07:00
Mark Otto
8be341ee96
lint
2016-10-17 22:17:02 -07:00
Mark Otto
484a8e3901
add navbar-brand and navbar-nav styles to the toggleable
2016-10-17 22:08:49 -07:00
Mark Otto
e24f406ce1
set the border color on the toggler
2016-10-17 21:05:22 -07:00
Mark Otto
b35e77deaf
Fix sass map navbar-toggleable
...
Follow up to 6e8ce0c7dc
. Uses the breakpoint-next mixin to snag the next breakpoint in the media query for proper styling.
2016-10-17 21:05:07 -07:00
Mark Otto
6e8ce0c7dc
Iterate over breakpoints to generate .navbar-toggleable classes
...
- Moves .navbar-brand margin and float to media queries
- Replaces the static media queries with an each loop to generate all the needed classes
2016-10-16 21:51:26 -07:00
Mark Otto
247ad23e97
Merge branch 'v4-navbars' of github.com:twbs/bootstrap into v4-navbars
2016-10-16 19:46:55 -07:00
Mark Otto
b4cdccba84
Merge branch 'v4-dev' into v4-navbars
2016-10-16 19:46:47 -07:00
Mark Otto
227f066650
Revert "Drop the $small-font-size variable for the newer $font-size-sm one"
2016-10-16 18:49:55 -07:00
Starsam80
9e5a02c606
Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child
...
Fully fixes #20395
2016-10-15 14:12:19 -06:00
Mark Otto
9c8913c684
one more syntax error
2016-10-09 20:26:12 -07:00
Mark Otto
2fa3712054
fix syntax
2016-10-09 20:23:49 -07:00
Mark Otto
e7f79b32f2
Merge branch 'tooltip-arrow' of https://github.com/brnrdog/bootstrap into brnrdog-tooltip-arrow
2016-10-09 19:56:30 -07:00
Mark Otto
300cedfe8c
Set height on custom select
...
Matches the changes from #20874 to the regular select element. This is really only necessary for IE and Edge near as I can tell. Fixes #20810 .
2016-10-09 19:49:52 -07:00
Mark Otto
0c467e7b29
Match the height of select.form-control with input.form-control
...
Uses a local variable and some calc love to counteract the border-width (times 2) from the height of the select. Fixes #17194 and nullifies #19967 .
2016-10-09 18:04:30 -07:00
Mark Otto
4bc154b8f9
Merge branch 'patch-10' of https://github.com/zalog/bootstrap into zalog-patch-10
2016-10-09 17:35:44 -07:00
Mark Otto
6def7a5d56
Merge pull request #20555 from bardiharborow/updatedeps
...
Update dependencies, including Babel to v6 and zeroUnits fix.
2016-10-09 17:08:39 -07:00
Mark Otto
74778b725e
Reset the left and right border on list items for flush list groups
...
Avoid the resetting of the already set values in #20397 . Fixes #20395 .
2016-10-09 16:57:32 -07:00
Mark Otto
8273e0cf82
linting
2016-10-09 16:46:47 -07:00
Mark Otto
b77b874265
fix focus shadows, if enabled
2016-10-09 16:44:04 -07:00
Mark Otto
8750b5f81c
The color is already covered in the first ruleset here
2016-10-09 16:39:02 -07:00
Mark Otto
41518d0e32
Interpolate the variable so it passes the color properly
2016-10-09 16:38:28 -07:00
Mark Otto
9ac7e868df
remove un-needed comment
2016-10-09 16:18:12 -07:00
Mark Otto
53ce4da835
add transparent border to match .form-control height
2016-10-09 16:17:48 -07:00
Mark Otto
55e130f88f
Update static form control
...
- Remove margin-bottom override in favor of .mb-0 utility class
- Apply the input line-height styles to match
- Remove the min-height to match the input
2016-10-09 16:16:13 -07:00
Mark Otto
cab2d5951d
Ensure input groups behavior appropriately in inline forms
...
Overrides the default width: 100% with an auto. Fixes #20752 .
2016-10-09 16:00:30 -07:00
Mark Otto
7dee5560a1
Merge branch 'v4-dev' into v4-navbars
2016-10-09 15:04:32 -07:00
Mark Otto
3b13f81126
Merge pull request #20867 from twbs/dedupe-sm-vars
...
Drop the $small-font-size variable for the newer $font-size-sm one
2016-10-09 15:00:11 -07:00
Mark Otto
821f719367
Merge pull request #20684 from twbs/v4-utils
...
v4: The Utilities Update
2016-10-09 14:54:57 -07:00
Mark Otto
6c867667a1
Merge branch 'v4-dev' into v4-utils
2016-10-09 14:36:43 -07:00
Mark Otto
88bf5af896
Remove display from the .img-fluid utility
...
Creating max-width images is not dependent on the display, so setting it is redundant. Cleans up the comments and implementation of the mixin as well.
Fixes #20767
2016-10-09 14:14:39 -07:00
Mark Otto
0ba0f19003
Change 940px breakpoint to 960px so that all widths are divisible by 12
...
Fixes #18510
2016-10-09 13:49:11 -07:00
Mark Otto
0d27e12d1f
Change sm grid breakpoint and container max-width
...
Makes it so that the container is no longer wider than the breakpoint used in the media query. This was never really an issue in rendering as the max-width handled it appropriately, but the mismatch was still incorrect.
Fixes #18054
2016-10-09 13:17:50 -07:00
Mark Otto
a43dc8872f
Move from max-width to width for containers, plus a max-width 100%
...
- Fixes issues between float and flex grid systems where container wouldn't fill the available width in Chrome & FF (but would in Safari)
- Fixes #20681
- Fixes #17621 (basically same issue as above issue)
2016-10-09 13:14:10 -07:00
Mark Otto
8f6a47303a
Drop the -font-size variable for the newer -size-sm one
...
Originally -font-size was added in v3 to set the font-size of the <small> element. Now that we have newer, global type variables, we can use those instead for these kind of things.
Fixes #20859
2016-10-09 12:45:58 -07:00
Bardi Harborow
d57d5a606b
Update dependencies, including Babel to v6 and zeroUnits fix.
2016-10-09 12:15:17 +11:00
Chris Rebert
1ca6c9d7f1
Remove -webkit-overflow-scrolling: touch
due to an iOS Safari bug ( #20803 )
...
See https://bugs.webkit.org/show_bug.cgi?id=158342
Fixes #17695
2016-10-03 21:36:46 -07:00
Bardi Harborow
2e69dfa8c1
Fix broken/redirected links, moving to HTTPS where possible. ( #20557 )
2016-10-03 09:55:59 -07:00
Patrick H. Lauke
db533c2e8d
Follow-up fix to #20821
...
With apologies, copy/paste error following on from trying to fix conflicting Hound/Travis checks for https://github.com/twbs/bootstrap/pull/20821/ slipped through before I noticed them.
2016-10-03 10:13:58 +01:00
Patrick H. Lauke
add8dfe157
Merge pull request #20821 from patrickhlauke/v4-h5bp-print
...
Update print styles borrowed from h5bp
2016-10-03 10:00:09 +01:00
Matt Viteri
860e07a0e9
Fixes #20566 ( #20768 )
2016-10-02 21:23:04 -07:00
Mark Otto
88c601a842
Flexbox grid updates ( #20829 )
...
* Fixes #20775 without adding extra width and an important flag
* Since we're now getting the extend, we don't need the extra position relative
* rerrange
* getting min-height from the extend already
2016-10-02 21:10:06 -07:00
Mark Otto
44b49d1dd8
update comment
2016-10-02 20:36:49 -07:00
Mark Otto
5d04353d6b
remove the margin there since it's in normalize
2016-10-02 20:36:31 -07:00
Mark Otto
dfafb660d0
Merge branch 'patch-1' of https://github.com/bardiharborow/bootstrap into bardiharborow-patch-1
2016-10-02 20:32:42 -07:00
Mark Otto
1db3586dc0
Merge branch 'v4-dev' into v4-navbars
2016-10-02 19:26:29 -07:00
Mark Otto
49153ecf4f
Merge branch 'customizable-grid-gutters-per-breakpoint' of https://github.com/pixelbandito/bootstrap into pixelbandito-customizable-grid-gutters-per-breakpoint
2016-10-02 19:10:25 -07:00
Mark Otto
59d0679250
Only override input border-radius as part of .form-control to avoid bug with iOS Safari (alt fix for #20247 ) ( #20695 )
2016-10-02 18:28:37 -07:00
Mark Otto
d051ef5e61
Fixes #20118 : Add and use Sass variables to control the color of our embedded SVGs for custom form elements ( #20700 )
2016-10-02 18:27:03 -07:00
Mark Otto
a75330ca96
v4: Dropdown units ( #20701 )
...
* Fixes #19784 : Move from pixels to rems, add a margin-bottom: 0; to keep things aligned
* lintiong
2016-10-02 18:25:51 -07:00
Mark Otto
ebc77f60bb
Remove the margin-bottom from <label>s in .btn-groups ( #20827 )
...
- Fixes #20298 for vertical button group spacing
- Fixes #20784 for horizontal (default) button group spacing
- Alternate fix to #20823 which only applied a fix for vertical button groups
2016-10-02 18:22:53 -07:00
Mark Otto
bb4af05d22
Fixes #20799 : Apply same color change to disabled inline radios/checkboxes ( #20826 )
2016-10-02 18:15:55 -07:00
Patrick H. Lauke
6ae42a02c6
Update print styles borrowed from h5bp
...
most notable change:
- fixes print/print preview crash in IE11 (caused by `*:first-line`
selector)
2016-10-02 16:33:11 +01:00
Mark Otto
3dc4b3647c
Rename pull-*-{left|right} classes to .float-*-left and .float-*-right
2016-09-26 00:54:10 -07:00
Bardi Harborow
f72c21bfc8
Upgrade to normalize.css v4.2.0 and fix Hound exclusion.
2016-09-23 16:16:51 +10:00
Beau Smith
3df78ce11b
Remove hard-coded value in button-outline-variant
...
Fixes #20609
PR #20641 , another solution to this issue, hard-codes use of $body-color, which may not be the desired color for the text when hovering.
2016-09-16 13:02:52 -07:00
Mark Otto
39a10e461e
Fixes #20543 : Significantly darken the links in default navbars
2016-09-15 10:29:52 -07:00
Mark Otto
64dcb8b507
Merge branch 'v4-dev' into v4-navbars
2016-09-15 10:20:57 -07:00
VarelloThemes
63129112bb
replace some profanities ( #20715 )
2016-09-15 09:39:31 -07:00
Kovah
0ef64d89f7
Add breakpoint-specific gutters.
2016-09-13 23:02:56 -05:00
mkroeders
53a20c11d2
Have same margin for <hN> as a <div> on .card-headers ( #19048 )
...
* Have same margin for <hN> as a <div> on .card-headers
Related #18726
When you use a `<hN>` as `.card-header` there is `margin-bottom: .5rem` added. The changes set the margin-bottom to 0
* Removed space
2016-09-11 23:32:51 -07:00
Edd Yerburgh
fe722c2453
added text-gray-dark class ( #19847 )
2016-09-11 23:03:12 -07:00
Chris Garcia
8b13c51a0e
Removing a redundant background-color declaration. ( #20698 )
2016-09-11 22:50:14 -07:00
NicoLB
659809db15
.form-control:focus customization ( #20436 )
...
* Allow variables input-bg-focus and input-color-focus to be overridden.
* More consistency and control to customize shadows on .form-control:focus
2016-09-11 22:32:33 -07:00
Mark Otto
d62c3e3f80
Swap for custom svg background that we can embed to set the color of the stroke via Sass variable
2016-09-11 22:25:42 -07:00
Mark Otto
818d1f53a5
Merge branch 'v4-hamburger-fix2' of https://github.com/patrickhlauke/bootstrap into patrickhlauke-v4-hamburger-fix2
2016-09-11 21:57:38 -07:00
Mark Otto
91992ac70a
Add new border utils
...
- Move and rename .img-rounded to .rounded, .img-circle to .rounded-circle
- Add new .rounded-{direction} utils
- New docs pages for border utils with TBD comments for the border property
- Removes most image examples for rounding from the content/images docs in favor of new docs page
2016-09-08 23:21:40 -07:00
judetucker
25b718e5fd
resolves #20266
2016-09-08 22:42:54 -07:00
Mark Otto
a96038b50a
Revamp background utilities and add new .text-white utility
...
- Rather than mix multiple properties in our color utilities, this splits all color and all background utils into separate classes.
- Adds new .text-white class to help lighten text color for darker backgrounds
2016-09-08 22:18:40 -07:00
Mark Otto
ae784c9521
Rename margin and padding utilities from .{property}-{side} to .{property}{side} without the extra dash
2016-09-08 22:15:34 -07:00
Mark Otto
82e7abcdf3
v4: Custom checkbox and radio alignment ( #20671 )
...
* Allow text of custom form labels to wrap like the default ones
* Switch from using after to force line breaks to float/clear combo in stacked custom forms
2016-09-08 21:26:19 -07:00
Mark Otto
ed0f097cb8
Follow up fix for #20667 ( #20672 )
...
Use proper Sass variable interpolation to ensure the proper values are compiled and not the literal string of the variable name
2016-09-07 21:25:14 -07:00
Mark Otto
07752bab7b
v4: Card image fixes ( #20667 )
...
* Add .img-fluid to card images in columns to ensure proper resizing
* change that variable from regular value to variable
* use calc to figure out a tighter border for card images
2016-09-07 20:40:12 -07:00
Mark Otto
5713077ba5
Fix #20654 by reverting #20447 ( #20665 )
...
Cards must be inline-block in columns, otherwise they can get split across columns
2016-09-07 20:38:11 -07:00
Mark Otto
5495a4b3d3
versions
2016-09-05 12:41:44 -07:00
Mark Otto
7e18498b64
Fixes #20608 and #20578 : Consistent checkbox and radio markup ( #20629 )
...
- Update docs examples to use newer .form-check suite of classes
- Update form validation mixin to use newer classes as well
2016-09-05 11:39:37 -07:00
Mark Otto
dc5c1421c6
Disable important flag on Sass linter ( #20627 )
2016-09-04 17:58:20 -07:00
Mark Otto
9c720285b5
Fixes #20619 : Add important to the hover/focus as well ( #20626 )
2016-09-04 17:55:34 -07:00
Bass Jobsen
99425321dc
Make .card class inside .card-columns display: block too ( #20447 )
...
See: https://github.com/twbs/bootstrap/pull/18255#issuecomment-237034763
2016-09-04 17:47:18 -07:00
Franco Moya
833028a779
Remove unused $variables in grid mixins ( #20597 )
2016-09-04 17:43:38 -07:00
Mark Otto
910f3ec498
fixes #20485 : use rem units in alert dismiss ( #20625 )
2016-09-04 17:41:38 -07:00
Mark Otto
1bdf6c4bd6
Fixes #20513 : Remove all default margin on .media given it's utility purpose and our margin utils
2016-08-19 21:00:57 -07:00
Mark Otto
935e0ccbaf
fixes #20469 and #20473 without misuing dash
2016-08-08 20:35:58 -07:00
Juan J. Jimenez-Anca
f677806463
Update _mixins.scss
2016-08-02 17:01:26 +01:00
Juan J. Jimenez-Anca
676e00d63e
Update _visibility.scss
2016-08-02 17:00:58 +01:00
Allan Chau
4f947f46ce
Remove unused $size parameter
2016-07-30 18:09:11 +09:30
Mark Otto
7d2295ffaf
Merge pull request #20130 from jeradrutnam/context-bg-fix
...
Contextual background-inverse text color fix
2016-07-27 21:32:18 -07:00
Mark Otto
c1b985a261
Merge pull request #20387 from twbs/v4-input-group-vars
...
Update variable usage for input group addon
2016-07-27 21:27:15 -07:00
Mark Otto
c52e1334a3
Fixes #20291 : Update variable usage for input group addon
...
Instead of the regular border-radius var, use the input ones to match sizing with their associated controls.
2016-07-27 21:12:44 -07:00
Mark Otto
658c4c3084
Merge pull request #20333 from any-hn/v4-progress-bar-border-radius
...
Progress bar:fix use variable progress-border-radius instead of border-radius
2016-07-27 21:10:01 -07:00
Mark Otto
24e992a6ff
bump versions
2016-07-27 09:31:24 -07:00
Mark Otto
8e9a9a5960
Enable flexbox grid CSS on our docs page
...
- Creates new flexbox grid Sass file in our docs assets
- Updates the Gruntfile to compile said new Sass file and minify the output
- Update notice on flexbox docs page for how it works
- Only enable compiled flexbox grid CSS in hosted docs site, not in dev (for easier and specific debugging of all flexbox features)
2016-07-26 21:09:39 -07:00
Mark Otto
d506bd8e50
Update navbar-toggleable-* styles to incorporate changes from #20083
2016-07-26 20:16:23 -07:00
Mark Otto
adba459749
restore the .col-{bp} class for flexbox auto layout
2016-07-25 17:22:06 -07:00
Mark Otto
0a31dacf3e
Simplify system font stack to remove Linux fonts as they're too varied for our purposes
2016-07-25 12:34:00 -07:00
Mark Otto
15f522fd4a
Fixes #17990 : clear the floats within .navbar-toggleable-* to avoid funky animation on close
2016-07-24 00:49:08 -07:00
Mark Otto
7fd00263e3
Merge branch 'v4-dev' into v4-navbars
2016-07-23 21:05:18 -07:00
Mark Otto
cdc55a46c2
linting
2016-07-23 17:21:00 -07:00