ngx-admin/src/app/pages/backend-integration/backend-integration.component.scss

69 lines
1.2 KiB
SCSS
Raw Normal View History

@import '../../@theme/styles/themes';
2020-09-21 16:16:55 +03:00
@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: 35rem;
}
.description-container {
flex: 1 1 auto;
max-width: 45rem;
align-items: stretch;
height: 100%;
2020-09-21 16:16:55 +03:00
::ng-deep & *:last-child {
width: 100%;
}
}
2020-09-21 16:16:55 +03:00
@include media-breakpoint-down(lg) {
:host {
flex-direction: column;
justify-content: flex-start;
2020-09-21 16:16:55 +03:00
align-items: center;
height: fit-content;
2020-09-17 13:32:12 +03:00
.diagram-container, .description-container {
width: 100%;
max-width: none;
2020-09-17 13:32:12 +03:00
}
.description-container {
padding-bottom: 1.5rem;
2020-09-21 16:16:55 +03:00
::ng-deep ngx-integration-description .subheader {
margin-bottom: 1.5rem;
}
2020-09-17 13:32:12 +03:00
}
2020-09-17 13:32:12 +03:00
.diagram-container {
padding-bottom: 1.5rem;
2020-09-21 16:16:55 +03:00
min-width: 0;
2020-09-17 13:32:12 +03:00
::ng-deep ngx-backend-integration-diagram {
font-size: 2vw;
2020-09-17 13:32:12 +03:00
height: fit-content;
padding-top: 0;
2020-09-17 13:32:12 +03:00
& > * {
position: static !important;
}
}
}
}
}