aboutsummaryrefslogtreecommitdiff
path: root/client/src/components/CustomSelect/CustomSelect.module.css
blob: 59fc828de69a93cda5660061f0109b39f7112e26 (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
.select {
  position: relative;
  display: inline-block;
  width: 12rem;
  text-align: center;
  background-color: var(--color-yellow);
  color: var(--color-dark);
  border-radius: 10px;
}

.selected__option {
  cursor: pointer;
  padding: 10px;
  border: none;
  display: flex;
  justify-content: space-between;
}

.options {
  position: absolute;
  top: 140%;
  left: 0;
  width: 100%;
  border: none;
  border-radius: 10px;
  background-color: var(--color-yellow);
  z-index: 2;
}

.option {
  padding: 10px;
  color: var(--color-dark);
  border-bottom: var(--color-dark) 1px solid;
  cursor: pointer;
  transition: all 0.3s ease;
  &:hover {
    scale: 1.1;
  }
  &:last-child {
    border-bottom: none;
  }
}