ResetOffsets.styled.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. import ReactDatePicker from 'react-datepicker';
  2. import styled from 'styled-components';
  3. export const Wrapper = styled.div`
  4. padding: 16px;
  5. padding-top: 0;
  6. & > form {
  7. display: flex;
  8. flex-direction: column;
  9. gap: 16px;
  10. & > button:last-child {
  11. align-self: flex-start;
  12. }
  13. }
  14. & .multi-select {
  15. height: 32px;
  16. & > .dropdown-container {
  17. height: 32px;
  18. & > .dropdown-heading {
  19. height: 32px;
  20. }
  21. }
  22. }
  23. `;
  24. export const DatePickerInput = styled(ReactDatePicker)`
  25. height: 32px;
  26. border: 1px ${(props) => props.theme.select.borderColor.normal} solid;
  27. border-radius: 4px;
  28. font-size: 14px;
  29. width: 50%;
  30. padding-left: 12px;
  31. color: ${(props) => props.theme.select.color.normal};
  32. background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
  33. background-repeat: no-repeat !important;
  34. background-position-x: 96% !important;
  35. background-position-y: 55% !important;
  36. appearance: none !important;
  37. &:hover {
  38. cursor: pointer;
  39. }
  40. &:focus {
  41. outline: none;
  42. }
  43. `;
  44. export const MainSelectors = styled.div`
  45. display: flex;
  46. gap: 16px;
  47. & > * {
  48. flex-grow: 1;
  49. }
  50. `;
  51. export const OffsetsWrapper = styled.div`
  52. display: flex;
  53. width: 100%;
  54. flex-wrap: wrap;
  55. gap: 16px;
  56. `;
  57. export const OffsetsTitle = styled.h1`
  58. font-size: 18px;
  59. font-weight: 500;
  60. `;