Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

SearchBar.styled.js 827B

123456789101112131415161718192021222324252627282930313233
  1. import styled from "styled-components";
  2. import selectedTheme from "../../../../themes";
  3. import { TextField } from "../../../TextFields/TextField/TextField";
  4. import { ReactComponent as Search } from "../../../../assets/images/svg/magnifying-glass.svg";
  5. import { Icon } from "../../../Icon/Icon";
  6. export const SearchInput = styled(TextField)`
  7. position: relative;
  8. top: 15px;
  9. & div {
  10. background-color: white;
  11. }
  12. & div fieldset {
  13. border-color: ${selectedTheme.colors.primaryPurple} !important;
  14. }
  15. margin-bottom: 24px;
  16. @media (max-width: 600px) {
  17. top: 5px;
  18. height: 46px;
  19. & div {
  20. background-color: white;
  21. }
  22. }
  23. `;
  24. export const SearchIcon = styled(Search)`
  25. width: 18px;
  26. height: 18px;
  27. `;
  28. export const IconContainer = styled(Icon)`
  29. cursor: pointer;
  30. position: relative;
  31. top: 4px;
  32. `;