monitoring/css: Rename prefix for background colors from bg-state to bg-color

This commit is contained in:
Eric Lippmann 2015-09-07 11:07:55 +02:00
parent 644148e9ac
commit e155e1514a
2 changed files with 9 additions and 9 deletions

View File

@ -77,7 +77,7 @@ $hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . '
),
array(
'aria-describedby' => $ariaDescribedById,
'class' => 'bg-state-' . Service::getStateText($service->service_state) . ($service->service_handled ? ' handled' : ''),
'class' => 'bg-color-' . Service::getStateText($service->service_state) . ($service->service_handled ? ' handled' : ''),
'title' => $this->escape($service->service_output),
'aria-label' => sprintf(
$this->translate('Show detailed information for service %s on host %s'),

View File

@ -1,11 +1,11 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
.bg-state-ok,
.bg-state-up {
.bg-color-ok,
.bg-color-up {
background-color: @colorOk;
}
.bg-state-warning {
.bg-color-warning {
background-color: @colorWarning;
&.handled {
@ -13,8 +13,8 @@
}
}
.bg-state-critical,
.bg-state-down {
.bg-color-critical,
.bg-color-down {
background-color: @colorCritical;
&.handled {
@ -22,7 +22,7 @@
}
}
.bg-state-unreachable {
.bg-color-unreachable {
background-color: @colorUnreachable;
&.handled {
@ -30,7 +30,7 @@
}
}
.bg-state-unknown {
.bg-color-unknown {
background-color: @colorUnknown;
&.handled {
@ -38,7 +38,7 @@
}
}
.bg-state-pending {
.bg-color-pending {
background-color: @colorPending;
}