Mark Otto
875c24395c
remove unused vars
2016-12-04 21:55:24 -08:00
Mark Otto
990db2496f
rip responsive styles; they're unnecessary and likely require overriding anyway
2016-12-04 21:55:02 -08:00
Mark Otto
1abe4c83a8
redo control icons to use open iconic svgs inlined
2016-12-04 21:54:45 -08:00
Mark Otto
d157fcebba
rename control left and right to prev and next; simplify styling by removing gradient
2016-12-04 21:54:04 -08:00
Mark Otto
5c93cb7c81
code comment
2016-12-04 21:39:54 -08:00
Mark Otto
8f06eebe44
rename and un-nest icons
2016-12-04 21:39:46 -08:00
Mark Otto
c2c4b5ba76
remove comment
2016-12-04 21:39:27 -08:00
Mark Otto
1e3ec89355
Merge branch 'v4-dev' into carousel
2016-12-04 21:05:19 -08:00
Mark Otto
306f75216d
Move margin from adjacent selector to right on the .custom-control for better responsive rendering ( #21295 )
2016-12-04 20:42:12 -08:00
Mark Otto
6782dd6e92
nuke the text-shadow
2016-12-04 20:37:30 -08:00
Mark Otto
fd87c19e79
linting
2016-12-04 20:27:33 -08:00
Mark Otto
6d28f07582
redesign indicators
2016-12-04 20:14:33 -08:00
Mark Otto
ba329cfd6a
redo css more
...
- fix naming of left/right controls
- drop the absolute positioning of things and rely on only 3d transforms
- remove img styles and require classes to avoid inline-block line-height stuff
2016-12-04 19:52:49 -08:00
sophiegit
eeb49651c6
Update bootstrap/scss/mixins/_breakpoints.scss ( #21285 )
...
grid-breakpoint for sm is 576px
https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L186-L192
1._breakpoints.scss
comment says that grid-breakpoint for sm is 544px,
2.http://v4-alpha.getbootstrap.com/layout/overview/#responsive-breakpoints
current document says that grid-breakpoint for sm is 544px,
but it should be 576px
2016-12-04 16:46:07 -08:00
Chris Rebert
f1b732031e
Reboot: Update <fieldset> comment to clarify that the default weirdness is part of the standard. ( #21261 )
...
Refs https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
[skip sauce]
2016-12-02 09:57:22 -08:00
Chris Rebert
1fb6d8c46a
Reboot: Add direct link to Edge scrollbar bug
...
Refs https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7165383/
[ci skip]
2016-11-30 21:43:42 -08:00
Chris Rebert
2404fec198
Reboot: Link directly to the temporal inputs WebKit bug
...
Refs https://bugs.webkit.org/show_bug.cgi?id=139848
[ci skip]
2016-11-30 21:37:45 -08:00
Brad Kent
8250bd1b21
Fix #20936 make inline checkbox/radio markup same as stacked ( #20995 )
...
* #20936 make inline checkbox/radio markup same as stacked
* tweak language and remove extra blank line in snippet
2016-11-28 20:56:49 -08:00
Mark Otto
af937836d9
Fix #20908 ( #21244 )
...
Remove the border-bottom from abbr elements since that's covered with an underline in Normalize.css. Updates the docs to match and tweaks some code comments, too.
2016-11-28 20:26:28 -08:00
Florian Schlittenbauer
959c4e527c
Fix incorrect select height calculation ( #21171 )
2016-11-28 13:33:11 -08:00
Starsam80
b226766b62
Remove lots of duplication + minor cleanup ( #21238 )
...
* Remove comment that duplicated some code
* Use transition mixin whenever possible
* Create a new function to reduce duplication
* Use the new `breakpoint-infix` method
2016-11-28 13:23:59 -08:00
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
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
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
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
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
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
Mark Otto
d50fc038c5
Update comment for use of IE9 hack to fix #18082
2016-11-26 17:31:10 -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
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
ec5e7e5e5a
Add .no-gutters option to remove gutters from rows ( #21211 )
...
Fixes #19107 .
2016-11-26 12:13:15 -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
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
abbc2b7c93
Merge branch 'v4-dev' into modal-sizes
2016-11-26 01:04:51 -08:00
Mark Otto
ea2e4203a5
Merge pull request #21206 from twbs/gray-lightest
...
Update use of $gray-lightest variable
2016-11-26 00:52:52 -08:00
Mark Otto
d82d04fd6d
decrease size of modal-md and modal-lg to ensure fitting in responsive layouts
2016-11-26 00:47:33 -08:00
Mark Otto
cc737d6faf
change instances of hardcoded lightest gray to sass variable -lightest
2016-11-26 00:23:49 -08:00
Mark Otto
559902ad54
change uses of #f5f5f5 to -lightest
2016-11-26 00:22:49 -08:00
Mark Otto
4fc526f24a
add disabled classes to light and dark navbar nav-links
2016-11-26 00:19:13 -08:00
Mark Otto
23664d3a90
fix nesting and syntax error
2016-11-25 23:43:12 -08:00
Mark Otto
ef818c0799
Start renaming carousel classes
...
- Un-nests .carousel-item
- Appends .carousel-item- to .left, .right, .next, and .prev
- Chain .carousel-item to .active where approproriate
2016-11-25 23:42:16 -08:00
Mark Otto
308bc77dbb
Update bootstrap-grid.scss to include box-sizing and responsive changes ( #21202 )
2016-11-25 23:03:07 -08:00
Mark Otto
3154c0585a
re-enable transitions (which according to the options.md doc is the default)
2016-11-25 22:08:51 -08:00
Mark Otto
6e16a6b40a
Wrap .fade and .collapsing transition properties in -transitions
2016-11-25 22:06:40 -08:00
Mark Otto
d315c9499d
v4: Flexbox nav options ( #21201 )
...
* Add some flexbox nav components
- Includes .nav-justified for inline, tab, and pill nav components
- Includes example of using the flex utils (.d- and .flex-items-) for centered nav
* redo heading hierarchy a bit
2016-11-25 17:46:13 -08:00
Mark Otto
76907b8b1e
v4: Miscellaneous color changes ( #21199 )
...
* Darken dismiss icon opacity
* Darken text on active list group items
* Darken light gray for accessibility/contrast, then update gray and dark gray to match
2016-11-25 16:03:13 -08:00
Chris Rebert
3593ee85c1
Add @supports feature query for Carousel CSS 3D transforms; fixes #15534 ( #19751 )
...
[skip sauce]
[skip validator]
2016-11-25 14:51:55 -08:00
Mark Otto
5b4d5595ab
Merge pull request #21133 from bardiharborow/normalize
...
Update Normalize to v5.0.0.
2016-11-25 14:10:46 -08:00
Mark Otto
fa5572b273
Merge pull request #21187 from twbs/fix-21094
...
Fix pagination underline
2016-11-25 13:53:36 -08:00
Bardi Harborow
0f391965cd
Update Normalize to v5.0.0.
2016-11-24 12:08:25 +11:00
Mark Otto
4332a5cc02
Merge pull request #21068 from twbs/list-group-border-color
...
switch to rgba for list-group border color
2016-11-23 11:45:11 -08:00
Mark Otto
7124388fdb
Merge pull request #21118 from Elliot-Evans-95/v4-dev
...
renamed modal-title-padding to modal-header-padding
2016-11-23 11:39:23 -08:00
Mark Otto
c13215d038
Fixes #21094 : Move text-decoration override from the default link state to the hover/focus state so it can override the global styles properly
2016-11-23 11:37:56 -08:00
Mark Otto
6910516d2c
Merge pull request #21086 from ETNOL/feature/OmitXsFromGrid
...
Feature/omit xs from grid
2016-11-16 20:37:51 -08:00
Bardi Harborow
794136f191
Change .tag print styles to .badge.
2016-11-13 12:32:07 +11:00
Elliot Evans
7f05cb9e94
renamed modal-title-padding to modal-header-padding
2016-11-10 22:37:20 +00:00
Patrick H. Lauke
2b73773953
Scope ::first-letter selector for print styles
...
`*::first-letter` causes problems in IE11 - only prints first page of a
multi-page document
2016-11-06 21:02:29 +00:00
Eric Nolte
9402be4d44
Update grid mixins to omit lowest breakpoint
...
The new breakpiont-limited class pattern is to omit the breakpoint size when using the lowest size eg. col-xs-12 to col-12. This commit implements this pattern to the grid system.
2016-11-04 10:47:23 -06:00
Mark Otto
ffaad0a819
Responsive display utilities ( #20934 )
...
* Explore responsive display utils, but with a twist: lowest breakpoint has no breakpoint modifier in the class name
* make floats use the same format, add float-none mixin
2016-10-31 21:27:56 -07:00
Mark Otto
f734814f6b
Make spacer utils responsive ( #20926 )
...
* make spacer utils responsive by grid tier
* update scale to add two levels, document them
* change responsive spacing utils to avoid the xs abbreviation in the class name for that tier
* update code snippet to match source
* update usage in our docs
* linter
* docs updates
2016-10-31 21:13:05 -07:00
Alberto Roura
5616e62093
Use variable names for form focus borders ( #21050 )
2016-10-31 09:12:00 -07:00
Mark Otto
b718b71627
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-10-30 14:48:42 -07:00
Mark Otto
8c0e1f32b6
trailing whitespace
2016-10-30 14:48:35 -07:00
Catalin Zalog
5099a60ffe
Fix input group sizing in Firefox
...
Firefox requires a width and flex-basis value to size the input field correctly. Despite the width being 1%, the input will size correctly at all parent widths.
http://codepen.io/zalog/pen/bpMJmv
2016-10-30 14:43:10 -07:00
Mark Otto
e11e6ec913
Merge branch 'v4-flex-list-group' of https://github.com/rosskevin/bootstrap into rosskevin-v4-flex-list-group
2016-10-30 13:49:46 -07:00
Mark Otto
864343a3cc
Merge branch 'v4-dev' of https://github.com/HMUDesign/bootstrap into HMUDesign-v4-dev
2016-10-30 13:38:44 -07:00
Valentine Abanosimov
34ec049231
Fixes #20975 : removed trailing whitespace
2016-10-30 21:57:04 +03:00
Valentine Abanosimov
66d113be83
Fixes #20975 : removed trailing whitespace
2016-10-30 21:51:16 +03:00
Valentine Abanosimov
d6132c9a5d
Fixes #20975 : made navbar-text color on navbar-dark equal to non-hovered link color
2016-10-30 21:43:54 +03:00
Mark Otto
cfd6e92ff6
include .col-form-label in the form validation field mixin
2016-10-28 16:35:47 -07:00
Mark Otto
ccb5248205
Merge branch 'issue19217' of https://github.com/alberto/bootstrap into alberto-issue19217
2016-10-27 22:28:24 -07:00
Mark Otto
20178076ee
Merge pull request #19915 from zalog/patch-9
...
Zero out the default margin-bottom on label.custom-file
2016-10-27 22:20:26 -07:00
Mark Otto
9d011a8a6f
Merge pull request #20101 from heath3/patch-1
...
Re-use 'between' mixin for 'only' mixin
2016-10-27 22:17:48 -07:00
Mark Otto
bc076d71b3
follow up to #20441 : move file to correct place
2016-10-27 22:11:19 -07:00
Mark Otto
34d88c79e6
Merge pull request #20225 from morishitter/v4-dev
...
Add some properties to the list of property order in .scss-lint.yml
2016-10-27 22:09:10 -07:00
Mark Otto
8f0429973d
Merge pull request #20441 from cortopy/visibility-mixin
...
Visibility mixin
2016-10-27 22:06:47 -07:00
Mark Otto
2df2efc1fb
Merge pull request #18851 from ju1ius/patch-1
...
Don't clearfix if flexbox is enabled. Fixes #18849
2016-10-27 21:58:14 -07:00
Mark Otto
1e06ae1bfe
switch to rgba for list-group border color
...
matches the card border-color, fixes #20129
2016-10-27 21:29:09 -07:00
Mark Otto
d23163a483
Merge pull request #21032 from twbs/flexbox-input-group
...
Proper input group sizing and alignment in flexbox mode
2016-10-27 21:23:48 -07:00
Mark Otto
f655343ac9
Merge pull request #21033 from twbs/label-less-custom-controls
...
Add a min-height: 1.5rem; to custom controls
2016-10-27 21:23:04 -07:00
Mark Otto
4a05116020
Merge pull request #21034 from twbs/better-custom-control-alignment
...
Calculcate the top offset for custom control indicators
2016-10-27 21:22:24 -07:00
Mark Otto
6608b2a9ee
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-10-27 20:04:04 -07:00
Mark Otto
61b01f9b28
Merge branch 'patch-1' of https://github.com/tomhorvat/bootstrap into tomhorvat-patch-1
2016-10-27 20:02:59 -07:00
Mark Otto
020a8c6918
Merge pull request #20734 from beausmith/button-outline-variant
...
Remove hard-coded value in button-outline-variant
2016-10-27 19:58:48 -07:00
Mark Otto
2dcc50f017
Calculcate the top offset for custom control indicators
...
Fixes #21023 .
Uses some math functions to determine what the offset should be. This is helpful for those who customize the size of their indicators and still want them vertically centered.
2016-10-27 14:41:12 -07:00
Mark Otto
1421ca5b87
Add a min-height: 1.5rem; to custom controls
...
Fixes #20730 .
This change computes the minimum needed height of what a single line of text would be for the custom checkboxes/radios. This is required because our custom control indicators are positioned absolutely, meaning they cannot be clearfixed or anything like that. Using a computed value means it should scale nicely in case of customization
2016-10-27 14:32:56 -07:00