Tom Lutzenberger
e1653edb95
Add variables for transitions ( #21345 )
...
* Add variables for transitions
* Add variables for transitions
2016-12-19 20:33:17 -08:00
Bardi Harborow
da18d07d8e
Add 'system-ui' to font stack.
2016-12-19 20:29:44 -08:00
Stepan Zastupov
7800b3d97c
Use brand color for progress bar
2016-12-20 00:58:37 +03:00
Mark Otto
d8bdb819a7
linting property order
2016-12-10 16:58:52 -08:00
Mark Otto
65aed32d95
put the custom control spacer var to use
2016-12-10 16:58:52 -08:00
Starsam80
bf39bb3ac3
Rename .active
to .show
2016-12-07 21:20:15 -07:00
Mark Otto
ede925d79b
Merge pull request #21298 from twbs/carousel
...
Refactor carousel
2016-12-05 23:31:14 -08:00
Mark Otto
4ef547f4bb
drop the .carousel-control base class
2016-12-04 23:19:54 -08:00
Mark Otto
e331db31fd
linting
2016-12-04 22:19:20 -08:00
Mark Otto
7c3bda24f0
simplify svg by only using viewbox
2016-12-04 22:06:29 -08:00
Mark Otto
89f5e65cfb
drop the fixed width of the indicators. instead use the carousel-control width as margins to ensure content doesn't overlap
2016-12-04 22:05:05 -08:00
Mark Otto
1980854c14
rename var
2016-12-04 22:01:31 -08:00
Mark Otto
410bf38a4f
there's no font, so rip that var
2016-12-04 21:55:46 -08:00
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
Mark Otto
78c9757236
property order
2016-10-27 13:46:16 -07:00
Mark Otto
259a420d70
Ensure proper sizing of and alignment of content within input group addons and buttons
...
Fixes #20927 .
2016-10-27 13:40:55 -07:00
Mark Otto
e2068d0e53
Merge branch 'auto-flex-col' of https://github.com/alanmoo/bootstrap into alanmoo-auto-flex-col
2016-10-27 09:41:33 -07:00
Mark Otto
115a37db1a
Change variable for modal backdrop zindex, rearrange to be ordered from lowest to highest
2016-10-27 09:31:38 -07:00
Mark Otto
52c84a1cb6
Merge pull request #20938 from JPeer264/feature/sass-doc
...
Docs: Sass Variables Table of Contents
2016-10-26 21:20:25 -07:00
Mark Otto
261ed70a18
Merge pull request #21019 from Starsam80/fix-collapse
...
Rename .in to .active to fix collapse
2016-10-26 21:14:16 -07:00
Mark Otto
d9fa3fd797
Rename .tag to .badge to avoid conflicting with WordPress
2016-10-26 18:33:58 -07:00
Starsam80
aa08274d24
Rename .in to .active to fix collapse
2016-10-26 17:24:46 -06:00
Mark Otto
aa11f00218
Merge pull request #20982 from Johann-S/fix19344
...
Fix #19344 - Use a single class name for opened/expanded/shown state of widgets
2016-10-25 19:57:51 -07:00
Mark Otto
2eaef44edd
Merge pull request #20951 from sbaechler/font-weights
...
Use a variable for the default font weights. Fixes #20741
2016-10-25 19:55:34 -07:00
Mark Otto
182a642b07
Merge pull request #20903 from Starsam80/fix-20395
...
Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child
2016-10-25 19:52:14 -07:00
tomhorvat
e5bb0c40f4
Body font weight variable
2016-10-25 15:05:51 +02:00
Johann-S
9d129a43d6
Use a single class name for opened/expanded/shown state of widgets
2016-10-25 14:07:41 +02:00
Patrick H. Lauke
f93df8dccd
Merge pull request #20962 from patrickhlauke/v4-fix-unescaped-hash-data-urls
...
Fix unescaped `#` in SVG data URLs
2016-10-25 12:31:29 +02:00
Mark Otto
a3bc24abc4
Merge pull request #20973 from pixelbandito/container-gutter-breakpoints
...
Container padding uses per-breakpoint gutter sizes, fixes #19304 .
2016-10-24 21:49:26 -07:00
Mark Otto
b0d61474e8
Merge pull request #20957 from kukac7/patch-1
...
duplicate navbar-toggler-padding variables
2016-10-24 20:49:14 -07:00
Chris Garcia
e1fefe6065
Container padding uses per-breakpoint gutter sizes, fixes #19304 .
2016-10-22 00:06:41 -05:00
Pierre-Denis Vanduynslager
6eb2e54a91
Use box-shadow mixin
2016-10-20 16:35:45 -04:00
Pierre-Denis Vanduynslager
7a21517a48
Set box-shadow on input if enable-shadows rather than enable-rounded
2016-10-20 14:29:20 -04:00
Patrick H. Lauke
85531fd9fb
replace #
with %23
in SVG data urls with str-replace
2016-10-20 18:27:11 +01:00
Patrick H. Lauke
b2fe9743cc
Add str-replace Sass function
2016-10-20 18:26:36 +01:00
Alan Mooiman
e22b0df8b2
Create col class for auto flexbox columns
...
.col-xs-auto, .col-sm-auto, etc.
2016-10-20 13:08:00 -04:00
béla
dd1b9eeef8
duplicate navbar-toggler-padding variables
2016-10-20 11:31:30 +02:00
Simon Bächler
8402d2321f
Use a variable for the default font weights. Fixes #20741
...
Websites might use different weights such as medium or thin or use light as default weight instead of normal.
Also referenced: #18605 and #16170 .
2016-10-19 21:41:27 +02:00
Mark Otto
8ff7edaab4
version bump to alpha 5
2016-10-19 08:27:41 -07:00
JPeer264
088b164a23
updated sass variables table of contents
2016-10-19 10:17:55 +02:00
Mark Otto
028dd6bd48
Merge pull request #19890 from twbs/v4-navbars
...
v4: Navbar improvements
2016-10-19 00:59:51 -07:00
Mark Otto
16947ffa88
Merge pull request #20933 from twbs/alert-padding-vars
...
Switch to separate vars for alert vertical/horizontal padding
2016-10-18 23:42:16 -07:00
Mark Otto
271f10f74f
Merge branch 'v4-dev' into v4-navbars
2016-10-18 20:03:49 -07:00
Mark Otto
6321f9342e
Switch to separate vars for alert vertical/horizontal padding
2016-10-18 19:18:06 -07:00
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
Kovah
b5f3c6a8d4
#14840 - Use color variables consistently
...
Replaces some raw colors with the appropriate color variables
Example: #eee will be replaced by $gray-lighter (#eceeef)
2016-09-08 13:57:57 +02: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
Mark Otto
a8879c8f82
Follow-up to #19099 for grid fixes
...
- Restores two-mixin approach to generating semantic grid columns (now with 'make-col-ready' and 'make-col')
- Removes need for .col-xs-12 by restoring the mass list of all grid tier classes to set position, min-height, and padding
- Adds an initial 'width: 100%' to flexbox grid column prep (later overridden by the column sizing in 'flex' shorthand or 'width') to prevent flexbox columns from collapsing in lower viewports
2016-07-23 17:12:43 -07:00
Patrick H. Lauke
d125860464
change navbar-toggler to use SVG background image
2016-07-20 10:29:54 +01:00
An Yang
af6eaf5438
Progress bar:fix border-radius to use variable progress-border-radius instead of border-radius
2016-07-20 01:03:40 +00:00
Chris Rebert
873cf751c0
Remove forced default focus outline ( #20275 )
...
As this causes non-standard dotted outline on checkboxes/radio buttons
in OS X Firefox
Ports #19935 to v4
Refs #19933
[skip sauce]
2016-07-11 20:50:27 -07:00
Geremia Taglialatela
1347cb0152
Update SCSS-Lint to v0.49.0 ( #20250 )
...
SCSS-Lint 0.49.0 modifies Shorthand linter to report lint if a shorthand
of a length not specified in the allowed_shorthands option is used.
New defaults include "4" in the list of allowed shorthands, so we are changing our configuration accordingly.
Ref: e283d16896
2016-07-07 20:38:44 -07:00
morishitter
df6d3b445e
Add flex-wrap and overflow-wrap properties to the list of property order in .scss-lint.yml
2016-07-04 18:56:16 +09:00
Chris Rebert
a358fc9dc1
Replace grunt-postcss with postcss-cli ( #20140 )
...
Refs #19990
Continues the degruntification process.
Also removes mq4-hover-shim for now,
since it doesn't yet implement the standard PostCSS plugin interface.
2016-06-20 16:18:21 -07:00
Chris Rebert
b17008c771
Add comparability guard to _assert-ascending(); fixes #20123 ( #20142 )
...
[skip sauce]
[skip validator]
2016-06-19 22:23:16 -07:00
Jerad Rutnam
26731b3378
Contextual background-inverse text color fix
2016-06-16 22:44:39 +05:30
heath3
d19e762d57
Re-use 'between' mixin for 'only' mixin
...
Keeps the code DRY in the same way 'between' uses 'up' and 'down'.
2016-06-09 16:07:27 +01:00
Catalin Zalog
50e2225bd5
Update _flex.scss
2016-05-28 03:25:24 +03:00
Chris Rebert
a90b36918f
Add "The Bootstrap Authors" to copyright notices ( #19936 )
...
❤️ ❤️ ❤️ https://github.com/twbs/bootstrap/graphs/contributors
2016-05-20 09:04:31 -07:00
Catalin Zalog
88f02007e0
Update _spacing.scss
2016-05-17 16:26:22 +03:00
Catalin Zalog
990e2c5d2b
Update _custom-forms.scss
2016-05-16 17:00:45 +03:00
Mark Otto
dfa2536c3b
Restore .navbar-text and add some basic examples to the docs /cc #18049
2016-05-15 12:29:56 -07:00
Mark Otto
5a5ca44a3b
follow up to c6c0522598
: define those new vars
2016-05-14 12:46:06 -07:00
Mark Otto
c6c0522598
more navbar variables
2016-05-13 08:15:48 -07:00
Mark Otto
745e37a325
correction, -toggler-*
2016-05-12 21:50:17 -07:00
Mark Otto
906357b75f
new var for -toggle-border-radius
2016-05-12 21:49:56 -07:00
Mark Otto
3021c241cc
add new variable for -toggle-font-size
2016-05-12 21:49:03 -07:00
Mark Otto
9a50b1f04f
Merge pull request #19889 from twbs/v4-popovers
...
v4: Couple popover fixes
2016-05-12 12:54:02 -07:00
Mark Otto
8b7ce089c9
Alternate fix to #18865 : Change the .navbar-toggler color for light/dark navbars as we do with the .navbar-brand
2016-05-12 11:24:09 -07:00
Mark Otto
dc7811520c
Merge pull request #19874 from patrickhlauke/v4-links-not-anchors-focusable
...
Make named anchor/placeholder link style reset more specific
2016-05-12 11:16:24 -07:00
Mark Otto
a6b797d17b
Restore hiding of the .popover-title with :empty
2016-05-12 11:12:40 -07:00
Mark Otto
df6facf66e
Alternate fix to #19006 : Add a single variable for controlling that inner 1px padding on .popover
2016-05-12 11:12:22 -07:00
Mark Otto
64e7230d33
Fixes #19563 : Add variable for setting background-color on .bg-inverse
2016-05-11 23:26:39 -07:00
Mark Otto
56a5b19cdb
Fixes #17911 : Explicitly remove margin-bottom from cards in .card-deck
...
Here we're doing some margin swapping, so it looks a little funky. All this does is match the margin implementation and rendering across our table and flex versions of card decks.
2016-05-11 22:14:05 -07:00
Mark Otto
de91c5e0be
fixes #19650 : improve non-flexbox card deck behavior so columns are always the same width
2016-05-11 21:18:35 -07:00
Mark Otto
5ff8d0f66e
Fixes #19840 : Invert the .card-subtitle color as well for .card-inverse
2016-05-11 20:41:33 -07:00
Mark Otto
f68b06a123
Update card variants
...
- Remove background-color from header and footer in inverse cards (fixes #19841 )
- Update border override for header and footer in cards; only need to declare a new color
- Update the selector for targetting blockquote footers in cards
2016-05-11 20:32:20 -07:00
Mark Otto
964811d48d
Update card header and footer
...
- Remove the box-shadow and switch back to border to match .card basics
- Update the header nav margin override--since we restored the border, we need that default negative margin at the bottom
2016-05-11 20:22:07 -07:00
Mark Otto
d74a897f55
Overhaul tables docs and use rgba() colors for inverse tables
...
- Add inverse examples for all variants
- Use rgba() colors for hover and accent states for easy usage in inverse styles
2016-05-11 16:28:28 -07:00
Mark Otto
6e7d450e1c
linting order
2016-05-11 14:28:59 -07:00
Mark Otto
575769c34d
rest in peace _functions.scss
2016-05-11 11:36:40 -07:00
Mark Otto
fda92d02a3
Unfuck those split button dropdowns
...
- Really we didn't need to do any of that strip units stuff to generate six new variables, two for each button size
- Using sibling selectors, we can target those split button dropdown toggles using the .dropdown-toggle-split class, and adjust padding and margin as needed
- Now, we nuke the margin-left from the ::after generated caret and tighten up the padding so that those split toggles don't look huge next to their main button
2016-05-11 11:36:09 -07:00
Mark Otto
b280e36b78
Merge branch 'v4-dev' into v4-split-buttons
2016-05-11 11:07:06 -07:00
Mark Otto
9d6b41c127
Merge pull request #19141 from twbs/v4-forms-cleanup
...
v4: Forms cleanup
2016-05-11 10:49:31 -07:00
Mark Otto
425e3d407e
Bring back some 'help text' love for forms with .form-text
...
- Includes new class
- New docs to support it
- Rearranged older docs
2016-05-10 08:24:38 -07:00
Patrick H. Lauke
64251a12a4
Make named anchor/placeholder link style reset more specific
...
This avoids applying the reset to named anchors/placeholder links (links
without an `href`) that have explicitly been made keyboard-focusable
(using `tabindex`). This is not fool-proof - it's not
easy/straightforward to check for the actual `tabindex` value itself, to
ensure it's positive, not will this apply if a link has been "blessed"
with `tabindex` via JS. However, this should catch most common uses (and
gives a reasonably valid way around the issue for developers who, for
whatever reason, DO want to use links without `href` - as side effect,
it forces best practice of at least ensuring these links can also be
focused with the keyboard)
2016-05-10 10:29:47 +01:00
Mark Otto
73d9815343
Merge branch 'v4-forms-cleanup' of https://github.com/twbs/bootstrap into v4-forms-cleanup
2016-05-09 19:25:42 -07:00
Mark Otto
35c11b69df
Update checkboxes and radios docs
...
- Add lighter gray text to disabled state for .form-check
- Separate radios and checkboxes example
- Clarify docs
2016-05-09 11:00:36 -07:00
Mark Otto
1b17ee4062
property order
2016-05-09 10:18:41 -07:00
Mark Otto
3daeb58ac3
Merge branch 'add-input-focus-variables' of https://github.com/kevinkucharczyk/bootstrap into kevinkucharczyk-add-input-focus-variables
2016-05-09 10:17:27 -07:00
Mark Otto
6b33c08310
Merge pull request #19667 from vsn4ik/v4-dev-use-border-radius-mixin
...
Use @border-radius and add $nav-tabs-border-radius variable
2016-05-09 09:56:28 -07:00
Mark Otto
f5d889c385
update classes for inline form to new checkbox options
2016-05-08 23:14:48 -07:00
Mark Otto
546149f004
Fixes #19771 : Enable .form-control-sm/lg on select.form-control
2016-05-08 17:31:02 -07:00
Mark Otto
d8c898b172
linting
2016-05-08 17:11:17 -07:00
Mark Otto
dde85e9888
Redo checkboxes and radios
...
- Move disabled radio and checkbox styles to Reboot
- Collapse .radio and .checkbox into single class, .form-check
- Collapse .radio-inline and .checkbox-inline into single class, .form-check-inline
- Require classes for sub-elements in both new classes
2016-05-08 16:05:27 -07:00
Mark Otto
4a064209ba
Merge branch 'v4-dev' into v4-forms-cleanup
2016-05-08 15:25:26 -07:00
Mark Otto
399fdb8ebe
Merge pull request #19735 from MatthewRayfield/v4-custom-select-disabled-styling
...
Add disabled styling for .custom-select
2016-05-08 14:20:54 -07:00
Mark Otto
4140620d3e
remove unneeded, commented out border change for legends; it's handled in normalize
2016-05-08 13:57:39 -07:00
Mark Otto
ce249a555c
document table border collapse change, move from old normalize to our reboot
2016-05-08 13:51:25 -07:00
Mark Otto
69219d4271
move that change to reboot
2016-05-08 13:50:45 -07:00
Mark Otto
d1b8166374
Fix overflow auto removal on pre elements
2016-05-08 13:48:21 -07:00
Mark Otto
3547164f61
Fix up linter to ignore all other Normalize upstream shenanigans
2016-05-08 13:46:29 -07:00
Mark Otto
637d930d8f
Merge branch 'patch-1' of https://github.com/marktopper/twitter-bootstrap into marktopper-patch-1
2016-05-08 13:43:54 -07:00
Mark Otto
3b62fc0806
Merge pull request #19861 from twbs/card-borders
...
Jank card borders were too janky
2016-05-08 13:38:51 -07:00
Mark Otto
017258d1dc
Merge pull request #19252 from twbs/card-img-overlay-padding
...
Add $card-img-overlay-padding variable
2016-05-08 13:36:13 -07:00
Mark Otto
d6412cddc8
Merge pull request #19236 from twbs/carousel-icon-width
...
Extract $carousel-icon-width variable
2016-05-08 13:33:05 -07:00
Mark Otto
83182ad82e
Jank card borders were too janky
...
- Drops the experiment I had going for `box-shadow`-powered borders
- Reinstates regular `border` using existing variables
Fixes #19097 and #19143 . Nullifies #19828 .
2016-05-08 13:24:45 -07:00
Christopher Baker
84f801833d
add $inverse-bg and $inverse-color
2016-04-27 19:37:44 -07:00
Christopher Baker
859c12a044
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-04-27 19:30:39 -07:00
Mark Otto
8b8f5d0ca6
nuke commented out css
2016-04-23 15:03:18 -07:00
Mark Otto
6764171404
Avoid hacking around the temporal input bug in iOS
...
- Rather than use CSS hacks, let's avoid needing to hack anything
- Creates a new Reboot entry to simply reset the appear of the temporal inputs, thereby avoiding the problem entirely
- Less than ideal for conveying affordance on iOS, but given bugginess of the input itself, seems a decent tradeoff
2016-04-23 14:56:36 -07:00
Mark Otto
9f2ab98026
Merge branch 'v4-dev' into v4-forms-cleanup
2016-04-23 14:24:08 -07:00
Patrick H. Lauke
1a6d0cc446
Merge pull request #19714 from patrickhlauke/v4-ie-edge-select-normalisation
...
Suppress IE/Edge additional white/blue colors for focused <select>
2016-04-21 22:43:40 +01:00
Christopher Baker
bae54aa8fc
remove references to -* outside _variables.scss
2016-04-17 18:56:09 -07:00
Rplus
80affcc6c5
remove unnecessary /
in reference url
2016-04-18 04:08:28 +08:00
Chris Rebert
0d51926cf7
Merge pull request #19248 from twbs/navbar-divider-border-width
...
.navbar-divider width: 1px=>$border-width
2016-04-17 12:49:38 -07:00
Matthew Rayfield
b21750cbb7
Add disabled styling for .custom-select
2016-04-14 13:37:14 -04:00
Patrick H. Lauke
d239fbb5f2
Suppress IE/Edge additional white/blue colors for focused <select>
2016-04-12 08:06:10 +01:00
Mark Otto
0a4d3155ab
Fixes #18573 : Change name of .form-control-label to .col-form-label (and .form-control-legend to .col-form-legend) to reiterate use for only grid layouts
2016-04-08 21:05:23 -05:00
Mark Otto
91627de4de
fix up broke forms styles and docs example for the grid
2016-04-08 20:58:36 -05:00
Mark Otto
80144d74d7
Merge branch 'v4-dev' into v4-forms-cleanup
2016-04-08 20:55:19 -05:00
Teo Dell'Amico
1b35105852
Add display
utility classes (.d-{inline,block,inline-block}); fixes #19343
...
Refs #19665
[skip sauce]
2016-04-06 15:49:08 -07:00
Mark Otto
cde26a5234
Fixes #19221 : Add .w-100 as width: 100% utility class
2016-04-06 14:59:04 -07:00
Lionel Erard
18c25056a6
Update offset class name in comment in _grid-framework.scss
...
[skip sauce]
[skip validator]
2016-04-06 02:27:59 -07:00
vsn4ik
fdf92b1528
Use @border-radius and add $nav-tabs-border-radius variable
2016-04-03 01:47:12 +03:00
Mark Topper
717f80f5d4
Fix comment style
...
Fix comment style to `//`, because other than the initial attribution comment, [we don't want any comments in the compiled CSS](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#comments ).
2016-03-31 11:55:43 +02:00
Mark Topper
62fea119c6
Reverted
...
Reverted to original content from https://raw.githubusercontent.com/necolas/normalize.css/d311749e127ea3ea13eb900ad953270d62734f4f/normalize.css
2016-03-31 09:37:58 +02:00
Mark Topper
0e2438b512
Append HoundCi fixes
...
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850395
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850397
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850398
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850401
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850399
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850402
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850403
2016-03-30 10:18:36 +02:00
Mark Topper
3f8ec6344b
Update to normalize.css v4.0.0
...
#19575
2016-03-30 10:09:28 +02:00
Rakhat Jabagin
2eeef6d19f
remove empty sass if directives
2016-03-11 16:02:57 +06:00
Chris Rebert
9aed469be8
_reboot.scss: Capitalization & periods in comment
...
For consistency with the rest of the file
[ci skip]
2016-03-05 22:34:59 -08:00
Patrick H. Lauke
c4b087062d
Neutralize link styles for placeholder links/named anchors
2016-03-05 01:01:09 +00:00
Kevin P. Kucharczyk
585e5e9adf
Add $input-bg-focus and $input-color-focus variables
2016-03-02 17:41:20 +01:00
alberto
79628b30fc
@warn if minimum width of smallest breakpoint != 0
...
Fixes #19217
2016-02-24 22:16:01 +01:00
Patrick H. Lauke
727722da59
Add form-control-legend
2016-02-19 15:51:59 +00:00
Tobias
bf73425277
Document the possibility of extending the $spacers map
...
It's very handy to add another spacer size (e.g. `4`) which can easily be done by extending the map.
Example:
```
$spacers: (
0: (
x: 0,
y: 0
),
1: (
x: $spacer-x,
y: $spacer-y
),
2: (
x: ($spacer-x * 1.5),
y: ($spacer-y * 1.5)
),
3: (
x: ($spacer-x * 3),
y: ($spacer-y * 3)
),
4: (
x: ($spacer-x * 5),
y: ($spacer-y * 5)
)
);
```
Closes #18706
[skip sauce]
2016-02-18 18:18:47 -08:00
Chris Rebert
105bfbc5f9
Extract $carousel-indicators-width variable
...
[skip sauce]
[skip validator]
2016-02-17 21:10:20 -08:00
Chris Rebert
1f5621f46e
Extract $dropdown-padding-y variable
...
[skip sauce]
[skip validator]
2016-02-17 21:07:12 -08:00
Chris Rebert
322f3bbe6b
Extract $list-group-item-heading-margin-bottom variable
...
[skip sauce]
[skip validator]
2016-02-17 21:04:06 -08:00
Mark Otto
bfe20c2971
Merge pull request #19242 from twbs/carousel-caption-width
...
Extract $carousel-caption-width variable
2016-02-17 08:55:16 -08:00
Mark Otto
13c8ecd893
Merge pull request #19239 from twbs/dropdown-margin-top
...
Extract $dropdown-margin-top variable
2016-02-17 08:54:47 -08:00
Mark Otto
48a338c27c
Merge pull request #19237 from twbs/carousel-indicator-size
...
Extract $carousel-indicator{-active}-size variables
2016-02-17 08:54:25 -08:00
Chris Rebert
43d0d45d0a
Add $gutter parameter to make-col mixin; fixes #19147
...
[skip sauce]
[skip validator]
2016-02-17 03:19:07 -08:00
Chris Rebert
3af2ed9438
Add $card-img-overlay-padding variable
...
[skip sauce]
[skip variable]
2016-02-16 23:25:18 -08:00
Chris Rebert
38c3e6e4d1
Extract $navbar-brand-padding-y variable
...
[skip sauce]
[skip validator]
2016-02-16 23:11:25 -08:00
Chris Rebert
845ad69f93
Merge pull request #19250 from twbs/list-group-item-padding
...
Add $list-group-item-padding-{x,y} variables
2016-02-16 23:08:41 -08:00
Chris Rebert
aa7c5f93ce
Add $card-columns-sm-up-column-gap variable
...
[skip sauce]
[skip validator]
2016-02-16 23:00:58 -08:00
Chris Rebert
1f02ab21ee
Add $list-group-item-padding-{x,y} variables
...
[skip sauce]
[skip validator]
2016-02-16 22:57:10 -08:00
Ameya Pandilwar
4b941847f5
_tags.scss: Updated comments to reflect name change
...
Erratum from #19157
Closes #19245
2016-02-16 22:51:35 -08:00
Chris Rebert
f10dc27cd4
.navbar-divider width: 1px=>$border-width
...
[skip sauce]
[skip validator]
2016-02-16 22:48:43 -08:00
Chris Rebert
67ecc8ca98
Extract $code-padding-{x,y} variables
...
[skip sauce]
[skip validator]
2016-02-16 22:45:26 -08:00
Chris Rebert
881e51d4a7
Merge pull request #19246 from twbs/code-font-size
...
Extract $code-font-size variable
2016-02-16 22:41:55 -08:00
Chris Rebert
9fdae5f391
Extract $code-font-size variable
...
[skip sauce]
[skip validator]
2016-02-16 22:37:00 -08:00
Chris Rebert
3a4dbd9b3a
Add $figure-caption-font-size variable
...
[skip sauce]
[skip validator]
2016-02-16 22:31:40 -08:00
Chris Rebert
cbdb043ee3
Extract $carousel-caption{-sm-up}-width variables
...
[skip sauce]
[skip validator]
2016-02-16 21:45:16 -08:00
Chris Rebert
1046e27dd3
Extract $dropdown-item-padding-x variable
...
[skip sauce]
[skip validator]
2016-02-16 21:16:55 -08:00
Chris Rebert
dcb29fc814
Extract $dropdown-margin-top variable
...
[skip sauce]
[skip validator]
2016-02-16 21:13:15 -08:00
Chris Rebert
104ace17cb
Extract $carousel-indicator{-active}-size variables
...
[skip sauce]
[skip validator]
2016-02-16 21:00:10 -08:00
Chris Rebert
ee0b3b2faa
Merge pull request #19235 from twbs/carousel-control-sm-up-width
...
Extract $carousel-control-sm-up-width variable
2016-02-16 20:53:53 -08:00
Chris Rebert
9f85c6e1d1
Extract $carousel-control-sm-up-size variable
...
[skip sauce]
[skip validator]
2016-02-16 20:50:48 -08:00
Chris Rebert
3003f530c9
Extract $carousel-icon-width variable
...
[skip sauce]
[skip validator]
2016-02-16 20:46:52 -08:00
Mark Otto
63a269d78b
Fixes #19142 (follow-up to #18771 ): Restore cursor: pointer to custom radio/checkbox components
2016-02-16 20:34:31 -08:00
Mark Otto
d6207d852a
Merge branch 'fix-19094' of https://github.com/ameya-pandilwar/bootstrap into ameya-pandilwar-fix-19094
2016-02-16 20:28:51 -08:00
Mark Otto
e194db05c8
Merge branch 'v4-dev' into mark-padding
2016-02-16 20:25:40 -08:00
Mark Otto
853921df32
Merge pull request #19210 from twbs/small-font-size
...
Add $small-font-size variable
2016-02-16 20:23:54 -08:00
Mark Otto
6636e979d9
Merge pull request #19211 from twbs/mark-bg-var
...
Add $mark-bg so <mark>'s background-color can be customized independently of $state-warning-bg
2016-02-16 20:23:41 -08:00
Mark Otto
57a310c3d3
Merge pull request #19214 from twbs/label-font-size
...
Add $label-font-size variable in the name of not hardcoding values
2016-02-16 20:23:22 -08:00
Mark Otto
ca77f52875
Merge pull request #19215 from twbs/label-pill-border-radius
...
Add $label-pill-border-radius variable
2016-02-16 20:23:03 -08:00
Mark Otto
60f83096f1
Merge pull request #19218 from twbs/breakpoint-vars-are-minimums
...
Clarify that $grid-breakpoints are minimum widths for each breakpoint
2016-02-16 20:22:43 -08:00
Mark Otto
4043510e0e
fixes #19148 as follow up to #19099 : ensure local mixin variable is used for in make-grid-columns mixin
2016-02-16 20:11:11 -08:00
Chris Rebert
ea1fa05285
Change comment to clarify that $grid-breakpoints are minimum widths for each breakpoint
...
(as opposed to maximums)
[ci skip]
2016-02-16 01:24:34 -08:00
Chris Rebert
cdc0a7a748
Introduce $mark-bg variable so that <mark>'s background-color can be customized independently of $state-warning-bg
...
[skip sauce]
[skip validator]
2016-02-16 00:44:55 -08:00
Chris Rebert
4c6946b3a9
Extract $dropdown-min-width variable
...
[skip sauce]
[skip validator]
2016-02-16 00:42:10 -08:00
Chris Rebert
08d23959ac
Add $label-pill-border-radius variable
...
[skip sauce]
[skip validator]
2016-02-16 00:37:45 -08:00
Chris Rebert
2c034cf542
Add $label-font-size variable in the name of not hardcoding values
...
[skip sauce]
[skip validator]
2016-02-16 00:27:53 -08:00
Chris Rebert
c80cf45960
Extract $label-pill-padding-x variable
...
[skip sauce]
[skip validator]
2016-02-16 00:25:18 -08:00
Chris Rebert
1d634a07ce
Extract $label-padding-{x,y} variables
...
[skip sauce]
[skip validator]
2016-02-16 00:18:30 -08:00
Chris Rebert
4278eb57ab
Add $small-font-size variable
...
[skip sauce]
[skip validator]
2016-02-15 23:59:53 -08:00
Chris Rebert
7441beba67
Add $mark-padding variable
...
[skip sauce]
[skip validator]
2016-02-15 23:55:20 -08:00
Chris Rebert
ef89acb974
Extract $modal-content-border-width variable
...
[skip sauce]
[skip validator]
2016-02-15 23:45:28 -08:00
Chris Rebert
ece0775bee
Extract $modal-{header,footer}-border-width variables
...
[skip sauce]
[skip validator]
2016-02-15 23:35:57 -08:00
Chris Rebert
e1be284d0c
Extract $modal-dialog-sm-up-margin-y variable
...
[skip sauce]
[skip validator]
2016-02-15 23:24:41 -08:00
Chris Rebert
819b0179f0
Merge pull request #19205 from twbs/modal-dialog-margin
...
Extract new $modal-dialog-margin variable
2016-02-15 23:16:13 -08:00
Chris Rebert
b35aa23453
Extract new $modal-dialog-margin variable
...
[skip sauce]
[skip validator]
2016-02-15 23:10:38 -08:00
Patrick H. Lauke
9b8a4bc691
Add extra styles for focused/hovered active outline buttons
2016-02-15 12:58:16 +00:00
Mark Otto
0c46412a4c
Merge branch 'v4-dev' into v4-custom-forms-validation
2016-02-13 17:55:23 -08:00
Ameya Pandilwar
4ed5fa77ff
Rename .label class to .tag
2016-02-11 03:54:30 -05:00
vsn4ik
f29f0ffd22
Remove unused .csscomb.json
2016-02-10 00:34:47 +03:00
Chris Rebert
a1bf344c4f
Merge pull request #18925 from twbs/fixes-18922
...
Make translation of custom file input text easier
2016-02-09 01:38:14 -08:00
Mark Otto
371fbdb0e8
.text-help is dead, long live .form-control-feedback
...
Uses a new more specific class, adds some basic spacing, and clarifies
that this class is only for validation feedback.
Clears up the help text class question in
https://github.com/twbs/bootstrap/pull/18704#issuecomment-168241731 and
addresses the vertical spacing in #18703 .
2016-02-09 01:10:05 -08:00
Mark Otto
04f145b9d5
fix #18515 : add .form-control-label-* classes to match large/small inputs
2016-02-09 00:35:14 -08:00
Mark Otto
51d3267ea9
don't set horizontal padding on .form-control-label /cc #18130 #17498
2016-02-09 00:34:41 -08:00
Mark Otto
33d7ed77c8
linting follow up to #19140
2016-02-08 23:43:37 -08:00
Mark Otto
8c991939ab
Merge pull request #19136 from twbs/v4-input-border
...
v4: Translucent .form-control borders
2016-02-08 23:41:48 -08:00
Mark Otto
cb77f68868
Merge pull request #19140 from twbs/v4-card-list-group-corners
...
v4: Avoid shorthand border-radius for list groups in cards
2016-02-08 23:41:16 -08:00
Mark Otto
faa7cea301
fixes #18940 : use specific border properties when changing the corners of list groups in cards to avoid overriding combo first-/last-child items
2016-02-08 23:37:38 -08:00
Mark Otto
09aefaa2af
Alternate fix to #17965 : Updates to use the new class name and adds some basic docs for custom checkbox/radio validation
2016-02-08 23:21:32 -08:00
Mark Otto
4b97596982
Fixes #18949 : Remove extra margin overrides for buttons in .modal-footer
2016-02-08 22:34:38 -08:00
Mark Otto
c3e4cbdfb0
Move to a translucent input border with background-clip: padding-box for improved blending across different background-colors
2016-02-08 22:28:11 -08:00
Chris Rebert
b7f70102eb
Merge pull request #19128 from twbs/flex-utils
...
Flex utility classes shouldn't depend on $enable-grid-classes
2016-02-08 13:04:09 -08:00
Chris Rebert
472e0e1259
Flex utility classes shouldn't depend on $enable-grid-classes
...
[skip sauce]
[skip validator]
2016-02-08 04:25:45 -08:00
Chris Rebert
8141835682
_forms.scss: Use division instead of fractional multiplication
...
[skip sauce]
[skip validator]
2016-02-08 03:34:24 -08:00
Chris Rebert
8ffcb5f055
_forms.scss: Remove extra trailing 0 in fractional number
...
[skip sauce]
[skip validator]
2016-02-08 03:31:54 -08:00
Mark Otto
23d47122ef
Merge branch 'multiple-input-group-addon' of https://github.com/vicary/bootstrap into vicary-multiple-input-group-addon
2016-02-07 23:41:35 -08:00
Mark Otto
e455b6b8d2
Merge branch 'v4-dev' into v4-form-sizing
2016-02-07 22:48:26 -08:00
Mark Otto
e589cdbfe9
Put that new var to use to match form group addons to form controls
2016-02-07 22:47:04 -08:00
Mark Otto
38c93371c1
updated button/form-control padding and line-height
...
- Moves from no set line-height (inherited of 1.5) to declared 1.25 for
all inputs and buttons (regardless of size modifier).
- Updates padding to be `.5rem` instead of `.375rem` so that padding is
more likely to be whole numbers based on the root font-size.
- Whole numbers will be beneficial in avoiding odd fractional pixels
that can lead to misalignment as shown in #18607 .
- Large buttons and inputs are now a tad wider, and smaller
buttons/inputs a tad shorter and narrower, too.
2016-02-07 22:46:50 -08:00
Mark Otto
a16b2ef162
Remove line-height from the button size mixin too
2016-02-07 22:43:53 -08:00
Mark Otto
ab451e5dc0
Remove commented out height on large/small inputs
2016-02-07 22:43:24 -08:00
Mark Otto
8fcdbd38f8
Remove specific line-heights from large/small inputs as well
2016-02-07 22:43:10 -08:00
Mark Otto
1db8dc10b5
Remove line-height from button mixin calls
2016-02-07 22:39:49 -08:00
Chris Rebert
da848536ce
_forms.scss: Remove extra url()s in commented-out code
...
[skip sauce]
[skip validator]
2016-02-07 20:20:14 -08:00
Chris Rebert
1dc6e4c9e5
Merge pull request #19115 from vsn4ik/v4-dev-fix-css3-not-selector
...
Fix css3 :not selector
2016-02-07 11:51:39 -08:00
vsn4ik
e7b0ccff63
Fix CSS3 :not() selector
2016-02-07 19:21:26 +03:00
Chris Rebert
35617a4b22
Assert that $grid-breakpoints and $container-max-widths are in ascending order; fixes #18549
...
[skip sauce]
2016-02-07 02:53:37 -08:00
Chris Rebert
41977db43a
Reboot: Update @viewport comment to account for de944e088b
...
[ci skip]
2016-02-07 00:28:23 -08:00
Chris Rebert
ecdfc71d1f
Add $enable-print-styles variable for _print.scss; fixes #19101
...
[skip sauce]
2016-02-06 21:35:19 -08:00
Mark Otto
612d287a07
Fixes #18550 : really remove that reference
2016-02-06 20:46:11 -08:00
Mark Otto
ef50b7839c
linting
2016-02-06 20:36:21 -08:00
Mark Otto
d7d0e186bd
Merge branch 'v4-dev' into v4-split-buttons
2016-02-06 20:33:26 -08:00
Mark Otto
cecc3017dc
Merge pull request #19105 from twbs/v4-modal-widths
...
v4: Update modal sizing
2016-02-06 20:31:27 -08:00
Mark Otto
64b88bd707
remove comment
2016-02-06 20:28:36 -08:00
Mark Otto
6c2b0d2b76
Updat modal sizing
...
- Switch from width to max-width for all widths to avoid scaling outside viewport bounds
- Rejigger the media queries for a more logical breakpoint for the large and small modal sizes
- Avoids changing the width of the default modal (nullifying #17794 and fixing #17581 )
2016-02-06 20:18:48 -08:00
Mark Otto
9ca44d29f5
Follow up to #19099 : Correct grid gutter value
2016-02-06 20:12:55 -08:00
Mark Otto
eee0a685a4
only do it for non-flex version
2016-02-06 20:02:39 -08:00
Mark Otto
ccf971d860
Fixes #17969 : Clear horizontal dls
...
- Using the grid classes, they still need clearfixes since rows aren't injected between them all
- Update docs to fix broken classes
2016-02-06 20:01:37 -08:00
Mark Otto
cbda7e3862
Revamp list group items built with anchors and buttons
...
- Make it an explicit class instead of qualifying with elements (.list-group-item-action)
- Rearrange the entire file for more straightforward flow
- Fix text-decoration bug as a result of the reorder
- Switch from h4's to h5's in docs
- Update docs to merge anchors and buttons sections; clearify usage guidelines there, too
- Nullify #17479 in the process
2016-02-06 19:50:00 -08:00
Mark Otto
de944e088b
Fixes #17300 : drop the unused at-viewports
2016-02-06 18:45:56 -08:00
Mark Otto
caa36b8dd7
Fixes #17194 : Ensure proper height on default select.form-control instances
2016-02-06 18:20:27 -08:00
Mark Otto
697466badf
tweak sizing
2016-02-06 18:05:34 -08:00
Mark Otto
dee1979683
move the url to the variable value
2016-02-06 18:05:24 -08:00
Mark Otto
11606d391e
update to latest from @thekondrashov's jsfiddle
2016-02-06 18:05:07 -08:00
Mark Otto
198e34a096
Merge branch 'patch-1' of https://github.com/thekondrashov/bootstrap into thekondrashov-patch-1
2016-02-06 17:00:57 -08:00
Mark Otto
b03684d04c
Merge pull request #19102 from twbs/v4-center-utils
...
v4: Drop .center-block for new-ish .m-x-auto
2016-02-06 16:45:57 -08:00
Mark Otto
1285ec34fa
Merge pull request #18488 from vsn4ik/v4-use-mixin-for-text-muted
...
Use text-emphasis mixin for .text-muted
2016-02-06 16:30:07 -08:00
Mark Otto
c59dbe56fe
Drop .center-block for .m-x-auto
...
- Both classes do about the same thing, but with different names
- Clarifies docs for .m-x-auto requiring a fixed width block element for it to work
- Add missing heading for clearfix section in docs (unrelated)
2016-02-06 15:40:25 -08:00
Mark Otto
fffaaed0fd
Merge branch 'v4-dev' into v4-grid-redux
2016-02-06 15:09:32 -08:00
Mark Otto
9c69f6f5c5
Merge branch 'v4-dev' into v4-font-stack
2016-02-06 15:01:44 -08:00
Mark Otto
447fc28f8d
linting grid css
2016-02-06 14:54:13 -08:00
Mark Otto
cd3af1fa1a
Update to drop Open Sans, add Fira and Droid Sans
2016-02-06 13:23:00 -08:00
Mark Otto
414ae3aa1a
use px in grid col padding since we're using px everywhere else for them
2016-02-06 13:01:52 -08:00
Mark Otto
3743f279c1
linting
2016-02-06 12:32:43 -08:00
Mark Otto
8d46a95071
Merge branch 'v4-dev' into v4-grid-redux
2016-02-06 12:30:03 -08:00
Mark Otto
d5e474b4ab
linter
2016-02-06 12:29:53 -08:00
Mark Otto
f127bc68a3
Merge branch 'v4-dev' into v4-grid-redux
2016-02-06 12:29:06 -08:00
Mark Otto
03ec195974
linter overhaul
2016-02-06 12:28:18 -08:00
Mark Otto
15018a6d8a
Ugh, Sass doesn't do extends across media, so we can't use placeholder here
2016-02-06 11:48:28 -08:00
Mark Otto
50e854affa
property order and white space
2016-02-06 11:36:45 -08:00
Mark Otto
4ab7c93bcc
property order
2016-02-06 11:33:31 -08:00
Mark Otto
95f34be093
More grid updates
...
- Flexbox responsive behavior fixed with specific .col-{breakpoint} classes now added
- Dropped the make-col mixin in favor of a column-basics placeholder that we can extend across our grid infrastructure
- Updated docs to use required .col-xs-12 (as a safeguard for when folks enable flexbox mode--this isn't necessary in default grid mode)
- Update flexbox grid docs to include responsive docs, tweak some other bits too
2016-02-06 11:31:46 -08:00
Mark Otto
414997baa8
flip things around again, no more base class, try out some new stuff to keep responsive flex grid working
2016-02-06 10:51:59 -08:00
Mark Otto
9e3214051d
add horizontal flex utils
2016-02-06 01:47:04 -08:00
Mark Otto
5e41887c3c
rename vertical align flex utils to middle to avoid clash with horizontal center
2016-02-06 01:46:42 -08:00
Mark Otto
82b98e72a4
more accurate comments
2016-02-06 01:46:14 -08:00
Mark Otto
7b7cf221cd
Move the conditional statement back to the file because nested imports aren't supported in Sass
2016-02-06 01:29:51 -08:00
Mark Otto
0de7321bbb
rename .flex-all-* to .flex-items-* to match flexbox nomenclature
2016-02-06 00:59:43 -08:00
Mark Otto
044716ed4a
Conditionally include the flex utils in the import stack and reduce to a single query
2016-02-06 00:58:19 -08:00
Mark Otto
f50dedaaaf
Move grid flex classes to utils instead maybe?
2016-02-06 00:52:53 -08:00
Mark Otto
cac92017d3
Merge branch 'v4-dev' into v4-grid-redux
2016-02-06 00:47:40 -08:00
Mark Otto
5a9538d4c7
Revamp grid classes to require .col base class and improve flexbox grid classes with auto layout via flex: 1
2016-02-06 00:45:29 -08:00
Mark Otto
263e06a021
rearrange scss lint config to put flex over float
2016-02-06 00:20:24 -08:00
Mark Otto
73e5e89e0e
Switch to native font stack
2016-02-05 23:01:59 -08:00
Chris Rebert
23979a9994
Revert separation of <hN> and .hN heading styles
...
This reverts commit deeb74e321
.
Reverts #18038
Fixes #18992
[skip sauce]
[skip validator]
2016-02-04 00:05:02 -08:00
Mark Otto
b75116c679
Merge branch 'v4-card-fuckery' into v4-dev
2016-02-03 20:53:30 -08:00
Mark Otto
b75a0ca979
fuck that other class, let's just get tabs and pills in there
2016-02-03 20:52:33 -08:00
Mark Otto
b4a2b99395
Dump the type margin overrides in alerts for utils, document that particular example, sidesteps part of #18884
2016-02-03 20:43:12 -08:00
Mark Otto
ba37c37615
Redo line-height globally
...
- Rename -height to -height-base to match other vars
- Drop use of -height across the board and rely on it to be inherited
- Adjust padding of .dropdown-header to account for different line-height of h6 heading element (this needs refactoring for variables and rems also)
2016-02-03 19:45:13 -08:00
XhmikosR
e672d60646
Update print styles to v5.3.0 of html5 boilerplate.
2016-01-26 21:37:44 +02:00
mkroeders
a62f70b420
Allow a <label> for .input-group-addon by zeroing out margin-bottom
...
When using a <label> as an .input-group-addon, there will be a default margin-bottom of .5rem via Reboot.
This will lead to undesirable whitespace below the label and the <input> will become taller than needed. By removing the margin, it will play nice with <label> elements.
Closes #19012
2016-01-23 22:18:43 -08:00
Chris Rebert
d54d9d3f7a
Merge pull request #19001 from twbs/bump-normalize
...
Bump Normalize so we can remove Reboot's input[type=search] box-sizing override
2016-01-23 22:11:27 -08:00
Mark Otto
e672c15b6d
Merge pull request #19002 from twbs/blockquote-border-width
...
Add $blockquote-border-width variable
2016-01-23 20:42:23 -08:00
Mark Otto
fa0e68e486
Merge pull request #19000 from twbs/print-img-max-width-100-hell
...
Remove print-specific img max-width:100%; style so that Google Maps etc. print correctly
2016-01-23 20:37:36 -08:00
Mark Otto
2fe6c6c88b
Merge pull request #18927 from twbs/fix-16871
...
Apply word-wrap:break-word to Tooltips and Popovers
2016-01-23 20:36:59 -08:00
Chris Rebert
7e2e31e964
scss/_forms.scss: Remove now-unnecessary SCSS-Lint exemption
...
[skip sauce]
2016-01-23 03:06:21 -08:00
Chris Rebert
739b51f264
Reboot: Remove now-unnecessary input[type="search"] box-sizing override
...
Revert "fixes #17379 : override search input box-sizing to match our global overrides"
This reverts commits 468a9d9359
& 57998dc274
.
https://github.com/necolas/normalize.css/pull/496 has made this override unnecessary.
[skip sauce]
2016-01-21 14:50:06 -08:00
Chris Rebert
beeafc2808
Bump Normalize to fe567632af
...
So as to pull in https://github.com/necolas/normalize.css/pull/496
2016-01-21 14:28:41 -08:00
Chris Rebert
8820c563d2
Remove print-specific img max-width:100%; style so that Google Maps and other widgets print correctly
...
See https://github.com/h5bp/html5-boilerplate/issues/1741
X-Ref: #1506
2016-01-21 14:18:54 -08:00
Kevin Ross
70c2686797
Resolves #18978 - flexbox list-group implementation. Requires the pull-right and pull-left flex change from PR #18976
2016-01-20 16:39:43 -06:00
Patrick H. Lauke
200860334d
Add pointer-events:none to custom indicator
...
Closes #18887
2016-01-19 01:34:47 +00:00
Chris Rebert
032adf1324
Apply word-wrap:break-word to Tooltips and Popovers
...
Fixes #16871 for v4
2016-01-17 22:23:29 -08:00
Chris Rebert
8b67d4c762
Make translation of custom file input text easier; fixes #18922
...
[skip sauce]
2016-01-17 20:53:11 -08:00
Chris Rebert
beb9fc2895
Merge pull request #18880 from twbs/gradient-x-y
...
Rename gradient mixins to match new naming convention
2016-01-17 19:34:10 -08:00
Mark Otto
26f10db70e
Merge pull request #18848 from twbs/rounded-progress
...
Respect $border-rounded inside progress bars too
2016-01-17 19:04:29 -08:00
Mark Otto
11efaf5439
Merge pull request #18878 from twbs/btn-group-vertical
...
rm unnecessary border-radius properties from .btn-group-vertical code
2016-01-17 19:00:37 -08:00
Mark Otto
955e0405ea
fuck around with card borders and more
2016-01-17 18:55:24 -08:00
Mark Otto
776337924e
Merge pull request #18920 from twbs/v4-custom-forms-vars
...
v4: Custom forms variables
2016-01-17 17:54:45 -08:00
Mark Otto
dd4062f213
Update docs to include mention of the custom variables file
2016-01-17 16:04:18 -08:00
Mark Otto
567a0e9cee
add custom overrides to other bundles
2016-01-17 15:54:17 -08:00
Mark Otto
d00eef1dac
Merge branch 'provide-custom-scss' of https://github.com/stephaniepurvis/bootstrap into stephaniepurvis-provide-custom-scss
2016-01-17 15:51:49 -08:00
Mark Otto
2f4af5c295
condense that comment, clean up formatting
2016-01-17 15:50:27 -08:00
Mark Otto
8a0b8b6b03
Merge pull request #18789 from twbs/fix-18733-more
...
Prevent breadcrumb separator from getting underlined on hover when not using <ol> markup
2016-01-17 15:45:02 -08:00
Mark Otto
c0a8a70d59
Missing ;
2016-01-17 15:32:01 -08:00
Mark Otto
3a2f0456bf
Merge pull request #18883 from twbs/zindex-dropdown-backdrop
...
Use proper variable for .dropdown-backdrop's z-index
2016-01-17 15:25:58 -08:00
Mark Otto
5c12d5e469
add custom file vars, fix up custom select var
2016-01-17 15:21:16 -08:00
Mark Otto
6b318ef176
Hella vars for custom checkboxes and radios and selects
2016-01-16 22:29:51 -08:00
Chris Rebert
802c1cb5fc
Extract variables for .modal-content box-shadow
...
[skip sauce]
[skip validator]
2016-01-16 20:25:00 -08:00
Chris Rebert
bbd449994a
Extract $thumbnail-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
9b2d9f6e04
Extract $popover-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
58f7e602ae
Extract $dropdown-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
a5b41e7254
Extract $btn-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
6293dd41cf
Extract $kbd-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
7be17b4a35
Merge pull request #18821 from twbs/popover-vars
...
Add variables for padding of popover title & content
2016-01-16 14:08:14 -08:00
Chris Rebert
dda263d9ac
Merge pull request #18820 from twbs/media-obj-vars
...
Add variables for media object margins and padding
2016-01-16 14:07:49 -08:00