mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-24 02:11:27 +01:00
77 lines
2.0 KiB
CSS
77 lines
2.0 KiB
CSS
.jnotify-container {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
width: min(100%, 640px);
|
|
max-height: min(0.9vh, 480px) ;
|
|
z-index: 100000;
|
|
}
|
|
|
|
.jnotify-container .jnotify-notification {
|
|
position: relative;
|
|
}
|
|
|
|
.jnotify-container .jnotify-notification .jnotify-background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #e3f0db;
|
|
filter: alpha(opacity=90);
|
|
-moz-opacity: 0.90;
|
|
opacity: 0.90;
|
|
z-index: 1;
|
|
}
|
|
|
|
.jnotify-container .jnotify-notification a.jnotify-close,
|
|
.jnotify-container .jnotify-notification a.jnotify-close:link,
|
|
.jnotify-container .jnotify-notification a.jnotify-close:visited,
|
|
.jnotify-container .jnotify-notification a.jnotify-close:focus,
|
|
.jnotify-container .jnotify-notification a.jnotify-close:hover {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 5px;
|
|
padding: 0 5px;
|
|
font: bold 1.4em Arial,Helvetica,sans-serif;
|
|
line-height: 1em;
|
|
color: #497900;
|
|
text-decoration: none;
|
|
z-index: 3;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.jnotify-container .jnotify-notification .jnotify-message {
|
|
position: relative;
|
|
z-index: 2;
|
|
padding: 20px;
|
|
text-align: center;
|
|
color: #649a00;
|
|
font: bold 1em Arial,Helvetica,sans-serif;
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
.jnotify-container .jnotify-notification .jnotify-message * {
|
|
font-size: 1em;
|
|
}
|
|
|
|
/* notification type == "error" */
|
|
.jnotify-container .jnotify-notification-error .jnotify-background {
|
|
background-color: rgba(192, 0, 0, 0.8);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.jnotify-container .jnotify-notification-error .jnotify-close,
|
|
.jnotify-container .jnotify-notification-error .jnotify-message {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* notification type == "warning" */
|
|
.jnotify-container .jnotify-notification-warning .jnotify-background {
|
|
background-color: #fff7d1;
|
|
}
|
|
|
|
.jnotify-container .jnotify-notification-warning .jnotify-close,
|
|
.jnotify-container .jnotify-notification-warning .jnotify-message {
|
|
color: #c2a928 !important;
|
|
} |