Newer
Older
CamaraComercioWeb / src / app / shared / components / search / search.component.html
Edward Florez on 1 Oct 2021 746 bytes footer and navbar fixed
  1. <main>
  2. <div class="main-container">
  3. <label for="">
  4. <input
  5. [ngStyle]="{
  6. width: is_in_home === false ? '23rem' : '36.875rem',
  7. height: is_in_home === false ? '2.5rem' : '3.125rem'
  8. }"
  9. type="text"
  10. placeholder="Buscar: Hoteles, restaurantes, tiendas, etc."
  11. />
  12. <button
  13. [ngStyle]="{
  14. width: is_in_home === false ? '3.75rem' : '4.063rem',
  15. height: is_in_home === false ? '2.5rem' : '3.125rem',
  16. background:
  17. is_in_home === false
  18. ? 'var(--base-color-secondary)'
  19. : 'var(--base-color-primary)'
  20. }"
  21. >
  22. <fa-icon [icon]="icon_search"></fa-icon>
  23. </button>
  24. </label>
  25. </div>
  26. </main>