Skip to content
Snippets Groups Projects
Commit 6e53df31 authored by Fadil's avatar Fadil Committed by pybelecalo
Browse files

[US TRTL-688] Improve side panel header generic display

parent 95ddbc9c
No related branches found
No related tags found
10 merge requests!51Merge mis a jour vitam-ui,!25Nouveau mis a jour Vitamui,!24Nouveau mis a jour Vitamui,!23Nouveau mis a jour Vitamui,!22WIP: nouveau mis a jour Vitamui,!21nouveau mis a jour Vitamui,!20nouveau mis à jour Vitamui,!19nouveau mis à jour Vitamui,!18New MAJ Vitamui,!16[VAS] BUG 7332 : Correction sur la position de la barre permettant de...
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
</button> </button>
</div> </div>
<!-- if we have a one line title (25 chars), then apply a top margin --> <div *ngIf="!loading; else spinner" class="title">
<div *ngIf="!loading; else spinner" class="title" [class.mt-3]="title?.length < 26">
<i class="vitamui-icon {{icon}}" <i class="vitamui-icon {{icon}}"
[ngClass]="{ [ngClass]="{
'status-badge-red': badge === 'red',
'status-badge-green': badge === 'green', 'status-badge-green': badge === 'green',
'status-badge-grey': badge === 'grey', 'status-badge-grey': badge === 'grey',
'status-badge-red': badge === 'red', 'status-badge-red': badge === 'red',
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
<p class="text large light m-0">{{subtitle}}</p> <p class="text large light m-0">{{subtitle}}</p>
</div> </div>
<div *ngIf="!hasToolTipOnTitle || !toolTipTitleText || !toolTipTitleDuration"> <div *ngIf="!hasToolTipOnTitle || !toolTipTitleText || !toolTipTitleDuration">
<h5 class="m-0 primary">{{title}}</h5> <h5 class="m-0">{{title}}</h5>
<p class="text large light m-0">{{subtitle}}</p> <p class="text medium m-0">{{subtitle}}</p>
</div> </div>
<div class="d-flex align-items-end justify-content-end actions"> <div class="d-flex align-items-end justify-content-end actions">
<ng-content></ng-content> <ng-content></ng-content>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.vitamui-sidepanel-header { .vitamui-sidepanel-header {
background-color: white; background-color: white;
padding: 2px 20px 10px 10px; padding: 2px 20px 10px 10px;
height: 174px; height: 100%;
.cancel { .cancel {
> i { > i {
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
padding: 0 30px; padding: 0 30px;
> i { > i {
color: var(--vitamui-grey-900); color: var(--vitamui-grey-600);
font-size: 35px; font-size: 35px;
} }
...@@ -35,8 +35,9 @@ ...@@ -35,8 +35,9 @@
} }
> div:first-of-type { > div:first-of-type {
width: 76%; width: 100%;
padding-left: 2rem; padding-left: 2rem;
padding-right: 1rem;
> h5 { > h5 {
display: -webkit-box; display: -webkit-box;
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
} }
> .actions { > .actions {
width: 15%; width: auto;
} }
} }
} }
...@@ -75,16 +76,8 @@ ...@@ -75,16 +76,8 @@
.mat-tab-body-wrapper { .mat-tab-body-wrapper {
height: 100%; height: 100%;
} }
&::-webkit-scrollbar {
display: none;
}
-ms-overflow-style: none;
scrollbar-width: none;
} }
.mat-drawer-content { .mat-drawer-content {
background-color: var(--vitamui-background); background-color: var(--vitamui-background);
} }
......
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