Browse Source

[IMP] add orderlist-screen css class to limit selectors

pull/397/head
Iván Todorovich 5 years ago
committed by AmmarOfficewala
parent
commit
9f303bca5a
  1. 7
      pos_order_mgmt/static/src/css/pos.css
  2. 2
      pos_order_mgmt/static/src/xml/pos.xml

7
pos_order_mgmt/static/src/css/pos.css

@ -1,4 +1,5 @@
/* Copyright 2018 Tecnativa - David Vidal /* Copyright 2018 Tecnativa - David Vidal
Copyright 2019 Druidoo - Iván Todorovich
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
*/ */
@ -6,7 +7,7 @@
font-size: 20px; font-size: 20px;
} }
.order-line .button {
.orderlist-screen .order-line .button {
cursor: pointer; cursor: pointer;
top: 0px; top: 0px;
line-height: 32px; line-height: 32px;
@ -19,13 +20,13 @@
transition: all 150ms linear; transition: all 150ms linear;
} }
.order-line .button:active {
.orderlist-screen .order-line .button:active {
background: black; background: black;
border-color: black; border-color: black;
color: white; color: white;
} }
.order-returned-warning {
.orderlist-screen .order-returned-warning {
font-size: 16px; font-size: 16px;
font-style: italic; font-style: italic;
padding: 8px 0; padding: 8px 0;

2
pos_order_mgmt/static/src/xml/pos.xml

@ -10,7 +10,7 @@
</t> </t>
<t t-name="OrderListScreenWidget"> <t t-name="OrderListScreenWidget">
<div class="clientlist-screen screen">
<div class="orderlist-screen clientlist-screen screen">
<div class="screen-content"> <div class="screen-content">
<section class="top-content"> <section class="top-content">
<span class='button back'> <span class='button back'>

Loading…
Cancel
Save