1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

feat: Adjust container status colors to be distinguable with red/green filter (#7621)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-04-25 21:05:40 +03:00 committed by GitHub
parent 3746e28f95
commit 3532fc1dab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,26 @@
@include pod-status-bgs; @include pod-status-bgs;
&.running:not(.ready) { &.running:not(.ready) {
background-color: $pod-status-pending-color; background-color: #ff9800a0;;
border: 1px solid var(--colorWarning);
}
&.running {
background-color: #49c54e;
}
&.terminated {
background-color: transparent;
border: 1px solid var(--colorTerminated);
}
&.failed {
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHBhdGggZD0iTTI4OS45NCAyNTZsOTUtOTVBMjQgMjQgMCAwIDAgMzUxIDEyN2wtOTUgOTVsLTk1LTk1YTI0IDI0IDAgMCAwLTM0IDM0bDk1IDk1bC05NSA5NWEyNCAyNCAwIDEgMCAzNCAzNGw5NS05NWw5NSA5NWEyNCAyNCAwIDAgMCAzNC0zNHoiIGZpbGw9IiNmM2I3YjQiPjwvcGF0aD48L3N2Zz4K");
}
&.waiting {
background-color: #ff980090;
border: 1px solid var(--colorWarning);
} }
} }
} }
@ -37,7 +56,5 @@
@include pod-status-colors; @include pod-status-colors;
flex-grow: 0.7; flex-grow: 0.7;
} }
} }
} }