Retrospring/app/assets/stylesheets/overrides/_card.scss

21 lines
326 B
SCSS
Raw Normal View History

2023-01-03 12:56:18 -08:00
@use "sass:map";
.card {
2023-01-03 12:56:18 -08:00
margin-bottom: map.get($spacers, 3);
box-shadow: $box-shadow-sm;
background-color: var(--raised-bg);
p:last-child {
margin-bottom: 0;
}
&--fullheight {
2023-01-03 12:56:18 -08:00
height: calc(100% - #{map.get($spacers, 3)});
}
}
.card-header,
.card-footer {
background-color: var(--raised-accent);
2023-01-03 12:56:18 -08:00
}