fix eye position

This commit is contained in:
Peter Maquiran
2024-02-29 22:47:42 +01:00
13 changed files with 76 additions and 38 deletions
@@ -275,7 +275,7 @@
<div class="list-people flex-grow-1">
<ion-item lines="none">
<ion-list>
<ion-label *ngIf="taskParticipantsCc?.length < 1" class="list-people-title">Adicionar Intervenientes*</ion-label>
<ion-label *ngIf="taskParticipantsCc?.length < 1" class="list-people-title">Com Conhecimento*</ion-label>
<ion-label *ngFor="let participant of taskParticipantsCc">{{participant.Name}}</ion-label>
</ion-list>
</ion-item>
@@ -638,14 +638,14 @@ export class EditEventPage implements OnInit {
}
ajustMinuts(string) {
var data = new Date(string);
if (data.getMinutes() === 59) {
data.setMinutes(0);
var novaString = data.toISOString().slice(0, 16).replace("T", " ");
var partes = string.split(' ');
var horaMinuto = partes[1].split(':');
if (horaMinuto[1] === '59') {
horaMinuto[1] = '00';
var novaString = partes[0] + ' ' + horaMinuto.join(':');
return novaString;
} else {
return string;
}
}
return string;
}
}
@@ -8,6 +8,18 @@
<div class="attachment" >
<div class="attach-title-item tex-left d-flex ">
<div *ngIf="!isSelectedAttachmentIsDraft(attachment)" (click)="clickDocument(attachment, i )">
<button mat-icon-button aria-label="Example icon-button with a menu">
<ion-icon src="assets/icon/iconmonstr-eye-9.svg" class=" font-25-em "></ion-icon>
</button>
</div>
<div *ngIf="isSelectedAttachmentIsDraft(attachment)" (click)="clickDraft(i )">
<button mat-icon-button aria-label="Example icon-button with a menu">
<ion-icon src="assets/icon/iconmonstr-eye-9.svg" class=" font-25-em "></ion-icon>
</button>
</div>
<div>
<div class="subject" [ngClass]="{'add-ellipsis': i != selectedIndex}">{{ attachment.Assunto || "Sem assunto" }}</div>
<div class="user" >
@@ -15,19 +27,10 @@
</div>
</div>
<span class="document-type ml-20" (click)="clickDraft(i)" *ngIf="isSelectedAttachmentIsDraft(attachment)">Rascunho</span>
<span class="document-type ml-20" (click)="clickDraft(i)" *ngIf="isSelectedAttachmentIsDraft(attachment)" style="max-height: 33px;">Rascunho</span>
<br *ngIf="isSelectedAttachmentIsDraft(attachment)">
<div class="date d-flex justify-content-between" >
<div *ngIf="!isSelectedAttachmentIsDraft(attachment)" (click)="clickDocument(attachment, i )">
<button mat-icon-button aria-label="Example icon-button with a menu">
<ion-icon src="assets/images/icons-nav-actions.svg" class=" font-25-em "></ion-icon>
</button>
</div>
<div *ngIf="isSelectedAttachmentIsDraft(attachment)" (click)="clickDraft(i )">
<button mat-icon-button aria-label="Example icon-button with a menu">
<ion-icon src="assets/images/icons-nav-actions.svg" class=" font-25-em "></ion-icon>
</button>
</div>
<div *ngIf="!isSelectedAttachmentIsDraft(attachment)">
<button (click)="doSomething($event);" mat-icon-button [matMenuTriggerFor]="menu" aria-label="Example icon-button with a menu">
<mat-icon>more_vert</mat-icon>
@@ -5,6 +5,7 @@
width: 100%;
color:#0d89d1;
padding-bottom: 5px;
text-wrap: nowrap;
}
/* SPAN */
.user{
@@ -26,6 +27,10 @@
.subject {
max-width: 230px;
}
ion-icon {
color: black;
}
}
iframe {
@@ -37,12 +42,12 @@ iframe {
.selected-attachment {
border: 3px solid #ffb703 !important;
color: #3498db !important;
.user, .date {
.user, .date, ion-icon {
color: #3498db !important;
}
.subject {
max-width: unset !important;
max-width: 300px !important;
}
}