diff --git a/htdocs/public/webportal/tpl/header_login.tpl.php b/htdocs/public/webportal/tpl/header_login.tpl.php index de81710c502..813c6a15b6c 100644 --- a/htdocs/public/webportal/tpl/header_login.tpl.php +++ b/htdocs/public/webportal/tpl/header_login.tpl.php @@ -27,7 +27,7 @@ global $langs; rootUrl.'includes/jquery/plugins/jnotify/jquery.jnotify.css'; - $jNotifyCSSUrl = dol_buildpath('/includes/jquery/plugins/jnotify/jquery.jnotify.css', 2); + $jNotifyCSSUrl = dol_buildpath('/includes/jquery/plugins/jnotify/jquery.jnotify.min.css', 2); print ''; // JQuery @@ -37,7 +37,7 @@ global $langs; // JNotify //$jNotifyJSUrl = $context->rootUrl.'includes/jquery/plugins/jnotify/jquery.jnotify.js'; - $jNotifyJSUrl = dol_buildpath('/includes/jquery/plugins/jnotify/jquery.jnotify.js', 2); + $jNotifyJSUrl = dol_buildpath('/includes/jquery/plugins/jnotify/jquery.jnotify.min.js', 2); print ''; ?> diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 463be239053..a068454cd1d 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -6535,6 +6535,10 @@ div#ecm-layout-center { .jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message { color: #a28918 !important; } +.jnotify-container .jnotify-close { + top: 4px !important; + font-size: 1.6em !important; +} /* use or not ? */ div.jnotify-background { @@ -6543,6 +6547,30 @@ div.jnotify-background { box-shadow: 2px 2px 4px #8888 !important; } +/* jnotify for the login page */ +.bodylogin .jnotify-container { + position: fixed; + top: 0; + left: 0; + width: 100%; + z-index: 100000; + max-width: unset; + padding-left: unset !important; + padding-right: unset !important; + padding-top: unset !important; +} +.bodylogin .jnotify-container .jnotify-notification { + margin: unset !important; +} +.bodylogin .jnotify-container .jnotify-notification .jnotify-background { + border-radius: unset !important; +} +.bodylogin .jnotify-container .jnotify-notification .jnotify-message { + text-align: center; + font-size: 1.1em; + font-weight: bold; +} + /* ============================================================================== */ /* blockUI */ diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index e8464f67c37..8b7eac9d3e2 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -6506,6 +6506,10 @@ div#ecm-layout-center { .jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message { color: #a28918 !important; } +.jnotify-container .jnotify-close { + top: 4px !important; + font-size: 1.6em !important; +} /* use or not ? */ div.jnotify-background { @@ -6514,6 +6518,30 @@ div.jnotify-background { box-shadow: 2px 2px 4px #8888 !important; } +/* jnotify for the login page */ +.bodylogin .jnotify-container { + position: fixed; + top: 0; + left: 0; + width: 100%; + z-index: 100000; + max-width: unset; + padding-left: unset !important; + padding-right: unset !important; + padding-top: unset !important; +} +.bodylogin .jnotify-container .jnotify-notification { + margin: unset !important; +} +.bodylogin .jnotify-container .jnotify-notification .jnotify-background { + border-radius: unset !important; +} +.bodylogin .jnotify-container .jnotify-notification .jnotify-message { + text-align: center; + font-size: 1.1em; + font-weight: bold; +} + /* ============================================================================== */ /* blockUI */