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,340 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html class="dark" lang="fr"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<title>Réglages - Audio V4</title>
|
||||
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;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"/>
|
||||
<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>
|
||||
/* Custom range slider styling for industrial look */
|
||||
input[type=range] {
|
||||
-webkit-appearance: none;
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
input[type=range]::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
height: 24px;
|
||||
width: 16px;
|
||||
background: #40e0d0; /* primary-container */
|
||||
border: 2px solid #003732; /* on-primary */
|
||||
cursor: pointer;
|
||||
margin-top: -10px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
input[type=range]::-webkit-slider-runnable-track {
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
cursor: pointer;
|
||||
background: #3c4a47; /* outline-variant */
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
input[type=range]:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.industrial-panel {
|
||||
background-image: linear-gradient(to bottom, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.2) 100%);
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.5);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-background text-on-background min-h-screen flex flex-col font-body-lg">
|
||||
<!-- Suppressed TopAppBar and SideNavBar as per contextual logic (Settings screen) -->
|
||||
<!-- Main Header -->
|
||||
<header class="w-full h-20 bg-surface border-b-2 border-outline-variant flex items-center justify-between px-margin shrink-0">
|
||||
<div class="flex items-center gap-4">
|
||||
<button aria-label="Retour" class="flex items-center gap-2 text-on-surface hover:text-primary transition-colors active:translate-y-0.5">
|
||||
<span class="material-symbols-outlined font-headline-md text-headline-md">arrow_back</span>
|
||||
<span class="font-headline-md text-headline-md tracking-tighter uppercase">Ransom's Wake V4</span>
|
||||
</button>
|
||||
<div class="h-8 w-px bg-outline-variant mx-2"></div>
|
||||
<h1 class="font-headline-lg text-headline-lg text-primary tracking-tighter">RÉGLAGES - AUDIO</h1>
|
||||
</div>
|
||||
<div class="flex gap-4">
|
||||
<!-- Navigation Actions -->
|
||||
<button class="px-6 py-3 border-2 border-outline-variant bg-surface-container hover:bg-surface-container-highest text-on-surface font-label-caps text-label-caps uppercase active:translate-y-0.5 transition-all">
|
||||
Rétablir
|
||||
</button>
|
||||
<button class="px-6 py-3 border-2 border-outline-variant bg-surface-container hover:bg-surface-container-highest text-on-surface font-label-caps text-label-caps uppercase active:translate-y-0.5 transition-all">
|
||||
Annuler
|
||||
</button>
|
||||
<button class="px-6 py-3 border-2 border-primary bg-primary-container text-on-primary-container font-label-caps text-label-caps uppercase hover:bg-primary-fixed active:translate-y-0.5 transition-all flex items-center gap-2 shadow-[0_0_15px_rgba(64,224,208,0.3)]">
|
||||
<span class="material-symbols-outlined text-[16px]">check</span>
|
||||
Appliquer
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Content Canvas -->
|
||||
<main class="flex-1 overflow-hidden p-margin flex justify-center items-start">
|
||||
<div class="w-full max-w-4xl grid grid-cols-1 md:grid-cols-12 gap-gutter mt-8">
|
||||
<!-- Audio Settings Container -->
|
||||
<div class="md:col-span-12 border-2 border-outline-variant bg-surface-container p-8 industrial-panel">
|
||||
<div class="mb-8 border-b-2 border-outline-variant pb-4 flex justify-between items-end">
|
||||
<div>
|
||||
<h2 class="font-headline-md text-headline-md text-primary mb-2">NIVEAUX SONORES</h2>
|
||||
<p class="font-body-lg text-body-lg text-on-surface-variant">Ajustez les volumes des différents canaux du système.</p>
|
||||
</div>
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="material-symbols-outlined text-outline-variant" style="font-variation-settings: 'FILL' 1;">volume_up</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-col gap-8">
|
||||
<!-- Principal Volume -->
|
||||
<div class="grid grid-cols-12 gap-4 items-center bg-surface-container-lowest p-4 border border-outline-variant rounded shadow-inner">
|
||||
<div class="col-span-3 flex items-center gap-3">
|
||||
<span class="material-symbols-outlined text-primary" style="font-variation-settings: 'FILL' 1;">volume_up</span>
|
||||
<label class="font-headline-md text-body-lg uppercase tracking-wide text-on-surface" for="vol-principal">Principal</label>
|
||||
</div>
|
||||
<div class="col-span-7 flex items-center">
|
||||
<input class="w-full" id="vol-principal" max="100" min="0" type="range" value="80"/>
|
||||
</div>
|
||||
<div class="col-span-2 text-right">
|
||||
<span class="font-data-lg text-data-lg text-primary bg-surface-dim px-3 py-1 border border-outline-variant inline-block w-16 text-center">80%</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Separator -->
|
||||
<div class="h-px w-full bg-outline-variant opacity-50"></div>
|
||||
<!-- Sub Volumes Grid -->
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-x-12 gap-y-8">
|
||||
<!-- Musique -->
|
||||
<div class="flex flex-col gap-3">
|
||||
<div class="flex justify-between items-center">
|
||||
<label class="font-body-lg text-body-lg text-on-surface-variant flex items-center gap-2" for="vol-musique">
|
||||
<span class="material-symbols-outlined text-secondary-container text-sm">music_note</span>
|
||||
Musique
|
||||
</label>
|
||||
<span class="font-data-md text-data-md text-on-surface">65%</span>
|
||||
</div>
|
||||
<input id="vol-musique" max="100" min="0" type="range" value="65"/>
|
||||
</div>
|
||||
<!-- Ambiance -->
|
||||
<div class="flex flex-col gap-3">
|
||||
<div class="flex justify-between items-center">
|
||||
<label class="font-body-lg text-body-lg text-on-surface-variant flex items-center gap-2" for="vol-ambiance">
|
||||
<span class="material-symbols-outlined text-secondary-container text-sm">water</span>
|
||||
Ambiance
|
||||
</label>
|
||||
<span class="font-data-md text-data-md text-on-surface">90%</span>
|
||||
</div>
|
||||
<input id="vol-ambiance" max="100" min="0" type="range" value="90"/>
|
||||
</div>
|
||||
<!-- Véhicule -->
|
||||
<div class="flex flex-col gap-3">
|
||||
<div class="flex justify-between items-center">
|
||||
<label class="font-body-lg text-body-lg text-on-surface-variant flex items-center gap-2" for="vol-vehicule">
|
||||
<span class="material-symbols-outlined text-secondary-container text-sm">directions_boat</span>
|
||||
Véhicule
|
||||
</label>
|
||||
<span class="font-data-md text-data-md text-on-surface">75%</span>
|
||||
</div>
|
||||
<input id="vol-vehicule" max="100" min="0" type="range" value="75"/>
|
||||
</div>
|
||||
<!-- Interface -->
|
||||
<div class="flex flex-col gap-3">
|
||||
<div class="flex justify-between items-center">
|
||||
<label class="font-body-lg text-body-lg text-on-surface-variant flex items-center gap-2" for="vol-interface">
|
||||
<span class="material-symbols-outlined text-secondary-container text-sm">touch_app</span>
|
||||
Interface
|
||||
</label>
|
||||
<span class="font-data-md text-data-md text-on-surface">50%</span>
|
||||
</div>
|
||||
<input id="vol-interface" max="100" min="0" type="range" value="50"/>
|
||||
</div>
|
||||
<!-- Alarmes -->
|
||||
<div class="flex flex-col gap-3">
|
||||
<div class="flex justify-between items-center">
|
||||
<label class="font-body-lg text-body-lg text-error flex items-center gap-2" for="vol-alarmes">
|
||||
<span class="material-symbols-outlined text-error text-sm">warning</span>
|
||||
Alarmes
|
||||
</label>
|
||||
<span class="font-data-md text-data-md text-error">100%</span>
|
||||
</div>
|
||||
<input id="vol-alarmes" max="100" min="0" style="--tw-range-thumb-bg: #ffb4ab;" type="range" value="100"/>
|
||||
<style>
|
||||
#vol-alarmes::-webkit-slider-thumb {
|
||||
background: #ffb4ab;
|
||||
border-color: #690005;
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Optional Decorative Panel for industrial feel -->
|
||||
<div class="md:col-span-12 mt-4 flex justify-between items-center px-4">
|
||||
<div class="flex gap-2">
|
||||
<div class="w-3 h-3 rounded-full bg-primary-container shadow-[0_0_8px_rgba(64,224,208,0.8)] animate-pulse"></div>
|
||||
<div class="w-3 h-3 rounded-full bg-outline-variant"></div>
|
||||
<div class="w-3 h-3 rounded-full bg-outline-variant"></div>
|
||||
</div>
|
||||
<div class="font-data-md text-data-md text-outline-variant tracking-widest">SYS.AUDIO.DIAG.OK</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<script>
|
||||
// Simple script to update data labels when sliders move
|
||||
document.querySelectorAll('input[type="range"]').forEach(slider => {
|
||||
slider.addEventListener('input', (e) => {
|
||||
const val = e.target.value;
|
||||
const container = e.target.closest('.flex-col, .grid');
|
||||
if(container) {
|
||||
const display = container.querySelector('.font-data-md, .font-data-lg');
|
||||
if(display) display.textContent = val + '%';
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body></html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 141 KiB |
Reference in new issue
Block a user