feat: scaffold BuildPulse v0.1 cockpit
This commit is contained in:
+456
@@ -0,0 +1,456 @@
|
||||
:root {
|
||||
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
line-height: 1.5;
|
||||
font-weight: 400;
|
||||
color: #e7ecf5;
|
||||
background:
|
||||
radial-gradient(circle at top, rgba(122, 162, 247, 0.18), transparent 28%),
|
||||
linear-gradient(180deg, #0b1020 0%, #0f172a 100%);
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#root {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
width: min(1320px, calc(100% - 2rem));
|
||||
margin: 0 auto;
|
||||
padding: 2rem 0 3rem;
|
||||
}
|
||||
|
||||
.hero-card,
|
||||
.card {
|
||||
background: rgba(15, 23, 42, 0.72);
|
||||
border: 1px solid rgba(148, 163, 184, 0.16);
|
||||
box-shadow: 0 22px 60px rgba(2, 6, 23, 0.25);
|
||||
backdrop-filter: blur(16px);
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 1.5rem;
|
||||
padding: 1.6rem;
|
||||
border-radius: 28px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.hero-card h1,
|
||||
.section-heading h2,
|
||||
.section-heading h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 0.35rem;
|
||||
font-size: 0.8rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.14em;
|
||||
color: #9fb5ff;
|
||||
}
|
||||
|
||||
.hero-copy {
|
||||
margin: 0.6rem 0;
|
||||
max-width: 52rem;
|
||||
color: #c9d4ea;
|
||||
}
|
||||
|
||||
.hero-goal {
|
||||
margin: 0;
|
||||
color: #dbe7ff;
|
||||
}
|
||||
|
||||
.hero-stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(90px, 1fr));
|
||||
gap: 0.75rem;
|
||||
min-width: 280px;
|
||||
}
|
||||
|
||||
.hero-stats div,
|
||||
.quick-actions,
|
||||
.status-bar,
|
||||
.tab {
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.hero-stats div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
padding: 1rem;
|
||||
background: rgba(30, 41, 59, 0.72);
|
||||
}
|
||||
|
||||
.hero-stats span,
|
||||
.meta-row,
|
||||
small,
|
||||
.status-bar {
|
||||
color: #b7c4db;
|
||||
}
|
||||
|
||||
.hero-stats strong {
|
||||
font-size: 1.8rem;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
.project-card,
|
||||
.quick-actions,
|
||||
.tab-bar,
|
||||
.status-bar,
|
||||
.view-stack,
|
||||
.editor-grid,
|
||||
.board-grid {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
border-radius: 24px;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.section-heading p {
|
||||
margin: 0.35rem 0 0;
|
||||
color: #9fb0c9;
|
||||
}
|
||||
|
||||
.section-heading.compact {
|
||||
margin-bottom: 0.8rem;
|
||||
}
|
||||
|
||||
.project-grid,
|
||||
.form-grid {
|
||||
display: grid;
|
||||
gap: 0.9rem;
|
||||
}
|
||||
|
||||
.project-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.full-span {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.35rem;
|
||||
color: #d9e2f4;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
width: 100%;
|
||||
border: 1px solid rgba(148, 163, 184, 0.22);
|
||||
background: rgba(15, 23, 42, 0.9);
|
||||
color: #f8fbff;
|
||||
border-radius: 14px;
|
||||
padding: 0.8rem 0.9rem;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.tab-bar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.tab {
|
||||
border: 1px solid rgba(148, 163, 184, 0.18);
|
||||
background: rgba(15, 23, 42, 0.66);
|
||||
color: #dbe7ff;
|
||||
padding: 0.8rem 1rem;
|
||||
}
|
||||
|
||||
.tab.active {
|
||||
background: linear-gradient(135deg, rgba(96, 165, 250, 0.35), rgba(129, 140, 248, 0.3));
|
||||
border-color: rgba(129, 140, 248, 0.6);
|
||||
}
|
||||
|
||||
.quick-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
padding: 0.9rem;
|
||||
}
|
||||
|
||||
.button-row,
|
||||
.button-inline-row,
|
||||
.button-stack,
|
||||
.filter-row {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
button,
|
||||
.import-label {
|
||||
border: 0;
|
||||
border-radius: 14px;
|
||||
background: linear-gradient(135deg, #60a5fa, #818cf8);
|
||||
color: white;
|
||||
padding: 0.8rem 1rem;
|
||||
transition: transform 120ms ease, opacity 120ms ease;
|
||||
}
|
||||
|
||||
button:hover,
|
||||
.import-label:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
button.ghost,
|
||||
.import-label {
|
||||
background: rgba(30, 41, 59, 0.84);
|
||||
border: 1px solid rgba(148, 163, 184, 0.16);
|
||||
}
|
||||
|
||||
button.danger {
|
||||
background: linear-gradient(135deg, #f97316, #ef4444);
|
||||
}
|
||||
|
||||
button.small {
|
||||
padding: 0.45rem 0.75rem;
|
||||
}
|
||||
|
||||
.import-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.import-label input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.board-grid,
|
||||
.editor-grid {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.board-grid {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.editor-grid {
|
||||
grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.column {
|
||||
min-height: 360px;
|
||||
}
|
||||
|
||||
.column-header,
|
||||
.item-card-header,
|
||||
.meta-row,
|
||||
.status-bar,
|
||||
.filters-heading {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.column-header p,
|
||||
.item-card p,
|
||||
.item-card small,
|
||||
.mini-pulse p,
|
||||
pre {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.column-body,
|
||||
.list-stack,
|
||||
.markdown-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.item-card,
|
||||
.markdown-card,
|
||||
.empty-state,
|
||||
.mini-pulse {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border: 1px solid rgba(148, 163, 184, 0.14);
|
||||
border-radius: 18px;
|
||||
background: rgba(30, 41, 59, 0.58);
|
||||
color: inherit;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.item-card p,
|
||||
.mini-pulse p,
|
||||
.empty-state {
|
||||
color: #c9d4ea;
|
||||
}
|
||||
|
||||
.item-card.feature-card,
|
||||
.item-card.parking-card,
|
||||
.item-card.pulse-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.65rem;
|
||||
}
|
||||
|
||||
.item-card select {
|
||||
min-width: 120px;
|
||||
padding: 0.5rem 0.7rem;
|
||||
}
|
||||
|
||||
.pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 999px;
|
||||
padding: 0.2rem 0.55rem;
|
||||
font-size: 0.78rem;
|
||||
text-transform: capitalize;
|
||||
background: rgba(96, 165, 250, 0.18);
|
||||
color: #bfdbfe;
|
||||
}
|
||||
|
||||
.pill.must {
|
||||
background: rgba(96, 165, 250, 0.18);
|
||||
}
|
||||
|
||||
.pill.should {
|
||||
background: rgba(52, 211, 153, 0.16);
|
||||
color: #bbf7d0;
|
||||
}
|
||||
|
||||
.pill.could {
|
||||
background: rgba(250, 204, 21, 0.16);
|
||||
color: #fde68a;
|
||||
}
|
||||
|
||||
.pill.later,
|
||||
.pill.risk-medium {
|
||||
background: rgba(244, 114, 182, 0.16);
|
||||
color: #fbcfe8;
|
||||
}
|
||||
|
||||
.pill.risk-low {
|
||||
background: rgba(52, 211, 153, 0.16);
|
||||
color: #bbf7d0;
|
||||
}
|
||||
|
||||
.pill.risk-high {
|
||||
background: rgba(251, 146, 60, 0.16);
|
||||
color: #fed7aa;
|
||||
}
|
||||
|
||||
.pill.risk-dangerous {
|
||||
background: rgba(248, 113, 113, 0.18);
|
||||
color: #fecaca;
|
||||
}
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
max-height: 260px;
|
||||
overflow: auto;
|
||||
font-size: 0.88rem;
|
||||
color: #dbe7ff;
|
||||
}
|
||||
|
||||
.status-bar {
|
||||
padding: 0.95rem 1.1rem;
|
||||
background: rgba(15, 23, 42, 0.78);
|
||||
border: 1px solid rgba(148, 163, 184, 0.14);
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
.board-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.editor-grid,
|
||||
.project-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.app-shell {
|
||||
width: min(100% - 1rem, 100%);
|
||||
padding: 1rem 0 2rem;
|
||||
}
|
||||
|
||||
.hero-card,
|
||||
.status-bar {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.hero-stats,
|
||||
.board-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.quick-actions,
|
||||
.tab-bar,
|
||||
.button-row,
|
||||
.filter-row,
|
||||
.status-bar {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.filters-heading {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user