aboutsummaryrefslogtreecommitdiff
path: root/client/src/components/Modal/Modal.module.css
blob: ea4978b0a1d27dbebdf47e13b5ce60447f6a4861 (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
61
62
63
64
65
66
67
68
.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: 40px;
  width: 300px;
  border-radius: 10px;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-light);
}

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

.container__actions {
  margin-top: 20px;
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.container__actions button {
  padding: 10px 20px;
  cursor: pointer;
  width: 12rem;
  text-align: center;
  background-color: var(--color-yellow);
  color: var(--color-dark);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  margin: 0 10px;

  &:hover {
    transform: scale(1.1);
  }
}