Look and feel v21

This commit is contained in:
Laurent Destailleur 2024-07-28 19:38:56 +02:00
parent 7e4624c2c0
commit c00c17bb99
3 changed files with 58 additions and 2 deletions

View file

@ -27,7 +27,7 @@ global $langs;
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css">
<?php
//$jNotifyCSSUrl = $context->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 '<link rel="stylesheet" href="'.$jNotifyCSSUrl.' ">';
// 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 '<script src="'.$jNotifyJSUrl.'"></script>';
?>
</head>

View file

@ -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 */

View file

@ -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 */