From 0e7e8f68b7d788f4452dbf073e1329e55e03ff56 Mon Sep 17 00:00:00 2001 From: Gerard Date: Thu, 19 Apr 2018 15:18:44 +0200 Subject: [PATCH] cambio en el estilo de las tablas --- client/core/src/components/grid/style.scss | 24 +++++++++++++++++++++ client/ticket/src/volume/ticket-volume.html | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/client/core/src/components/grid/style.scss b/client/core/src/components/grid/style.scss index 62365a593..00232e6c3 100644 --- a/client/core/src/components/grid/style.scss +++ b/client/core/src/components/grid/style.scss @@ -21,5 +21,29 @@ } & > tbody > tr { border-bottom: 1px solid #9D9D9D; + transition: background-color 200ms ease-in-out; + + &.clickable { + cursor: pointer; + + &:hover { + background-color: #e5e5e5; + } + } + + &.success { + background-color: rgba(163, 209, 49, 0.3); + + &:hover { + background-color: rgba(163, 209, 49, 0.5); + } + } + &.warning { + background-color: rgba(247, 147, 30, 0.3); + + &:hover { + background-color: rgba(247, 147, 30, 0.5); + } + } } } \ No newline at end of file diff --git a/client/ticket/src/volume/ticket-volume.html b/client/ticket/src/volume/ticket-volume.html index 53e6ba87c..935da8f99 100644 --- a/client/ticket/src/volume/ticket-volume.html +++ b/client/ticket/src/volume/ticket-volume.html @@ -15,7 +15,7 @@ - + {{::sale.itemFk}} {{::sale.quantity}}