aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/layouts/BasicLayout.module.css
blob: a010ca56d1545f488f7dfb350e2bea78891e41a6 (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
.main {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  min-width: 0;
}

.footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--app-shell-border-color);
}

.menuItem {
  justify-content: flex-start;
}

.menuItem .icon[data-position='left'] {
  width: calc(var(--collapsed-navigation-width) - 4 * var(--mantine-spacing-xs));
  flex-shrink: 0;
  justify-content: center;
  margin: 0;
}

.label {
  padding-inline-start: var(--mantine-spacing-xs);
}

.menuItem[data-collapsed] .label {
  visibility: hidden;
  flex: 0 0 auto;
  width: 0;
  padding-inline-start: 0;
}

.brand {
  height: var(--app-shell-header-height);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--app-shell-border-color);
  white-space: nowrap;
}

.brand[data-collapsed] {
  justify-content: center;
}

.menuItem[data-collapsed] .icon[data-position='right'] {
  display: none;
}