mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Enhance-Add message stack (#2521)
Implement new messages class Support legacy $_SESSION['message_*'] New function messages::add($message, $mood, $delay) to simplify adding messages updated core/users/user_edit.php to demonstrate includes space->tab corrections
This commit is contained in:
@@ -1392,6 +1392,46 @@ $default_login = ($_REQUEST['login'] == 'default') ? true : false;
|
||||
color: <?php echo $_SESSION['theme']['message_alert_color']['text']; ?>;
|
||||
}
|
||||
|
||||
/* MESSAGES STACK *******************************************************/
|
||||
|
||||
#messages_container {
|
||||
z-index: 99998;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.message_text {
|
||||
z-index: 99999;
|
||||
margin: 0 auto;
|
||||
padding: 0.5em 0;
|
||||
text-align: center;
|
||||
font-family: arial, san-serif;
|
||||
font-size: 10pt;
|
||||
display: block;
|
||||
border-bottom: solid 1px;
|
||||
}
|
||||
|
||||
.message_mood_default {
|
||||
color: <?php echo $_SESSION['theme']['message_default_color']['text']; ?>;
|
||||
background: <?php echo $_SESSION['theme']['message_default_background_color']['text']; ?>;
|
||||
border-bottom-color: <?php echo $_SESSION['theme']['message_default_color']['text']; ?>;
|
||||
}
|
||||
|
||||
.message_mood_negative {
|
||||
color: <?php echo $_SESSION['theme']['message_negative_color']['text']; ?>;
|
||||
background: <?php echo $_SESSION['theme']['message_negative_background_color']['text']; ?>;
|
||||
border-bottom-color: <?php echo $_SESSION['theme']['message_negative_color']['text']; ?>;
|
||||
}
|
||||
|
||||
.message_mood_alert {
|
||||
color: <?php echo $_SESSION['theme']['message_alert_color']['text']; ?>;
|
||||
background: <?php echo $_SESSION['theme']['message_alert_background_color']['text']; ?>;
|
||||
border-bottom-color: <?php echo $_SESSION['theme']['message_alert_color']['text']; ?>;
|
||||
}
|
||||
|
||||
/* OPERATOR PANEL ****************************************************************/
|
||||
|
||||
div.op_ext {
|
||||
|
||||
Reference in New Issue
Block a user