Commit 2eadadf04a8c0b2c494c17395789d4b96e23d5d0
1 parent
b0751b9dd1
Exists in
develop
Fix
Tamaño de imagen de categoria.
Showing
2 changed files
with
2 additions
and
6 deletions
Show diff stats
src/app/modules/seleccion-articulos/seleccion-articulos.component.html
1 | <div class="h-92 bg-white fade-in-left"> | 1 | <div class="h-92 bg-white fade-in-left"> |
2 | <!-- PUBLICIDADES --> | 2 | <!-- PUBLICIDADES --> |
3 | <app-header-publicidad></app-header-publicidad> | 3 | <app-header-publicidad></app-header-publicidad> |
4 | 4 | ||
5 | <div class="row mx-0 h-80 align-items-end"> | 5 | <div class="row mx-0 h-80 align-items-end"> |
6 | <!-- CABECERA --> | 6 | <!-- CABECERA --> |
7 | <div class="row w-100 mx-3 h-auto border border-primary rounded-sm"> | 7 | <div class="row w-100 mx-3 h-auto border border-primary rounded-sm"> |
8 | <div class="col-12 p-2 align-self-center"> | 8 | <div class="col-12 p-2 align-self-center"> |
9 | <div class="px-3"> | 9 | <div class="px-3"> |
10 | <p class="h6 text-truncate">SELECCIONÁ TÚ COMIDA Y/O BEBIDA</p> | 10 | <p class="h6 text-truncate">SELECCIONÁ TÚ COMIDA Y/O BEBIDA</p> |
11 | </div> | 11 | </div> |
12 | </div> | 12 | </div> |
13 | </div> | 13 | </div> |
14 | <!-- CUERPO --> | 14 | <!-- CUERPO --> |
15 | <div class="row w-100 mr-4 h-50 h-md-70" id="content"> | 15 | <div class="row w-100 mr-4 h-50 h-md-70" id="content"> |
16 | <div class="col-12 h-100 px-0 py-3"> | 16 | <div class="col-12 h-100 px-0 py-3"> |
17 | <div class="row mx-0 h-100"> | 17 | <div class="row mx-0 h-100"> |
18 | <!-- FILTRO CATEGORIAS --> | 18 | <!-- FILTRO CATEGORIAS --> |
19 | <div class="col-5 col-sm-3 col-xl-2 h-100"> | 19 | <div class="col-5 col-sm-3 col-xl-2 h-100"> |
20 | <p class="h6 h-6 m-0 text-center"><small>CATEGORÍAS</small></p> | 20 | <p class="h6 h-6 m-0 text-center"><small>CATEGORÍAS</small></p> |
21 | <div class="row mx-0 h-94 justify-content-center align-items-center"> | 21 | <div class="row mx-0 h-94 justify-content-center align-items-center"> |
22 | <div class="col-auto btn-effect h-5 cat-btn"> | 22 | <div class="col-auto btn-effect h-5 cat-btn"> |
23 | <img | 23 | <img |
24 | draggable="false" | 24 | draggable="false" |
25 | ondragstart="return false;" | 25 | ondragstart="return false;" |
26 | (contextmenu)="false" | 26 | (contextmenu)="false" |
27 | class="h-100 d-block mx-auto rotate-90-neg" | 27 | class="h-100 d-block mx-auto rotate-90-neg" |
28 | src="assets/img/ir-color.svg" | 28 | src="assets/img/ir-color.svg" |
29 | (mousedown)="scrollY(templateCategorias, -100)" | 29 | (mousedown)="scrollY(templateCategorias, -100)" |
30 | (mouseup)="mouseup()" | 30 | (mouseup)="mouseup()" |
31 | (mouseleave)="mouseup()"> | 31 | (mouseleave)="mouseup()"> |
32 | </div> | 32 | </div> |
33 | <!-- CATEGORIAS --> | 33 | <!-- CATEGORIAS --> |
34 | <div | 34 | <div |
35 | #templateCategorias | 35 | #templateCategorias |
36 | class="col-12 px-0 box-categorias border border-primary py-1 | 36 | class="col-12 px-0 box-categorias border border-primary py-1 |
37 | border-left-0 rounded-right scroll-y cat-box" | 37 | border-left-0 rounded-right scroll-y cat-box" |
38 | (scroll)="scrollEvent($event)"> | 38 | (scroll)="scrollEvent($event)"> |
39 | <div | 39 | <div |
40 | class="row mx-4 mb-2 h-25 h-md-32 h-lg-45 justify-content-center tab cat-content" | 40 | class="row mx-4 mb-2 h-25 h-md-32 h-lg-45 justify-content-center tab cat-content" |
41 | [ngClass]="{ 'active rounded-sm shadow': allActive, 'border-bottom-effect': !allActive, | 41 | [ngClass]="{ 'active rounded-sm shadow': allActive, 'border-bottom-effect': !allActive, |
42 | 'media-pantalla' : boxCarrito.classList.contains('media-pantalla') }" | 42 | 'media-pantalla' : boxCarrito.classList.contains('media-pantalla') }" |
43 | (click)="selectCategoria(-1, 0)"> | 43 | (click)="selectCategoria(-1, 0)"> |
44 | <img | 44 | <img |
45 | draggable="false" | 45 | draggable="false" |
46 | ondragstart="return false;" | 46 | ondragstart="return false;" |
47 | (contextmenu)="false" | 47 | (contextmenu)="false" |
48 | class="col-12 h-50 align-self-end d-none d-sm-block rounded-circle" | 48 | class="col-12 img-fluid align-self-end d-none d-sm-block rounded-circle" |
49 | src="assets/img/logo-spot.svg"> | 49 | src="assets/img/logo-spot.svg"> |
50 | <small class="col-12 px-0 my-1 h-100 h-md-25 align-self-end text-center text-truncate">Todos</small> | 50 | <small class="col-12 px-0 my-1 h-100 h-md-25 align-self-end text-center text-truncate">Todos</small> |
51 | </div> | 51 | </div> |
52 | <div | 52 | <div |
53 | class="row mx-4 mb-2 h-25 h-md-32 h-lg-45 justify-content-center tab cat-content" | 53 | class="row mx-4 mb-2 h-25 h-md-32 h-lg-45 justify-content-center tab cat-content" |
54 | [ngClass]="{ 'active rounded-sm shadow': categoria.selected, 'border-bottom-effect': !categoria.selected, | 54 | [ngClass]="{ 'active rounded-sm shadow': categoria.selected, 'border-bottom-effect': !categoria.selected, |
55 | 'media-pantalla' : boxCarrito.classList.contains('media-pantalla') }" | 55 | 'media-pantalla' : boxCarrito.classList.contains('media-pantalla') }" |
56 | (click)="selectCategoria(i, categoria.id)" | 56 | (click)="selectCategoria(i, categoria.id)" |
57 | *ngFor="let categoria of categorias; let i = index;"> | 57 | *ngFor="let categoria of categorias; let i = index;"> |
58 | <img | 58 | <img |
59 | draggable="false" | 59 | draggable="false" |
60 | ondragstart="return false;" | 60 | ondragstart="return false;" |
61 | (contextmenu)="false" | 61 | (contextmenu)="false" |
62 | class="col-12 h-50 align-self-end d-none d-sm-block rounded-circle img-categoria" | 62 | class="col-12 img-fluid align-self-end d-none d-sm-block rounded-circle" |
63 | [ngClass]="{'media-pantalla' : boxCarrito.classList.contains('media-pantalla')}" | 63 | [ngClass]="{'media-pantalla' : boxCarrito.classList.contains('media-pantalla')}" |
64 | src="{{urlImagenes}}{{categoria.path_imagen}}" | 64 | src="{{urlImagenes}}{{categoria.path_imagen}}" |
65 | onerror="this.src='assets/img/image-not-found.jpg'"> | 65 | onerror="this.src='assets/img/image-not-found.jpg'"> |
66 | <small class="col-12 px-1 my-1 h-100 h-md-25 align-self-end text-center text-truncate">{{categoria.detalle}}</small> | 66 | <small class="col-12 px-1 my-1 h-100 h-md-25 align-self-end text-center text-truncate">{{categoria.detalle}}</small> |
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | <div class="col-auto btn-effect h-5 cat-btn"> | 69 | <div class="col-auto btn-effect h-5 cat-btn"> |
70 | <img | 70 | <img |
71 | draggable="false" | 71 | draggable="false" |
72 | ondragstart="return false;" | 72 | ondragstart="return false;" |
73 | (contextmenu)="false" | 73 | (contextmenu)="false" |
74 | class="h-100 d-block mx-auto rotate-90" | 74 | class="h-100 d-block mx-auto rotate-90" |
75 | src="assets/img/ir-color.svg" | 75 | src="assets/img/ir-color.svg" |
76 | (mousedown)="scrollY(templateCategorias, 100)" | 76 | (mousedown)="scrollY(templateCategorias, 100)" |
77 | (mouseup)="mouseup()" | 77 | (mouseup)="mouseup()" |
78 | (mouseleave)="mouseup()"> | 78 | (mouseleave)="mouseup()"> |
79 | </div> | 79 | </div> |
80 | </div> | 80 | </div> |
81 | </div> | 81 | </div> |
82 | <!-- LISTA DE ARTICULOS --> | 82 | <!-- LISTA DE ARTICULOS --> |
83 | <div | 83 | <div |
84 | class="col-7 col-sm-9 col-xl-10 pb-3 h-100 align-self-center scroll-y-visible" | 84 | class="col-7 col-sm-9 col-xl-10 pb-3 h-100 align-self-center scroll-y-visible" |
85 | (scroll)="scrollEvent($event)"> | 85 | (scroll)="scrollEvent($event)"> |
86 | <div class="row row-cols-1 row-cols-sm-3 row-cols-xl-6"> | 86 | <div class="row row-cols-1 row-cols-sm-3 row-cols-xl-6"> |
87 | <!-- ARTICULO --> | 87 | <!-- ARTICULO --> |
88 | <div | 88 | <div |
89 | class="col px-2 my-1 my-md-3 h-auto" | 89 | class="col px-2 my-1 my-md-3 h-auto" |
90 | *ngFor="let articulo of auxArticulos | slice:0:showQuantity;"> | 90 | *ngFor="let articulo of auxArticulos | slice:0:showQuantity;"> |
91 | <div | 91 | <div |
92 | class="swing-in-top-fwd btn-effect card h-auto" | 92 | class="swing-in-top-fwd btn-effect card h-auto" |
93 | (click)="selectArticulo(articulo)"> | 93 | (click)="selectArticulo(articulo)"> |
94 | <img | 94 | <img |
95 | draggable="false" | 95 | draggable="false" |
96 | ondragstart="return false;" | 96 | ondragstart="return false;" |
97 | (contextmenu)="false" | 97 | (contextmenu)="false" |
98 | src="{{urlImagenes}}{{articulo.imagenes[0].imagen}}" | 98 | src="{{urlImagenes}}{{articulo.imagenes[0].imagen}}" |
99 | onerror="this.src='assets/img/image-not-found.jpg'" | 99 | onerror="this.src='assets/img/image-not-found.jpg'" |
100 | class="card-img-top h-30 h-md-55 rounded-sm"> | 100 | class="card-img-top h-30 h-md-55 rounded-sm"> |
101 | <div class="row mx-0 py-1 h-auto justify-content-center"> | 101 | <div class="row mx-0 py-1 h-auto justify-content-center"> |
102 | <p | 102 | <p |
103 | [ngClass]="{'text-primary': articulo.PRO, 'text-secondary': !articulo.PRO}" | 103 | [ngClass]="{'text-primary': articulo.PRO, 'text-secondary': !articulo.PRO}" |
104 | class="col-12 px-1 h6 h-auto text-center min-h-60"> | 104 | class="col-12 px-1 h6 h-auto text-center min-h-60"> |
105 | {{articulo.DetArt.toUpperCase()}} | 105 | {{articulo.DetArt.toUpperCase()}} |
106 | </p> | 106 | </p> |
107 | <div class="col-12 px-1 align-self-end h-auto"> | 107 | <div class="col-12 px-1 align-self-end h-auto"> |
108 | <div | 108 | <div |
109 | [ngClass]="{'bg-primary': articulo.PRO, 'bg-secondary': !articulo.PRO}" | 109 | [ngClass]="{'bg-primary': articulo.PRO, 'bg-secondary': !articulo.PRO}" |
110 | class="row mx-0 justify-content-between badge-pill"> | 110 | class="row mx-0 justify-content-between badge-pill"> |
111 | <div class="col px-0 align-self-center text-white text-right"> | 111 | <div class="col px-0 align-self-center text-white text-right"> |
112 | {{articulo.PreVen | currency}} | 112 | {{articulo.PreVen | currency}} |
113 | </div> | 113 | </div> |
114 | <div class="col-5 px-0"> | 114 | <div class="col-5 px-0"> |
115 | <img | 115 | <img |
116 | draggable="false" | 116 | draggable="false" |
117 | ondragstart="return false;" | 117 | ondragstart="return false;" |
118 | (contextmenu)="false" | 118 | (contextmenu)="false" |
119 | class="d-block ml-auto py-1 icon-30" | 119 | class="d-block ml-auto py-1 icon-30" |
120 | src="assets/img/ir.svg"> | 120 | src="assets/img/ir.svg"> |
121 | </div> | 121 | </div> |
122 | </div> | 122 | </div> |
123 | </div> | 123 | </div> |
124 | </div> | 124 | </div> |
125 | </div> | 125 | </div> |
126 | </div> | 126 | </div> |
127 | </div> | 127 | </div> |
128 | <!-- BOTON VER MAS --> | 128 | <!-- BOTON VER MAS --> |
129 | <div class="row mx-0"> | 129 | <div class="row mx-0"> |
130 | <div | 130 | <div |
131 | *ngIf="showQuantity <= auxArticulos.slice(0, showQuantity).length" | 131 | *ngIf="showQuantity <= auxArticulos.slice(0, showQuantity).length" |
132 | class="col-12 px-0 mb-2"> | 132 | class="col-12 px-0 mb-2"> |
133 | <button | 133 | <button |
134 | (click)="increaseShow()" | 134 | (click)="increaseShow()" |
135 | class="btn btn-block btn-outline-primary"> | 135 | class="btn btn-block btn-outline-primary"> |
136 | Ver Más | 136 | Ver Más |
137 | </button> | 137 | </button> |
138 | </div> | 138 | </div> |
139 | </div> | 139 | </div> |
140 | </div> | 140 | </div> |
141 | </div> | 141 | </div> |
142 | </div> | 142 | </div> |
143 | </div> | 143 | </div> |
144 | <!-- FOOTER CARRITO DE COMPRAS --> | 144 | <!-- FOOTER CARRITO DE COMPRAS --> |
145 | <div class="row w-90 mx-auto h-auto justify-content-center"> | 145 | <div class="row w-90 mx-auto h-auto justify-content-center"> |
146 | <div class="h-75 px-0 border border-primary rounded" #boxCarrito | 146 | <div class="h-75 px-0 border border-primary rounded" #boxCarrito |
147 | [ngClass]="boxCarrito.classList.contains('media-pantalla') | 147 | [ngClass]="boxCarrito.classList.contains('media-pantalla') |
148 | ? 'col-8' : 'col-12'" id="boxCarrito"> | 148 | ? 'col-8' : 'col-12'" id="boxCarrito"> |
149 | <!-- CABECERA --> | 149 | <!-- CABECERA --> |
150 | <div class="row mx-0 h-15 border-bottom border-primary"> | 150 | <div class="row mx-0 h-15 border-bottom border-primary"> |
151 | <p class="col align-self-center text-truncate"><small>ARTÍCULOS EN TÚ CARRITO DE COMPRAS</small></p> | 151 | <p class="col align-self-center text-truncate"><small>ARTÍCULOS EN TÚ CARRITO DE COMPRAS</small></p> |
152 | </div> | 152 | </div> |
153 | <!-- CUERPO --> | 153 | <!-- CUERPO --> |
154 | <div class="row h-85 mx-0 justify-content-around"> | 154 | <div class="row h-85 mx-0 justify-content-around"> |
155 | <!-- BOTON SCROLL IZQUIERDA --> | 155 | <!-- BOTON SCROLL IZQUIERDA --> |
156 | <div *ngIf="articuloService.carrito.length" class="col-auto btn-effect h-20 align-self-center"> | 156 | <div *ngIf="articuloService.carrito.length" class="col-auto btn-effect h-20 align-self-center"> |
157 | <img | 157 | <img |
158 | draggable="false" | 158 | draggable="false" |
159 | ondragstart="return false;" | 159 | ondragstart="return false;" |
160 | (contextmenu)="false" | 160 | (contextmenu)="false" |
161 | class="icon-30 rotate-180-neg" | 161 | class="icon-30 rotate-180-neg" |
162 | src="assets/img/ir-fondo-color.svg" | 162 | src="assets/img/ir-fondo-color.svg" |
163 | (mousedown)="scrollX(templateCarrito, -100)" | 163 | (mousedown)="scrollX(templateCarrito, -100)" |
164 | (mouseup)="mouseup()" | 164 | (mouseup)="mouseup()" |
165 | (mouseleave)="mouseup()"> | 165 | (mouseleave)="mouseup()"> |
166 | </div> | 166 | </div> |
167 | <!-- CARRITO --> | 167 | <!-- CARRITO --> |
168 | <div class="col-6 col-sm-8 col-lg-10 h-100"> | 168 | <div class="col-6 col-sm-8 col-lg-10 h-100"> |
169 | <div | 169 | <div |
170 | #templateCarrito | 170 | #templateCarrito |
171 | class="row flex-row flex-nowrap h-100 mx-0 my-2 scroll-x" | 171 | class="row flex-row flex-nowrap h-100 mx-0 my-2 scroll-x" |
172 | (scroll)="scrollEvent($event)"> | 172 | (scroll)="scrollEvent($event)"> |
173 | <!-- MENSAJE DE ADVERTENCIA --> | 173 | <!-- MENSAJE DE ADVERTENCIA --> |
174 | <div *ngIf="!articuloService.carrito.length" class="col h-100"> | 174 | <div *ngIf="!articuloService.carrito.length" class="col h-100"> |
175 | <p class="text-center py-5">No hay articulos en el carrito</p> | 175 | <p class="text-center py-5">No hay articulos en el carrito</p> |
176 | </div> | 176 | </div> |
177 | <!-- ARTICULOS --> | 177 | <!-- ARTICULOS --> |
178 | <div | 178 | <div |
179 | class="col-10 col-sm-4 col-lg-2 px-2 px-xl-4 align-self-center border-right border-primary" | 179 | class="col-10 col-sm-4 col-lg-2 px-2 px-xl-4 align-self-center border-right border-primary" |
180 | *ngFor="let articulo of articuloService.carrito; let i = index;"> | 180 | *ngFor="let articulo of articuloService.carrito; let i = index;"> |
181 | <div class="swing-in-top-fwd"> | 181 | <div class="swing-in-top-fwd"> |
182 | <img | 182 | <img |
183 | class="btn-effect icon-20 position-absolute right-0" | 183 | class="btn-effect icon-20 position-absolute right-0" |
184 | src="assets/img/icono-cancelar-color.svg" | 184 | src="assets/img/icono-cancelar-color.svg" |
185 | (click)="deleteArticulo(i)"> | 185 | (click)="deleteArticulo(i)"> |
186 | <img | 186 | <img |
187 | draggable="false" | 187 | draggable="false" |
188 | ondragstart="return false;" | 188 | ondragstart="return false;" |
189 | (contextmenu)="false" | 189 | (contextmenu)="false" |
190 | class="d-block img-fluid p-2 mx-auto rounded" | 190 | class="d-block img-fluid p-2 mx-auto rounded" |
191 | src="{{urlImagenes}}{{articulo.imagenes[0].imagen}}" | 191 | src="{{urlImagenes}}{{articulo.imagenes[0].imagen}}" |
192 | onerror="this.src='assets/img/image-not-found.jpg'"> | 192 | onerror="this.src='assets/img/image-not-found.jpg'"> |
193 | <p class="d-block mt-auto text-center text-primary text-truncate"> | 193 | <p class="d-block mt-auto text-center text-primary text-truncate"> |
194 | <small>{{articulo.DetArt}}</small> | 194 | <small>{{articulo.DetArt}}</small> |
195 | </p> | 195 | </p> |
196 | </div> | 196 | </div> |
197 | </div> | 197 | </div> |
198 | </div> | 198 | </div> |
199 | </div> | 199 | </div> |
200 | <!-- BOTON SCROLL DERECHA --> | 200 | <!-- BOTON SCROLL DERECHA --> |
201 | <div *ngIf="articuloService.carrito.length" class="col-auto btn-effect h-20 align-self-center"> | 201 | <div *ngIf="articuloService.carrito.length" class="col-auto btn-effect h-20 align-self-center"> |
202 | <img | 202 | <img |
203 | draggable="false" | 203 | draggable="false" |
204 | ondragstart="return false;" | 204 | ondragstart="return false;" |
205 | (contextmenu)="false" | 205 | (contextmenu)="false" |
206 | class="icon-30" | 206 | class="icon-30" |
207 | src="assets/img/ir-fondo-color.svg" | 207 | src="assets/img/ir-fondo-color.svg" |
208 | (mousedown)="scrollX(templateCarrito, 100)" | 208 | (mousedown)="scrollX(templateCarrito, 100)" |
209 | (mouseup)="mouseup()" | 209 | (mouseup)="mouseup()" |
210 | (mouseleave)="mouseup()"> | 210 | (mouseleave)="mouseup()"> |
211 | </div> | 211 | </div> |
212 | </div> | 212 | </div> |
213 | </div> | 213 | </div> |
214 | <!-- TOTAL--> | 214 | <!-- TOTAL--> |
215 | <div | 215 | <div |
216 | class="col-auto mt-2 ml-auto h-20"> | 216 | class="col-auto mt-2 ml-auto h-20"> |
217 | <div class="row mx-0"> | 217 | <div class="row mx-0"> |
218 | <div class="col-auto align-self-center text-primary">TOTAL</div> | 218 | <div class="col-auto align-self-center text-primary">TOTAL</div> |
219 | <div class="col-auto bg-primary badge-pill"> | 219 | <div class="col-auto bg-primary badge-pill"> |
220 | <p class="text-center text-white mt-1 py-1">{{articuloService.subTotal | currency}}</p> | 220 | <p class="text-center text-white mt-1 py-1">{{articuloService.subTotal | currency}}</p> |
221 | </div> | 221 | </div> |
222 | </div> | 222 | </div> |
223 | </div> | 223 | </div> |
224 | 224 | ||
225 | <!-- VER CARRITO --> | 225 | <!-- VER CARRITO --> |
226 | <div | 226 | <div |
227 | class="col-auto px-0 mt-2 h-20" | 227 | class="col-auto px-0 mt-2 h-20" |
228 | *ngIf="articuloService.carrito.length" | 228 | *ngIf="articuloService.carrito.length" |
229 | [ngClass]="{'ml-auto pb-3' : boxCarrito.classList.contains('media-pantalla')}"> | 229 | [ngClass]="{'ml-auto pb-3' : boxCarrito.classList.contains('media-pantalla')}"> |
230 | <div | 230 | <div |
231 | class="btn-effect col-auto px-0 align-self-center bg-white" | 231 | class="btn-effect col-auto px-0 align-self-center bg-white" |
232 | [routerLink]="['/carrito']"> | 232 | [routerLink]="['/carrito']"> |
233 | <div class="row mx-0 bg-light"> | 233 | <div class="row mx-0 bg-light"> |
234 | <div class="col-auto p-0 bg-primary"> | 234 | <div class="col-auto p-0 bg-primary"> |
235 | <img | 235 | <img |
236 | draggable="false" | 236 | draggable="false" |
237 | ondragstart="return false;" | 237 | ondragstart="return false;" |
238 | (contextmenu)="false" | 238 | (contextmenu)="false" |
239 | class="p-2 icon-40" | 239 | class="p-2 icon-40" |
240 | src="assets/img/carrito.svg"> | 240 | src="assets/img/carrito.svg"> |
241 | </div> | 241 | </div> |
242 | <div class="col-auto align-self-center text-primary d-none d-sm-block">IR AL CARRITO</div> | 242 | <div class="col-auto align-self-center text-primary d-none d-sm-block">IR AL CARRITO</div> |
243 | </div> | 243 | </div> |
244 | </div> | 244 | </div> |
245 | </div> | 245 | </div> |
246 | 246 | ||
247 | </div> | 247 | </div> |
248 | </div> | 248 | </div> |
249 | 249 | ||
250 | </div> | 250 | </div> |
251 | 251 |
src/app/modules/seleccion-articulos/seleccion-articulos.component.scss
1 | $primary: #aa006b; | 1 | $primary: #aa006b; |
2 | 2 | ||
3 | .box-categorias { | 3 | .box-categorias { |
4 | height: calc(100% - 100px) !important; | 4 | height: calc(100% - 100px) !important; |
5 | } | 5 | } |
6 | 6 | ||
7 | .active { | 7 | .active { |
8 | background-color: white; | 8 | background-color: white; |
9 | border-bottom: 3px solid $primary !important; | 9 | border-bottom: 3px solid $primary !important; |
10 | border-top: 3px solid $primary !important; | 10 | border-top: 3px solid $primary !important; |
11 | border-left: 3px solid $primary !important; | 11 | border-left: 3px solid $primary !important; |
12 | border-right: 3px solid $primary !important; | 12 | border-right: 3px solid $primary !important; |
13 | } | 13 | } |
14 | 14 | ||
15 | .border-bottom-effect { | 15 | .border-bottom-effect { |
16 | border: none; | 16 | border: none; |
17 | position: relative; | 17 | position: relative; |
18 | &:hover { | 18 | &:hover { |
19 | border: none; | 19 | border: none; |
20 | } | 20 | } |
21 | &::after { | 21 | &::after { |
22 | content: ""; | 22 | content: ""; |
23 | position: absolute; | 23 | position: absolute; |
24 | width: 0px; | 24 | width: 0px; |
25 | height: 3px; | 25 | height: 3px; |
26 | left: 50%; | 26 | left: 50%; |
27 | bottom: 0; | 27 | bottom: 0; |
28 | background-color: $primary; | 28 | background-color: $primary; |
29 | transition: all ease-in-out 0.2s; | 29 | transition: all ease-in-out 0.2s; |
30 | } | 30 | } |
31 | &:hover::after { | 31 | &:hover::after { |
32 | width: 100%; | 32 | width: 100%; |
33 | left: 0; | 33 | left: 0; |
34 | } | 34 | } |
35 | } | 35 | } |
36 | 36 | ||
37 | .card { | 37 | .card { |
38 | border: none; | 38 | border: none; |
39 | } | 39 | } |
40 | 40 | ||
41 | .line-height-sm { | 41 | .line-height-sm { |
42 | line-height: 1.2; | 42 | line-height: 1.2; |
43 | } | 43 | } |
44 | 44 | ||
45 | #content.media-pantalla,#boxCarrito.media-pantalla { | 45 | #content.media-pantalla,#boxCarrito.media-pantalla { |
46 | max-height: 60% !important; | 46 | max-height: 60% !important; |
47 | } | 47 | } |
48 | 48 | ||
49 | .cat-content.media-pantalla { | 49 | .cat-content.media-pantalla { |
50 | margin: 0.5rem 0.7rem !important; | 50 | margin: 0.5rem 0.7rem !important; |
51 | height: 76% !important; | 51 | height: 76% !important; |
52 | } | 52 | } |
53 | 53 | ||
54 | .cat-box.media-pantalla{ | 54 | .cat-box.media-pantalla{ |
55 | height: calc(100% - 85px) !important; | 55 | height: calc(100% - 85px) !important; |
56 | } | 56 | } |
57 | 57 | ||
58 | .cat-btn.media-pantalla { | 58 | .cat-btn.media-pantalla { |
59 | height: 7% !important; | 59 | height: 7% !important; |
60 | } | 60 | } |
61 | |||
62 | .img-categoria.media-pantalla{ | ||
63 | min-height: 40px !important; | ||
64 | } |