Files
nomad/ui/app/styles/components/jobs-list.scss
Phil Renaud 54aafa574d [ui] Jobs list should handle 502s and 504s gracefully (#23427)
* UI handles 502s and 504s gracefully

* Test and cleanup
2024-06-26 21:51:18 -04:00

55 lines
1.1 KiB
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
// Styling for compnents around the redesigned Jobs Index page.
// Over time, we can phase most of these custom styles out as Helios components
// adapt to more use-cases (like custom footer, etc).
#jobs-list-header {
z-index: $z-base;
}
#jobs-list-actions {
margin-bottom: 1rem;
// If the screen is made very small, don't try to multi-line the text,
// instead wrap the flex and let dropdowns/buttons go on a new line.
.hds-segmented-group {
flex-wrap: wrap;
gap: 0.5rem 0;
}
}
#jobs-list-pagination {
display: grid;
grid-template-columns: 1fr auto 1fr;
grid-template-areas: 'info nav-buttons page-size';
align-items: center;
justify-items: start;
padding: 1rem 0;
gap: 1rem;
.nav-buttons {
grid-area: nav-buttons;
display: flex;
justify-content: center;
gap: 1rem;
}
.page-size {
grid-area: page-size;
justify-self: end;
}
}
#jobs-list-cache-warning {
margin-bottom: 1rem;
}
.status-cell {
display: flex;
gap: 0.5rem;
align-items: center;
}