From 9f303bca5afb8bb921022c77add53bd6f843738b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Todorovich?= Date: Fri, 2 Aug 2019 15:50:45 +0000 Subject: [PATCH] [IMP] add orderlist-screen css class to limit selectors --- pos_order_mgmt/static/src/css/pos.css | 7 ++++--- pos_order_mgmt/static/src/xml/pos.xml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pos_order_mgmt/static/src/css/pos.css b/pos_order_mgmt/static/src/css/pos.css index 1f2544e3..b9cd64a4 100644 --- a/pos_order_mgmt/static/src/css/pos.css +++ b/pos_order_mgmt/static/src/css/pos.css @@ -1,4 +1,5 @@ /* Copyright 2018 Tecnativa - David Vidal + Copyright 2019 Druidoo - Iván Todorovich License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). */ @@ -6,7 +7,7 @@ font-size: 20px; } -.order-line .button { +.orderlist-screen .order-line .button { cursor: pointer; top: 0px; line-height: 32px; @@ -19,13 +20,13 @@ transition: all 150ms linear; } -.order-line .button:active { +.orderlist-screen .order-line .button:active { background: black; border-color: black; color: white; } -.order-returned-warning { +.orderlist-screen .order-returned-warning { font-size: 16px; font-style: italic; padding: 8px 0; diff --git a/pos_order_mgmt/static/src/xml/pos.xml b/pos_order_mgmt/static/src/xml/pos.xml index d8de28a5..529a3a71 100644 --- a/pos_order_mgmt/static/src/xml/pos.xml +++ b/pos_order_mgmt/static/src/xml/pos.xml @@ -10,7 +10,7 @@ -
+