Infoboxes and select2 selection with green colour

This commit is contained in:
jose.gonzalez@pandorafms.com 2022-11-10 15:59:23 +01:00
parent 197aced536
commit 52ee0cdfa6
2 changed files with 24 additions and 6 deletions
pandora_console/include

@ -280,7 +280,7 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t
$text_message = $message;
}
if (empty($text_title)) {
if (empty($text_title) === true) {
switch ($class) {
default:
case 'info':
@ -300,7 +300,7 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t
}
}
if (empty($icon_image)) {
if (empty($icon_image) === true) {
switch ($class) {
default:
case 'info':
@ -333,7 +333,7 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t
class="info_box '.$id.' '.$class.' textodialogo" style="'.$force_style.'">
<tr>
<td class="icon icon_ui" rowspan="2" >'.html_print_image($icon_image, true, false, false, false, false).'</td>
<td class="title pandora_upper pdd_t_10px text_left"><b>'.$text_title.'</b></td>
<td class="title font_16pt text_left"><b>'.$text_title.'</b></td>
<td class="icon right pdd_r_3px">';
if (!$no_close_bool) {
// Use the no_meta parameter because this image is only in
@ -344,7 +344,7 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t
$output .= '</td>
</tr>
<tr>
<td class="black pdd_t_10px invert_filter" style="color: #000">'.$text_message.'</td>
<td class="black font_10pt invert_filter" style="color: #000">'.$text_message.'</td>
<td></td>
</tr>
</table>';

@ -1355,18 +1355,30 @@ td.datos2f9 {
text-align: center;
}
table.info_box.suc {
background-color: #d9efee;
}
.suc * {
color: #5a8629;
}
table.info_box.info {
background-color: #d6edff;
}
.info * {
color: #006f9d;
}
table.info_box.error {
background-color: #ffe8e8;
}
.error * {
color: #f85858;
}
table.info_box.warning {
background-color: #fff1d6;
}
.warning * {
color: #f3b200;
}
@ -2432,8 +2444,8 @@ td.cellBig {
}
.info_box .title * {
font-size: 12pt;
font-weight: bolder;
font-size: 14pt;
font-family: Pandora-Bold;
}
.info_box .icon {
@ -8380,6 +8392,12 @@ div.stat-win-spinner img {
margin-right: 5px !important;
}
.select2-results
> .select2-results__options
> .select2-results__option.select2-results__option--highlighted {
background-color: #d9efee;
color: #2b3332;
}
.h1-report-alert-actions {
text-transform: none;
text-align: left;