Fixed import buttons on DMP templates, Dataset templates

This commit is contained in:
apapachristou 2019-05-29 17:41:39 +03:00
parent 840943d7fc
commit 80cc6b2fba
5 changed files with 18 additions and 18 deletions

View File

@ -1,11 +1,11 @@
<div class="confirmation-dialog">
<div class="row">
<div class="row d-flex">
<div class="confirmation-message col align-self-center">
<h4>{{ data.message }}</h4>
</div>
<div class="col-auto">
<div class="col-auto ml-auto">
<input class="hidden" type="file" #imgFileInput (change)="selectXML($event)" accept="text/xml" />
<button mat-icon-button class="col-auto" (click)="imgFileInput.click()" type="button">
<button class="col-auto attach-file" (click)="imgFileInput.click()" type="button">
<mat-icon color="{{btnColore}}">attach_file</mat-icon>
</button>
</div>

View File

@ -1,11 +1,11 @@
<div class="confirmation-dialog">
<div class="row">
<div class="row d-flex">
<div class="confirmation-message col-auto align-self-center">
<h4>{{ data.message }}</h4>
</div>
<div class="col-auto">
<div class="col-auto ml-auto">
<input class="hidden" type="file" #imgFileInput (change)="selectXML($event)" accept="text/xml" />
<button mat-icon-button class="col-auto" (click)="imgFileInput.click()" type="button">
<button class="col-auto attach-file" (click)="imgFileInput.click()" type="button">
<mat-icon color="{{btnColore}}">attach_file</mat-icon>
</button>
</div>

View File

@ -19,14 +19,3 @@
margin: -4px;
}
}
.attach-file {
border: none;
color: #aaaaaa;
cursor: pointer;
background-color: #ffffff00;
}
.attach-file :hover {
color: #667eff
}

View File

@ -324,3 +324,14 @@ table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .
background: rgba(0, 0, 0, 0.55);
opacity: .93;
}
.attach-file {
border: none;
color: #aaaaaa;
cursor: pointer;
background-color: #ffffff00;
}
.attach-file :hover {
color: #667eff
}