mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-09-22 05:50:48 +02:00
178 lines
3.4 KiB
SCSS
178 lines
3.4 KiB
SCSS
@import '../../../@theme/styles/variables';
|
|
@import '~@nebular/theme/components/card/card.component.theme';
|
|
@import '~@nebular/theme/styles/global/typography/typography';
|
|
|
|
@include nb-install-component() {
|
|
|
|
nb-card {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.consumption-table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 20rem;
|
|
height: 100%;
|
|
z-index: 2;
|
|
box-shadow: nb-theme(card-shadow);
|
|
}
|
|
|
|
.table-header {
|
|
@include nb-card-header();
|
|
font-size: 1.5rem;
|
|
|
|
.subtitle {
|
|
color: nb-theme(color-fg);
|
|
font-family: nb-theme(font-primary);
|
|
font-size: 1.125rem;
|
|
font-weight: nb-theme(font-weight-light);
|
|
}
|
|
}
|
|
|
|
nb-tabset /deep/ {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
ul {
|
|
align-items: center;
|
|
padding: 1rem;
|
|
}
|
|
|
|
ul li a {
|
|
font-weight: nb-theme(font-weight-bolder);
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
ul li.active {
|
|
background-color: nb-theme(color-primary);
|
|
border-radius: nb-theme(radius);
|
|
|
|
a {
|
|
font-size: 1.5rem;
|
|
}
|
|
a::before {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
nb-tab {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
|
|
.stats-month {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem;
|
|
|
|
&:not(:first-child) {
|
|
border-top: 1px solid nb-theme(separator);
|
|
}
|
|
|
|
.month {
|
|
display: inline-block;
|
|
width: 2.75rem;
|
|
font-family: nb-theme(font-secondary);
|
|
font-size: 1.25rem;
|
|
font-weight: nb-theme(font-weight-bolder);
|
|
color: nb-theme(color-fg-heading);
|
|
}
|
|
|
|
.delta {
|
|
position: relative;
|
|
display: inline-block;
|
|
padding-left: 1rem;
|
|
font-size: 0.75rem;
|
|
|
|
color: text-danger();
|
|
|
|
&::before {
|
|
position: absolute;
|
|
content: '';
|
|
bottom: 3px;
|
|
left: 2px;
|
|
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-bottom: 8px solid text-danger();
|
|
}
|
|
|
|
&.down {
|
|
color: text-success();
|
|
|
|
&::before {
|
|
top: 3px;
|
|
border-top: 8px solid text-success();
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.results {
|
|
font-size: 0.875rem;
|
|
font-weight: nb-theme(font-weight-light);
|
|
|
|
b {
|
|
font-family: nb-theme(font-secondary);
|
|
font-size: 1rem;
|
|
font-weight: nb-theme(font-weight-bolder);
|
|
color: nb-theme(color-fg-heading);
|
|
}
|
|
}
|
|
}
|
|
|
|
.chart-container {
|
|
flex: 1;
|
|
height: 100%;
|
|
background-image: nb-theme(radial-gradient);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.chart-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem 2rem;
|
|
}
|
|
|
|
.header-stats {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.stats-block {
|
|
margin-right: 3rem;
|
|
|
|
.subtitle {
|
|
font-size: 1.125rem;
|
|
font-weight: nb-theme(font-weight-light);
|
|
}
|
|
|
|
.value {
|
|
font-family: nb-theme(font-secondary);
|
|
font-size: 2rem;
|
|
font-weight: nb-theme(font-weight-bolder);
|
|
color: nb-theme(color-fg-heading);
|
|
|
|
&.dollar {
|
|
color: nb-theme(color-fg-highlight);
|
|
}
|
|
}
|
|
|
|
.unit {
|
|
font-family: nb-theme(font-secondary);
|
|
font-size: 1.25rem;
|
|
font-weight: nb-theme(font-weight-light);
|
|
}
|
|
}
|
|
|
|
.dropdown {
|
|
min-width: 130px;
|
|
}
|
|
}
|