From 7e835ec91534435873758e7ba110537e092c7559 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 2 Dec 2021 19:06:44 +0100 Subject: [PATCH] Fix css --- htdocs/theme/eldy/info-box.inc.php | 12 ++++++------ htdocs/theme/md/info-box.inc.php | 31 +++++++++++++++--------------- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php index 3fe2552c86a..40a62dbf18a 100644 --- a/htdocs/theme/eldy/info-box.inc.php +++ b/htdocs/theme/eldy/info-box.inc.php @@ -330,15 +330,15 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { color: #b06080 !important; } /* Color for customer object */ -.infobox-propal:not(.pictotitle), -.infobox-facture:not(.pictotitle), -.infobox-commande:not(.pictotitle) { +.infobox-propal:not(.pictotitle):not(.error), +.infobox-facture:not(.pictotitle):not(.error), +.infobox-commande:not(.pictotitle):not(.error) { color: #65953d !important; } /* Color for vendor object */ -.infobox-supplier_proposal:not(.pictotitle), -.infobox-invoice_supplier:not(.pictotitle), -.infobox-order_supplier:not(.pictotitle){ +.infobox-supplier_proposal:not(.pictotitle):not(.error), +.infobox-invoice_supplier:not(.pictotitle):not(.error), +.infobox-order_supplier:not(.pictotitle):not(.error) { color: #599caf !important; } .infobox-contrat, .infobox-ticket{ diff --git a/htdocs/theme/md/info-box.inc.php b/htdocs/theme/md/info-box.inc.php index a363475c409..02f263900c6 100644 --- a/htdocs/theme/md/info-box.inc.php +++ b/htdocs/theme/md/info-box.inc.php @@ -28,7 +28,7 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { ?> .customer-back { - background-color: #99a17d !important; + background-color: #65953d !important; color: #FFF !important; padding: 2px; margin: 2px; @@ -56,15 +56,11 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { .bg-infobox-action{ color: #a47080 !important; } -.bg-infobox-propal, -.bg-infobox-facture, -.bg-infobox-commande{ - color: #99a17d !important; +.bg-infobox-propal, .bg-infobox-facture, .bg-infobox-commande { + color: #65953d !important; } -.bg-infobox-supplier_proposal, -.bg-infobox-invoice_supplier, -.bg-infobox-order_supplier{ - color: #599caf !important; +.bg-infobox-supplier_proposal, .bg-infobox-invoice_supplier, .bg-infobox-order_supplier { + color: #599caf !important; } .bg-infobox-contrat, .bg-infobox-ticket{ color: #46a676 !important; @@ -92,16 +88,19 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { .infobox-action{ color: #a47080 !important; } -.infobox-propal, -.infobox-facture, -.infobox-commande{ - color: #99a17d !important; +/* Color for customer object */ +.infobox-propal:not(.pictotitle):not(.error), +.infobox-facture:not(.pictotitle):not(.error), +.infobox-commande:not(.pictotitle):not(.error) { + color: #65953d !important; } -.infobox-supplier_proposal, -.infobox-invoice_supplier, -.infobox-order_supplier{ +/* Color for vendor object */ +.infobox-supplier_proposal:not(.pictotitle):not(.error), +.infobox-invoice_supplier:not(.pictotitle):not(.error), +.infobox-order_supplier:not(.pictotitle):not(.error) { color: #599caf !important; } + .infobox-contrat, .infobox-ticket{ color: #46a676 !important; }