From b367c9daac3d7c6f29467468f31d884c8d102ca4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 30 Mar 2016 16:07:48 +0200 Subject: [PATCH] Enhance picto for setup --- htdocs/admin/modules.php | 16 ++++++++-------- htdocs/theme/eldy/style.css.php | 6 ++++++ htdocs/theme/md/style.css.php | 9 +++++++++ 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 1022a5f9f55..e948bb67cd0 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -484,25 +484,25 @@ if ($mode != 'marketplace') { if (is_array($objMod->config_page_url)) { - print ' '; + print ''; $i=0; foreach ($objMod->config_page_url as $page) { $urlpage=$page; if ($i++) { - print ''.img_picto(ucfirst($page),"setup").' '; + print ''.img_picto(ucfirst($page),"setup").''; // print ''.ucfirst($page).' '; } else { if (preg_match('/^([^@]+)@([^@]+)$/i',$urlpage,$regs)) { - print ''.img_picto($langs->trans("Setup"),"setup").' '; + print ''.img_picto($langs->trans("Setup"),"setup").''; } else { - print ''.img_picto($langs->trans("Setup"),"setup").' '; + print ''.img_picto($langs->trans("Setup"),"setup").''; } } } @@ -510,16 +510,16 @@ if ($mode != 'marketplace') } else if (preg_match('/^([^@]+)@([^@]+)$/i',$objMod->config_page_url,$regs)) { - print ''.img_picto($langs->trans("Setup"),"setup").''; + print ''.img_picto($langs->trans("Setup"),"setup").''; } else { - print ''.img_picto($langs->trans("Setup"),"setup").''; + print ''.img_picto($langs->trans("Setup"),"setup").''; } } else { - print " "; + print ''.img_picto($langs->trans("NothingToSetup"),"setup",'class="opacitytransp"').''; } } @@ -542,7 +542,7 @@ if ($mode != 'marketplace') print "\n"; } print "\n"; - print " "; + print ''.img_picto($langs->trans("NothingToSetup"),"setup",'class="opacitytransp"').''; } print "\n"; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 1601302c046..73dd3e7b642 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -303,6 +303,12 @@ select.flat, form.flat select { .optiongrey { opacity: 0.5; } +.opacityhigh { + opacity: 0.2; +} +.opacitytransp { + opacity: 0; +} select:invalid { color: gray; } input:disabled { background:#ddd; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 55f4e72cb85..15d80b5b05b 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -293,6 +293,15 @@ select.flat, form.flat select { input:disabled { background:#f4f4f4; } +.optiongrey { + opacity: 0.5; +} +.opacityhigh { + opacity: 0.2; +} +.opacitytransp { + opacity: 0; +} input.liste_titre { box-shadow: none !important;