Changeset 3e98cea for reactapp/src/Components/Styled
- Timestamp:
- 08/06/22 18:16:44 (2 years ago)
- Branches:
- main
- Children:
- 800779d
- Parents:
- d654c74
- Location:
- reactapp/src/Components/Styled
- Files:
-
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
reactapp/src/Components/Styled/Main.style.js
rd654c74 r3e98cea 16 16 font-size: 36pt; 17 17 text-decoration: underline 3px; 18 margin-bottom: 30px;19 18 width: fit-content; 20 19 float: left; 20 color: black; 21 21 `; -
reactapp/src/Components/Styled/Search.style.js
rd654c74 r3e98cea 1 1 import styled from "styled-components"; 2 import searchicon from "../ searchicon.png";2 import searchicon from "../../searchicon.png"; 3 3 4 export const Search Small= styled.input`4 export const SearchBox = styled.input` 5 5 width: 350px; 6 6 box-sizing: border-box; … … 15 15 `; 16 16 17 export const SearchDropdown Small= styled.div`17 export const SearchDropdown = styled.div` 18 18 display: ${(props) => props.display}; 19 19 position: absolute; … … 27 27 `; 28 28 29 export const Search DropdownResultSmall= styled.div`29 export const SearchResult = styled.div` 30 30 &:hover { 31 31 background-color: papayawhip; … … 34 34 } 35 35 padding: 10px; 36 border: 1px solid transparent; 37 margin: ${(props) => props.margin}; 36 38 `; 37 39 38 export const Search DropdownResultLinkSmall= styled.a`40 export const SearchResultLink = styled.a` 39 41 text-decoration: none; 40 42 color: black; 41 43 `; 42 44 43 export const Search DropdownTextSmall= styled.p`45 export const SearchResultText = styled.p` 44 46 font-weight: ${(props) => props.weight}; 45 47 font-size: ${(props) => props.size}; 46 48 `; 49 50 export const SearchResultsWrapper = styled.div` 51 margin-top: 140px; 52 `;
Note:
See TracChangeset
for help on using the changeset viewer.