fixed color setting signature brightness to 0%

This commit is contained in:
Joan Sanchez 2019-02-11 13:53:11 +01:00
parent 0a5860e59c
commit 8e85fcc14c
4 changed files with 17 additions and 12 deletions

View File

@ -40,7 +40,7 @@
.panel { .panel {
position: relative; position: relative;
margin-bottom: 20px; margin-bottom: 15px;
padding-top: 10px; padding-top: 10px;
break-inside: avoid; break-inside: avoid;
break-before: always; break-before: always;
@ -130,7 +130,7 @@ table {
} }
.column-oriented { .column-oriented {
margin: 20px 0 margin-bottom: 15px
} }
.column-oriented td, .column-oriented td,

View File

@ -1,10 +1,12 @@
#signature { #signature {
margin-top: 80px padding-right: 10px
} }
#signature img { #signature img {
margin-bottom: 20px; -webkit-filter: brightness(0%);
width: 150px filter: brightness(0%);
margin-bottom: 10px;
max-width: 150px
} }
#packagings { #packagings {

View File

@ -175,8 +175,8 @@
</tfoot> </tfoot>
</table> </table>
</section> </section>
</section> <section class="size50 pull-left">
<section id="signature" class="panel dark" v-if="signature && signature.id"> <section id="signature" class="panel" v-if="signature && signature.id">
<section class="header">Firma digital</section> <section class="header">Firma digital</section>
<section class="body centered"> <section class="body centered">
<img v-bind:src="dmsPath"/> <img v-bind:src="dmsPath"/>
@ -184,6 +184,9 @@
</section> </section>
</section> </section>
</section> </section>
</section>
</section>
<!-- Footer component --> <!-- Footer component -->
<report-footer id="pageFooter" <report-footer id="pageFooter"
:left-text="$t('ticket', [ticket.id])" :left-text="$t('ticket', [ticket.id])"

View File

@ -51,7 +51,7 @@ module.exports = {
}).format(parseFloat(input)); }).format(parseFloat(input));
}, },
date(input) { date(input) {
return strftime('%d-%m-%Y', input); return strftime('%d-%m-%Y %H:%I:%S', input);
} }
}, },
methods: { methods: {