aboutsummaryrefslogtreecommitdiff
blob: a3c8a1af7eca6f4243ebc6a1cdaeb72e2d0ac1c3 (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
.aside {
  min-width: 272px;
  height: 100%;
  padding: 5px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e5e5e5;
  box-shadow: -2px 0 10px #000;
  z-index: 9999;
  background-color: #fff;
}

.aside h2 {
  padding-left: 1.5rem;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}

.listItem {
  margin-bottom: 5px;
  padding: 1rem 2rem 1rem 1.5rem;
  display: block;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  outline: currentcolor none medium;
}

.listItem:hover {
  background-color: #f5f5f5;
}

.listItemActive {
  background-color: #e9f3ff !important;
}

@media only screen and (max-width: 500px) {
  .aside {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    transition: left 0.3s ease-in;
  }

  .asideOpen {
    left: 0;
  }
}