diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 585cf1d9a64..f1bbe40d51a 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1305,6 +1305,11 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr if (GETPOSTISSET('THEME_DARKMODEENABLED')) { $themeparam .= '&THEME_DARKMODEENABLED='.GETPOST('THEME_DARKMODEENABLED', 'int'); } if (GETPOSTISSET('THEME_SATURATE_RATIO')) { $themeparam .= '&THEME_SATURATE_RATIO='.GETPOST('THEME_SATURATE_RATIO', 'int'); } + if (!empty($conf->global->MAIN_ENABLE_FONT_ROBOTO)) { + print ''."\n"; + print ''."\n"; + } + if (!defined('DISABLE_JQUERY') && !$disablejs && $conf->use_javascript_ajax) { print ''."\n"; diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 1cba4c96dd6..c023ecd0ab3 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -108,6 +108,7 @@ body { margin-bottom: 0; margin-right: 0; margin-left: 0; + font-weight: 300px; trans("DIRECTION").";\n"; ?> } @@ -2161,6 +2162,8 @@ div.menu_titre { { padding-: 2px; padding-: 2px; + font-family: Roboto,; + font-weight: 400; } div.mainmenu { diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 7a86c52ff1e..9d8c2b26017 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -81,7 +81,7 @@ $theme = 'eldy'; // Value of theme if (!empty($conf->global->MAIN_OVERWRITE_THEME_RES)) { $path = '/'.$conf->global->MAIN_OVERWRITE_THEME_RES; $theme = $conf->global->MAIN_OVERWRITE_THEME_RES; } // Define image path files and other constants -$fontlist = 'roboto,arial,tahoma,verdana,helvetica'; //$fontlist='helvetica, verdana, arial, sans-serif'; +$fontlist = 'arial,tahoma,verdana,helvetica'; //$fontlist='helvetica, verdana, arial, sans-serif'; //$fontlist='"open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;'; $img_head = ''; $img_button = dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png', 1);