ngx-admin/src/app/pages/backend-integration/backend-integration.component.scss
Sergey Filinsky 268e5cfb1b feat(demo): changed diagram to image
feat(demo): improved styles
2020-09-22 17:18:47 +03:00

65 lines
1.1 KiB
SCSS

@import '../../@theme/styles/themes';
@import '~@nebular/theme/styles/global/breakpoints';
:host {
display: flex !important;
flex-direction: row;
justify-content: stretch;
align-items: stretch;
height: 100%;
}
.description-container, .diagram-container {
display: flex;
}
.diagram-container {
flex: 2 1 auto;
align-items: center;
min-width: 30rem;
}
.description-container {
flex: 1 2 auto;
max-width: 45rem;
align-items: stretch;
height: 100%;
::ng-deep & *:last-child {
width: 100%;
}
}
@include media-breakpoint-down(lg) {
:host {
flex-direction: column;
justify-content: flex-start;
align-items: center;
.diagram-container, .description-container {
width: 100%;
max-width: none;
}
.description-container {
padding-bottom: 1.5rem;
::ng-deep ngx-integration-description .subheader {
margin-bottom: 1.5rem;
}
}
.diagram-container {
min-width: 0;
::ng-deep ngx-backend-integration-diagram {
height: fit-content;
padding-top: 0;
& > * {
position: static !important;
}
}
}
}
}