changes of ui in dropwon select opptions and bottun colours add

This commit is contained in:
2026-01-31 11:45:26 +05:30
parent a7eec85b8f
commit 438f84e284
12 changed files with 288 additions and 206 deletions

View File

@@ -1,10 +1,14 @@
function toggleSidebar() {
const sidebar = document.getElementById("sidebar");
sidebar.classList.toggle("show");
sidebar.classList.toggle("hide");
// Toggle ONLY on mobile
if (window.innerWidth <= 768) {
document.getElementById("sidebar").classList.toggle("show");
}
}
function toggleMenu(id) {
const menu = document.getElementById(id);
menu.style.display = menu.style.display === "block" ? "none" : "block";
menu.style.display = (menu.style.display === "block") ? "none" : "block";
}