File size: 769 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
input[type="number"].form-currency-input {
	-webkit-appearance: none;
	border-radius: 0 2px 2px 0;
}

.form-currency-input__affix {
	display: flex;
	align-items: center;
}

.form-currency-input__select-icon {
	color: var(--color-neutral-light);
	margin-left: 6px;
	align-self: center;
}

.form-text-input-with-affixes__prefix,
.form-text-input-with-affixes__suffix {
	display: flex;

	&:hover .form-currency-input__select-icon {
		color: var(--color-neutral-50);
	}

	&:focus-within {
		z-index: 2;
		border: 1px solid var(--color-primary);
		box-shadow: 0 0 0 2px var(--color-primary-10);
	}
}

.form-currency-input__select {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	padding: 0;
	border: 0;
	background-image: none;
	opacity: 0;
}