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

1123 Commits

Author SHA1 Message Date
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