diff --git a/api/index.css b/api/index.css index 3c0b747..e8cea37 100644 --- a/api/index.css +++ b/api/index.css @@ -1109,3 +1109,91 @@ body.dark-mode .sql-results-table tbody tr:nth-child(even) { border-radius: var(--border-radius); box-sizing: border-box; } + +/* ================================ + SIDE NAVIGATION MENU + ================================ */ + +.side-nav { + position: fixed; + top: 0; + left: -300px; + width: 280px; + height: 100vh; + background: var(--secondary-color); + border-right: var(--border-width) solid var(--border-color); + z-index: 1000; + transition: left 0.3s ease; + overflow-y: auto; + padding-top: 80px; +} + +.side-nav.open { + left: 0; +} + +.side-nav-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + z-index: 999; + display: none; +} + +.side-nav-overlay.show { + display: block; +} + +.nav-menu { + list-style: none; + padding: 0; + margin: 0; +} + +.nav-menu li { + border-bottom: var(--border-width) solid var(--muted-color); +} + +.nav-menu li:last-child { + border-bottom: none; +} + +.nav-item { + display: block; + padding: 15px 20px; + color: var(--primary-color); + text-decoration: none; + font-family: var(--font-family); + font-size: 16px; + font-weight: bold; + transition: all 0.2s ease; + cursor: pointer; + border: none; + background: none; + width: 100%; + text-align: left; +} + +.nav-item:hover { + background: rgba(0, 0, 0, 0.05); + border-left: 4px solid var(--accent-color); + padding-left: 16px; +} + +.nav-item.active { + background: rgba(255, 0, 0, 0.1); + border-left: 4px solid var(--accent-color); + padding-left: 16px; +} + +.header-title.clickable { + cursor: pointer; + transition: all 0.2s ease; +} + +.header-title.clickable:hover { + opacity: 0.8; +} diff --git a/api/index.html b/api/index.html index ca1f557..d6df5e8 100644 --- a/api/index.html +++ b/api/index.html @@ -9,11 +9,26 @@
+ + + + + +