diff options
Diffstat (limited to 'panel/src/components/Navbar.css')
-rw-r--r-- | panel/src/components/Navbar.css | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/panel/src/components/Navbar.css b/panel/src/components/Navbar.css index 76713fb..e28724f 100644 --- a/panel/src/components/Navbar.css +++ b/panel/src/components/Navbar.css @@ -3,7 +3,28 @@ padding: 10px 20px; display: flex; justify-content: center; + align-items: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + position: relative; +} + +.navbar-container { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + max-width: 1200px; +} + +.menu-icon { + color: white; + font-size: 2rem; + cursor: pointer; + width: 35px; /* Adjust the width */ + height: 35px; /* Make it equal to width for a square */ + display: none; /* Hidden by default */ + justify-content: center; + align-items: center; } .navbar-list { @@ -28,14 +49,30 @@ color: #FFEB3B; } +.mfp-hide { + display: none; +} + @media (max-width: 768px) { - .navbar { - flex-direction: column; - align-items: center; + .menu-icon { + display: flex; /* Show menu icon on mobile screens */ } .navbar-list { + display: none; /* Hide regular menu list on mobile screens */ + } + + .navbar-list-popup { + list-style: none; + margin: 0; + padding: 0; + display: flex; flex-direction: column; + align-items: center; + justify-content: center; + background: #2196F3; + width: 100%; + height: 100vh; } .navbar-item { |