From d8e00368176e5086e7a227838da5bedbc953b822 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 11 Apr 2020 12:41:53 +0200 Subject: [PATCH] css --- htdocs/admin/ihm.php | 18 +++++++------- htdocs/core/lib/usergroups.lib.php | 2 +- htdocs/theme/eldy/global.inc.php | 2 +- htdocs/theme/md/style.css.php | 38 +++++++++++++++++++++++++++++- htdocs/theme/md/theme_vars.inc.php | 2 +- 5 files changed, 49 insertions(+), 13 deletions(-) diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 2f33b3ab49b..0bb16b3cbd6 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -241,9 +241,9 @@ print ''; clearstatcache(); print '
'; -print ''; -print ''; -print ''; +print '
'.$langs->trans("Language").' 
'; +print ''; +print ''; // Default language @@ -268,9 +268,9 @@ showSkins(null, 1); print '
'; // Other -print '
'.$langs->trans("Language").' '; print '
'; -print ''; -print ''; +print '
'.$langs->trans("Miscellaneous").' 
'; +print ''; +print ''; // Disable javascript and ajax @@ -385,9 +385,9 @@ print '
'; // Other print '
'; -print '
'.$langs->trans("Miscellaneous").' '; print '
'; -print ''; -print ''; +print '
'.$langs->trans("LoginPage").' 
'; +print ''; +print ''; print ''; // Message on login page diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php index bc20612c747..f3e7cee141d 100644 --- a/htdocs/core/lib/usergroups.lib.php +++ b/htdocs/core/lib/usergroups.lib.php @@ -331,7 +331,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false) if ($foruserprofile) $colspan = 4; $thumbsbyrow = 6; - print '
'.$langs->trans("LoginPage").' 
'; + print '
'; // Title if ($foruserprofile) diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 32c1a2d5bfb..8f3b7325b2a 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -1724,7 +1724,7 @@ div#id-top { display:none; background: var(--colorbackhmenu1); - background-image: linear-gradient(-45deg, , var(--colorbackhmenu1)); + /* background-image: linear-gradient(-45deg, , var(--colorbackhmenu1)); */ /* box-shadow: 0px 0px 5px #eee; */ } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index edc28e7b87e..94f63228126 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -229,6 +229,42 @@ print '*/'."\n"; /* Default styles */ /* ============================================================================== */ +:root { + --colorbackhmenu1: rgb(); + --colorbackvmenu1: rgb(); + --colorbacktitle1: rgb(); + --colorbacktabcard1: rgb(); + --colorbacktabactive: rgb(); + --colorbacklineimpair1: rgb(); + --colorbacklineimpair2: rgb(); + --colorbacklinepair1: rgb(); + --colorbacklinepair2: rgb(); + --colorbacklinepairhover: rgb(); + --colorbacklinepairchecked: rgb(); + --colorbackbody: rgb(); + --colortexttitlenotab: rgb(); + --colortexttitle: rgb(); + --colortext: rgb(); + --colortextlink: rgb(); + --colortextbackhmenu: #; + --colortextbackvmenu: #; + --listetotal: #551188; + --inputbackgroundcolor: #FFF; + --inputbordercolor: rgba(0,0,0,.2); + --tooltipbgcolor: ; + --tooltipfontcolor : ; + --oddevencolor: #202020; + --colorboxstatsborder: #ddd; + --dolgraphbg: rgba(255,255,255,0); + --fieldrequiredcolor: #000055; + --colortextbacktab: #; + --colorboxiconbg: #eee; + --refidnocolor:#444; + --tableforfieldcolor:#666; + --amountremaintopaycolor:#880000; + --amountpaymentcomplete:#008800; + --amountremaintopaybackcolor:none; +} body { @@ -3846,7 +3882,7 @@ div.titre { } div.titre, .secondary { font-family: ; - color: rgb(); + color: var(--colortexttitlenotab); } table.centpercent.notopnoleftnoright.table-fiche-title { diff --git a/htdocs/theme/md/theme_vars.inc.php b/htdocs/theme/md/theme_vars.inc.php index 106a4b5b854..d15444acb6c 100644 --- a/htdocs/theme/md/theme_vars.inc.php +++ b/htdocs/theme/md/theme_vars.inc.php @@ -63,7 +63,7 @@ $colorbacklinepairhover = '230,237,244'; // line hover $colorbacklinepairchecked = '230,237,244'; // line checked $colorbacklinebreak = '214,218,220'; $colorbackbody = '248,248,248'; -$colortexttitlenotab = '90,90,90'; +$colortexttitlenotab = '80,71,5'; $colortexttitle = '20,20,20'; $colortext = '0,0,0'; $colortextlink = '0,0,120';