Actualiser slide_schema_5UF_IA-PRO.html
This commit is contained in:
+145
-32
@@ -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-wrap { font-family: var(--font-sans); max-width: 720px; margin: 0 auto; }
|
||||||
.slide-surface {
|
.slide-surface {
|
||||||
background: var(--color-background-primary);
|
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);
|
border-radius: var(--border-radius-lg);
|
||||||
overflow: hidden;
|
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 {
|
.slide-topbar {
|
||||||
background: var(--color-background-secondary);
|
background: var(--color-background-secondary);
|
||||||
border-bottom: 0.5px solid var(--color-border-tertiary);
|
border-bottom: 1px solid var(--color-border-tertiary);
|
||||||
padding: 10px 18px;
|
padding: 14px 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
.slide-kicker {
|
.slide-kicker {
|
||||||
font-size: 11px;
|
font-size: 11.5px;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-text-secondary);
|
||||||
letter-spacing: 0.04em;
|
letter-spacing: 0.05em;
|
||||||
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
.slide-badge {
|
.slide-badge {
|
||||||
font-size: 11px;
|
font-size: 11.5px;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: #534AB7;
|
color: var(--color-accent);
|
||||||
background: #EEEDFE;
|
background: var(--color-accent-light);
|
||||||
border: 0.5px solid #AFA9EC;
|
border: 1px solid rgba(83, 74, 183, 0.2);
|
||||||
border-radius: 20px;
|
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 {
|
.uf-detail-panel {
|
||||||
background: var(--color-background-secondary);
|
background: var(--color-background-secondary);
|
||||||
border-top: 0.5px solid var(--color-border-tertiary);
|
border-top: 1px solid var(--color-border-tertiary);
|
||||||
padding: 14px 20px;
|
padding: 18px 24px;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
gap: 10px;
|
gap: 16px;
|
||||||
min-height: 80px;
|
min-height: 90px;
|
||||||
transition: opacity 0.2s;
|
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 {
|
.dp-label {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
letter-spacing: 0.1em;
|
letter-spacing: 0.08em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: var(--color-text-tertiary);
|
color: var(--color-text-tertiary);
|
||||||
}
|
}
|
||||||
.dp-value {
|
.dp-value {
|
||||||
font-size: 12.5px;
|
font-size: 13px;
|
||||||
color: var(--color-text-primary);
|
color: var(--color-text-primary);
|
||||||
line-height: 1.5;
|
line-height: 1.6;
|
||||||
|
font-weight: 450;
|
||||||
}
|
}
|
||||||
.dp-tag {
|
.dp-tag {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
background: #EEEDFE;
|
background: var(--color-accent-light);
|
||||||
color: #3C3489;
|
color: var(--color-accent-dark);
|
||||||
border-radius: 4px;
|
border: 0.5px solid rgba(83, 74, 183, 0.2);
|
||||||
padding: 2px 7px;
|
border-radius: 6px;
|
||||||
|
padding: 3px 8px;
|
||||||
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
</head>
|
||||||
<div class="slide-wrap">
|
<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>
|
<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-surface">
|
||||||
<div class="slide-topbar">
|
<div class="slide-topbar">
|
||||||
@@ -230,10 +331,17 @@ function selectUF(idx) {
|
|||||||
const ids = ['uf1-g','uf2-g','uf3-g','uf4-g','uf5-g'];
|
const ids = ['uf1-g','uf2-g','uf3-g','uf4-g','uf5-g'];
|
||||||
ids.forEach((id, i) => {
|
ids.forEach((id, i) => {
|
||||||
const g = document.getElementById(id);
|
const g = document.getElementById(id);
|
||||||
const rect = g ? g.querySelector('rect') : null;
|
if (g) {
|
||||||
|
if (i === idx) {
|
||||||
|
g.classList.add('is-selected');
|
||||||
|
} else {
|
||||||
|
g.classList.remove('is-selected');
|
||||||
|
}
|
||||||
|
const rect = g.querySelector('rect');
|
||||||
if (rect) {
|
if (rect) {
|
||||||
rect.style.strokeWidth = (i === idx) ? '2' : '0.5';
|
rect.style.strokeWidth = (i === idx) ? '2' : '0.5';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const d = DATA[idx];
|
const d = DATA[idx];
|
||||||
@@ -245,3 +353,8 @@ function selectUF(idx) {
|
|||||||
selected = idx;
|
selected = idx;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user