summaryrefslogtreecommitdiff
path: root/src/components/Search.module.scss
blob: cd3601bd4ec20516a7ad3e02c461fe91160a5a28 (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
.RuleSearch {
  padding: 0 40px 5px;
  @media (max-width: 768px) {
    padding: 0 25px 5px;
  }
}

.RuleSearchContainer {
  position: relative;
  height: 40px;
  @media (max-width: 768px) {
    height: 30px;
  }
}

.inputWrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
}

.input {
  -webkit-appearance: none;
  background-color: var(--color-input-bg);
  background-image: none;
  border-radius: 20px;
  border: 1px solid var(--color-input-border);
  box-sizing: border-box;
  color: var(--color-text-secondary);
  display: inline-block;
  font-size: inherit;
  height: 40px;
  outline: none;
  padding: 0 15px 0 35px;
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 100%;
}

.iconWrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  line-height: 0;
}