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

15253 Commits

Author SHA1 Message Date
Mark Otto
2f9a94caac Inverse card improvements (#21242)
* Add a color to .card-inverse to account for non .card- prefixed classes

* reword the docs to better articulate what the class does
2016-11-28 13:22:51 -08:00
Mark Otto
a6f54889fd Replacement for #20602 (#21236)
* Fixed incorrect instruction: "Press ⌘ to copy"

It needed to be "Press ⌘C to copy"

* Updated to concatenate copy string

Updated copy command to concatenated string to prevent potential issues

* Updated the way the copy string concatenates

As per excellent suggestion by @tomlutzenberger

* Removed semicolon line endings

;P

* var not const or let
2016-11-28 13:10:19 -08:00
Mark Otto
9338cf5970 grunt 2016-11-28 09:14:31 -08:00
Mark Otto
23866efbb1 Fix #20013, nullify #21112 (#21230)
Add padding to dismiss button for alerts and use position to place it. Removes extra padding on .alert-dismissible's right side, too. We could probably further simplify these things in the future as well.
2016-11-27 23:59:21 -08:00
Mark Otto
5357bad9a0 grunt 2016-11-27 23:39:50 -08:00
Mark Otto
35133f86c8 Follow up to #21052 to match small pagination links with small buttons 2016-11-27 23:39:46 -08:00
Stefan Staynov
0051be1657 Set line-height for page-links (#21052) 2016-11-27 23:37:36 -08:00
Cyril Kyburz
f995a8be1e Add alert-margin-bottom variable (#21064) 2016-11-27 23:21:09 -08:00
Rodrigo Waltenberg
c5c1bfec01 Made card header and footer's background transparent on .card-inverse (#21111)
Solves issue #18946
2016-11-27 23:12:03 -08:00
Starsam80
08e36a3cc9 Rename .col-xs to .col + some other cleanup (#21222)
* Use `breakpoint-min` instead of a counter

* Remove 'xs' from flexbox grid
2016-11-27 22:47:00 -08:00
Mark Otto
4393da18f6 grunt 2016-11-27 22:29:55 -08:00
Mark Otto
5db88075c1 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-11-27 22:29:33 -08:00
Mark Otto
1562a2db4c make a brief mention of #20433 2016-11-27 22:29:24 -08:00
Starsam80
54908a95a8 Rename .navbar-toggleable-xs to .navbar-toggleable + more cleanup (#21226)
* Clean up some utilities

- Align CSS properties
- In `_spacing.scss`, we had a comment saying what 'a' was for, but we removed that so this comment no longer applies

* Remove '-xs' from `.navbar-toggleable-xs` and remove duplication

* Fix outdated classes to use newer ones
2016-11-27 22:23:12 -08:00
Mark Otto
869bd23937 Update clearfix mixin (#21224)
* Update clearfix to use block instead of table display (also reorder properties for linting)
* update docs snippet for clearfix mixin—was apparently still using Less syntax and had old clearfix hack (even before the block change in this PR)
2016-11-27 17:05:29 -08:00
Mark Otto
585516db95 Add max-width 100% and max-height 100% utilities (#21221) 2016-11-27 16:31:31 -08:00
Rob Ruana
5eddb0b0fd Closes #21055: Prevents ScrollSpy from clearing active item when Safari rubberbands (#21056)
When the rubberband effect causes Safari to scroll past the top of the
page, the value of scrollTop becomes negative. If the offset of the first
ScrollSpy target is 0 - essentially if the target is at the top of the
page - then ScrollSpy should not clear the active item. Conceptually, the
first item should remain active when rubberbanding past the top of the
page.

This commit fixes issue #21055 by verifying the first scrollspy target is
not at the top of the page before clearing the active nav-item.
2016-11-27 16:20:33 -08:00
Starsam80
8d031090d0 Rename .flex-xs-* and .flex-items-xs-* to .flex-* and .flex-items-* (#21218)
* Clean up _flex.scss a little

This commit just cleans up the formating of _flex.scss by changing
it so that it uses a single `@include media-breakpoint-up` instead
of multiple. It also aligns all of the CSS properties so it looks
a bit nicer.

* Remove `-xs` from flex classes
2016-11-27 15:19:27 -08:00
Starsam80
94be2d2254 Remove redundant media queries (#21220) 2016-11-27 15:18:46 -08:00
Starsam80
b1e8d60348 Remove 'xs' from text utilities (#21217) 2016-11-26 20:33:46 -08:00
Mark Otto
eb5ad730ee update scss linter to allow multiple spaces before on single line 2016-11-26 20:33:22 -08:00
Mark Otto
0b8a281920 grunt 2016-11-26 19:17:23 -08:00
Mark Otto
23301b21cd Remove most border-radius properties and instead use overflow: hidden; to properly round corners of a full progress bar. (#21216)
Fixes #19065.
2016-11-26 18:46:46 -08:00
Stephanie Purvis
2da3d1c862 Tweak jQuery-not-found error message to mention required ordering (#19024) 2016-11-26 18:46:28 -08:00
Mark Otto
b2bf8294a0 minor docs content tweaks to fix #18997 2016-11-26 18:39:51 -08:00
Mark Otto
d50fc038c5 Update comment for use of IE9 hack to fix #18082 2016-11-26 17:31:10 -08:00
Mark Otto
87a0749f89 Merge branch 'container-tooltip-option' into v4-dev 2016-11-26 17:02:40 -08:00
Mark Otto
181e124bc1 grunt 2016-11-26 17:01:17 -08:00
Stephen Puiszis
7d3abdb9c7 Update migration file for renamed image classes (#21215) 2016-11-26 16:57:25 -08:00
Mark Otto
e17e75b757 Update inline forms (updated docs and new flexbox styles) (#21212)
* fix form-inline with flex enabled
* grunt
* fix alignment of labels
* shorter if syntax
* add new form example to docs for now
* update inline form docs usage guidelines
* responsive margins
* better margin utils
* fix sizing of .form-check
* flexbox alignment of .form-check
* no need to change direction
* support custom controls in inline form, for default and flex modes
* add example of custom select and checks to docs
* remove hidden and visible label variants since we cover that in the usage guidelines at the start and include hidden labels everywhere
* use property value instead of layout name
* apply to all labels
* add a visible label, space it out
* add id
2016-11-26 16:55:18 -08:00
Mark Otto
b456cb351d grunt 2016-11-26 16:49:39 -08:00
Mark Otto
f7f5547dab Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-11-26 16:49:07 -08:00
Ken Dale
dc52029bea Add .rounded-0 utility class (#21214)
* Add rounded-0 class
2016-11-26 16:47:53 -08:00
Mark Otto
095ea0b795 Border utilities (#21213)
* grunt

* add border utilities for removing borders

* clean up comments

* add basic border docs

* docs styles for border utils
2016-11-26 16:44:16 -08:00
Mark Otto
36bf06f520 grunt 2016-11-26 13:42:46 -08:00
Mark Otto
ec5e7e5e5a Add .no-gutters option to remove gutters from rows (#21211)
Fixes #19107.
2016-11-26 12:13:15 -08:00
Mark Otto
c7b8451cdc grunt 2016-11-26 11:16:53 -08:00
Mark Otto
73a320a27f Merge pull request #21076 from 3dd13/use-rounded-circle-in-carousel-example
in carousel example, replace img-circle by rounded-circle css class
2016-11-26 02:35:38 -08:00
Mark Otto
275ac87488 Merge pull request #21204 from ounziw/patch-1
grid-breakpoint fix [document]
2016-11-26 02:04:51 -08:00
Mark Otto
8ef1d93d0c Merge pull request #21205 from twbs/navbar-disabled
v4 disabled navbar links
2016-11-26 02:03:46 -08:00
Mark Otto
b9947152c6 Merge pull request #21208 from twbs/table-responsive-docs
Update .table-responsive
2016-11-26 02:03:12 -08:00
Mark Otto
b88c32cf17 uncomment autohiding scroll and remove commented out border 2016-11-26 01:47:16 -08:00
Mark Otto
410b7dd5e8 update comment 2016-11-26 01:46:11 -08:00
Mark Otto
967ee175dc Move .table-responsive to .table instead of as a parent 2016-11-26 01:45:40 -08:00
Mark Otto
5ab99abd97 prevent double border on responsive .table-border 2016-11-26 01:44:06 -08:00
Mark Otto
8cd29af7ee Merge pull request #21203 from twbs/conditional-transition-animations
Wrap .fade and .collapsing transition properties in $enable-transitions
2016-11-26 01:27:54 -08:00
Mark Otto
03ad956270 Merge pull request #21207 from twbs/modal-sizes
Tweak modal sizes
2016-11-26 01:21:58 -08:00
Mark Otto
b6b8280938 Merge pull request #18900 from vlastikcz/v4-dev-buttonChange
Button toggling - trigger change event on input. Fixes #16673, fixes #17599.
2016-11-26 01:18:21 -08:00
Mark Otto
ce31f54c36 Merge pull request #19058 from Johann-S/carouselInput
Carousel - Do not prevent on keydown for input and textarea
2016-11-26 01:14:55 -08:00
Mark Otto
abbc2b7c93 Merge branch 'v4-dev' into modal-sizes 2016-11-26 01:04:51 -08:00