|
|
|
|
@ -22,14 +22,19 @@ export const ComboboxInputStyled = styled(ComboboxInput)` |
|
|
|
|
|
|
|
|
|
export const Arrow = styled.div` |
|
|
|
|
position: absolute; |
|
|
|
|
right: 20px; |
|
|
|
|
right: 16px; |
|
|
|
|
top: 50%; |
|
|
|
|
transform: translateY(-50%); |
|
|
|
|
width: 12px; |
|
|
|
|
height: 12px; |
|
|
|
|
width: 20px; |
|
|
|
|
height: 20px; |
|
|
|
|
background-size: 12px 12px; |
|
|
|
|
background-image: url(/images/arrowDown.svg); |
|
|
|
|
background-position: center; |
|
|
|
|
background-repeat: no-repeat; |
|
|
|
|
|
|
|
|
|
:hover { |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const ComboboxPopoverStyled = styled(ComboboxPopover)` |
|
|
|
|
@ -44,15 +49,14 @@ export const ComboboxListStyled = styled(ComboboxList)` |
|
|
|
|
border-radius: 2px; |
|
|
|
|
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3); |
|
|
|
|
position: absolute; |
|
|
|
|
top: 0; |
|
|
|
|
left: 0; |
|
|
|
|
transform: translate(-126px, 9px); |
|
|
|
|
top: 9px; |
|
|
|
|
left: -164px; |
|
|
|
|
overflow: auto; |
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar { |
|
|
|
|
width: 8px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-track { |
|
|
|
|
background: transparent; |
|
|
|
|
} |
|
|
|
|
@ -76,7 +80,7 @@ export const ComboboxOptionStyled = styled(ComboboxOption)` |
|
|
|
|
|
|
|
|
|
&[aria-selected="true"] { |
|
|
|
|
background: #999; |
|
|
|
|
color: #fff;
|
|
|
|
|
color: #fff; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|