From f3a56f466a9fee38d17078eae5652dca8d414e4b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 26 Sep 2024 21:06:24 +0200 Subject: [PATCH] Look and feel v21 --- htdocs/fourn/facture/card.php | 2 +- htdocs/theme/eldy/btn.inc.php | 4 +++- htdocs/theme/eldy/global.inc.php | 7 ++++--- htdocs/theme/md/btn.inc.php | 6 ++++-- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php index c3721117578..9a64f92d572 100644 --- a/htdocs/fourn/facture/card.php +++ b/htdocs/fourn/facture/card.php @@ -3855,7 +3855,7 @@ if ($action == 'create') { } print ''; print ''; - print ''.(!empty($object->multicurrency_code) ? $object->multicurrency_code : $conf->currency).' '.price(price2num($multicurrency_resteapayer, 'MT')).' '; + print ''.price(price2num($multicurrency_resteapayer, 'MT'), 0, $langs, 1, -1, -1, $object->multicurrency_code).' '; } } else { // Credit note $cssforamountpaymentcomplete = 'amountpaymentneutral'; diff --git a/htdocs/theme/eldy/btn.inc.php b/htdocs/theme/eldy/btn.inc.php index 95df3a93ebd..117c7fb2393 100644 --- a/htdocs/theme/eldy/btn.inc.php +++ b/htdocs/theme/eldy/btn.inc.php @@ -292,7 +292,9 @@ a.btnTitle.btnTitleSelected { display: block; } -div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle { +div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle, +table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle, +table.table-fiche-title tr.titre td.col-right a.btnTitle { margin-: 10px; } diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 72652906641..95aca4ccdbb 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -4236,9 +4236,6 @@ tr.liste_titre_filter td.liste_titre { padding-top: 1px; padding-bottom: 0px; } -tr.liste_titre_filter td.liste_titre:first-of-type { -/* height: 36px; */ -} .liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd { border-bottom-width: 0 !important; @@ -4246,6 +4243,10 @@ tr.liste_titre_filter td.liste_titre:first-of-type { border-top-color: var(--colortopbordertitle1); border-top-style: solid; } +tr.liste_titre_create td { + padding-right: 4px !important; + padding-left: 4px !important; +} tr#trlinefordates td { border-bottom: 0px !important; } diff --git a/htdocs/theme/md/btn.inc.php b/htdocs/theme/md/btn.inc.php index 717c2a96486..b464e978081 100644 --- a/htdocs/theme/md/btn.inc.php +++ b/htdocs/theme/md/btn.inc.php @@ -291,8 +291,10 @@ span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover TITLE BUTTON */ -div.pagination li:first-child a.btnTitle { - margin-left: 10px; +div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle, +table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle, +table.table-fiche-title tr.titre td.col-right a.btnTitle { + margin-: 10px; } .btnTitle, a.btnTitle {