aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/layout/AppShell.css
blob: eee678c1d6c16963ed72fe8e2d992dffd0ee2d57 (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
.app-shell {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background-color: var(--background-color);
}

.app-shell__header {
  flex-shrink: 0;
  z-index: 10;
}

.app-shell__body {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.app-shell__sidebar {
  display: none; /* Hidden on mobile */
  width: 80px;
  border-right: 1px solid var(--border-color);
  background: var(--background-color);
  flex-shrink: 0;
  z-index: 5;
}

.app-shell__main {
  flex: 1;
  overflow: auto;
  overflow-x: hidden;
  position: relative;
}

.app-shell__bottom-nav {
  flex-shrink: 0;
  display: block; /* Visible on mobile */
  z-index: 10;
}

/* Desktop styles */
@media (min-width: 768px) {
  .app-shell__sidebar {
    display: block;
  }

  .app-shell__bottom-nav {
    display: none;
  }
}