You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ProfileOffers.styled.js 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. import { Box, Typography } from "@mui/material";
  2. import styled from "styled-components";
  3. import selectedTheme from "../../../themes";
  4. import {ReactComponent as Search} from "../../../assets/images/svg/magnifying-glass.svg"
  5. import {ReactComponent as Refresh} from "../../../assets/images/svg/refresh.svg"
  6. import { TextField } from "../../TextFields/TextField/TextField";
  7. import { Icon } from "../../Icon/Icon";
  8. import Select from "../../Select/Select";
  9. import Option from "../../Select/Option/Option";
  10. import { ReactComponent as Down } from "../../../assets/images/svg/down-arrow.svg";
  11. import HorizontalScroller from "../../Scroller/HorizontalScroller";
  12. export const ProfileOffersContainer = styled(Box)`
  13. width: 100%;
  14. box-sizing: border-box;
  15. padding: 0 50px;
  16. margin-top: 34px;
  17. position: relative;
  18. @media (max-width: 600px) {
  19. padding: 0;
  20. }
  21. `;
  22. export const HeaderTitle = styled(Typography)`
  23. font-size: 16px;
  24. font-family: "Open Sans";
  25. color: ${selectedTheme.primaryDarkTextThird};
  26. position: relative;
  27. margin-left: 10px;
  28. @media (max-width: 600px) {
  29. font-size: 12px;
  30. }
  31. `;
  32. export const OffersIcon = styled(Refresh)`
  33. width: 18px;
  34. height: 18px;
  35. & path {
  36. stroke: ${selectedTheme.primaryDarkTextThird};
  37. }
  38. @media (max-width: 600px) {
  39. width: 12px;
  40. height: 12px;
  41. }
  42. `
  43. export const SearchInput = styled(TextField)`
  44. position: relative;
  45. top: 15px;
  46. & div fieldset {
  47. border-color: ${selectedTheme.primaryPurple} !important;
  48. }
  49. @media (max-width: 600px) {
  50. top: 5px;
  51. height: 46px;
  52. & div {
  53. background-color: white;
  54. }
  55. }
  56. `
  57. export const SearchIcon = styled(Search)`
  58. width: 18px;
  59. height: 18px;
  60. `
  61. export const IconContainer = styled(Icon)`
  62. cursor: pointer;
  63. position: relative;
  64. top: 4px;
  65. `
  66. export const HeaderSelect = styled(Select)`
  67. width: 210px;
  68. height: 35px;
  69. font-family: "Open Sans";
  70. margin-top: 3px;
  71. font-weight: 400;
  72. position: absolute;
  73. top: -8px;
  74. right: 50px;
  75. & div:first-child {
  76. padding-left: 8px;
  77. }
  78. @media (max-width: 650px) {
  79. width: 144px;
  80. height: 30px;
  81. font-size: 14px;
  82. right: 1px;
  83. }
  84. `;
  85. export const SelectOption = styled(Option)`
  86. @media (max-width: 600px) {
  87. height: 20px !important;
  88. min-height: 35px;
  89. margin: 2px;
  90. }
  91. `;
  92. export const DownArrow = styled(Down)`
  93. `
  94. export const OffersContainer = styled(Box)`
  95. margin-top: 30px;
  96. `
  97. export const OffersScroller = styled(HorizontalScroller)`
  98. height: 330px;
  99. margin-left: 0;
  100. & div {
  101. margin-left: 0;
  102. margin-right: 0;
  103. }
  104. `