- add Card header prop (primary/secondary variants) and footer prop (sticks to bottom) - add Breadcrumbs to all 5 pages; remove duplicate h1 headings - add pageToolbar layout for breadcrumbs + danger button aligned right - add DescriptionList component replacing raw dl/dt/dd markup; supports truncate+tooltip - rewrite ContextMenu to render dropdown via React portal to avoid clip/overflow issues - update EnvironmentCard to use Card header (primary), footer (Timestamp), and truncated DescriptionList - fix cog button contrast, square sizing, and right-edge alignment on colored header - add border to Timestamp pill for dark-mode visibility - add id badge pill styling to environment card header
56 lines
1011 B
CSS
56 lines
1011 B
CSS
.root {
|
|
position: relative;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.triggerWrap {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.menu {
|
|
z-index: 9999;
|
|
min-width: 160px;
|
|
margin: 0;
|
|
padding: var(--space-1) 0;
|
|
list-style: none;
|
|
background: var(--color-bg-subtle);
|
|
border: var(--border-width) solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
width: 100%;
|
|
padding: var(--space-2) var(--space-4);
|
|
background: transparent;
|
|
border: none;
|
|
text-align: left;
|
|
font-family: var(--font-family);
|
|
font-size: var(--font-size-sm);
|
|
color: var(--color-text);
|
|
cursor: pointer;
|
|
transition: background var(--transition), color var(--transition);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.item:hover {
|
|
background: var(--color-secondary);
|
|
}
|
|
|
|
.item.danger {
|
|
color: var(--color-danger);
|
|
}
|
|
|
|
.item.danger:hover {
|
|
background: var(--color-error-bg);
|
|
}
|
|
|
|
.icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
opacity: 0.75;
|
|
}
|