Commit 097f9891f8016a791618dd9b99608a5aa86564e9

Authored by Marcelo Puebla
1 parent 189bf02bd3
Exists in develop

Change

Toda el area del card de articulo es seleccionable.
src/app/modules/seleccion-articulos/seleccion-articulos.component.html
... ... @@ -84,7 +84,9 @@
84 84 <div
85 85 class="col px-2 my-1 my-md-3 h-auto"
86 86 *ngFor="let articulo of auxArticulos | slice:0:showQuantity;">
87   - <div class="swing-in-top-fwd card h-auto">
  87 + <div
  88 + class="swing-in-top-fwd btn-effect card h-auto"
  89 + (click)="elegirArticulo(articulo)">
88 90 <img
89 91 draggable="false"
90 92 ondragstart="return false;"
... ... @@ -101,11 +103,10 @@
101 103 <p class="col-12 px-1 h-auto text-center line-height-sm min-h-50">
102 104 <small>{{articulo.DET_LAR}}</small>
103 105 </p>
104   - <div class="col-12 px-1 align-self-end btn-effect h-auto">
  106 + <div class="col-12 px-1 align-self-end h-auto">
105 107 <div
106 108 [ngClass]="{'bg-primary': articulo.PRO, 'bg-secondary': !articulo.PRO}"
107   - class="row mx-0 justify-content-between badge-pill"
108   - (click)="elegirArticulo(articulo)">
  109 + class="row mx-0 justify-content-between badge-pill">
109 110 <div class="col px-0 align-self-center text-white text-right">
110 111 {{articulo.PreVen | currency}}
111 112 </div>
... ... @@ -23,13 +23,13 @@ body {
23 23 }
24 24  
25 25 .btn-effect {
26   - transition: all 0.3s;
  26 + transition: all 0.3s !important;
27 27 &:hover {
28   - cursor: pointer;
29   - opacity: 0.7;
  28 + cursor: pointer !important;
  29 + opacity: 0.7 !important;
30 30 }
31 31 &:active {
32   - transform: scale(1.02);
  32 + transform: scale(1.02) !important;
33 33 }
34 34 }
35 35