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

23 lines
401 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);
color: RGB(var(--raised-text));
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);
color: RGB(var(--raised-accent-text));
2023-01-03 12:56:18 -08:00
}