aboutsummaryrefslogtreecommitdiffstats
path: root/panel/src/components/Navbar.css
blob: e28724fac4e1a4da3d8a3930d71cc940178f0f58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.navbar {
  background-color: #2196F3;
  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 {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar-item {
  margin: 0 15px;
}

.navbar-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-item a:hover {
  color: #FFEB3B;
}

.mfp-hide {
  display: none;
}

@media (max-width: 768px) {
  .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 {
    margin: 10px 0;
  }
}