mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 18:31:26 +01:00
move egw_(message|app_header) from jsapi.js to egw_message.js available as egw(window).message(_msg, _type) and make it usable in popups too
This commit is contained in:
parent
7e672697fb
commit
feb549c120
@ -5297,6 +5297,45 @@ div.admin-config form > table td {
|
||||
div.admin-config form > table td b {
|
||||
font-weight: bold;
|
||||
}
|
||||
/**
|
||||
* Styles for different egw_message-types
|
||||
*/
|
||||
.success_message,
|
||||
.warning_message,
|
||||
.error_message {
|
||||
color: red;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
text-align: left;
|
||||
margin-left: 5px;
|
||||
padding-left: 20px;
|
||||
background-image: url(../images/check.png);
|
||||
background-position: left;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 16px;
|
||||
}
|
||||
.warning_message {
|
||||
background-image: url(../images/dialog_warning.png);
|
||||
}
|
||||
.error_message {
|
||||
font-weight: bold;
|
||||
background-image: url(../images/dialog_error.png);
|
||||
}
|
||||
/**
|
||||
* Message in popup
|
||||
*/
|
||||
body > div#egw_message {
|
||||
background-color: lightyellow;
|
||||
border-radius: 10px;
|
||||
right: 5px;
|
||||
top: 5px;
|
||||
padding: 10px;
|
||||
padding-left: 25px;
|
||||
background-position-x: 5px;
|
||||
border: 2px gray solid;
|
||||
min-width: 100px;
|
||||
z-index: 10;
|
||||
}
|
||||
/*
|
||||
Printing
|
||||
*/
|
||||
|
@ -325,3 +325,42 @@ div.admin-config form > table {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Styles for different egw_message-types
|
||||
*/
|
||||
.success_message, .warning_message, .error_message {
|
||||
color: red;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
text-align: left;
|
||||
margin-left: 5px;
|
||||
padding-left: 20px;
|
||||
background-image: url(../images/check.png);
|
||||
background-position: left;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 16px;
|
||||
}
|
||||
.warning_message {
|
||||
background-image: url(../images/dialog_warning.png);
|
||||
}
|
||||
.error_message {
|
||||
font-weight: bold;
|
||||
background-image: url(../images/dialog_error.png);
|
||||
}
|
||||
|
||||
/**
|
||||
* Message in popup
|
||||
*/
|
||||
body > div#egw_message {
|
||||
background-color: lightyellow;
|
||||
border-radius: 10px;
|
||||
right: 5px;
|
||||
top: 5px;
|
||||
padding: 10px;
|
||||
padding-left: 25px;
|
||||
background-position-x: 5px;
|
||||
border: 2px gray solid;
|
||||
min-width: 100px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user