dashboard: dimmed default icon for unreachable containers
A stopped or mid-transient (restarting / rebuilding) container's web server isn't answering, so its <url>/icon background-image just failed to an empty box on the card. When the container isn't reachable (not running, or a transient is in flight) the icon now falls back to the dimmed hyperhive mark — /favicon.svg, served by the dashboard itself so it's always loadable — greyscaled + lowered opacity via the .icon-unreachable class. closes #195
This commit is contained in:
parent
f42ba9b561
commit
16f614f45d
3 changed files with 21 additions and 7 deletions
|
|
@ -98,6 +98,12 @@ a:hover {
|
|||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
/* Stopped / mid-transient container: the dimmed hyperhive mark stands
|
||||
in for the unreachable agent icon (issue #195). */
|
||||
.container-row:not(.tombstone) > .container-icon.icon-unreachable {
|
||||
filter: grayscale(1);
|
||||
opacity: 0.4;
|
||||
}
|
||||
.container-row .card-body {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue