From f27a108fc5d2b795a6f226b4bd84ac086940749e Mon Sep 17 00:00:00 2001 From: mpuebla Date: Mon, 30 Dec 2019 12:31:10 -0300 Subject: [PATCH] Fix en responsividad de pantalla seleccion de articulos --- src/app/modules/footer/footer.component.html | 2 +- .../modules/formas-pago/formas-pago.component.html | 2 +- .../opcion-pedido/opcion-pedido.component.html | 2 +- .../seleccion-articulos.component.html | 21 ++++++++++---- .../splash-screen/splash-screen.component.html | 2 +- .../splash-screen/splash-screen.component.scss | 4 +++ src/assets/img/carrito.svg | 18 ++++++++++++ src/scss/animations.scss | 33 ++++++++++++++++++++++ src/styles.scss | 1 - 9 files changed, 75 insertions(+), 10 deletions(-) create mode 100644 src/assets/img/carrito.svg diff --git a/src/app/modules/footer/footer.component.html b/src/app/modules/footer/footer.component.html index 03c57f3..d495f35 100644 --- a/src/app/modules/footer/footer.component.html +++ b/src/app/modules/footer/footer.component.html @@ -1,4 +1,4 @@ -
+
ESTAMOS PARA AYUDARTE
diff --git a/src/app/modules/formas-pago/formas-pago.component.html b/src/app/modules/formas-pago/formas-pago.component.html index e374043..b1dc040 100644 --- a/src/app/modules/formas-pago/formas-pago.component.html +++ b/src/app/modules/formas-pago/formas-pago.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/src/app/modules/opcion-pedido/opcion-pedido.component.html b/src/app/modules/opcion-pedido/opcion-pedido.component.html index 55f2819..61e3add 100644 --- a/src/app/modules/opcion-pedido/opcion-pedido.component.html +++ b/src/app/modules/opcion-pedido/opcion-pedido.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/src/app/modules/seleccion-articulos/seleccion-articulos.component.html b/src/app/modules/seleccion-articulos/seleccion-articulos.component.html index db0e108..a085ffe 100644 --- a/src/app/modules/seleccion-articulos/seleccion-articulos.component.html +++ b/src/app/modules/seleccion-articulos/seleccion-articulos.component.html @@ -1,11 +1,11 @@ -
+
-
+
@@ -89,8 +89,9 @@
-
-
+ +
+

ARTÍCULOS EN TÚ CARRITO DE COMPRAS

@@ -113,7 +114,7 @@ (click)="selectCategoria(i)" *ngFor="let categoria of [{},{},{},{},{},{},{},{},{},{},{},{},{},{}]; let i = index;">

{{'lala'}}

@@ -132,6 +133,16 @@
+
+
+
+
VER CARRITO
+
+ +
+
+
+
diff --git a/src/app/modules/splash-screen/splash-screen.component.html b/src/app/modules/splash-screen/splash-screen.component.html index 74ded20..daa16d8 100644 --- a/src/app/modules/splash-screen/splash-screen.component.html +++ b/src/app/modules/splash-screen/splash-screen.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/src/app/modules/splash-screen/splash-screen.component.scss b/src/app/modules/splash-screen/splash-screen.component.scss index d50e403..cd6dacb 100644 --- a/src/app/modules/splash-screen/splash-screen.component.scss +++ b/src/app/modules/splash-screen/splash-screen.component.scss @@ -1,3 +1,7 @@ +.bg-splash { + background-color: #fcf2e3; +} + .box:before { content: ""; position: absolute; diff --git a/src/assets/img/carrito.svg b/src/assets/img/carrito.svg new file mode 100644 index 0000000..d107293 --- /dev/null +++ b/src/assets/img/carrito.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + diff --git a/src/scss/animations.scss b/src/scss/animations.scss index 2462e0a..b651aea 100644 --- a/src/scss/animations.scss +++ b/src/scss/animations.scss @@ -89,3 +89,36 @@ background-color: #f4b223; } } + +/* + * animation fade-in-left + */ +.fade-in-left { + -webkit-animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both; + animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both; +} + +@-webkit-keyframes fade-in-left { + 0% { + -webkit-transform: translateX(-50px); + transform: translateX(-50px); + opacity: 0; + } + 100% { + -webkit-transform: translateX(0); + transform: translateX(0); + opacity: 1; + } +} +@keyframes fade-in-left { + 0% { + -webkit-transform: translateX(-50px); + transform: translateX(-50px); + opacity: 0; + } + 100% { + -webkit-transform: translateX(0); + transform: translateX(0); + opacity: 1; + } +} diff --git a/src/styles.scss b/src/styles.scss index e854fa8..a59d509 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -17,7 +17,6 @@ body { min-height: 100vh; max-height: 100vh; height: 100vh; - background-color: #fcf2e3; font-family: "Gotham"; overflow: hidden; user-select: none; -- 1.9.1