2020-09-16 22:18:58 +03:00
|
|
|
@import '../../../@theme/styles/themes';
|
|
|
|
|
|
|
|
|
|
@include nb-install-component() {
|
|
|
|
|
width: 100%;
|
|
|
|
|
position: relative;
|
|
|
|
|
padding-top: 80%; /* Aspect Ratio */
|
|
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-22 17:18:47 +03:00
|
|
|
.canvas {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2020-09-16 22:18:58 +03:00
|
|
|
}
|
|
|
|
|
|
2020-09-22 17:18:47 +03:00
|
|
|
::ng-deep svg {
|
|
|
|
|
path.card-header, path.subcard-header, path.diagram-header {
|
|
|
|
|
fill: nb-theme(text-basic-color);
|
2020-09-21 16:16:55 +03:00
|
|
|
}
|
|
|
|
|
|
2020-09-22 17:18:47 +03:00
|
|
|
path.card-subheader, path.subcard-subheader, path.diagram-subheader {
|
|
|
|
|
fill: nb-theme(text-hint-color);
|
2020-09-16 22:18:58 +03:00
|
|
|
}
|
|
|
|
|
|
2020-09-22 17:18:47 +03:00
|
|
|
rect.card-background {
|
|
|
|
|
fill: nb-theme(background-basic-color-2);
|
|
|
|
|
stroke: nb-theme(border-basic-color-5);
|
2020-09-16 22:18:58 +03:00
|
|
|
}
|
|
|
|
|
|
2020-09-22 17:18:47 +03:00
|
|
|
rect.subcard-background {
|
|
|
|
|
fill: nb-theme(background-basic-color-1);
|
2020-09-16 22:18:58 +03:00
|
|
|
}
|
2020-09-22 17:18:47 +03:00
|
|
|
|
|
|
|
|
path.subcard-border {
|
|
|
|
|
fill: nb-theme(background-basic-color-2);
|
|
|
|
|
stroke: nb-theme(border-basic-color-5);
|
2020-09-16 22:18:58 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|