diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css index 3067934a5..9064dd8b4 100644 --- a/html/css/style-classic7.css +++ b/html/css/style-classic7.css @@ -194,7 +194,8 @@ div.recherche_form{ div.content{ padding-top:0.0030%; margin-top:0.0030%; - width:98%; + margin-right: 0.15%; + width:99.7%; font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; font-family: 'OpenSansRegular'; font-size:12px; @@ -2893,3 +2894,65 @@ span.tagcell { .content .h3, .content h3 { font-size: 1.4rem; } +/*** + * Main Menu + */ +.nav-fill .nav-item +{ + margin: 1px; + background: navy; + color: white; + border-radius: 3px; +} +.nav-fill .nav-item:hover { + background-color:#6393c1; + color:navy; + text-decoration: none; +} +.nav-fill .nav-item:visited{ + color:white; +} +.nav-pills .nav-link.active { + background-color: #b1c0d7 !important; + border-radius: 0px; +} +.nav-pills .nav-link { + color:white !important; + +} +li.li-active { + background-color: lightgray !important; + +} +.nav-level2 { + background-color: #4a4a7d;; +} +.nav-level2>li { + border-right: 1px #9fbcd6 ridge; + border-bottom: 1px #9fbcd6 ridge; +} +.nav-level2>li:hover{ + background-color:#6393c1; + color:navy; + text-decoration: none; +} +.nav-level3 { + background-color:#336699; + + +} +.nav-level3>li { + border-right: 1px #9fbcd6 ridge; + border-bottom: 1px #9fbcd6 ridge; +} +.nav-level3>li:hover{ + background-color:#6393c1; + color:navy; + text-decoration: none; +} +.nav-level3 .active { + border-radius:0px !important; +} +.nav-level2 .active { + border-radius:0px !important; +} diff --git a/include/constant.php b/include/constant.php index 9f4254919..ef088ffa9 100644 --- a/include/constant.php +++ b/include/constant.php @@ -116,7 +116,7 @@ if ( !defined ("NOALYSS_PACKAGE_REPOSITORY")) { if ( ! defined ("SYSINFO_DISPLAY")) { define ("SYSINFO_DISPLAY",TRUE); } -define ("DBVERSION",159); +define ("DBVERSION",160); define ("MONO_DATABASE",25); define ("DBVERSIONREPO",19); define ('NOTFOUND','--not found--'); diff --git a/include/lib/ac_common.php b/include/lib/ac_common.php index d952e4cb8..974abafa5 100644 --- a/include/lib/ac_common.php +++ b/include/lib/ac_common.php @@ -523,73 +523,54 @@ function sql_string($p_string) * \param $p_array array like ( 0=>HREF reference, 1=>visible item (name),2=>Help(opt), * 3=>selected (opt) 4=>javascript (normally a onclick event) (opt) * \param $p_dir direction of the menu (H Horizontal V vertical) - * \param $class CSS for TD tag + * \param $class CSS for li tag * \param $class_ref CSS for the A tag * \param $default selected item * \param $p_extra extra code for the table tag (CSS or javascript) */ /* \return : string */ -function ShowItem($p_array, $p_dir='V', $class="mtitle", $class_ref="mtitle", $default="", $p_extra="") +function ShowItem($p_array, $p_dir='V', $class="nav-item", $class_ref="nav-link", $default="", $p_extra="nav nav-pills nav-fill") { - - $ret = "
| '.$href[1].' | |
| '.$href[1].' | |
| ' . $href[1] . ' | '; - } - else - { - $ret.='' . $href[1] . ' | '; - } - } - $ret.="