HerzaJ commited on
Commit
5f59e56
·
verified ·
1 Parent(s): f69a6eb

Update public/styles.css

Browse files
Files changed (1) hide show
  1. public/styles.css +10 -2
public/styles.css CHANGED
@@ -308,15 +308,21 @@ body::before {
308
  z-index: 999;
309
  opacity: 0;
310
  transition: opacity 0.3s ease;
 
 
 
311
  }
312
 
313
  .nav-overlay.active {
314
  display: block;
315
  opacity: 1;
 
316
  }
317
 
318
  body.menu-open {
319
  overflow: hidden;
 
 
320
  }
321
 
322
  /* Mobile Navigation */
@@ -328,7 +334,7 @@ body.menu-open {
328
  .nav-menu {
329
  position: fixed;
330
  top: 0;
331
- right: -100%;
332
  width: 280px;
333
  height: 100vh;
334
  background: rgba(44, 62, 80, 0.98);
@@ -337,15 +343,17 @@ body.menu-open {
337
  padding: 5rem 2rem 2rem;
338
  gap: 0.5rem;
339
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
340
- transition: right 0.3s ease;
341
  overflow-y: auto;
342
  border-left: 1px solid rgba(255, 255, 255, 0.1);
343
  align-items: stretch;
344
  z-index: 1001;
 
 
345
  }
346
 
347
  .nav-menu.active {
348
  right: 0;
 
349
  }
350
 
351
  .nav-link {
 
308
  z-index: 999;
309
  opacity: 0;
310
  transition: opacity 0.3s ease;
311
+ pointer-events: none;
312
+ user-select: none;
313
+ -webkit-user-drag: none;
314
  }
315
 
316
  .nav-overlay.active {
317
  display: block;
318
  opacity: 1;
319
+ pointer-events: auto;
320
  }
321
 
322
  body.menu-open {
323
  overflow: hidden;
324
+ position: fixed;
325
+ width: 100%;
326
  }
327
 
328
  /* Mobile Navigation */
 
334
  .nav-menu {
335
  position: fixed;
336
  top: 0;
337
+ right: 0;
338
  width: 280px;
339
  height: 100vh;
340
  background: rgba(44, 62, 80, 0.98);
 
343
  padding: 5rem 2rem 2rem;
344
  gap: 0.5rem;
345
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
 
346
  overflow-y: auto;
347
  border-left: 1px solid rgba(255, 255, 255, 0.1);
348
  align-items: stretch;
349
  z-index: 1001;
350
+ transform: translateX(100%);
351
+ transition: transform 0.3s ease;
352
  }
353
 
354
  .nav-menu.active {
355
  right: 0;
356
+ transform: translateX(0);
357
  }
358
 
359
  .nav-link {