division en fichiers
This commit is contained in:
parent
9e2427d5ae
commit
811b224d6a
|
@ -31,7 +31,7 @@ body {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.unified_navigator #dropdown-indicator {
|
.unified_navigator #navigator-dropdown-indicator {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ body {
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.unified_navigator i, .unified_navigator #dropdown-indicator {
|
.unified_navigator i, .unified_navigator #navigator-dropdown-indicator {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
function navigator_toggleMenu() {
|
||||||
|
if (document.body.clientWidth > 600)
|
||||||
|
return document.location = "https://mp2i-vms.fr"
|
||||||
|
|
||||||
|
if (document.getElementById("menu-sec").classList.contains("hidden")) {
|
||||||
|
document.getElementById("menu-sec").classList.remove("hidden");
|
||||||
|
document.getElementById("navigator-dropdown-indicator").className = "fa-solid fa-caret-up";
|
||||||
|
} else {
|
||||||
|
document.getElementById("menu-sec").classList.add("hidden");
|
||||||
|
document.getElementById("navigator-dropdown-indicator").className = "fa-solid fa-caret-down";
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue