Add Epiphany GUI operator shell
This commit is contained in:
parent
d3840fad2e
commit
a2c44a52a3
23 changed files with 8188 additions and 17 deletions
397
apps/epiphany-gui/src/styles.css
Normal file
397
apps/epiphany-gui/src/styles.css
Normal file
|
|
@ -0,0 +1,397 @@
|
|||
:root {
|
||||
color: #172018;
|
||||
background: #f7f8f5;
|
||||
font-family:
|
||||
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
sans-serif;
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(240, 243, 237, 0.88), rgba(248, 249, 246, 1)),
|
||||
#f7f8f5;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(1440px, calc(100vw - 32px));
|
||||
margin: 0 auto;
|
||||
padding: 24px 0 36px;
|
||||
}
|
||||
|
||||
.topbar,
|
||||
.controls,
|
||||
.statusGrid,
|
||||
.twoColumn {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
grid-template-columns: 1fr auto;
|
||||
align-items: center;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 4px;
|
||||
color: #5f6b61;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: clamp(1.6rem, 3vw, 2.35rem);
|
||||
line-height: 1.08;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 0.94rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.primaryButton {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
min-height: 38px;
|
||||
border: 1px solid #244d3a;
|
||||
border-radius: 6px;
|
||||
padding: 0 14px;
|
||||
color: #f8fff8;
|
||||
background: #244d3a;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.primaryButton:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.68;
|
||||
}
|
||||
|
||||
.controls {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
color: #465047;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
min-height: 38px;
|
||||
border: 1px solid #ccd4ca;
|
||||
border-radius: 6px;
|
||||
padding: 0 11px;
|
||||
color: #172018;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.notice,
|
||||
.panel,
|
||||
.laneCard,
|
||||
.findingCard,
|
||||
.jobRow,
|
||||
.artifactTable {
|
||||
border: 1px solid #d9ded5;
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1px 2px rgba(23, 32, 24, 0.04);
|
||||
}
|
||||
|
||||
.notice {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 16px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.dangerNotice {
|
||||
border-color: #d9b1a4;
|
||||
color: #6b2418;
|
||||
background: #fff7f4;
|
||||
}
|
||||
|
||||
.statusGrid {
|
||||
grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.panel,
|
||||
.sectionBand {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.sectionBand {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.sectionHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-height: 24px;
|
||||
margin-bottom: 12px;
|
||||
color: #263229;
|
||||
}
|
||||
|
||||
.actionBanner {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
min-height: 46px;
|
||||
border-radius: 8px;
|
||||
padding: 10px 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.actionBanner strong {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.actionBanner span {
|
||||
color: rgba(23, 32, 24, 0.68);
|
||||
font-size: 0.84rem;
|
||||
}
|
||||
|
||||
.ok {
|
||||
background: #e7f3eb;
|
||||
color: #1d5d39;
|
||||
}
|
||||
|
||||
.warn {
|
||||
background: #fff4d9;
|
||||
color: #76520b;
|
||||
}
|
||||
|
||||
.danger {
|
||||
background: #fde8e1;
|
||||
color: #8d2d1c;
|
||||
}
|
||||
|
||||
.neutral {
|
||||
background: #edf0f2;
|
||||
color: #39454b;
|
||||
}
|
||||
|
||||
.reason {
|
||||
color: #3e493f;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.facts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin: 14px 0 0;
|
||||
}
|
||||
|
||||
.facts.compact {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.facts div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
color: #667168;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 4px 0 0;
|
||||
overflow-wrap: anywhere;
|
||||
color: #172018;
|
||||
}
|
||||
|
||||
.pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 24px;
|
||||
max-width: 100%;
|
||||
border-radius: 999px;
|
||||
padding: 2px 9px;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.cardGrid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(180px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.laneCard,
|
||||
.findingCard,
|
||||
.jobRow {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.laneCard p,
|
||||
.findingCard p {
|
||||
min-height: 42px;
|
||||
margin-top: 10px;
|
||||
color: #435045;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.42;
|
||||
}
|
||||
|
||||
.owner {
|
||||
display: block;
|
||||
margin-top: 12px;
|
||||
color: #68726a;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.cardTopline,
|
||||
.jobRow,
|
||||
.artifactHeader,
|
||||
.artifactRow {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.cardTopline {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
}
|
||||
|
||||
.twoColumn {
|
||||
grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
|
||||
}
|
||||
|
||||
.stack {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.jobRow {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
}
|
||||
|
||||
.jobRow div {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.jobRow span {
|
||||
color: #657069;
|
||||
font-size: 0.82rem;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.artifactTable {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.artifactHeader,
|
||||
.artifactRow {
|
||||
grid-template-columns: minmax(180px, 0.6fr) 72px minmax(220px, 1fr);
|
||||
min-height: 42px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.artifactHeader {
|
||||
color: #606a62;
|
||||
background: #f0f3ef;
|
||||
font-size: 0.74rem;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.artifactRow + .artifactRow {
|
||||
border-top: 1px solid #edf0eb;
|
||||
}
|
||||
|
||||
code {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
color: #36503f;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.emptyState {
|
||||
border: 1px dashed #cbd3c8;
|
||||
border-radius: 8px;
|
||||
padding: 14px;
|
||||
color: #69736b;
|
||||
background: #fbfcfa;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.statusGrid,
|
||||
.twoColumn,
|
||||
.controls {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.cardGrid {
|
||||
grid-template-columns: repeat(2, minmax(180px, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.shell {
|
||||
width: min(100vw - 20px, 1440px);
|
||||
padding-top: 14px;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.cardGrid,
|
||||
.facts,
|
||||
.facts.compact,
|
||||
.artifactHeader,
|
||||
.artifactRow {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.artifactHeader {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.artifactRow {
|
||||
gap: 4px;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
}
|
||||
Reference in a new issue