Changeset 0df6b9e for reactapp/src/Components/Search.style.js
- Timestamp:
- 08/01/22 19:18:54 (2 years ago)
- Branches:
- main
- Children:
- d654c74
- Parents:
- 080a3f3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
reactapp/src/Components/Search.style.js
r080a3f3 r0df6b9e 1 1 import styled from "styled-components"; 2 import searchicon from "../searchicon.png"; 3 4 export const SearchSmall = styled.input` 5 width: 350px; 6 box-sizing: border-box; 7 border: 2px solid #ccc; 8 font-size: 16px; 9 background-color: #f9f9f9; 10 background-image: url(${searchicon}); 11 background-position: 10px 10px; 12 background-repeat: no-repeat; 13 padding: 12px 20px 12px 40px; 14 margin-top: 10px; 15 `; 2 16 3 17 export const SearchDropdownSmall = styled.div` 4 display: block; 18 display: ${(props) => props.display}; 19 position: absolute; 5 20 background-color: #f9f9f9; 6 21 min-width: 160px; … … 8 23 padding: 12px 16px; 9 24 z-index: 1; 25 width: 350px; 26 padding: 0; 10 27 `; 11 28 12 export const SearchDropdownContentSmall = styled.p` 29 export const SearchDropdownResultSmall = styled.div` 30 &:hover { 31 background-color: papayawhip; 32 border: 1px solid blue; 33 text-decoration: underline 1px blue; 34 } 35 padding: 10px; 36 `; 37 38 export const SearchDropdownResultLinkSmall = styled.a` 39 text-decoration: none; 40 color: black; 41 `; 42 43 export const SearchDropdownTextSmall = styled.p` 13 44 font-weight: ${(props) => props.weight}; 14 45 font-size: ${(props) => props.size};
Note:
See TracChangeset
for help on using the changeset viewer.