aboutsummaryrefslogtreecommitdiff
path: root/client/src/components/KeyboardModal/KeyboardModal.module.css
blob: 9daecca07f834b6d67745ac8b1de18ecec105c78 (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
.background {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #00000062;
  z-index: 10;
}

.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  top: 0;
  left: 0;
  background-color: var(--color-dark);
  padding: 30px;
  border-radius: 10px;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-light);
}

.container__title {
  margin: 0;
  font-size: 1.5rem;
}

.container__shortcuts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 10px;
}

.container__shortcut__key {
  color: var(--color-yellow);
  margin-right: 15px;
}

.container__close {
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
  margin-bottom: 10px;
  color: inherit;
  font-size: 2rem;
  &:hover {
    transform: scale(0.9);
  }
}