Mark Otto
540537c481
Add new .text-break utility for applying word-break: break-word
2018-12-16 13:23:33 -08:00
Martijn Cuppens
dac464a5b8
Use theme-color function for colors ( #27848 )
2018-12-16 01:59:16 +02:00
Mark Otto
3b42a9ec5b
Add table-hover-color variables
...
Fixes #26465
2018-12-15 14:01:09 -08:00
Mark Otto
f50f6e0355
Match .table-dark background-color to the -dark variable
2018-12-15 10:15:52 -08:00
Martijn Cuppens
502b6c8ed6
Remove redundant brackets ( #27768 )
2018-12-14 17:54:44 +01:00
Florian Lacreuse
1dc42a3373
Add missing parameter to grid mixins. ( #27841 )
2018-12-14 18:30:12 +02:00
Gijs Boddeus
26c5595164
Custom switch form control gutter fix ( #27837 )
2018-12-14 16:22:19 +02:00
Gijs Boddeus
c618f67187
Actual gutter definition ( #27797 )
2018-12-14 03:04:10 +02:00
Patrick H. Lauke
f3fc973dd9
Remove now unnecessary -ms-viewport and -ms-overflow-style directives ( #27789 )
...
Edge/Mobile appears to have moved support for `-ms-viewport` behind a flag at some point, instead supporting meta viewport directives.
Removing this altogether also fixes issues in IE11 on high-dpi displays - see https://github.com/twbs/bootstrap/issues/21780
2018-12-12 21:24:47 +02:00
Gijs Boddeus
180a06eeb7
Add switch custom form control ( #23004 )
2018-12-12 15:28:25 +02:00
Martijn Cuppens
dbadf24bb3
Fix margin above toast when previous toast is hidden ( #27820 )
2018-12-12 14:23:10 +01:00
Johann-S
1f4d7903db
fix fade animation for toast
2018-12-10 10:38:11 +01:00
Gijs Rogé
3fbbe1bd35
Replaced fixed 'bolder' font weight value in reboot with variable. ( #27782 )
...
The default font weight value for <strong> <br> in reboot was
set by a fixed value we now use the variable $font-weight-bolder
to let users override this value.
2018-12-06 08:21:18 +02:00
Jacob Müller
8fb6e84fa0
Make form grid gutter width configurable ( #27766 )
2018-12-05 17:15:24 +02:00
Shohei Yoshida
850d99bb13
Add quotes according to the stylelint rule ( #27771 )
2018-12-05 12:40:59 +01:00
XhmikosR
e184c11618
Merge branch 'v4-dev' into stretched-link
2018-12-05 11:38:55 +02:00
Martijn Cuppens
3007d4b435
Stretched link
2018-12-04 21:22:12 +01:00
acidrums4
1a171b80ab
Remove double 'the' in comment ( #27767 )
2018-12-04 20:14:23 +01:00
Shohei Yoshida
e9ec5e7392
spinners: use .sr-only
instead of text-hide technique ( #27736 )
2018-12-04 08:02:49 +02:00
ysds
9f08f7dea6
Grow button width to the parent button group ( #27717 )
2018-11-25 12:05:31 +01:00
ysds
b6e616a70f
Fixed a fixed height issue of input-group size option ( #27687 )
2018-11-22 10:29:33 +02:00
Roy Klutman
e7e43edf65
Add border-radius to dropdown items ( #27703 )
2018-11-22 00:24:13 +02:00
Martijn Cuppens
3f422bfc88
Prevent text decoration skip inc and reorder comments ( #27673 )
2018-11-18 10:09:41 +02:00
Martijn Cuppens
12ae122eda
Spinners cleanup
2018-11-17 20:34:58 -08:00
ysds
5042b3c93d
Support custom-select sizing in input-group ( #27677 )
2018-11-17 14:10:38 +02:00
Martijn Cuppens
75526bf2d0
Inherit card header color ( #27681 )
2018-11-17 10:16:16 +01:00
Martijn Cuppens
fab1dea927
Keep input group & form label font size in sync with form control font size ( #27663 )
2018-11-13 21:11:59 +01:00
Mark Otto
ab40a2b919
Nest the .toast.show
and use display: block;
as inherit causes broken styles
2018-11-13 08:47:32 +02:00
Johann-S
16cf76ff1a
Create toast JS plugin, add unit tests.
2018-11-13 08:47:32 +02:00
Mark Otto
d0652a1be9
Add new toasts component
2018-11-13 08:47:32 +02:00
Martijn Cuppens
696c4078d1
Customize browse text of the custom file input with HTML ( #27651 )
2018-11-13 08:30:17 +02:00
XhmikosR
e9d67982ae
spinners: use the animation shorthand property.
2018-11-13 08:21:57 +02:00
Mark Otto
52a86cc671
Add Bootstrap's very first spinners omfg it's actually happening
2018-11-13 08:21:57 +02:00
Martijn Cuppens
976efcd5ee
Allow to add more embed responsive ratios ( #25894 )
2018-11-11 11:04:04 +02:00
jvitela
731f95bded
Fix modal positioning on Android.
...
When the address bar is hidden, sometimes the visual position of the controls is out of sync with its logical position.
2018-11-11 10:44:26 +02:00
sts-ryan-holton
89eef046ef
Add new .rounded-pill
utility ( #27339 )
2018-11-05 19:19:00 +02:00
Martijn Cuppens
b33d0d3790
Prevent white line in Firefox (regression) ( #27594 )
2018-11-05 18:56:41 +02:00
LittleHuba
aa098991bf
Add Noto Sans to the font stack ( #27596 )
...
Fixes #27595
2018-11-05 08:22:40 +02:00
Arvind S
042042a48a
Made the disabled state for nav more obvious. ( #27382 )
2018-11-04 22:17:14 +02:00
ysds
4a1090ac48
Ligthen/Darken Button focus shadow color
2018-11-04 20:58:00 +02:00
Andrew
cbc859ad8d
Add .text-wrap
class.
...
this is the opposite of `.text-nowrap`, and a forces elements to wrap onto new lines.
One use case for this is extra long button text. Bootstrap buttons by default do no wrap, so this class could be used to override that behavior.
2018-11-04 15:55:17 +02:00
patrickhlauke
c46a0c7e88
Replace touch-action: none with pan-y, remove preventDefault from touch event handling
2018-11-04 14:40:19 +02:00
XhmikosR
9cc237d0ba
scss/_custom-forms.scss: fix typo in comment.
2018-11-04 12:17:56 +02:00
ysds
ea8f6c6ff3
Button group refactoring and fixes ( #25395 )
2018-11-04 08:50:21 +02:00
Vincent Langlet
793b83fda8
Avoid null value ( #27570 )
2018-11-04 08:18:56 +02:00
Martijn Cuppens
38e9e2b82c
Add TODO
2018-11-04 08:13:31 +02:00
Varunram
a31468cf84
Resolve #26226 : Sync with normalize 8.0.0
...
diff credits: @client9
2018-11-04 08:13:31 +02:00
Patrick H. Lauke
8b20bce873
Add Sass variable for prefers-reduced-motion, add callout to affected components ( #27581 )
...
* Tweak the accessibility/reduced motion text
include mention of carousel slides, remove the (now inaccurate, as Firefox 63 includes it too) mention that support is limited to Safari/macOS
xref https://github.com/twbs/bootstrap/issues/27525
* Add new callout for reduced motion
* Add variable to control prefers-reduced-motion media query support
* Add callout about prefers-reduced-motion to all components currently using animation which are affected
2018-11-03 19:23:26 +01:00
ysds
2ffa1bff6e
Fix empty custom-control-label alignment issue ( #27566 )
2018-10-31 09:49:52 +02:00
Martijn Cuppens
96b49d7833
Fix Edge bounce and restore original transition easing ( #27279 )
2018-10-31 09:45:39 +02:00
ysds
eb5d0b49dc
Prevent hover/click on disabled .close links.
2018-10-30 18:25:14 +01:00
Martijn Cuppens
e0fa9a812c
#27502 : Prevent active state border change
2018-10-30 09:06:25 +02:00
Martijn Cuppens
5aed968750
Prevent the background to be shown when transitioning
2018-10-30 08:57:02 +02:00
ItaloBC
557f3fe100
Added Viewport Height & Width helpers
...
This allows the user to make a container (ideally) to use viewport height and width and allow better vertical/horizontal alignments of elements.
2018-10-23 06:04:08 +03:00
Martijn Cuppens
1c91f48251
Variable darken percentage for emphasized links
2018-10-23 05:58:19 +03:00
Caíque de Castro Soares da Silva
ff40e00323
Fix readonly-plain-text with button addon ( #25871 )
...
Fixes #25870
2018-10-23 05:53:38 +03:00
Mitko Georgiev
ee1daf090a
Easy merging of new grid breakpoints and containers ( #26714 )
...
This change follows exactly what was done for the `$grays`, `$colors`, and `$theme-colors` lists in #23260 . This allows for easy addition of new breakpoints or grid containers also.
2018-10-23 05:48:44 +03:00
Martijn Cuppens
dd539094ea
Custom select validation padding fix and additional custom select feedback icon variables
2018-10-23 05:43:59 +03:00
Martijn Cuppens
d0b7eb1111
Cleanup stylelint comments
2018-10-23 00:21:33 +03:00
Martijn Cuppens
00860f02d4
Disallow transition property (use mixin instead)
2018-10-21 22:46:20 +03:00
Johan Beckers
09aca3fb9a
Unitless breakpoints
...
If I want to customise the breakpoints using `em`, I get compatibility errors.
It is good practice to set breakpoints in `em` instead of `px` when users use browser scaling.
See https://zellwk.com/blog/media-query-units/#concluding-the-experiments for more information why someone would like to do this. Only Safari users can get annoyed: https://adamwathan.me/dont-use-em-for-media-queries/
In any case, using a unitless number at line 42 would be very convenient.
2018-10-21 21:31:28 +03:00
Martijn Cuppens
44ddabad4b
Simplify theme color usage ( #27378 )
2018-10-21 17:39:23 +03:00
Andrew Pucci
d13ae1fc1a
Card header color theming ( #26573 )
...
Define new variable for card header color
2018-10-21 11:05:54 +03:00
ysds
becb6ce346
Add dropdown responsive alignment ( #26255 )
2018-10-21 11:01:22 +03:00
Andrey
3075432584
feature/yiq function, add parameters, with default values. ( #26917 )
2018-10-21 10:33:53 +03:00
Martijn Cuppens
e2014e8ed7
Custom checkboxes and radios retheming ( #27064 )
2018-10-21 10:25:07 +03:00
Martijn Cuppens
c9a43b027a
Re-add carousel control transition ( #27277 )
2018-10-21 10:13:35 +03:00
Doug Puchalski
59f1802e98
Outline button variant hover mixin ( #27289 )
...
The outline button variant mixin should use the hover mixin, as does the non-outline version.
2018-10-21 10:09:08 +03:00
midzer
50d866da24
optimize data URIs ( #27284 )
2018-10-21 10:03:17 +03:00
Martijn Cuppens
2a28c7d9fd
Carousel fade cleanup ( #27278 )
2018-10-21 09:55:43 +03:00
Roy Klutman
fccdda5448
Fix for double border on cards in an accordion ( #27133 )
2018-10-21 09:49:05 +03:00
719media
2c1a743cc9
Update _custom-forms.scss ( #27276 )
...
user-select has no effect on before/after pseudo elements
2018-10-20 22:35:56 +03:00
andresgalante
86822d93d6
changes the variables for input font size
2018-10-20 22:29:24 +03:00
Ian Walter
871a51a548
Fix #26372 : disabled btn hover issue ( #27407 )
...
When gradients are enabled there is still a hover state on disabled
buttons since the hover rules apply to background-image and disabled
rules apply to background-color. This applies the logic already present
in dropdowns to buttons. This fix was originally proposed by @ysds.
2018-10-20 22:12:33 +03:00
semenyakNik
c5eb6043d8
Custom select inconsistent padding ( #27415 )
2018-10-20 22:00:48 +03:00
Martijn Cuppens
7190c38e4c
Remove redundant width and height properties
2018-10-20 21:46:53 +03:00
patrickhlauke
8883ccb205
Set touch-action to "none"
...
Firefox currently seems extremely fickle - with `pan-y` if fires pointercancel as soon as a touch strays even a pixel or so vertically.
While `touch-action: pan-y` would be ideal (allowing users to scroll the page even when their finger started the scroll on the carousel), this prevents a swipe that isn't perfectly/only horizontal to be recognised by Firefox.
2018-10-20 15:32:09 +03:00
patrickhlauke
7b8f01d839
Use correct touch-action values
...
- my fault, my original advice of using `touch-action: pan-x` is exactly the value we *don't* want to have the browser handle...
2018-10-20 15:32:09 +03:00
Johann-S
735c374e9c
use pointer events if available
2018-10-20 15:32:09 +03:00
Andres Galante
5088f02730
Add font weight options for form controls and custom select ( #27343 )
2018-10-20 11:50:20 +03:00
Bastien
a86aef0ae0
table: Add border color relative to theme for accessibility ( #25755 )
2018-10-20 11:21:31 +03:00
Catalin Zalog
a16ffc7ba1
feat: keep contrast on .table-dark
...
In case we set `$body-bg` to a dark color, we have to keep table contrast relevant.
2018-10-19 13:01:38 +03:00
namiltd
1231e1d6bc
Fix size of modal dialogs at different widths ( #27094 )
2018-10-19 12:56:46 +03:00
Roy Klutman
5a1588ed33
Fix double border on list-group ( #27126 )
2018-10-19 12:01:36 +03:00
Martijn Cuppens
a6669b478b
Fix btn focus color ( #27178 )
2018-10-17 23:21:33 +03:00
Mark Otto
29bd5e3218
Add overflow-auto and overflow-hidden utilities
2018-10-06 17:55:55 -07:00
Howard Cox
d7f79b06dc
Prevent pointer events on disabled list-group-item
2018-09-26 07:20:46 +03:00
Howard Cox
44b3f77852
Prevent pointer-events on disabled anchor dropdown-item
...
Fixes #26695
2018-09-26 07:20:46 +03:00
Martijn Cuppens
7bd1bc2431
Allow multiple ways of padding declaration for modal header ( #26976 )
...
* #26967 : Allow multiple ways of padding declaration for modal header
* #26976 : split vertical and horizontal modal padding
2018-09-18 21:33:31 -07:00
Mark Otto
0bec1c8897
Add new variables for form feedback tooltips ( #26959 )
...
Fixes #26886
2018-09-18 21:27:02 -07:00
Mark Otto
c8fd9ddd97
Consistently re-use input variables
2018-09-18 16:29:46 +03:00
Martijn Cuppens
e604958641
Variable .btn and .form-control font sizes ( #26908 )
2018-09-18 15:35:25 +03:00
ysds
18ae915f54
Bring the focused button in input group to the front ( #26910 )
2018-09-18 15:29:02 +03:00
Martijn Cuppens
bf4dab72df
#27220 : cleanup .btn-link hover/focus properties ( #27250 )
2018-09-17 09:34:34 -03:00
Catalin Zalog
928ebd8925
_variables.scss comments/spacing consistency ( #27247 )
...
* style: `_variables.scss` comments consistency
* style: `_variables.scss` spacing consistency
2018-09-16 14:32:11 -07:00
Martijn Cuppens
7a01f3c41b
Selector improvement ( #27219 )
2018-09-14 09:31:48 -03:00
Andres Galante
ed3c611949
creates variables for navbar brand colors #27187
2018-09-13 17:51:14 +03:00
Roman O
fad49e710e
Ignore percentage values for compare in maps
2018-09-02 16:43:54 -07:00
Martijn Cuppens
97eea3b2bf
Set .btn base color
2018-09-02 16:28:42 -07:00
Martijn Cuppens
3ef2db1e85
Move transparent background to .btn and remove background-image
2018-09-02 16:28:42 -07:00
Martijn Cuppens
19afb12b65
Set max-width to 100%
...
Fixes #27114
2018-09-02 16:26:53 -07:00
Martijn Cuppens
9f53e06e46
Remove -webkit-text-decoration-skip
2018-09-02 16:26:18 -07:00
Martijn Cuppens
e3c0b3d3af
#27112 : fix border focus border color
2018-09-02 16:25:55 -07:00
ysds
d1de8737aa
Move CSS of hover underline to base from color variants
2018-09-02 16:25:21 -07:00
ysds
5266669d34
Remove extra line break
2018-08-28 02:22:46 +03:00
Martijn Cuppens
0e8831505a
Simpler carousel indicators css ( #26996 )
2018-08-26 14:53:36 +03:00
acj
b652932f0c
Remove redundant space from blockquote footer prefix
2018-08-26 14:48:51 +03:00
acj
cd28869a2f
Move blockquote footer font size to variables
...
Blockquote footer font size is currently hardcoded to 80%, implying (in a comment) that this would result in the default font size. However, since the blockquote font size itself is variable, this is not necessarily true, and 80% of anything actually results in an arbitrary font size.
80% as a default is still fine.
2018-08-26 14:48:51 +03:00
m5o
7f9e70202e
add text-reset to text utilities ( #26866 )
2018-08-25 19:31:52 +03:00
Mark Otto
df3993a600
Round corners on modal footer
...
Matches the method used for the modal header. Fixes #26955 .
2018-08-25 18:49:09 +03:00
Rowan-James Tran
24bdadf9d3
Remove nowrap from .btn
2018-08-19 11:17:10 -07:00
Martijn Cuppens
4def76c34e
#26975 : remove grid columns min height
2018-08-19 11:13:18 -07:00
Martijn Cuppens
bf7d4aef81
Change if statement
2018-08-13 10:10:52 +03:00
Martijn Cuppens
57661dff6d
Tweak modal transform ( #27005 )
2018-08-13 10:00:53 +03:00
Mark Otto
0b5a8d9c98
Merge branch 'form-validation-icons' into v4-dev
2018-07-29 14:18:09 -07:00
Robert
70ad98d34d
Fix custom-select font size/padding ( #26585 )
...
fixes #26476
2018-07-29 14:04:35 -07:00
Mark Otto
f803fb9903
Add margin utils to the grid for fully functional grid control ( #26957 )
...
* Add margin utils to the grid for fully functional grid control
* bump the max filesize
2018-07-28 21:34:27 -07:00
Martijn Cuppens
4f926671e9
Carousel indicators transition ( #26902 )
2018-07-24 21:15:05 -07:00
ysds
bbee41431d
Fix custom range height ( #26898 )
...
Fixes #26897
2018-07-24 17:56:03 -07:00
Martijn Cuppens
d80635c1cd
Custom input range disabled styling ( #26540 )
2018-07-24 17:39:15 -07:00
Mark Otto
ba25e38b4a
Merge branch 'garhbod-patch-1' into v4-dev
2018-07-24 17:26:29 -07:00
Mark Otto
fb2de04374
Merge branch 'v4-dev' into malkomich-v4-dev
2018-07-24 17:25:12 -07:00
Stefan Wrobel
e3b98c51da
Add .text-decoration-none utility class ( #25933 )
...
ref: https://github.com/twbs/bootstrap/pull/23881#issuecomment-337789596
2018-07-24 17:24:20 -07:00
Andrew
c8a4d9dd74
add 'lighter' and 'bolder' font weight classes ( #26580 )
...
* add 'lighter' and 'bolder' font weight classes
these are 2 special values for font weight, that will give their content a font-weight value of 100 more or less than their inherited font-weight.
probably doesn't fully fulfill this issue, https://github.com/twbs/bootstrap/issues/23969 , but it's a start
* Update .stylelintrc
* add 'lighter' and 'bolder' variables per @mdo 's request.
2018-07-24 17:23:17 -07:00
Mark Otto
3b55873438
Ship v4.1.3
2018-07-24 08:54:34 -07:00
Martijn Cuppens
c74a32703a
Allow background images for active buttons
2018-07-20 19:25:01 -05:00
Mohammad Younes
6cca02f163
fix .modal-dialog-centered
on IE10/11
2018-07-20 19:04:23 -05:00
Joshua David
c04d60b88f
Fix modal overflow style nesting ( #26742 )
...
Nest `.modal` styling directly under `.modal-open`
to avoid issues when bootstrap is nested.
2018-07-20 18:55:16 -05:00
Martijn Cuppens
6f52b2eafa
#26912 : fix custom file input z-index
2018-07-20 18:31:47 -05:00
ysds
c45e5594b7
Fix property order
2018-07-20 18:28:09 -05:00
ysds
900775483f
Remove :not(:root)
from the workaround for SVG overflow bug
...
* `svg:not(:root)` specificity is very high (https://github.com/necolas/normalize.css/issues/718 )
* Bootstrap do not support SVG documents (See #26878 )
2018-07-20 18:28:09 -05:00
ysds
d7acc977ef
Lower the specificity of vertical-align of SVG
2018-07-20 18:28:09 -05:00
Mark Otto
3cfa06004e
Add Noto Color Emoji to font stack
...
Fixes #26227
2018-07-20 18:24:14 -05:00
Mark Otto
4693672cff
Update validation tooltips to use tooltip vars ( #26887 )
...
Updates the properties and values for which we have existing variables to match our tooltips. Come 4.2, we'll create new tooltips for these.
2018-07-20 18:21:40 -05:00
Lefteris Psitopoulos
9bfd400527
#25842 Remove max-width from table class
2018-07-15 14:06:33 -07:00
Mark Otto
f426a67394
Form control heights ( #26820 )
...
* Redo input height on .form-control
- Use the already present -height variables on .form-control
- Consolidate the select size and multiple overrides into the .form-control base class instead of sm/lg modifiers
- Remove the Sass extends from input groups since it picks up too many selectors
* Prevent height on textareas
2018-07-15 14:00:23 -07:00
ysds
48c723b60f
Fix custom range thumb style ( #26385 )
...
* Fix focus box shadow of custom ranges
* Put `:focus` selector right after `.custom-range`
* Remove unnecessary `outline: none`
* Fix box-shadow issues in IE/Edge
* Better align
* Fix thumb vertical positions in IE/Edge
* Fix incorrect formula of thumb vertical positions in Webkit
* Fix an incorrect comment
* Fix incorrect box-shadow-width
2018-07-14 21:31:20 -07:00
Andrew Luca
0fd40837e8
Fix custom-forms
heights and position ( #25602 )
...
Now `.custom-control` will have height equal to `$font-size-base`
Fix custom checkbox and radio top position (we can't subtract rem from unit)
`$line-height-base - $custom-control-indicator-size` is not valid
Because `$line-height-base` is a unitless variable and `$custom-control-indicator-size`
is a unit (rem) variable
2018-07-14 21:29:19 -07:00
Mark Otto
2d8422f5f5
fixes #26579
2018-07-14 21:10:45 -07:00
Mark Otto
c4ccfbe04e
Ship v4.1.2
2018-07-12 09:27:14 -07:00
Andrew
abb4868626
correct spelling errors ( #26837 )
2018-07-09 17:59:22 -07:00
Mark Otto
5495a19b5a
disable to fix ci
2018-07-08 18:43:40 -07:00
Mark Otto
7e96979cea
fix comment placement, remove unecessary prop wrapper
2018-07-08 17:29:01 -07:00
Mark Otto
f6b4945f1e
Merge branch 'patch-1' of https://github.com/garhbod/bootstrap into garhbod-patch-1
2018-07-08 16:46:44 -07:00
Mark Otto
8d8d3ef82a
Restore feedback icons on validated form fields
...
- Only applies to textual inputs and textareas with `.form-control` and selects with `.custom-select`
- Wrap the feedback icons in a Sass variable option, $enable-validation-icons, so folks who theme can disable
- Update docs to summarize styles, mention the icons, include a textarea demo, and add mention of the Sass variable option to the Theming section
2018-07-08 15:31:18 -07:00
Mark Otto
5ad1049622
Merge branch 'v4-dev' of https://github.com/malkomich/bootstrap into malkomich-v4-dev
2018-07-07 16:16:43 -07:00
Mark Otto
d78aac01d6
Update box-shadows on .custom-select ( #26754 )
...
- Fixes #25656 where custom selects had the wrong focus shadow
- Fixes #26668 where custom selects had no inset shadow (also closes #26572 which had the wrong form classes on the first example anyway)
2018-06-24 13:07:49 -07:00
Martijn Cuppens
d61e3badfd
Render inline svg like img ( #25874 )
2018-06-24 12:01:11 -07:00
Ryan Worth
a2920149f4
Negative Margins classes for custom col gutters
...
Feature request #26681
2018-06-07 16:39:58 +10:00
Patrick H. Lauke
4f1bb98587
Limit .close hover/focus to non-disabled controls ( #26654 )
2018-06-03 18:25:17 +01:00