mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
* Close #2598 - Add $card-radius variable - Default to 0 (no braking change) - Update variables/card.json * Fix per @jgthms - Could be a small breaking change since `overflow: hidden` is added to card
This commit is contained in:
committed by
GitHub
parent
bef6a73172
commit
aed45337a4
@@ -1,6 +1,7 @@
|
||||
$card-color: $text !default
|
||||
$card-background-color: $scheme-main !default
|
||||
$card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
||||
$card-radius: 0 !default
|
||||
|
||||
$card-header-background-color: transparent !default
|
||||
$card-header-color: $text-strong !default
|
||||
@@ -23,6 +24,8 @@ $card-media-margin: $block-spacing !default
|
||||
color: $card-color
|
||||
max-width: 100%
|
||||
position: relative
|
||||
border-radius: $card-radius
|
||||
overflow: hidden
|
||||
|
||||
.card-header
|
||||
background-color: $card-header-background-color
|
||||
|
||||
Reference in New Issue
Block a user