aboutsummaryrefslogtreecommitdiff
path: root/client/src/components/ToolTip/ToolTip.module.css
blob: 295968c2400a1e681071a455a98913ecb6f35977 (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
.container {
  display: none;
  position: absolute;
  top: 70px;
  right: 20px;
  z-index: 10;
  width: 250px;
  z-index: 11;
  color: var(--color-dark);
}

.container__triangle {
  display: inline-block;
  height: 1rem;
  width: 1rem;
  margin-right: 25px;
  margin-bottom: -4px;
  z-index: 1000;
}

.container__content {
  background-color: var(--color-yellow);
  padding: 25px;
  border-radius: 10px;
  width: 250px;
}

.container__text {
  margin: 10px 0;
}

.container__key {
  font-weight: 500;
}

.active {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.container__title {
  margin: 0;
  font-weight: 500;
  font-size: 1.15rem;
}

.container__btn {
  cursor: pointer;
  color: #282828;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  &:hover {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 768px) {
  .container,
  .active {
    display: none;
  }
}