mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Infoboxes and select2 selection with green colour
This commit is contained in:
parent
197aced536
commit
52ee0cdfa6
@ -280,7 +280,7 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t
|
|||||||
$text_message = $message;
|
$text_message = $message;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($text_title)) {
|
if (empty($text_title) === true) {
|
||||||
switch ($class) {
|
switch ($class) {
|
||||||
default:
|
default:
|
||||||
case 'info':
|
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) {
|
switch ($class) {
|
||||||
default:
|
default:
|
||||||
case 'info':
|
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.'">
|
class="info_box '.$id.' '.$class.' textodialogo" style="'.$force_style.'">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="icon icon_ui" rowspan="2" >'.html_print_image($icon_image, true, false, false, false, false).'</td>
|
<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">';
|
<td class="icon right pdd_r_3px">';
|
||||||
if (!$no_close_bool) {
|
if (!$no_close_bool) {
|
||||||
// Use the no_meta parameter because this image is only in
|
// 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>
|
$output .= '</td>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>';
|
</table>';
|
||||||
|
@ -1355,18 +1355,30 @@ td.datos2f9 {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.info_box.suc {
|
||||||
|
background-color: #d9efee;
|
||||||
|
}
|
||||||
.suc * {
|
.suc * {
|
||||||
color: #5a8629;
|
color: #5a8629;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.info_box.info {
|
||||||
|
background-color: #d6edff;
|
||||||
|
}
|
||||||
.info * {
|
.info * {
|
||||||
color: #006f9d;
|
color: #006f9d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.info_box.error {
|
||||||
|
background-color: #ffe8e8;
|
||||||
|
}
|
||||||
.error * {
|
.error * {
|
||||||
color: #f85858;
|
color: #f85858;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.info_box.warning {
|
||||||
|
background-color: #fff1d6;
|
||||||
|
}
|
||||||
.warning * {
|
.warning * {
|
||||||
color: #f3b200;
|
color: #f3b200;
|
||||||
}
|
}
|
||||||
@ -2432,8 +2444,8 @@ td.cellBig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.info_box .title * {
|
.info_box .title * {
|
||||||
font-size: 12pt;
|
font-size: 14pt;
|
||||||
font-weight: bolder;
|
font-family: Pandora-Bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_box .icon {
|
.info_box .icon {
|
||||||
@ -8380,6 +8392,12 @@ div.stat-win-spinner img {
|
|||||||
margin-right: 5px !important;
|
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 {
|
.h1-report-alert-actions {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user