mybuddy/dashboard/static_src/scss/cards.scss

108 lines
1.8 KiB
SCSS
Raw Normal View History

2017-10-29 03:01:39 +00:00
.card-dashboard {
@extend .mb-3;
.card-header {
@extend .h4;
margin-bottom: 0;
}
.card-body {
.card-title {
@extend .h4;
}
.card-text {
@extend .text-muted;
}
// Offset horizontal padding in dashboard cards with a carousel.
.carousel {
margin-left: -$card-spacer-x;
margin-right: -$card-spacer-x;
padding-left: $card-spacer-x;
padding-right: $card-spacer-x;
}
2017-10-29 03:01:39 +00:00
}
}
.card-diaperchange {
2017-10-29 03:01:39 +00:00
@extend .border-danger;
2021-08-04 20:36:00 +00:00
.card-header, .card-header a {
2017-10-29 03:01:39 +00:00
@extend .text-white, .bg-danger;
}
.card-body {
@extend .text-danger;
}
2017-08-22 17:16:35 +00:00
.progress {
height: $progress-height * 2;
}
}
2017-10-29 03:01:39 +00:00
.card-feeding {
@extend .border-primary;
2021-08-04 20:36:00 +00:00
.card-header, .card-header a {
2017-10-29 03:01:39 +00:00
@extend .text-white, .bg-primary;
}
.card-body {
@extend .text-primary;
2020-02-15 22:14:48 +00:00
// Last feeding method header in card.
.last-feeding-method {
font-size: 2em;
}
2017-10-29 03:01:39 +00:00
}
}
.card-sleep {
@extend .border-secondary;
2021-08-04 20:36:00 +00:00
.card-header, .card-header a {
2017-10-29 03:01:39 +00:00
@extend .text-white, .bg-secondary;
}
}
.card-statistics {
@extend .border-light;
.card-header {
@extend .text-dark, .bg-light;
}
.card-body {
@extend .text-light;
.container {
padding: 0;
}
}
}
2017-10-29 03:01:39 +00:00
.card-timer {
@extend .border-light;
2021-08-04 20:36:00 +00:00
.card-header, .card-header a {
2017-10-29 03:01:39 +00:00
@extend .text-dark, .bg-light;
}
.card-body {
@extend .text-light;
}
}
.card-tummytime {
@extend .border-success;
2021-08-04 20:36:00 +00:00
.card-header, .card-header a {
2017-10-29 03:01:39 +00:00
@extend .text-white, .bg-success;
}
.card-body {
@extend .text-success;
}
}