Actualiser slide_schema_5UF_IA-PRO.html
This commit is contained in:
parent
1146b78b2b
commit
13ee3c683b
@ -1,71 +1,172 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Schema UF</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');
|
||||
|
||||
:root {
|
||||
--font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
--color-background-primary: #ffffff;
|
||||
--color-background-secondary: #f8fafc;
|
||||
--color-border-tertiary: #e2e8f0;
|
||||
--color-text-primary: #0f172a;
|
||||
--color-text-secondary: #475569;
|
||||
--color-text-tertiary: #94a3b8;
|
||||
--border-radius-lg: 16px;
|
||||
--color-accent: #534AB7;
|
||||
--color-accent-light: #EEEDFE;
|
||||
--color-accent-dark: #3C3489;
|
||||
}
|
||||
|
||||
<style>
|
||||
.slide-wrap { font-family: var(--font-sans); max-width: 720px; margin: 0 auto; }
|
||||
.slide-surface {
|
||||
background: var(--color-background-primary);
|
||||
border: 0.5px solid var(--color-border-tertiary);
|
||||
border: 1px solid var(--color-border-tertiary);
|
||||
border-radius: var(--border-radius-lg);
|
||||
overflow: hidden;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
|
||||
transition: box-shadow 0.3s ease;
|
||||
}
|
||||
.slide-surface:hover {
|
||||
box-shadow: 0 20px 40px rgba(83, 74, 183, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
.slide-topbar {
|
||||
background: var(--color-background-secondary);
|
||||
border-bottom: 0.5px solid var(--color-border-tertiary);
|
||||
padding: 10px 18px;
|
||||
border-bottom: 1px solid var(--color-border-tertiary);
|
||||
padding: 14px 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.slide-kicker {
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
font-size: 11.5px;
|
||||
font-weight: 600;
|
||||
color: var(--color-text-secondary);
|
||||
letter-spacing: 0.04em;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.slide-badge {
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
color: #534AB7;
|
||||
background: #EEEDFE;
|
||||
border: 0.5px solid #AFA9EC;
|
||||
font-size: 11.5px;
|
||||
font-weight: 600;
|
||||
color: var(--color-accent);
|
||||
background: var(--color-accent-light);
|
||||
border: 1px solid rgba(83, 74, 183, 0.2);
|
||||
border-radius: 20px;
|
||||
padding: 3px 10px;
|
||||
padding: 4px 12px;
|
||||
}
|
||||
.slide-body { padding: 0 4px 4px; }
|
||||
.slide-body { padding: 12px 12px 6px; }
|
||||
|
||||
/* SVG Interactive Node Styling */
|
||||
.node {
|
||||
cursor: pointer;
|
||||
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
.node rect:first-of-type {
|
||||
fill: var(--color-background-primary, #ffffff);
|
||||
stroke: var(--color-border-tertiary, #e2e8f0);
|
||||
stroke-width: 1px;
|
||||
transition: fill 0.25s ease, stroke 0.25s ease, stroke-width 0.25s ease;
|
||||
}
|
||||
.node:hover {
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
.node:hover rect:first-of-type {
|
||||
stroke: var(--color-accent);
|
||||
stroke-width: 1.5px;
|
||||
fill: var(--color-background-secondary);
|
||||
}
|
||||
|
||||
/* Selected State */
|
||||
.node.is-selected rect:first-of-type {
|
||||
fill: #f5f3ff !important;
|
||||
stroke: var(--color-accent) !important;
|
||||
stroke-width: 2px !important;
|
||||
}
|
||||
|
||||
/* Typography inside SVG cards */
|
||||
.node .th {
|
||||
font-family: var(--font-sans), sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
fill: var(--color-accent-dark);
|
||||
transition: fill 0.25s ease;
|
||||
}
|
||||
.node.is-selected .th {
|
||||
fill: var(--color-accent);
|
||||
}
|
||||
.node .ts {
|
||||
font-family: var(--font-sans), sans-serif;
|
||||
font-size: 11.5px;
|
||||
font-weight: 500;
|
||||
fill: var(--color-text-secondary);
|
||||
transition: fill 0.25s ease;
|
||||
}
|
||||
.node.is-selected .ts {
|
||||
fill: var(--color-text-primary);
|
||||
}
|
||||
|
||||
/* SVG Inner Pills styling */
|
||||
.node rect[fill="#3C3489"] {
|
||||
fill: var(--color-accent-light) !important;
|
||||
opacity: 1 !important;
|
||||
stroke: rgba(83, 74, 183, 0.12);
|
||||
stroke-width: 0.5px;
|
||||
transition: fill 0.25s ease;
|
||||
}
|
||||
.node:hover rect[fill="#3C3489"] {
|
||||
fill: #e0ddff !important;
|
||||
}
|
||||
.node.is-selected rect[fill="#3C3489"] {
|
||||
fill: var(--color-accent-light) !important;
|
||||
}
|
||||
.node text[style*="font-size:11px"] {
|
||||
fill: var(--color-accent-dark) !important;
|
||||
font-size: 10px !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.uf-detail-panel {
|
||||
background: var(--color-background-secondary);
|
||||
border-top: 0.5px solid var(--color-border-tertiary);
|
||||
padding: 14px 20px;
|
||||
border-top: 1px solid var(--color-border-tertiary);
|
||||
padding: 18px 24px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 10px;
|
||||
min-height: 80px;
|
||||
transition: opacity 0.2s;
|
||||
gap: 16px;
|
||||
min-height: 90px;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.dp-col { display: flex; flex-direction: column; gap: 3px; }
|
||||
.dp-col { display: flex; flex-direction: column; gap: 6px; }
|
||||
.dp-label {
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.1em;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--color-text-tertiary);
|
||||
}
|
||||
.dp-value {
|
||||
font-size: 12.5px;
|
||||
font-size: 13px;
|
||||
color: var(--color-text-primary);
|
||||
line-height: 1.5;
|
||||
line-height: 1.6;
|
||||
font-weight: 450;
|
||||
}
|
||||
.dp-tag {
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
background: #EEEDFE;
|
||||
color: #3C3489;
|
||||
border-radius: 4px;
|
||||
padding: 2px 7px;
|
||||
font-weight: 600;
|
||||
background: var(--color-accent-light);
|
||||
color: var(--color-accent-dark);
|
||||
border: 0.5px solid rgba(83, 74, 183, 0.2);
|
||||
border-radius: 6px;
|
||||
padding: 3px 8px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="slide-wrap">
|
||||
</head>
|
||||
<body>
|
||||
<div class="slide-wrap">
|
||||
<h2 style="position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)">Schéma des 5 unités de formation de la formation IA-PRO, avec progression du panorama vers l'éthique</h2>
|
||||
<div class="slide-surface">
|
||||
<div class="slide-topbar">
|
||||
@ -230,9 +331,16 @@ function selectUF(idx) {
|
||||
const ids = ['uf1-g','uf2-g','uf3-g','uf4-g','uf5-g'];
|
||||
ids.forEach((id, i) => {
|
||||
const g = document.getElementById(id);
|
||||
const rect = g ? g.querySelector('rect') : null;
|
||||
if (rect) {
|
||||
rect.style.strokeWidth = (i === idx) ? '2' : '0.5';
|
||||
if (g) {
|
||||
if (i === idx) {
|
||||
g.classList.add('is-selected');
|
||||
} else {
|
||||
g.classList.remove('is-selected');
|
||||
}
|
||||
const rect = g.querySelector('rect');
|
||||
if (rect) {
|
||||
rect.style.strokeWidth = (i === idx) ? '2' : '0.5';
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -245,3 +353,8 @@ function selectUF(idx) {
|
||||
selected = idx;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user