Skip to content
Snippets Groups Projects
Commit 0a270f34 authored by naji's avatar naji
Browse files

fix: Ascenseur horizontal du panneau latéral

parent ae8192bf
No related branches found
No related tags found
7 merge requests!58compare branch,!54Comparaison de merge vers vitam-ui,!53Comparaison de merge vers vitam-ui,!52Voir difference entre les deux verion,!41MAJ: compare to vitam-ui,!29BreadCrumb,!26KDE - 01/07/2021 - Traduction partie globale de pastis
...@@ -35,28 +35,30 @@ ...@@ -35,28 +35,30 @@
<!--Root children with children--> <!--Root children with children-->
<span *ngIf="node.children.length && node.name !== rootElementName <span *ngIf="node.children.length && node.name !== rootElementName
&& isPartOfCollection(node) && shouldBeOnTab(node) && !isAttribute(node)" && isPartOfCollection(node) && shouldBeOnTab(node) && !isAttribute(node)"
[ngStyle]="{'margin-left': calculateNodePosition(node) + 'px'}" (click)="updateMedataTable(node)"> (click)="updateMedataTable(node)">
<div class="divTests" [ngStyle]="{'margin-left': calculateNodePosition(node) + 'px' , 'width': '350px' }">
<button *ngIf="isElementComplexAndHasChildren(node)" <button *ngIf="isElementComplexAndHasChildren(node)"
mat-icon-button matTreeNodeToggle mat-icon-button matTreeNodeToggle
class="pastis-chevron-icon" class="pastis-chevron-icon"
(click)="updateMedataTable(node)"> (click)="updateMedataTable(node)">
<mat-icon>{{nestedTreeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}</mat-icon> <mat-icon>{{nestedTreeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}</mat-icon>
</button> </button>
<span class="pastis-tree-node-name"> <span class="pastis-tree-node-name">
<span class="text text-medium" <span class="text text-medium"
[ngStyle]="{'color': selectedItem(node) }">{{onResolveName(node)}}</span> [ngStyle]="{'color': selectedItem(node) }">{{onResolveName(node)}}</span>
<span *ngIf="node.name === 'ArchiveUnit'" <span *ngIf="node.name === 'ArchiveUnit'"
style="float: right;" style="float: right;"
tooltip="Ajouter une UA" tooltip="Ajouter une UA"
tooltip-class="pastis-tooltip-class"> tooltip-class="pastis-tooltip-class">
<!--Button plus--> <!--Button plus-->
<button class="pastis-btn-add-ua" *ngIf="!puaMode" (click)= "addArchiveUnit(node)"> <button class="pastis-btn-add-ua" *ngIf="!puaMode" (click)= "addArchiveUnit(node)">
<i class="vitamui-icon vitamui-icon-add" style="color: var(--vitamui-primary);"></i> <i class="vitamui-icon vitamui-icon-add" style="color: var(--vitamui-primary);"></i>
<span class="pastis-btn-add-ua-text">Ajouter une ua</span> <span class="pastis-btn-add-ua-text">Ajouter une ua</span>
</button> </button>
</span>
</span> </span>
</span> </div>
<mat-divider class="pastis-divider"></mat-divider> <mat-divider class="pastis-divider"></mat-divider>
</span> </span>
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
} }
.pastis-divider{ .pastis-divider{
max-width: 400px; max-width: 100%;
height: 1px; height: 1px;
//float: right; //float: right;
//margin-top: -4px; //margin-top: -4px;
...@@ -187,7 +187,6 @@ ...@@ -187,7 +187,6 @@
.pastis-btn-add-ua{ .pastis-btn-add-ua{
background-color: transparent; background-color: transparent;
border: none; border: none;
margin-right: 20px;
} }
.pastis-btn-add-ua-text{ .pastis-btn-add-ua-text{
color: map-get($colors, 'primary-500'); color: map-get($colors, 'primary-500');
......
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