Verified Commit b93153a0 authored by Alex ORLUC's avatar Alex ORLUC

FIX #11291 TIME 0:35 fix css panel folder

parent 1675bd76
......@@ -6,17 +6,17 @@
matTreeNodePadding matTreeNodePaddingIndent="20px">
<!-- use a disabled button to provide padding for tree leaf -->
<button class="expandButton" mat-icon-button disabled></button>
<a mat-list-item disableRipple [class.selectedFolder]="node.selected" [class.empty]="node.countResources === 0" (mouseenter)="showAction(node)"
<a mat-list-item disableRipple class="folderTreeItem" [class.selectedFolder]="node.selected" (mouseenter)="showAction(node)"
(mouseleave)="hideAction(node)" (click)="selectFolder(node)">
<span style="flex:1;overflow: hidden;text-overflow: ellipsis;">
<span style="width: 90%;overflow: hidden;text-overflow: ellipsis;">
<span class="treeLabel" [title]="node.label" [class.drag]="node.drag">
{{node.label}} <i class="fa fa-users private" *ngIf="node.public" title="{{lang.sharedFolder}}"></i>
</span>
</span>
<button mat-icon-button [matMenuTriggerFor]="menu" (click)="$event.stopPropagation();showAction(node);checkRights(node);"
[disabled]="!node.showAction">
[disabled]="!node.showAction" style="position: absolute;right:0px;">
<mat-icon *ngIf="node.showAction" class="folderAction fa fa-ellipsis-v"></mat-icon>
<span *ngIf="!node.showAction" class="countResources">
<span *ngIf="!node.showAction" class="countResources" [class.empty]="node.countResources === 0">
{{node.countResources}}
</span>
</button>
......@@ -46,16 +46,16 @@
<mat-icon class="mat-icon-rtl-mirror fa {{treeControl.isExpanded(node) ? 'fa-chevron-down' : 'fa-chevron-right'}}">
</mat-icon>
</button>
<a mat-list-item disableRipple [class.selectedFolder]="node.selected" [class.empty]="node.countResources === 0" (mouseleave)="hideAction(node)"
<a mat-list-item disableRipple class="folderTreeItem" [class.selectedFolder]="node.selected" (mouseleave)="hideAction(node)"
(mouseenter)="showAction(node)" (click)="selectFolder(node)">
<span style="flex:1;overflow: hidden;text-overflow: ellipsis;">
<span style="width: 90%;overflow: hidden;text-overflow: ellipsis;">
<span class="treeLabel" [title]="node.label" [class.drag]="node.drag">
{{node.label}} <i class="fa fa-users private" *ngIf="node.public" title="{{lang.sharedFolder}}"></i>
</span>
</span>
<button mat-icon-button [matMenuTriggerFor]="menu" (click)="$event.stopPropagation();checkRights(node);" [disabled]="!node.showAction">
<button mat-icon-button [matMenuTriggerFor]="menu" (click)="$event.stopPropagation();checkRights(node);" [disabled]="!node.showAction" style="position: absolute;right:0px;">
<mat-icon *ngIf="node.showAction" class="folderAction fa fa-ellipsis-v"></mat-icon>
<span *ngIf="!node.showAction" class="countResources">
<span *ngIf="!node.showAction" class="countResources" [class.empty]="node.countResources === 0">
{{node.countResources}}
</span>
</button>
......
......@@ -52,6 +52,7 @@
font-size: 12px;
font-weight: bold;
height: 30px;
width: 90%;
}
.mat-tree-node {
......@@ -99,18 +100,11 @@ button:disabled {
.countResources {
font-weight: bold;
}
:not(.empty) {
.countResources {
color: $primary;
}
color: $primary;
}
.empty {
opacity: 0.5;
.countResources {
font-size: 12px;
color: rgb(102, 102, 102);
}
font-size: 12px;
color: rgb(102, 102, 102);
}
\ No newline at end of file
......@@ -1088,10 +1088,10 @@ export const LANG_FR = {
"classifyInFolder" : "Placer le courrier suivant dans un dossier",
"getFolders" : "Dossiers (emplacement fixe)",
"getFoldersSample" : "Litiges",
"classifyIn" : "Classer dans ...",
"setInParentFolder" : "Imbriquer le dossier dans ...",
"searchFolder" : "Recherche un dossier",
"shareToEntities" : "Partager aux entités ...",
"classifyIn" : "Classer dans...",
"setInParentFolder" : "Placer le dossier dans...",
"searchFolder" : "Rechercher un dossier",
"shareToEntities" : "Partager aux entités...",
"canManageFolder" : "Droit de modification / suppression du dossier",
"searchMailInFolder" : "Rechercher des courriers dans le dossier",
"addSubFolder" : "Nouveau sous-dossier",
......
Markdown is supported
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