mybuddy/dashboard/static_src/scss/cards.scss

100 lines
1.4 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;
}
}
}
.card-diaperchange {
2017-10-29 03:01:39 +00:00
@extend .border-danger;
.card-header {
@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;
.card-header {
@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;
.card-header {
@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;
.card-header {
@extend .text-dark, .bg-light;
}
.card-body {
@extend .text-light;
}
}
.card-tummytime {
@extend .border-success;
.card-header {
@extend .text-white, .bg-success;
}
.card-body {
@extend .text-success;
}
}