aboutsummaryrefslogtreecommitdiff
path: root/scss/_card.scss
AgeCommit message (Collapse)AuthorFilesLines
2021-09-08Replace Sass division with multiplication and custom divide() functionMark Otto1-5/+5
Fixes #34353. Co-Authored-By: Slaven Tomac <[email protected]>
2020-09-30Stylelint: replace deprecated optionsXhmikosR1-4/+4
2020-07-21Turn off scroll anchoring for accordions (#31347)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-06-04v5: Add border-radius to .card-img-overlay (#30817)Mark Otto1-0/+1
Allows use of background-color and more. Fixes #29033 for v5.
2020-06-04Simplify list-group borders in cards (#30808)Mark Otto1-6/+7
2020-04-13Add `.card-footer` color (#30515)Catalin Zalog1-0/+1
2020-04-13Backport #30497Martijn Cuppens1-7/+10
Fix card list group borders & radii
2019-10-14Fix incorrect aspect ratio on IE11ysds1-5/+6
2019-10-14Remove redundant propertiesMartijn Cuppens1-8/+2
2019-10-14Fix border for single card in accordion (#29453)Martijn Cuppens1-14/+4
2019-10-14Variable card height (#29462)Martijn Cuppens1-0/+1
2019-09-26CleanupMark 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-09-26First 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-31Apply `at-mixin-argumentless-call-parentheses: always` stylelint rule for v4 ↵Martijn Cuppens1-1/+1
mixins
2019-06-18Workaround for the image size bug in IE (#28855)Shohei Yoshida1-0/+3
2019-03-08Fix 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
2017-10-01fixed issue with hr tag mention in 23032 (#23078)Chirag Modi1-0/+5
2017-09-27Remove border-top if list-group follows card-header (#23022)Benjamin Trenkle1-0/+6
2017-09-26Fix no rounded corners if there is only one card in a card-group (#24080)SpicyDwarf1-1/+5
2017-08-20Simplify selector and only override what we setMark Otto1-3/+2
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-20added suggested fix for list-groups with a elementsgijsbotje1-1/+2
2017-08-20fixes double border when .list-group.list-group-flush is preceded by ↵gijsbotje1-0/+4
.card-header
2017-08-20equalize height of the first card of the card-groupgijsbotje1-1/+1
2017-08-13Redo .card-deck and .card-group so they're always flex (#22860)Mark Otto1-6/+21
2017-06-30clip to border-box, update overlayMark Otto1-0/+1
2017-06-30Drop .card-{color} modifiers for .bg-{color}, .text-{color}, and ↵Mark Otto1-36/+0
.border-{color} utilities
2017-06-25rename .card-inverse to .card-dark, update docs to matchMark Otto1-2/+2
2017-06-18Merge branch 'v4-dev' into colors-reduxMark Otto1-2/+2
2017-06-18Updated flex-basis property to fix issue #18569 in .scss filesobinnangini1-2/+2
2017-06-18remove - vars, update docs to generate from data yml files, update mixins, ↵Mark Otto1-32/+9
and generate card, button, bg, and color classes from the sass map