Chatwoot/app/javascript/dashboard/assets/scss/widgets/_report.scss

58 lines
1.1 KiB
SCSS
Raw Normal View History

.report-card {
@include padding($space-normal $space-small $space-normal $space-two);
@include margin($zero);
cursor: pointer;
@include custom-border-top(3px, transparent);
2019-10-27 13:58:02 +00:00
&.active {
@include custom-border-top(3px, $color-woot);
@include background-white;
.heading,
.metric {
color: $color-woot;
}
}
2019-10-27 13:58:02 +00:00
.heading {
@include margin($zero);
font-size: $font-size-small;
font-weight: $font-weight-bold;
color: $color-heading;
}
2019-10-27 13:58:02 +00:00
.metric {
font-size: $font-size-bigger;
font-weight: $font-weight-feather;
}
2019-10-27 13:58:02 +00:00
.desc {
@include margin($zero);
font-size: $font-size-small;
text-transform: capitalize;
}
}
.report-bar {
@include margin(-1px $zero);
@include background-white;
@include border-light;
@include padding($space-small $space-medium);
2019-10-27 13:58:02 +00:00
.chart-container {
@include flex;
2019-10-20 08:04:19 +00:00
flex-direction: column;
@include flex-align(center, middle);
2019-10-27 13:58:02 +00:00
div {
width: 100%;
}
2019-10-27 13:58:02 +00:00
.empty-state {
@include margin($space-jumbo);
font-size: $font-size-default;
color: $color-gray;
}
}
}