aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/src/Layout.css
blob: 601794b4b2dcb6e89b6d47ad06663b2ba68fc201 (plain)
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
#root {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.main-content {
  flex: 1;
  overflow: auto;
  padding-bottom: 60px; /* Extra padding to ensure content isn't hidden behind navbar */
}

.nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;

  background-color: var(--background-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #616161;
  text-decoration: none;
  width: 33.3%;
  font-size: 14px;
}

.nav-item.active {
  color: var(--button-background-color);
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.theme-toggle:hover {
  color: var(--button-hover-background-color);
}