Merge branch 'ent-8412-Bug-visual-en-item-Group-consolas-visuales' into 'develop'

Ent 8412 bug visual en item group consolas visuales

See merge request artica/pandorafms!4664
This commit is contained in:
Daniel Rodriguez 2022-02-02 09:38:23 +00:00
commit 77289f1775
5 changed files with 49 additions and 7 deletions

View File

@ -406,7 +406,8 @@ final class Group extends Item
$html .= '<div class="group-item-title">';
$html .= $groupName;
$html .= '</div>';
$html .= '<div class="group-item-info" style="padding:0%;width: 96%">';
$html .= '<div class="group-item-info" style="padding:0%;width: 100%;justify-content:center">';
$html .= '<div style="width:90%;display:flex;flex-direction:row;flex-wrap:wrap;padding:1%">';
// Critical.
$html .= '<div class="group-item-info-container">';
$html .= '<div class="value-style red_background">';
@ -436,6 +437,7 @@ final class Group extends Item
$html .= '<div class="name-style">'.__('Unknown').'</div>';
$html .= '</div>';
$html .= '</div>';
$html .= '</div>';
$html .= '</div>';

View File

@ -491,6 +491,7 @@ li#li-timeZone-item > select:not(:first-child) {
flex-direction: row;
border-radius: 2px;
max-height: 50px;
min-height: 35px;
margin: 1%;
}
@ -498,7 +499,7 @@ li#li-timeZone-item > select:not(:first-child) {
flex: 1;
color: #fff;
font-size: 100%;
padding: 5%;
padding: 0%;
width: 100%;
display: flex;
flex-direction: row;
@ -511,7 +512,7 @@ li#li-timeZone-item > select:not(:first-child) {
background-color: white;
color: black;
font-size: 100%;
padding: 5%;
padding: 0%;
width: 100%;
height: 100%;
display: flex;
@ -695,6 +696,25 @@ div.module-graph .gauge_d3_class {
color: #000;
}
.orange_background {
background: #ffa631;
}
.red_background {
background: #e63c52;
}
.yellow_background {
background: #f3b200;
}
.grey_background {
background: #b2b2b2;
}
.blue_background {
background: #4a83f3;
}
.green_background {
background: #82b92e;
}
/* Styles for the solid icons */
.fa {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -491,6 +491,7 @@ li#li-timeZone-item > select:not(:first-child) {
flex-direction: row;
border-radius: 2px;
max-height: 50px;
min-height: 35px;
margin: 1%;
}
@ -498,7 +499,7 @@ li#li-timeZone-item > select:not(:first-child) {
flex: 1;
color: #fff;
font-size: 100%;
padding: 5%;
padding: 0%;
width: 100%;
display: flex;
flex-direction: row;
@ -511,7 +512,7 @@ li#li-timeZone-item > select:not(:first-child) {
background-color: white;
color: black;
font-size: 100%;
padding: 5%;
padding: 0%;
width: 100%;
height: 100%;
display: flex;
@ -694,3 +695,22 @@ div.module-graph .gauge_d3_class {
.gauge-data #percent {
color: #000;
}
.orange_background {
background: #ffa631;
}
.red_background {
background: #e63c52;
}
.yellow_background {
background: #f3b200;
}
.grey_background {
background: #b2b2b2;
}
.blue_background {
background: #4a83f3;
}
.green_background {
background: #82b92e;
}