Skip to content
Snippets Groups Projects
Commit f289a3bd authored by Amine FILALI's avatar Amine FILALI Committed by pybelecalo
Browse files

[US TRTL-611] Metadata update redesign & improve modal display

parent fb6d0645
No related branches found
No related tags found
No related merge requests found
$footer-height: 100px !default;
:host { :host {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
width: 100%; width: 100%;
height: 100px; height: $footer-height;
background-color: var(--vitamui-background); background-color: var(--vitamui-background);
align-items: center; align-items: center;
justify-content: center; justify-content: center;
......
@import '../../../../sass/mixins/elevation'; @import '../../../../sass/mixins/elevation';
$header-height: 72px; $header-height: 72px !default;
mat-toolbar { mat-toolbar {
@include elevation-4; @include elevation-4;
......
$header-height: 72px !default;
$footer-height: 100px !default;
.vitamui-header { .vitamui-header {
background-image: url('/assets/background.jpg'); background-image: url('/assets/background.jpg');
background-size: cover; background-size: cover;
...@@ -38,7 +41,7 @@ ...@@ -38,7 +41,7 @@
.vitamui-body { .vitamui-body {
padding: 40px 100px; padding: 40px 100px;
min-height: calc(100vh - 172px); // header + footer min-height: calc(100vh - #{$header-height + $footer-height});
} }
.bg-fingerprint { .bg-fingerprint {
......
@import "variables/colors"; @import "variables/colors";
$header-height: 72px;
$footer-height: 100px;
\ No newline at end of file
$arrow-size: 70px; $arrow-size: 70px;
$max-height: 95vh; $header-height: 72px !default;
$radius: 20px; $footer-height: 100px !default;
.vitamui-modal .mat-dialog-container { %mat-dialog-container {
border-radius: $radius; border-radius: 20px;
padding: 0; padding: 0;
min-width: 800px; max-height: calc(100vh - #{$header-height + $footer-height});
max-width: fit-content; top: 72px;
max-height: $max-height; }
.vitamui-modal .mat-dialog-container {
@extend %mat-dialog-container;
.header { .header {
padding: 20px 60px 0 60px; padding: 20px 60px 0 60px;
} }
...@@ -42,7 +46,7 @@ $radius: 20px; ...@@ -42,7 +46,7 @@ $radius: 20px;
max-height: 43vh; max-height: 43vh;
&::-webkit-scrollbar { &::-webkit-scrollbar {
display: none; display: none;
} }
} }
...@@ -50,12 +54,11 @@ $radius: 20px; ...@@ -50,12 +54,11 @@ $radius: 20px;
.form-group { .form-group {
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
.vitamui-form-dual-panel .mat-dialog-container { .vitamui-form-dual-panel .mat-dialog-container {
border-radius: $radius;
padding: 0; @extend %mat-dialog-container;
max-height: $max-height;
.vitamui-form-dual-panel-content { .vitamui-form-dual-panel-content {
display: flex; display: flex;
...@@ -172,4 +175,4 @@ $radius: 20px; ...@@ -172,4 +175,4 @@ $radius: 20px;
} }
} }
} }
} }
\ No newline at end of file \ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment