ngx-admin/src/app/pages/dashboard/solar/solar.component.scss

66 lines
1.1 KiB
SCSS
Raw Normal View History

2017-08-03 13:53:18 +03:00
@import '../../../@theme/styles/themes';
@import '~@nebular/theme/styles/global/breakpoints';
@import '~bootstrap/scss/mixins/breakpoints';
2017-07-14 17:11:26 +03:00
@include nb-install-component() {
2017-07-14 17:11:26 +03:00
$padding: 1rem;
nb-card-body {
overflow: hidden;
padding: $padding;
}
2017-07-14 17:11:26 +03:00
.echart {
position: absolute;
2018-05-11 17:25:02 +03:00
left: 1em;
height: calc(100% - 2 * #{$padding});
2017-07-14 17:11:26 +03:00
width: 40%;
}
.info {
margin-left: 45%;
padding-top: 1.5rem;
color: nb-theme(color-fg);
}
.value {
font-family: nb-theme(font-secondary);
font-size: 2rem;
font-weight: nb-theme(font-weight-bold);
color: nb-theme(color-fg-heading);
}
.details {
font-size: 1.25rem;
font-weight: nb-theme(font-weight-bolder);
line-height: 1;
span {
font-size: 1rem;
font-weight: nb-theme(font-weight-light);
}
}
2017-07-14 17:11:26 +03:00
.text-hint {
font-size: 1rem;
}
@include nb-for-theme(cosmic) {
color: nb-theme(color-fg-heading);
.value {
color: nb-theme(color-fg-highlight);
}
.details span {
color: nb-theme(color-fg);
}
}
@include media-breakpoint-down(xs) {
.value {
font-size: 1.75rem;
}
}
2017-07-14 17:11:26 +03:00
}