Mark Otto
6a37612540
Add dedicated accordion component based on Collapse JS
2020-11-06 14:49:41 +02:00
XhmikosR
c30b6df54b
Update stylelint to v13.7.2 ( #31726 )
2020-09-28 14:57:48 +03:00
Patrick H. Lauke
c7bc7a31bb
Turn off scroll anchoring for accordions ( #31346 )
...
New default behavior for scroll anchoring (rolled out in Chrome 84?) leads to unsightly/odd accordion interactions - see #31341
This rule suppresses this new behavior and reverts back to the old way.
See https://drafts.csswg.org/css-scroll-anchoring/
2020-07-21 18:17:28 +01:00
Mark Otto
c794c9df2f
v5: Add border-radius to .card-img-overlay ( #30817 )
...
Allows use of background-color and more. Fixes #29033 for v5.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-15 15:42:31 +03:00
Mark Otto
12a6576f48
Simplify list-group borders in cards ( #30808 )
2020-05-14 19:48:46 +02:00
Catalin Zalog
98ba40dc06
Add .card-footer
color ( #30515 )
2020-04-06 14:59:29 +02:00
Martijn Cuppens
e8e6d64eb0
Fix card list group borders & radii ( #30497 )
2020-04-02 08:10:11 +03:00
Martijn Cuppens
d9e83671ae
Drop IE support from Sass
2020-03-18 20:59:27 +02:00
XhmikosR
018a94c9c1
Remove Internet Explorer leftovers
2020-03-18 20:59:27 +02:00
Martijn Cuppens
66408b6e59
Remove card decks in favor of the grid
2020-03-10 20:30:29 +01:00
Brendan
dcc2ce3587
Adjust card spacing variables ( #29813 )
2019-12-14 14:35:17 +01:00
Martijn Cuppens
393ddae09b
Fix border for single card in accordion ( #29453 )
2019-10-03 09:43:45 +02:00
Martijn Cuppens
03c9788f7a
Variable card height ( #29462 )
2019-10-03 09:21:40 +02:00
ysds
e2a93ec094
Fix incorrect aspect ratio on IE11
2019-09-15 13:38:04 +02:00
Martijn Cuppens
6e63868500
Remove redundant properties
2019-09-15 13:38:04 +02:00
Mark Otto
cc248791b0
Cleanup
...
- Rename and move the variable to variables file
- Move code to the grid file
- Use the mixin to generate our own classes
- Wrap in a grid classes enabled conditional
- Document the mixin
2019-08-30 13:07:27 -07:00
Mark Otto
e2252e0230
First pass at .row-cols classes
...
Trying to find a new way to do responsive card decks while not locking ourselves into the cards themselves. My thinking here is we can easily control the column (.col) width by the parent, but I don't know how many we need (have 0-5 now) across each breakpoint. This works for cards so far, and I think could get us equal height, too.
2019-08-30 13:07:27 -07:00
Martijn Cuppens
b4c4223409
Remove card columns in favor of masonry grid
2019-07-22 16:08:58 +03:00
Shohei Yoshida
d6e0552efe
Workaround for the image size bug in IE ( #28855 )
2019-06-04 10:25:19 +03:00
Shane Parsons
4c70e96b97
Modify .card-header-tabs .nav-link.active
colors ( #28833 )
...
Co-Authored-By: Mark Otto <otto@github.com>
2019-05-29 18:38:36 +02:00
Mark Otto
1d4d9f8d89
Drop all hover mixins
...
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
2019-05-08 20:58:07 +03:00
Martijn Cuppens
bc60a22a18
Fix border if only one card ( #28365 )
2019-02-26 22:06:46 +02:00
Martijn Cuppens
59d040fcbb
Make component colors configurable ( #28035 )
2019-01-20 23:38:29 +02:00
Martijn Cuppens
41f85b64bf
Add ref to reason why min-width: 0;
is added ( #28061 )
2019-01-20 23:23:05 +02:00
Vishnuprasad Venugopal
ea9129c8ae
fix border issue for nested card inside accordions ( #27881 )
2019-01-07 03:06:37 +02:00
Martijn Cuppens
81e35985b8
Simplify card group css ( #27901 )
2018-12-23 09:19:07 +02:00
Martijn Cuppens
39b14c9806
Blacklist border-radius property (use mixin instead) ( #27900 )
2018-12-23 09:11:11 +02:00
Martijn Cuppens
502b6c8ed6
Remove redundant brackets ( #27768 )
2018-12-14 17:54:44 +01:00
Andrew Pucci
d13ae1fc1a
Card header color theming ( #26573 )
...
Define new variable for card header color
2018-10-21 11:05:54 +03:00
Roy Klutman
fccdda5448
Fix for double border on cards in an accordion ( #27133 )
2018-10-21 09:49:05 +03:00
XhmikosR
10c64bdae8
Fix broken URI fragments and redirects.
2018-04-02 19:19:09 +03:00
Mark Otto
474698f41b
Fix Chrome's rendering of .card-columns
...
Uses orphans/widows trick from @fran-worley at https://github.com/twbs/bootstrap/issues/20925#issuecomment-333492739 .
Fixes #20925 .
2018-03-31 22:04:14 -07:00
Andres Galante
c0246e926f
improves accordion styles
2018-01-02 09:46:07 -03:00
Andres Galante
8e4ba117bc
Fix nested cards on card group ( #24766 )
2017-11-16 12:41:48 +02:00
Mark Otto
7b7c10aae8
Replace some border-radius properties for the mixin, closes #23872
2017-10-22 19:43:35 -07:00
Gijs Boddeus
6824f71795
fix card group border radii ( #24491 )
2017-10-22 12:18:03 -07: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
ebc82db8ef
Enable stylelint's no-duplicate-selectors rule.
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
vsn4ik
b2cadc233e
Remove duplicated code in .card-header
2017-10-02 18:55:05 -07:00
Chirag Modi
3ff2a2781f
fixed issue with hr tag mention in 23032 ( #23078 )
2017-10-01 16:53:16 -07:00
Benjamin Trenkle
7fa20188f2
Remove border-top if list-group follows card-header ( #23022 )
2017-09-27 10:57:39 +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
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
gijsbotje
6fc9dde727
equalize height of the first card of the card-group
2017-08-20 11:41:16 -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