ysds
ccc95d0c96
Reduce custom file z-index ( #24633 )
2017-11-06 15:58:28 -08:00
Patrick Yeo
c2a7a2c41d
Nav Tabs use single variable to style $nav-tabs-link-hover-border-color
and $nav-tabs-link-active-border-color
( #24639 )
2017-11-06 13:35:52 -08:00
Patrick Yeo
e2c15da967
Move hardcoded opacity value in .btn:disabled
to variable $btn-disabled-opacity
( #24680 )
2017-11-06 13:34:42 -08:00
Mark Otto
bb53b32585
fixes #24553 : override border-color on focus of custom select with form validation ( #24695 )
2017-11-06 12:04:56 -08:00
Mark Otto
a8aaccbd4d
Restore .progress-bar transition ( #24694 )
...
Unintentionally removed in #22703 . Fixes #24643 .
2017-11-06 12:02:42 -08:00
Gijs Boddeus
bfbf24e7a5
fixing label cutoff at 0% ( #24544 )
2017-11-06 09:57:25 -08:00
Andres Galante
058123440f
Convert px values to rem on tooltip variables ( #23468 )
...
* converts px valures to rem on tooltip variables
* keep as px to match popover changes
2017-11-06 09:29:12 -08:00
Andres Galante
b931070bd7
changes list-inline-padding from 5px to .5rem
2017-11-06 09:28:29 -08:00
XhmikosR
34d745540d
Minor Sass consistency changes. ( #24677 )
...
* use `background-color` instead of the shorthand
* use `outline: 0` consistently
* fix transform order
* remove quotes from `SFMono-Regular`
2017-11-06 02:23:36 +02:00
Andres Galante
9244974064
Convert modal's px units to rem ( #23782 )
2017-11-02 02:23:51 +02:00
Andres Galante
1870b871d0
adds variables for the hr element margin
2017-10-30 13:11:47 -07:00
Andres Galante
904f22c94f
changes colors references on variables.scss from hardcoded to variables on the theme
2017-10-30 13:10:52 -07:00
Johann-S
e454c8ec1e
Add dropright and dropleft (right and left placements for our dropdown) ( #23860 )
...
* Add dropright (right placement for our dropdown)
* Add dropleft
* moves drop left arrow to the left
2017-10-29 15:29:13 -07:00
Mark Otto
b1623c4429
Add .modal-dialog-centered
for optional vertically centered modal ( #24510 )
...
* Add .modal-dialog-centered for optional vertically cenetered modal
Fixes #23638
* adds modal-dialog-centered class to docs and removes margin to avoid generating a vertical scrolling
* mention limitations
* fix aria attr
* Add `width: 100%` to the .modal-content for the centered version. Adding it here to avoid adding another selector by limiting it to the centered modal modifier.
2017-10-29 15:14:10 -07:00
Mark Otto
63947ee94e
Add fallback border-radius to .btn ( #24505 )
...
Fixes #24503 by manually calling the border-radius instead of using the mixin.
2017-10-28 22:42:09 -07:00
Mark Otto
380c920f1c
fixes #24574
2017-10-27 20:35:33 -07:00
Mark Otto
af9df8c308
update new focus and shadow properties to use vars
2017-10-25 12:30:29 -07:00
Mark Otto
04b32db845
Merge branch 'btn_input_split_variables' of https://github.com/isychev/bootstrap into isychev-btn_input_split_variables
2017-10-22 19:59:20 -07:00
Mark Otto
5dae7f0449
edit code comments
2017-10-22 19:56:49 -07:00
Mark Otto
7b7c10aae8
Replace some border-radius properties for the mixin, closes #23872
2017-10-22 19:43:35 -07:00
Mark Otto
2f90be3150
Merge branch 'input-group-custom-forms' into v4-dev
2017-10-22 19:39:47 -07:00
Mark Otto
0231bd9436
Update _variables.scss
2017-10-22 14:30:35 -07:00
Mark Otto
1f42d79561
Merge branch 'v4-dev' into btn_input_split_variables
2017-10-22 14:26:49 -07:00
XhmikosR
52d99a887e
Refactor a few selectors. ( #24404 )
...
1. move a couple of them before the more specific ones.
2. change nesting to be under the same parent selector
3. use the ampersand more
2017-10-23 00:17:28 +03:00
XhmikosR
29d58fb758
Enable stylelint's function-comma-space-after
. ( #24501 )
...
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-10-23 00:00:00 +03:00
José Francisco
502d6b2579
Add variable to configure the $dropdown-border-radius
. ( #24376 )
2017-10-22 13:47:31 -07:00
Mark Otto
b61de52e62
match property order
2017-10-22 23:31:53 +03:00
Andres Galante
d38f08fcdc
adds animation to color on outlined btns
2017-10-22 23:31:53 +03:00
Mark Otto
bf2fee9035
add vars for yiq color contrast function
2017-10-22 12:56:06 -07:00
Eugene Kopyov
0a82cd9f3c
Fix for right padding in dismissible alerts ( #24481 )
...
* Fix for right padding in dismissible alerts
* Removed extra whitespace
* Update _alert.scss
* Update _alert.scss
2017-10-22 12:54:32 -07:00
Mark Otto
4bd4ff1130
fix custom file input too
2017-10-22 12:37:45 -07:00
Mark Otto
cd4cd7fbe8
match space after comma, darken invalid/valid bg color on custom checks
2017-10-22 12:35:13 -07:00
Mark Otto
5e4964ccb8
use rgba() so it's not at full opacity
2017-10-22 12:34:47 -07:00
Mark Otto
1b1c768ef6
Merge branch 'custom-checkboxes-radios-correct-color' of https://github.com/sabrown84/bootstrap into sabrown84-custom-checkboxes-radios-correct-color
2017-10-22 12:26:26 -07:00
XhmikosR
dc39082ad7
Remove thumbnail-transition
from .img-thumbnail
.
...
We don't change anything so the transition is basically unused.
2017-10-22 12:23:40 -07:00
Gijs Boddeus
7bb82a5fb1
match width behaviour of form-control to form-control-plaintext ( #24486 )
2017-10-22 12:19:11 -07:00
Gijs Boddeus
6824f71795
fix card group border radii ( #24491 )
2017-10-22 12:18:03 -07:00
Gijs Boddeus
2564931165
fix vertical input button group margin ( #24498 )
...
* add margin-bottom to .btn of a vertical button group
* match margins of radio/checkbox buttons in a btn-group to the actual buttons
* add comment
2017-10-22 12:17:22 -07:00
Mark Otto
1083e49bbe
really fix indentation, reorder
2017-10-21 20:57:19 -07:00
Mark Otto
7eb8c54858
use vars, fix indentation
2017-10-21 20:55:01 -07:00
Sharrell Porter
809ce6d6ef
Sass correction
2017-10-20 07:23:48 -04:00
Sharrell Porter
4f814fabd6
sync-commits erge branch 'v4-dev' into custom-checkboxes-radios-correct-color
2017-10-20 07:12:39 -04:00
Andres Galante
a89187f94d
Remove margin from pre in code.scss since it's already set in reboot ( #24366 )
2017-10-20 10:33:56 +03:00
rmacklin
9e6dabbb10
Reduce z-indexes in button-group, input-group, list-group, and pagination to the minimum necessary ( #24315 )
...
These were using `z-index: 2` to "Place active items above their
siblings for proper border styling". However, using `z-index: 1` is
sufficient for accomplishing that goal.
In input-group, there were also three `z-index: 3` rules for the
hover/focus/active states. I reduced these to `z-index: 2` since they
just needed to be "one more than normal" (i.e. one more than what is now
`z-index: 1` after my changes).
These changes can be verified by viewing the documentation pages for
Button group, Input group, List group, and Pagination before and after
this commit and observing that the active elements are still "above"
their siblings, so their borders look correct.
2017-10-20 10:01:29 +03:00
Mark Otto
35317a4331
Remove background-image: none; on .form-control ( #24454 )
...
As the diff shows, this was for a Firefox Android issue that's since been fixed.
Closes #23817 .
2017-10-20 09:56:43 +03:00
Mark Otto
34a1e45400
Add input group support for custom selects and custom files
...
Closes #24437 , closes #22457
2017-10-19 23:22:06 -07:00
Mark Otto
dbf5405cfd
fix version number
2017-10-19 12:23:29 -07:00
Mark Otto
cf00548f4e
new version number
2017-10-19 12:23:29 -07:00
Mark Otto
06641ca0b3
Gradients and shadows ( #24429 )
...
* Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency
* - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables.
- Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow`
variables with unified `$input-btn-focus-box-shadow` to match our
combined variables approach elsewhere.
* Put new focus width var to use in buttons mixins
* use new button input-box shadow var
* Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true
* use correct var
* fix focus shadows in button mixins
* Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items
* Generate .bg-gradient- utilities
* add headings to colors page and document bg-gradient utils
* update the button color for active status, check with yiq as it's done for basic state and hover state
2017-10-19 09:03:33 -07:00
XhmikosR
d4e7090c2d
Reindent _variables.scss. ( #24428 )
2017-10-19 08:16:38 -07:00
Mark Otto
f51440da22
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-10-19 00:14:27 -07:00
Mark Otto
521aa875e7
fix functions, lighter colors on active
2017-10-19 00:13:38 -07:00
Mark Otto
9501ed8725
Merge branch 'btn-active' of https://github.com/andresgalante/bootstrap into andresgalante-btn-active
2017-10-19 00:11:36 -07:00
i.sychev
58e553d7bc
append btn-* and input-* variables and extends their from input-btn-* variables
2017-10-19 10:05:07 +03:00
Andres Galante
bee20c04e8
Move theme variables outside of the theme map. ( #23918 )
2017-10-19 09:05:00 +03:00
Dylan Seago
a62ced0e0b
Rename navbar height variables to reflect their value ( #24161 )
2017-10-18 19:51:45 -07:00
Mark Otto
d94fec94b2
Increase headings-line-height from 1.1 to 1.2 ( #24423 )
...
This way, descenders are not cropped when truncating. Fixes #23956 .
2017-10-18 19:48:35 -07:00
tillmon
0aa8cbee76
Set font-sizes relative to font-size-base ( #24060 )
...
* font-sizes relative to font-size-base
* ditch $heading-font-size-base, simplify
* apply same to .lead var
* also update progress bar font-size var
2017-10-18 19:44:13 -07:00
Andres Galante
008e0b5b68
Improves forms migration guide, docs, and scss ( #24348 )
...
* fixes migration forms guides
* removes container from Horizontal form
* adds col-form-label sizes on form docs
* removes .form-control-label from forms.scss
* add note to migration
2017-10-18 10:11:35 -07:00
Mark Otto
2e4240b9ab
mention forked from normalize
2017-10-18 09:28:41 -07:00
Mark Otto
85fd22bd47
Revert #23108 to restore list group borders ( #24411 )
...
* revert #23108 , which had no bug but was a problem with the example code
* add example to the docs for future proofing
* move it up
2017-10-17 22:05:01 -07:00
Mark Otto
dd9d5cb8de
Add copyright and license headers to grid and reboot files
...
Fixes #24311
2017-10-17 22:04:34 -07:00
Andres Galante
e756b667d2
changes popovers from px to rem
2017-10-17 20:07:11 -07:00
Sharrell Porter
77ea66da4d
matching-branch
...
Merge branch 'custom-checkboxes-radios-correct-color' of github.com:sabrown84/bootstrap into custom-checkboxes-radios-correct-color
2017-10-16 18:26:52 -04:00
Sharrell Porter
e9c6656004
correcting color
2017-10-16 16:57:13 -04:00
Gijs Boddeus
98778164e0
Merge branch 'v4-dev' into yiq-function-update
2017-10-15 11:55:02 +02:00
Gleb Mazovetskiy
a9fa21e701
Escape SassScript in custom variable values ( #24354 )
...
This is required for Sass v3.5+ compatibility.
See https://github.com/sass/sass/blob/stable/doc-src/SASS_CHANGELOG.md#backwards-incompatibilities----must-read and https://github.com/sass/sass/issues/2383
2017-10-14 08:29:43 +01:00
Andres Galante
776188ad73
Add border radius to an image when it's the only card of a card group ( #24321 )
2017-10-11 01:18:56 +03:00
XhmikosR
f7acb278e2
Refactor a few selectors so that the least specific ones are first. ( #24310 )
2017-10-10 16:46:43 +03:00
XhmikosR
64c944bca8
Use $white
variable for .navbar-dark
's color. ( #24309 )
...
Using `rgba($white,1)` results in `white` instead of the hex.
2017-10-10 08:58:35 +03:00
Prateek Goel
de3973b5e7
Ensure active button styles are not applied to disabled buttons
2017-10-09 18:32:48 -04:00
Gisete Kindahl
bab3246a1d
Centered SVG icon within its own container ( #24292 )
2017-10-09 10:37:46 -03:00
XhmikosR
ebc82db8ef
Enable stylelint's no-duplicate-selectors rule.
2017-10-07 00:11:40 +03:00
XhmikosR
8767338669
Reindent _variables.scss.
...
Now it's more consistent.
Also switch to numeric values for font-weight.
2017-10-07 00:11:40 +03:00
XhmikosR
7e149e20a9
Enable stylelint for _reboot.scss.
2017-10-07 00:11:40 +03:00
Mark Otto
8fccaa2439
formatting
2017-10-05 09:42:17 +03:00
XhmikosR
91b219d5e6
Add comment where we explicitly use flex: 1 0 0%;
.
2017-10-05 09:42:17 +03:00
XhmikosR
219ba7f2ea
make-col-offset: Remove percentage if it's zero.
2017-10-05 09:42:17 +03:00
Gijs Boddeus
8f483dc432
Merge branch 'v4-dev' into yiq-function-update
2017-10-05 08:38:59 +02:00
Johann-S
b9c4a5cde2
Fix dropup in bottom navbar for all the breakpoints
2017-10-04 16:22:55 +02:00
Gijs Boddeus
cefc68d464
fix travis error
2017-10-04 11:29:38 +02:00
Gijs Boddeus
3d5b1c004a
Merge branch 'v4-dev' into yiq-function-update
2017-10-04 11:03:20 +02:00
Gijs Boddeus
df6a8f7d81
revert 1db5082
2017-10-04 10:57:02 +02:00
Johann-S
a9e7abd29b
Fix caret position for Dropdown in a bottom navbar
2017-10-04 10:32:32 +02:00
Johann-S
b6988714a1
Fix dropup in navbar
2017-10-04 10:32:32 +02:00
Gijs Boddeus
1db5082c3f
rearrange properties in _borders.scss mixins
2017-10-04 08:52:48 +02:00
Gijs Boddeus
263190305e
Merge branch 'v4-dev' into yiq-function-update
2017-10-04 08:46:03 +02:00
Simon Knox
e731353aac
Use variable for heading margin bottom in reboot
2017-10-03 22:18:48 -07:00
Mark Otto
89970da349
Update input-btn-line-height vars to reassign global sm/lg vars
2017-10-02 21:40:45 -07:00
Mark Otto
4149cb2d17
Update input/button padding to fix cutoff text in Windows Chrome
2017-10-02 21:40:45 -07:00
Trent Clowater
7a7589ffc2
Fix media-breakpoint-between ( #23997 )
...
* Fix media-breakpoint-between
When compiling .scss that uses media-breakpoint between with xs as the lower bound or xl as the upper bound, a compilation error can occur due to $min/$max being set to null, or the resulting .css can be invalid (see issue #23965 ).
(This is basically the same fix that was applied to media-breakpoint-only a short time ago).
* Update _breakpoints.scss
Make houndci-bot recommended changes.
2017-10-02 21:38:59 -07:00
Patrick Yeo
ac69547314
Badges add Sass variable to configure $badge-border-radius
( #24213 )
2017-10-02 21:11:11 -07:00
Lodder
bd858f0ceb
Fix custom-select with "multiple" attribute ( #23055 )
2017-10-02 21:00:57 -07:00
Mark Otto
e626277c73
Merge branch 'dropdown-caret' of https://github.com/pat270/bootstrap into v4-dev
2017-10-02 20:51:14 -07:00
Patrick Yeo
9ee2fbe580
Nav Pills with open dropdown don't reflect the nav-pills active state. The active state should also be reflected when using collapse plugin inside nav-pills.
2017-10-02 20:48:05 -07:00
Mark Otto
864c657488
Fix buttons that come after the input (input should be under the button)
2017-10-02 20:47:15 -07:00
Patrick Yeo
bf01f27554
First child of input group segmented buttons are off by -btn-border-width
2017-10-02 20:47:15 -07:00
Patrick Yeo
728f579286
Form Validation .valid-feedback
and .valid-tooltip
are unstyled ( #23527 )
2017-10-02 20:37:28 -07:00
XhmikosR
7b766e1ad5
Switch to stylelint. ( #23572 )
2017-10-02 20:34:56 -07:00
Andres Galante
b26eabf2a3
adds a border radius to modal headers ( #23799 )
2017-10-02 18:59:50 -07:00