From 760dcf21ba83a94ddcc4e260c3d488671c6857f6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 11 Dec 2018 13:47:39 +0100 Subject: [PATCH] FIX Missing generic css --- htdocs/theme/eldy/style.css.php | 8 ++++++++ htdocs/theme/md/style.css.php | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 05fd488e948..4a36fa4a197 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -1823,6 +1823,14 @@ foreach($mainmenuusedarray as $val) print "}\n"; } } +$j=0; +while ($j++ < 4) +{ + $url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.$j."_over.png",1); + print "div.mainmenu.generic".$j." {\n"; + print " background-image: url(".$url.");\n"; + print "}\n"; +} // End of part to add more div class css ?> diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 3422135628c..7e4d8ec11d2 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -1828,6 +1828,14 @@ foreach($mainmenuusedarray as $val) print "}\n"; } } +$j=0; +while ($j++ < 4) +{ + $url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.$j."_over.png",1); + print "div.mainmenu.generic".$j." {\n"; + print " background-image: url(".$url.");\n"; + print "}\n"; +} // End of part to add more div class css ?>