summaryrefslogtreecommitdiff
path: root/src/components/Input.module.scss
blob: 44a686ceec2a584ba4d814f850a9b8433522f9ac (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
.input {
  -webkit-appearance: none;
  background-color: var(--color-input-bg);
  background-image: none;
  border-radius: 8px;
  border: 1px solid var(--color-input-border);
  box-sizing: border-box;
  color: inherit;
  display: inline-block;
  font-size: inherit;
  height: 35px;
  outline: none;
  padding: 0 15px;
  width: 100%;
  font-size: small;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  border-color: var(--color-focus-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}