Implement production vertical slice foundation
This commit is contained in:
1 parent
9d4a89f355
commit
a18e82eb44
104 files changed
+10595
-268
No files matched your search
@@ -0,0 +1,397 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html class="dark" lang="fr"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<title>Planche de Composants - RANSOM'S WAKE V4</title>
|
||||
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com" rel="preconnect"/>
|
||||
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
||||
<script id="tailwind-config">
|
||||
tailwind.config = {
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
"colors": {
|
||||
"tertiary-container": "#ffb9b2",
|
||||
"outline-variant": "#3c4a47",
|
||||
"on-secondary-fixed-variant": "#5c4300",
|
||||
"on-tertiary-fixed-variant": "#92030f",
|
||||
"error": "#ffb4ab",
|
||||
"on-tertiary": "#690007",
|
||||
"inverse-on-surface": "#26313d",
|
||||
"secondary-container": "#ffbf00",
|
||||
"tertiary-fixed": "#ffdad6",
|
||||
"on-primary-container": "#006058",
|
||||
"on-surface": "#d8e4f2",
|
||||
"surface-dim": "#09141e",
|
||||
"on-tertiary-container": "#a7191c",
|
||||
"on-background": "#d8e4f2",
|
||||
"error-container": "#93000a",
|
||||
"tertiary-fixed-dim": "#ffb4ac",
|
||||
"on-primary": "#003732",
|
||||
"inverse-primary": "#006a62",
|
||||
"inverse-surface": "#d8e4f2",
|
||||
"on-error-container": "#ffdad6",
|
||||
"primary-container": "#40e0d0",
|
||||
"secondary-fixed": "#ffdfa0",
|
||||
"surface-container-highest": "#2b3641",
|
||||
"secondary-fixed-dim": "#fbbc00",
|
||||
"surface": "#09141e",
|
||||
"background": "#09141e",
|
||||
"surface-container-lowest": "#040f19",
|
||||
"outline": "#859491",
|
||||
"on-error": "#690005",
|
||||
"on-tertiary-fixed": "#410003",
|
||||
"surface-container": "#15212b",
|
||||
"on-secondary": "#402d00",
|
||||
"on-primary-fixed": "#00201d",
|
||||
"tertiary": "#ffdfdc",
|
||||
"surface-variant": "#2b3641",
|
||||
"on-secondary-fixed": "#261a00",
|
||||
"on-secondary-container": "#6d5000",
|
||||
"on-primary-fixed-variant": "#005049",
|
||||
"surface-container-high": "#202b36",
|
||||
"primary-fixed-dim": "#3adccc",
|
||||
"on-surface-variant": "#bacac6",
|
||||
"primary": "#66fdec",
|
||||
"primary-fixed": "#61f9e9",
|
||||
"surface-bright": "#2f3a46",
|
||||
"surface-tint": "#3adccc",
|
||||
"secondary": "#ffe2ab",
|
||||
"surface-container-low": "#111d27"
|
||||
},
|
||||
"borderRadius": {
|
||||
"DEFAULT": "0.25rem",
|
||||
"lg": "0.5rem",
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"panel-padding": "16px",
|
||||
"unit": "4px",
|
||||
"gutter": "24px",
|
||||
"margin": "32px"
|
||||
},
|
||||
"fontFamily": {
|
||||
"data-lg": [
|
||||
"JetBrains Mono"
|
||||
],
|
||||
"label-caps": [
|
||||
"Inter"
|
||||
],
|
||||
"body-sm": [
|
||||
"Inter"
|
||||
],
|
||||
"headline-lg": [
|
||||
"Inter"
|
||||
],
|
||||
"headline-md": [
|
||||
"Inter"
|
||||
],
|
||||
"data-md": [
|
||||
"JetBrains Mono"
|
||||
],
|
||||
"body-lg": [
|
||||
"Inter"
|
||||
]
|
||||
},
|
||||
"fontSize": {
|
||||
"data-lg": [
|
||||
"18px",
|
||||
{
|
||||
"lineHeight": "1",
|
||||
"fontWeight": "500"
|
||||
}
|
||||
],
|
||||
"label-caps": [
|
||||
"12px",
|
||||
{
|
||||
"lineHeight": "1",
|
||||
"letterSpacing": "0.1em",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
],
|
||||
"body-sm": [
|
||||
"14px",
|
||||
{
|
||||
"lineHeight": "1.5",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
],
|
||||
"headline-lg": [
|
||||
"32px",
|
||||
{
|
||||
"lineHeight": "1.2",
|
||||
"letterSpacing": "-0.02em",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
],
|
||||
"headline-md": [
|
||||
"24px",
|
||||
{
|
||||
"lineHeight": "1.2",
|
||||
"fontWeight": "600"
|
||||
}
|
||||
],
|
||||
"data-md": [
|
||||
"14px",
|
||||
{
|
||||
"lineHeight": "1",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
],
|
||||
"body-lg": [
|
||||
"16px",
|
||||
{
|
||||
"lineHeight": "1.6",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
body {
|
||||
background-color: #09141e; /* background */
|
||||
color: #d8e4f2; /* on-background */
|
||||
}
|
||||
|
||||
.scanline {
|
||||
background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
|
||||
background-size: 100% 4px;
|
||||
}
|
||||
|
||||
.beveled-panel {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.recessed-input {
|
||||
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 0 0 1px #3c4a47;
|
||||
}
|
||||
|
||||
.glass-viewport {
|
||||
backdrop-filter: blur(30px);
|
||||
background-color: rgba(9, 20, 30, 0.6);
|
||||
/* simulate noise */
|
||||
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="min-h-screen p-margin flex flex-col gap-gutter">
|
||||
<!-- Header -->
|
||||
<header class="flex justify-between items-end border-b-2 border-outline-variant pb-4 mb-8">
|
||||
<div>
|
||||
<h1 class="font-headline-lg text-headline-lg font-bold text-primary tracking-tighter">RANSOM'S WAKE V4</h1>
|
||||
<p class="font-label-caps text-label-caps text-on-surface-variant mt-2">COMPONENT STATES & SPECIFICATIONS - 1920x1080</p>
|
||||
</div>
|
||||
<div class="font-data-md text-data-md text-on-surface-variant text-right">
|
||||
<div>SYSTEM: ONLINE</div>
|
||||
<div>RENDER: STATIC_PREVIEW</div>
|
||||
</div>
|
||||
</header>
|
||||
<main class="grid grid-cols-12 gap-gutter h-full">
|
||||
<!-- Column 1: Buttons & Interactive -->
|
||||
<section class="col-span-4 flex flex-col gap-gutter">
|
||||
<!-- Button States -->
|
||||
<div class="bg-surface-container beveled-panel p-panel-padding border-2 border-outline-variant flex flex-col gap-6">
|
||||
<h2 class="font-label-caps text-label-caps text-on-surface border-b border-outline-variant pb-2">PRIMARY ACTIONS</h2>
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
<!-- Normal -->
|
||||
<div class="flex flex-col gap-2">
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs">NORMAL</span>
|
||||
<button class="bg-primary-container text-on-primary-container font-label-caps text-label-caps py-3 px-4 flex items-center justify-center gap-2 border-2 border-transparent transition-all hover:bg-surface-container-highest hover:text-primary">
|
||||
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">power_settings_new</span>
|
||||
ENGAGE
|
||||
</button>
|
||||
</div>
|
||||
<!-- Hover -->
|
||||
<div class="flex flex-col gap-2">
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs">HOVER</span>
|
||||
<button class="bg-surface-container-highest text-primary font-label-caps text-label-caps py-3 px-4 flex items-center justify-center gap-2 border-2 border-transparent">
|
||||
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">power_settings_new</span>
|
||||
ENGAGE
|
||||
</button>
|
||||
</div>
|
||||
<!-- Active/Selected -->
|
||||
<div class="flex flex-col gap-2">
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs">ACTIVE / SELECTED</span>
|
||||
<button class="bg-surface-container text-primary font-label-caps text-label-caps py-3 px-4 flex items-center justify-center gap-2 border-2 border-primary">
|
||||
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">power_settings_new</span>
|
||||
ENGAGE
|
||||
</button>
|
||||
</div>
|
||||
<!-- Pressed -->
|
||||
<div class="flex flex-col gap-2">
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs">PRESSED</span>
|
||||
<button class="bg-primary-container text-on-primary-container font-label-caps text-label-caps py-3 px-4 flex items-center justify-center gap-2 border-2 border-primary translate-y-0.5">
|
||||
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">power_settings_new</span>
|
||||
ENGAGE
|
||||
</button>
|
||||
</div>
|
||||
<!-- Disabled -->
|
||||
<div class="flex flex-col gap-2">
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs opacity-50">DISABLED</span>
|
||||
<button class="bg-surface-container-lowest text-outline-variant font-label-caps text-label-caps py-3 px-4 flex items-center justify-center gap-2 border-2 border-transparent cursor-not-allowed opacity-50" disabled="">
|
||||
<span class="material-symbols-outlined">power_settings_new</span>
|
||||
ENGAGE
|
||||
</button>
|
||||
</div>
|
||||
<!-- Error/Dangerous -->
|
||||
<div class="flex flex-col gap-2">
|
||||
<span class="font-data-md text-data-md text-error text-xs">DANGEROUS</span>
|
||||
<button class="bg-error-container text-on-error-container font-label-caps text-label-caps py-3 px-4 flex items-center justify-center gap-2 border-2 border-error">
|
||||
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">warning</span>
|
||||
PURGE
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Inputs & Focus States -->
|
||||
<div class="bg-surface-container beveled-panel p-panel-padding border-2 border-outline-variant flex flex-col gap-6">
|
||||
<h2 class="font-label-caps text-label-caps text-on-surface border-b border-outline-variant pb-2">DATA INPUTS</h2>
|
||||
<div class="flex flex-col gap-4">
|
||||
<!-- Normal Input -->
|
||||
<div class="flex flex-col gap-1">
|
||||
<label class="font-label-caps text-label-caps text-on-surface-variant text-xs">COORD-X (NORMAL)</label>
|
||||
<div class="relative">
|
||||
<input class="w-full bg-surface-container-lowest text-primary font-data-md text-data-md py-2 px-3 recessed-input scanline focus:outline-none" readonly="" type="text" value="34.5692"/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Focused Input -->
|
||||
<div class="flex flex-col gap-1">
|
||||
<label class="font-label-caps text-label-caps text-primary text-xs">COORD-Y (FOCUS)</label>
|
||||
<div class="relative">
|
||||
<input class="w-full bg-surface-container-lowest text-primary font-data-md text-data-md py-2 px-3 recessed-input scanline border border-primary focus:outline-none" readonly="" type="text" value="118.991"/>
|
||||
<span class="absolute right-3 top-2.5 w-2 h-4 bg-primary animate-pulse"></span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Modified Input -->
|
||||
<div class="flex flex-col gap-1">
|
||||
<label class="font-label-caps text-label-caps text-secondary-container text-xs">COORD-Z (MODIFIED)</label>
|
||||
<div class="relative flex items-center">
|
||||
<div class="w-1 h-full bg-secondary-container absolute left-0"></div>
|
||||
<input class="w-full bg-surface-container-lowest text-secondary-container font-data-md text-data-md py-2 pl-4 pr-3 recessed-input scanline focus:outline-none border border-transparent" readonly="" type="text" value="-045.22"/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Error Input -->
|
||||
<div class="flex flex-col gap-1">
|
||||
<label class="font-label-caps text-label-caps text-error text-xs">VELOCITY (ERROR)</label>
|
||||
<div class="relative">
|
||||
<input class="w-full bg-surface-container-lowest text-error font-data-md text-data-md py-2 px-3 recessed-input scanline border border-error focus:outline-none" readonly="" type="text" value="ERR_OOB"/>
|
||||
<span class="material-symbols-outlined absolute right-2 top-2 text-error text-sm">error</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Column 2: System Status & Save States -->
|
||||
<section class="col-span-4 flex flex-col gap-gutter">
|
||||
<div class="bg-surface-container beveled-panel p-panel-padding border-2 border-outline-variant flex flex-col gap-6 flex-grow">
|
||||
<h2 class="font-label-caps text-label-caps text-on-surface border-b border-outline-variant pb-2">TRANSACTION STATES</h2>
|
||||
<div class="flex flex-col gap-6">
|
||||
<!-- Saving... -->
|
||||
<div class="flex items-center gap-4 bg-surface-container-highest p-3 border-l-4 border-primary">
|
||||
<span class="material-symbols-outlined animate-spin text-primary">sync</span>
|
||||
<div class="flex flex-col">
|
||||
<span class="font-label-caps text-label-caps text-primary">SAUVEGARDE EN COURS...</span>
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs">WRITING TO VOLATILE MEMORY</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Saved -->
|
||||
<div class="flex items-center gap-4 bg-surface-container-highest p-3 border-l-4 border-[#006058] bg-[#006058]/10">
|
||||
<span class="material-symbols-outlined text-primary-container" style="font-variation-settings: 'FILL' 1;">check_circle</span>
|
||||
<div class="flex flex-col">
|
||||
<span class="font-label-caps text-label-caps text-primary-container">SAUVEGARDE TERMINÉE</span>
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs">CHECKSUM VERIFIED</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Loading... -->
|
||||
<div class="flex items-center gap-4 bg-surface-container-highest p-3 border-l-4 border-outline-variant">
|
||||
<div class="w-6 h-6 border-2 border-outline-variant border-t-primary rounded-full animate-spin"></div>
|
||||
<div class="flex flex-col">
|
||||
<span class="font-label-caps text-label-caps text-on-surface">CHARGEMENT...</span>
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs">READING SECTORS</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Neutral -->
|
||||
<div class="flex items-center gap-4 bg-surface-container-lowest p-3 border border-outline-variant border-dashed">
|
||||
<span class="material-symbols-outlined text-on-surface-variant">description</span>
|
||||
<div class="flex flex-col">
|
||||
<span class="font-label-caps text-label-caps text-on-surface-variant">AUCUNE SAUVEGARDE</span>
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs">SYSTEM IDLE</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Warning -->
|
||||
<div class="flex items-center gap-4 bg-[#6d5000]/20 p-3 border-l-4 border-secondary-container">
|
||||
<span class="material-symbols-outlined text-secondary-container" style="font-variation-settings: 'FILL' 1;">warning</span>
|
||||
<div class="flex flex-col">
|
||||
<span class="font-label-caps text-label-caps text-secondary-container">SAUVEGARDE INVALIDE</span>
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs">CORRUPTION DETECTED</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Error -->
|
||||
<div class="flex items-center gap-4 bg-error-container/20 p-3 border-l-4 border-error">
|
||||
<span class="material-symbols-outlined text-error" style="font-variation-settings: 'FILL' 1;">gpp_bad</span>
|
||||
<div class="flex flex-col">
|
||||
<span class="font-label-caps text-label-caps text-error">VERSION INCOMPATIBLE</span>
|
||||
<span class="font-data-md text-data-md text-error/70 text-xs">SCHEMA MISMATCH V3 != V4</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Column 3: Data Display & Navigation Logic -->
|
||||
<section class="col-span-4 flex flex-col gap-gutter">
|
||||
<div class="bg-surface-container glass-viewport p-panel-padding border-2 border-outline-variant relative overflow-hidden flex-grow">
|
||||
<h2 class="font-label-caps text-label-caps text-on-surface border-b border-outline-variant pb-2 relative z-10">NAVIGATION & METRICS</h2>
|
||||
<div class="mt-6 flex flex-col gap-6 relative z-10">
|
||||
<!-- Nameplate -->
|
||||
<div class="bg-surface-container-highest p-2 border border-outline-variant flex justify-between items-center relative">
|
||||
<!-- Screw heads -->
|
||||
<div class="absolute top-1 left-1 w-1.5 h-1.5 bg-outline-variant rounded-full"></div>
|
||||
<div class="absolute top-1 right-1 w-1.5 h-1.5 bg-outline-variant rounded-full"></div>
|
||||
<div class="absolute bottom-1 left-1 w-1.5 h-1.5 bg-outline-variant rounded-full"></div>
|
||||
<div class="absolute bottom-1 right-1 w-1.5 h-1.5 bg-outline-variant rounded-full"></div>
|
||||
<span class="font-label-caps text-label-caps text-on-surface ml-4">OPERATOR 04</span>
|
||||
<div class="flex items-center gap-2 mr-4">
|
||||
<span class="w-2 h-2 bg-primary animate-pulse"></span>
|
||||
<span class="font-data-md text-data-md text-primary text-xs">ONLINE</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Data Card -->
|
||||
<div class="border-2 border-outline-variant p-4 flex flex-col gap-2">
|
||||
<span class="font-headline-md text-headline-md text-on-surface">REACTOR CORE</span>
|
||||
<div class="flex justify-between items-end border-t border-outline-variant border-dashed pt-2">
|
||||
<span class="font-label-caps text-label-caps text-on-surface-variant">TEMP</span>
|
||||
<span class="font-data-lg text-data-lg text-secondary-container">842.1°K</span>
|
||||
</div>
|
||||
<div class="flex justify-between items-end border-t border-outline-variant border-dashed pt-2">
|
||||
<span class="font-label-caps text-label-caps text-on-surface-variant">PRESSURE</span>
|
||||
<span class="font-data-lg text-data-lg text-primary">120.4 PSI</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Mock Nav Tabs (from JSON logic) -->
|
||||
<div class="flex flex-col gap-2 mt-4">
|
||||
<span class="font-data-md text-data-md text-on-surface-variant text-xs mb-1">SIDENAV LOGIC PREVIEW</span>
|
||||
<div class="flex items-center gap-3 bg-primary-container text-on-primary-container border-l-4 border-primary px-4 py-3 font-label-caps text-label-caps">
|
||||
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">terminal</span>
|
||||
COMMAND (ACTIVE)
|
||||
</div>
|
||||
<div class="flex items-center gap-3 text-on-surface-variant px-4 py-3 font-label-caps text-label-caps hover:bg-surface-container-highest hover:text-primary transition-colors cursor-pointer">
|
||||
<span class="material-symbols-outlined">radar</span>
|
||||
TACTICAL (INACTIVE)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</body></html>
|
||||
Reference in new issue
Block a user