import styled from "styled-components"; import searchicon from "../../searchicon.png"; export const SearchBox = styled.input` width: 450px; box-sizing: border-box; border: 2px solid #ccc; font-size: 16px; background-color: #f9f9f9; background-image: url(${searchicon}); background-position: 10px 10px; background-repeat: no-repeat; padding: 12px 20px 12px 40px; margin-top: 10px; `; export const SearchDropdown = styled.div` display: ${(props) => props.display}; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); padding: 12px 16px; z-index: 1; width: 450px; padding: 0; `; export const SearchResult = styled.div` &:hover { background-color: papayawhip; border: 1px solid #0066cc; text-decoration: underline 1px #0066cc; } padding: 10px; border: 1px solid transparent; margin: ${(props) => props.margin}; `; export const SearchResultLink = styled.a` text-decoration: none; color: black; `; export const SearchResultText = styled.p` font-weight: ${(props) => props.weight}; font-size: ${(props) => props.size}; `; export const SearchResultsWrapper = styled.div` margin-top: 140px; `;