Commit Graph

1714 Commits

Author SHA1 Message Date
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
Paweł Kuna
c86833b3d0 add display table-cell (#24004) 2017-10-02 18:57:30 -07:00
Andres Galante
906db62ee2 removes border radius from btn-link (#24128) 2017-10-02 18:56:50 -07:00
Luke Frake
c2fb64ce37 Add order first to grid (#24202)
* Add first class to grid framework to add negative ordering

* Add order-first explination to the docs
2017-10-02 18:56:13 -07:00
vsn4ik
b2cadc233e Remove duplicated code in .card-header 2017-10-02 18:55:05 -07:00
Mark Otto
6cdcfe6b33 Opaque input borders (#24198) 2017-10-02 14:19:13 -07:00
Mark Otto
8fb48eaae2 Revert input group border changes (#24197)
Turns out #22612 is a bad idea and it makes all sorts of weird visual
glitches when working with form controls and transparent borders.
2017-10-02 14:18:33 -07:00
wojtask9
9145cc8279 fix .col-form-label paddings and add line-height (#23121) 2017-10-02 10:15:32 -07:00
Andres Galante
2430151865 fixes input group btn height (#23810) 2017-10-02 10:13:09 -07:00
Andres Galante
acf76a4513 fixes navbar-text link colors (#23702) 2017-10-02 10:11:11 -07:00
Félix Saparelli
67d7e26e05 Generate CSS variables for colors, breakpoints, fonts (#23761)
* Generate CSS variables

See #23349
Supersedes #23446

* Ignore _root.scss for linting
2017-10-01 21:00:24 -07:00
Chirag Modi
487e5f8b82 remove Dist fils as per suggestion (#23092) 2017-10-01 17:59:26 -07:00
Chirag Modi
deced1bf4d Fix #23013: Add boder-top:0 in .list-group-flush .list-group-item (#23108) 2017-10-01 17:23:31 -07:00
Chirag Modi
3ff2a2781f fixed issue with hr tag mention in 23032 (#23078) 2017-10-01 16:53:16 -07:00
Andres Galante
3624025a3b extends the click area of the close btn on modals (#23783) 2017-10-01 09:42:24 +03:00
Andres Galante
bbb6ab1275 changes reset for mixin list reset on pagination 2017-09-30 23:36:30 -07:00
Andres Galante
f02f545e0e changes the order of the close btn on alerts to improve accecibility 2017-09-30 23:32:39 -07:00
Ari Rizzitano
136c49a13f Remove dropdown anchor focus override
Overriding the focus outline for links within the dropdown menu
causes accessibility issues for keyboard-only users. This
removes the override, reenabling the browser's default focus
outline.
2017-09-30 14:19:00 -07:00
Mark Otto
27a015ba15 Reset button element border-radius in Reboot (#24126) 2017-09-27 17:01:00 +03:00
Martijn Cuppens
1d6a6c2abf Add quotes to mapping keys (#23701) 2017-09-27 11:00:42 +03:00
Benjamin Trenkle
7fa20188f2 Remove border-top if list-group follows card-header (#23022) 2017-09-27 10:57:39 +03:00
Prateek Goel
0e054fb9c8 Add style for non-overlapping scrollbar in IE (#24081) 2017-09-26 22:44:00 +03:00
Andrew Luca
dfc946b777 Update comment for forms mixins (#24050)
Check `form-control-focus` mixin, variable name is `$input-focus-border-color`
2017-09-26 18:14:52 +03:00
XhmikosR
c090c79a70 Merge branch 'v4-dev' into btn-active 2017-09-26 17:46:16 +03:00
Andres Galante
71c06b75c6 Fixes rounded corners on first and lat child on vertical btn group (#24119) 2017-09-26 16:51:27 +03:00
XhmikosR
31c8721913 Normalize all links. (#24109)
* use a trailing slash when possible
* use https when possible
* remove a few redirected links
* consistently use `https://popper.js.org/`
* fix `iconUrl` in nuget files
* change Jekyll Windows guide to the official one
2017-09-26 15:24:14 +03:00
schwastek
17fd2c9f84 Improve theme-color-level() using abs() (#24074)
`abs()` gets the absolute value of `$level`.
That way, `if/else` statement can be completely eliminated.
2017-09-26 15:05:59 +03:00
SpicyDwarf
272745673e Fix no rounded corners if there is only one card in a card-group (#24080) 2017-09-26 00:11:32 +03:00
XhmikosR
5cec8e0de6 Minor Sass cleanup and consistency changes. (#23959) 2017-09-17 08:18:24 +03:00
gijsbotje
cc092272ee modified the yiq to to an actual function
function only returns a value, not the attribute itself
updated every use of the former mixin to use the new function
2017-09-13 17:32:44 +02:00
Andres Galante
5becfa6fb1 fixes #23926 responsive state on navbar 2017-09-12 21:41:15 -03:00
Martijn Cuppens
0ccb1e8d9a Fix navbar IE (#23652) 2017-09-12 11:32:43 +03:00
Andres Galante
8e56145e45 changes active state color 2017-09-11 00:53:40 -03:00
Andres Galante
aa5e97da04 adds missing important on utility classs 2017-09-09 17:01:15 -07:00
Andres Galante
782ee6f60e Removes background from form-control-plaintext 2017-09-06 21:02:57 +01:00
Andres Galante
bd8ab1070b changes floats to flex on breadcrumbs (#23683) 2017-09-04 15:36:12 -07:00
Ben Hayward
6c402a6c7c Add correct button-variant mixin hover color (#23657) 2017-09-04 15:34:10 -07:00
Svyatoslav Polishchuk
70ca04bbdc replaced basic line-heights variable with button's line-heights variable for button size classes 2017-08-22 11:08:22 -07:00
Patrick H. Lauke
6ca451ebf8 Add pointer-events declarations
make outer `.modal-dialog` pass through events for custom click
handling, counteract it for the actual `.modal-content`
2017-08-22 10:54:12 -07:00
Patrick Yeo
c1865b4563 Add momentum scrolling on responsive tables for webkit touch devices 2017-08-22 10:47:52 -07:00
Patrick Yeo
f66fa3fa2b Generate series of .table-responsive-* classes to accomodate overflowing tables in a variety of screen sizes 2017-08-22 10:47:52 -07:00
Patrick Yeo
f7eb3c98b2 .thead-dark and .thead-light border color should display the right border color 2017-08-21 18:20:14 -07:00
Patrick Yeo
3bf3bdf420 Rename .table-inverse, .thead-inverse, .thead-default to .table-dark, .thead-dark, .thead-light respectively 2017-08-21 18:20:14 -07:00
Patrick Yeo
0759427935 (#22414) Rename variables $table-inverse-bg, $table-inverse-accent-bg, $table-inverse-hover-bg, $table-inverse-border-color, $table-inverse-color to $table-dark-bg, $table-dark-accent-bg, $table-dark-hover-bg, $table-dark-border-color, $table-dark-color for consistency 2017-08-21 18:20:14 -07:00
Patrick H. Lauke
6b6f45ad67 Exclude input type=range from touch-action:manipulation 2017-08-21 22:45:11 +01:00
Mark Otto
bd3ca58c08 Rename grayscale function to gray 2017-08-21 13:55:25 -07:00
Mark Otto
22f6ee52f0 remove commented out code, fixes #23530 2017-08-20 14:06:05 -07:00
Mark Otto
26e6d8b2b2 drop the now unused -color variable 2017-08-20 13:36:16 -07:00
Mark Otto
c0434f69f4 Merge branch 'fix/badge-default-colors' of https://github.com/jonwolski/bootstrap into jonwolski-fix/badge-default-colors 2017-08-20 13:35:06 -07:00
Mark Otto
834ee9b433 Simplify selector and only override what we set
1. Instead of having two selectors, we use the `.list-group-item` class and have coverage for list items and anchors.
2. Rather than override all border values, we only override what we set with `border-top`.
2017-08-20 12:21:24 -07:00
gijsbotje
bb32e91154 added suggested fix for list-groups with a elements 2017-08-20 12:21:24 -07:00
gijsbotje
2ba0127c91 fixes double border when .list-group.list-group-flush is preceded by .card-header 2017-08-20 12:21:24 -07:00
Alex Chegodaev
1da730c67f added @content directive to media-breakpoint-only mixin for min and max cases 2017-08-20 11:46:55 -07:00
Mark Otto
c4b3d81887 Drop the variables file table of contents and update the comment at the top
I never use this dang list and it just falls out of date far too easily. Dropping for my own sanity.
2017-08-20 11:42:19 -07:00
gijsbotje
6fc9dde727 equalize height of the first card of the card-group 2017-08-20 11:41:16 -07:00
Mark Otto
fd8c052c67 Restore grid offset classes
Fixes #23360 by restoring just the offset class generation to our grid
framework mixins. Also restores the `make-col-offset` mixin.

Docs have been restored to illustrate this behavior and merged with the
newer margin utilities examples.
2017-08-20 11:17:48 -07:00
Jon Wolski
f07d870381
Remove color property from badge class
I suggest removing `color: #FFF` from the `badge` class, because it is
provided by the `badge-<modifier>` classes along with a
background-color, whereas there is no corresponding background-color
provided on the `badge` class itself.

Background
----------

According to the documentation:

> [badge] Requires one of the contextual, color modifier classes for `color` and
> `background-color`.

That is, color and background color should be provided by a modifier
class, rather than the badge class itself.

e.g. `<span class='badge badge-primary'>4</span>`

In general, providing a `color` property without also providing a
`background-color` should be avoided. [W3 QA tips]

In this context, this is a problem only if someone creates a `badge`
without providing a modifier. Such an omition may be difficult to trouble-shoot,
because this will most likely yield white text on a white background.

[W3 QA tips](https://www.w3.org/QA/Tips/color)
2017-08-18 09:35:00 -05:00
Mark Otto
5b8738afc1 Fix .btn-outline-light hover color
Uses some if/else action to ensure there's readable text on hover. Swapped out a hex value to a variable while I was in there.

Fixes #23398, fixes #23351.
2017-08-14 21:07:35 -07:00
Mark Otto
a80198db4d De-dupe width on .fluid-container (#23402)
Fixes #23397
2017-08-14 18:11:44 -07:00
Andres Galante
77777b388d Adds a default flag to paragraph-margin-bottom (#23420) 2017-08-14 18:09:44 -07:00
Jacob Müller
63909cacb1 Remove remaining v4 alpha references (#23414)
* Remove remaining references to v4 Alpha

This commit removes the remaining refrences to the v4 Alpha website and replaces them with the
corresponding v4 Beta ones.

**Note:** We have to hard code the current docs version at some places. Wouldn't it be good to have a `/docs/latest/` redirect to solve this "issue" in the future?

* Don't update the domain in the CNAME file
2017-08-14 18:08:31 -07:00
Jurre
d3f09ff3ea Removed comment (#23415)
There is no _custom.scss file anymore.
2017-08-14 18:07:44 -07:00
Andres Galante
1cfbc2c62d changes 1px to border-width variable on cards 2017-08-14 14:02:16 -07:00
Patrick Yeo
e6042e6f44 Add option to disable carets on dropdowns through $enable-caret 2017-08-14 09:10:17 -07:00
Tomáš Kout
453a5fa033 Move the gap between inline checkboxes to right (#22607) 2017-08-13 14:58:47 -07:00
Mark Otto
0bc39aa30a Use empty Sass map and merge into it for easier customization of color maps (#23260) 2017-08-13 14:56:30 -07:00
Mark Otto
cd22eb1da0 Button code cleanup (#22951)
* use a mixin there
* revamp .btn-link to match default and outline variants
* remove unnecessary properties
2017-08-13 14:55:28 -07:00
Mark Otto
bb0cab9f10 move max-width: 100% on .container to the root of the make-container mixin so it's not repeated at compilation (#22947) 2017-08-13 14:54:57 -07:00
Mark Otto
54d76805a5 Redo .card-deck and .card-group so they're always flex (#22860) 2017-08-13 14:53:24 -07:00
Mark Otto
bde9c64ca9 Apply the invalid/valid state to the class name 2017-08-12 18:24:49 -07:00
Patrick Yeo
80cf395e4d Remove vertical-align: middle from .input-group-addon and .input-group-btn left over from V3 2017-08-12 18:22:48 -07:00
Patrick Yeo
02ae73fc0f Apply align-items: center; to .input-group instead of input group sub components, causes .input-group .form-control and .input-group-addon to be large when next to a tall element 2017-08-12 18:22:48 -07:00
razh
9d988de054 Remove extra spaces from spacing utilities (#23337) 2017-08-12 09:11:41 +03:00
Patrick Yeo
34257d25a5 Pagination border-widths greater than 1px cause uneven borders between items 2017-08-10 23:24:37 -07:00
Patrick Yeo
a0521efbb5 Input Group Addon add option to configure $input-group-addon-color 2017-08-10 23:11:18 -07:00
Prateek Goel
7b66aeb2f6 Fix to Chrome inheritance bug (#22872) (#23118)
* Fix to Chrome inheritance bug (#22872)

* Remove box-sizing from html

box-sizing removed from html and order of wild card selected and html selector swapped to maintain correctness of comments.
2017-08-10 23:05:32 -07:00
Patrick Yeo
ffa789327b Custom File padding-x and padding-y values are reversed (#23067)
Custom File `$custom-file-focus-box-shadow` should show even if box shadows are disabled

Custom File variables should inherit from inputs
2017-08-10 23:01:52 -07:00
Prateek Goel
7c452ac607 Add margin variable for paragraphs (#23140) 2017-08-10 23:00:01 -07:00
Prateek Goel
9497c2164c Add margin variable for breadcrumb (#23138)
* add margin variable for breadcrumb

* add margin variable for breadcrumb correction

* breadcrumb margin variable changes after review
2017-08-10 22:59:21 -07:00
Patrick Yeo
c5903ddfd6 $input-height-inner-lg should use $font-size-lg instead of $font-size-sm (#23150) 2017-08-10 22:58:40 -07:00