mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-05-28 04:34:08 -04:00
node/impact: Don't show colored background for breadcrumbs
There are stateballs now.
This commit is contained in:
parent
670a29e5f7
commit
0fbb8956e9
2 changed files with 1 additions and 32 deletions
|
|
@ -91,9 +91,7 @@ class NodeController extends Controller
|
|||
->setPath(array_shift($parentAndPath));
|
||||
|
||||
$bc = Breadcrumb::create($renderer);
|
||||
$bc->getAttributes()
|
||||
->set('data-base-target', '_next')
|
||||
->add('class', 'with-states');
|
||||
$bc->getAttributes()->set('data-base-target', '_next');
|
||||
$content->add($bc);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -624,35 +624,6 @@ td > a > .badges {
|
|||
}
|
||||
}
|
||||
}
|
||||
.breadcrumb.with-states li {
|
||||
&.critical { background: @colorCritical; }
|
||||
&.critical.handled { background: @colorCriticalHandled; }
|
||||
&.unknown { background: @colorUnknown; }
|
||||
&.unknown.handled { background: @colorUnknownHandled; }
|
||||
&.warning { background: @colorWarning; }
|
||||
&.warning.handled { background: @colorWarningHandled; }
|
||||
&.ok { background: @colorOk; }
|
||||
|
||||
&.process-node a { color: white; }
|
||||
}
|
||||
.breadcrumb.with-states li:not(:last-of-type) {
|
||||
&.critical a:after { border-left-color: @colorCritical; }
|
||||
&.critical.handled a:after { border-left-color: @colorCriticalHandled; }
|
||||
&.unknown a:after { border-left-color: @colorUnknown; }
|
||||
&.unknown.handled a:after { border-left-color: @colorUnknownHandled; }
|
||||
&.warning a:after { border-left-color: @colorWarning; }
|
||||
&.warning.handled a:after { border-left-color: @colorWarningHandled; }
|
||||
&.ok a:after { border-left-color: @colorOk; }
|
||||
}
|
||||
.breadcrumb.with-states li:last-of-type {
|
||||
&.critical { border-color: @colorCritical; }
|
||||
&.critical.handled { border-color: @colorCriticalHandled; }
|
||||
&.unknown { border-color: @colorUnknown; }
|
||||
&.unknown.handled { border-color: @colorUnknownHandled; }
|
||||
&.warning { border-color: @colorWarning; }
|
||||
&.warning.handled { border-color: @colorWarningHandled; }
|
||||
&.ok { border-color: @colorOk; }
|
||||
}
|
||||
|
||||
.breadcrumb li:not(:last-of-type) a:before, .breadcrumb li:not(:last-of-type) a:after {
|
||||
content: " ";
|
||||
|
|
|
|||
Loading…
Reference in a new issue