aboutsummaryrefslogtreecommitdiff
path: root/scss/_card.scss
AgeCommit message (Collapse)AuthorFilesLines
2023-01-01Fix cards color for contextual color modeJulien Déramond1-0/+1
2022-10-30Add support for customising a card title color (#36979)Mitchell Cash1-0/+4
* Add support for customising a card title color * Group `*card-title-*` variables together * Add support for customising a card subtitle color Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-03-28Train PR: CSS variables for accordion, cards, navs, and modals (#36071)Mark Otto1-37/+55
* Convert accordion to CSS vars * Update accordion.md * Convert navs to CSS variables * Split up CSS vars * bundlewatch * fix vars * Convert cards to CSS vars * Convert modals to CSS variables * Bundlewatch Co-authored-by: Geremia Taglialatela <[email protected]>
2021-07-28Make text decoration consistent with other anchors (#34475)Andrew Pucci1-1/+1
Fixes #34474 Co-authored-by: XhmikosR <[email protected]>
2021-07-08Add null `$card-box-shadow` variable (#34440)Mark Otto1-0/+1
Fixes #34421 Co-authored-by: XhmikosR <[email protected]>
2021-06-14Replace `/` division with multiplication and custom `divide()` function (#34245)Mark Otto1-5/+5
* Convert bulk of division to multiplication * Use custom divide() function instead of Dart Sass math module for greater compatibility * Apply suggestions from code review * Fix functions
2021-02-22fix(card): siblings card links in RTL (#33154)Gaël Poupard1-1/+1
Fixes a bug mentionned in [#32330](https://github.com/twbs/bootstrap/issues/32330#issuecomment-782001326). Co-authored-by: XhmikosR <[email protected]>
2020-12-04feat(RTL): implement RTLGaël Poupard1-3/+3
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-11-06Add dedicated accordion component based on Collapse JSMark Otto1-27/+0
2020-09-28Update stylelint to v13.7.2 (#31726)XhmikosR1-4/+4
2020-07-21Turn off scroll anchoring for accordions (#31346)Patrick H. Lauke1-0/+2
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-05-15v5: Add border-radius to .card-img-overlay (#30817)Mark Otto1-0/+1
Allows use of background-color and more. Fixes #29033 for v5. Co-authored-by: XhmikosR <[email protected]>
2020-05-14Simplify list-group borders in cards (#30808)Mark Otto1-6/+7
2020-04-06Add `.card-footer` color (#30515)Catalin Zalog1-0/+1
2020-04-02Fix card list group borders & radii (#30497)Martijn Cuppens1-7/+10
2020-03-18Drop IE support from SassMartijn Cuppens1-1/+0
2020-03-18Remove Internet Explorer leftoversXhmikosR1-3/+0
2020-03-10Remove card decks in favor of the gridMartijn Cuppens1-24/+0
2019-12-14Adjust card spacing variables (#29813)Brendan1-10/+10
2019-10-03Fix border for single card in accordion (#29453)Martijn Cuppens1-14/+4
2019-10-03Variable card height (#29462)Martijn Cuppens1-0/+1
2019-09-15Fix incorrect aspect ratio on IE11ysds1-5/+6
2019-09-15Remove redundant propertiesMartijn Cuppens1-8/+2
2019-08-30CleanupMark Otto1-12/+0
- 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-30First pass at .row-cols classesMark Otto1-0/+12
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-07-22Remove card columns in favor of masonry gridMartijn Cuppens1-23/+0
2019-06-04Workaround for the image size bug in IE (#28855)Shohei Yoshida1-0/+3
2019-05-29Modify `.card-header-tabs .nav-link.active` colors (#28833)Shane Parsons1-0/+7
Co-Authored-By: Mark Otto <[email protected]>
2019-05-08Drop all hover mixinsMark Otto1-1/+1
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-02-26Fix border if only one card (#28365)Martijn Cuppens1-1/+1
2019-01-20Make component colors configurable (#28035)Martijn Cuppens1-0/+1
2019-01-20Add ref to reason why `min-width: 0;` is added (#28061)Martijn Cuppens1-1/+1
2019-01-07fix border issue for nested card inside accordions (#27881)Vishnuprasad Venugopal1-1/+1
2018-12-23Simplify card group css (#27901)Martijn Cuppens1-26/+2
2018-12-23Blacklist border-radius property (use mixin instead) (#27900)Martijn Cuppens1-6/+8
2018-12-14Remove redundant brackets (#27768)Martijn Cuppens1-5/+5
2018-10-21Card header color theming (#26573)Andrew Pucci1-0/+1
Define new variable for card header color
2018-10-21Fix for double border on cards in an accordion (#27133)Roy Klutman1-16/+24
2018-04-02Fix broken URI fragments and redirects.XhmikosR1-2/+2
2018-03-31Fix Chrome's rendering of .card-columnsMark Otto1-0/+2
Uses orphans/widows trick from @fran-worley at https://github.com/twbs/bootstrap/issues/20925#issuecomment-333492739. Fixes #20925.
2018-01-02improves accordion stylesAndres Galante1-0/+29
2017-11-16Fix nested cards on card group (#24766)Andres Galante1-3/+6
2017-10-22Replace some border-radius properties for the mixin, closes #23872Mark Otto1-2/+2
2017-10-22fix card group border radii (#24491)Gijs Boddeus1-7/+15
2017-10-11Add border radius to an image when it's the only card of a card group (#24321)Andres Galante1-0/+7
2017-10-10Refactor a few selectors so that the least specific ones are first. (#24310)XhmikosR1-4/+4
2017-10-07Enable stylelint's no-duplicate-selectors rule.XhmikosR1-15/+12
2017-10-05formattingMark Otto1-2/+2
2017-10-05Add comment where we explicitly use `flex: 1 0 0%;`.XhmikosR1-0/+2
2017-10-02Remove duplicated code in .card-headervsn4ik1-4/+0