mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
monitoring/css: Rename prefix for background colors from bg-state to bg-color
This commit is contained in:
parent
644148e9ac
commit
e155e1514a
@ -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'),
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user