2023-03-25 19:57:12 +00:00
|
|
|
@use 'sass:map';
|
|
|
|
|
2021-11-13 13:38:25 +00:00
|
|
|
%card-header-text {
|
|
|
|
font-size: $h4-font-size;
|
|
|
|
font-weight: $headings-font-weight;
|
|
|
|
line-height: $headings-line-height;
|
|
|
|
}
|
|
|
|
|
2017-10-29 03:01:39 +00:00
|
|
|
.card-dashboard {
|
2021-11-13 13:38:25 +00:00
|
|
|
margin-bottom: $spacer;
|
2017-10-29 03:01:39 +00:00
|
|
|
|
|
|
|
.card-header {
|
2021-11-13 13:38:25 +00:00
|
|
|
@extend %card-header-text;
|
2017-10-29 03:01:39 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-body {
|
|
|
|
.card-title {
|
2021-11-13 13:38:25 +00:00
|
|
|
@extend %card-header-text;
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-text {
|
2021-11-13 13:38:25 +00:00
|
|
|
color: $text-muted;
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
2020-02-15 22:30:27 +00:00
|
|
|
|
|
|
|
// 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
|
|
|
}
|
2023-03-25 19:57:12 +00:00
|
|
|
|
|
|
|
.list-group {
|
|
|
|
.list-group-item {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
}
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
|
|
|
|
2017-08-21 15:03:18 +00:00
|
|
|
.card-diaperchange {
|
2023-03-25 19:57:12 +00:00
|
|
|
border-color: map.get($theme-colors, 'danger');
|
2017-10-29 03:01:39 +00:00
|
|
|
|
2021-08-04 20:36:00 +00:00
|
|
|
.card-header, .card-header a {
|
2023-03-25 19:57:12 +00:00
|
|
|
background-color: map.get($theme-colors, 'danger');
|
|
|
|
color: map.get($theme-colors, 'light');
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-body {
|
2023-03-25 19:57:12 +00:00
|
|
|
color: map.get($theme-colors, 'danger');
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
|
|
|
|
2017-08-22 17:16:35 +00:00
|
|
|
.progress {
|
|
|
|
height: $progress-height * 2;
|
|
|
|
}
|
2017-08-21 15:43:46 +00:00
|
|
|
}
|
2017-10-29 03:01:39 +00:00
|
|
|
|
2023-02-16 04:22:27 +00:00
|
|
|
.card-feeding,
|
|
|
|
.card-pumping {
|
2023-03-25 19:57:12 +00:00
|
|
|
border-color: map.get($theme-colors, 'primary');
|
2017-10-29 03:01:39 +00:00
|
|
|
|
2021-08-04 20:36:00 +00:00
|
|
|
.card-header, .card-header a {
|
2023-03-25 19:57:12 +00:00
|
|
|
background-color: map.get($theme-colors, 'primary');
|
|
|
|
color: map.get($theme-colors, 'light');
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-body {
|
2023-03-25 19:57:12 +00:00
|
|
|
color: map.get($theme-colors, '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
|
|
|
}
|
2024-03-14 02:59:50 +00:00
|
|
|
|
|
|
|
.progress {
|
|
|
|
height: $progress-height * 2;
|
|
|
|
}
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-sleep {
|
2023-03-25 19:57:12 +00:00
|
|
|
border-color: map.get($theme-colors, 'secondary');
|
2017-10-29 03:01:39 +00:00
|
|
|
|
2021-08-04 20:36:00 +00:00
|
|
|
.card-header, .card-header a {
|
2023-03-25 19:57:12 +00:00
|
|
|
background-color: map.get($theme-colors, 'secondary');
|
|
|
|
color: map.get($theme-colors, 'light');
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-13 13:38:25 +00:00
|
|
|
.card-statistics, .card-timer {
|
2023-03-25 19:57:12 +00:00
|
|
|
border-color: map.get($theme-colors, 'light');
|
2017-11-11 12:01:04 +00:00
|
|
|
|
|
|
|
.card-header {
|
2023-03-25 19:57:12 +00:00
|
|
|
background-color: map.get($theme-colors, 'light');
|
|
|
|
color: map.get($theme-colors, 'dark');
|
2021-11-13 13:38:25 +00:00
|
|
|
|
|
|
|
a {
|
2023-03-25 19:57:12 +00:00
|
|
|
color: map.get($theme-colors, 'dark');
|
2021-11-13 13:38:25 +00:00
|
|
|
}
|
2017-11-11 12:01:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-body {
|
2023-03-25 19:57:12 +00:00
|
|
|
color: map.get($theme-colors, 'light');
|
2017-11-11 12:01:04 +00:00
|
|
|
|
|
|
|
.container {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-29 03:01:39 +00:00
|
|
|
.card-tummytime {
|
2023-03-25 19:57:12 +00:00
|
|
|
border-color: map.get($theme-colors, 'success');
|
2017-10-29 03:01:39 +00:00
|
|
|
|
2021-08-04 20:36:00 +00:00
|
|
|
.card-header, .card-header a {
|
2023-03-25 19:57:12 +00:00
|
|
|
background-color: map.get($theme-colors, 'success');
|
|
|
|
color: map.get($theme-colors, 'light');
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-body {
|
2023-03-25 19:57:12 +00:00
|
|
|
color: map.get($theme-colors, 'success');
|
2017-10-29 03:01:39 +00:00
|
|
|
}
|
|
|
|
}
|