open-nomad/ui/app/styles/components/sidebar.scss
Phil Renaud b6f6f4db37 [ui] Service Discovery: Allocation Service fly-out (#14389)
* Bones of a new flyout section

* Basic sidebar behaviour and style edits

* Concept of a refID for service fragments to disambiguate task and group

* A11y audit etc

* Moves health check aggregation to serviceFragment model and retains history

* Has to be a getter

* flyout populated

* Sidebar styling

* Sidebar table and details added

* Mirage fixture

* Active status and table styles

* Unit test mock updated

* Acceptance tests for alloc services table and flyout

* Chart styles closer to mock

* Without a paused test

* Consul and Nomad icons in services table

* Alloc services test updates in light of new column changes

* without using an inherited scenario
2022-09-07 10:24:34 -04:00

59 lines
995 B
SCSS

$topNavOffset: 112px;
$subNavOffset: 49px;
.sidebar {
position: fixed;
background: #ffffff;
width: 750px;
padding: 24px;
right: 0%;
overflow-y: auto;
bottom: 0;
top: $topNavOffset;
transform: translateX(100%);
transition-duration: 150ms;
transition-timing-function: ease;
z-index: $z-modal;
&.open {
transform: translateX(0%);
box-shadow: 6px 6px rgba(0, 0, 0, 0.06), 0px 12px 16px rgba(0, 0, 0, 0.2);
}
&.has-subnav {
top: calc($topNavOffset + $subNavOffset);
}
}
.sidebar-content {
position: relative;
display: inline-flex;
}
.error-header {
display: flex;
justify-content: flex-end;
}
.detail-header {
display: flex;
justify-content: space-between;
}
.related-evaluations {
overflow-x: scroll;
overflow-y: hidden;
}
.evaluation-actors {
display: flex;
flex-direction: column;
justify-content: space-evenly;
flex-basis: 100%;
}
.actor {
margin: 24px;
outline: 1px solid #d9dee6;
padding: 10px;
width: 100px;
}