Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

ChatColumn.styled.js 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import { Box } from "@mui/material";
  2. import { Container } from "@mui/system";
  3. import styled from "styled-components";
  4. import selectedTheme from "../../themes";
  5. import Header from "../ItemDetails/Header/Header";
  6. import Option from "../Select/Option/Option";
  7. import Select from "../Select/Select";
  8. export const ChatColumnContainer = styled(Container)`
  9. margin-bottom: 40px;
  10. `;
  11. export const ListContainer = styled(Box)`
  12. display: flex;
  13. flex-direction: column;
  14. gap: 12px;
  15. @media (max-width: 600px) {
  16. gap: 18px;
  17. margin-top: 10px;
  18. }
  19. `;
  20. export const ListHeader = styled(Box)`
  21. ${(props) =>
  22. props.vertical &&
  23. `
  24. position: absolute;
  25. bottom: 15px;
  26. `}
  27. `;
  28. export const TitleSortContainer = styled(Box)`
  29. margin-top: 26px;
  30. display: flex;
  31. flex-direction: row;
  32. justify-content: space-between;
  33. align-items: center;
  34. `;
  35. export const HeaderSelect = styled(Select)`
  36. width: 210px;
  37. height: 35px;
  38. font-family: ${selectedTheme.fonts.textFont};
  39. margin-top: 3px;
  40. font-weight: 400;
  41. position: relative;
  42. left: -5px;
  43. & div:first-child {
  44. padding-left: 8px;
  45. }
  46. @media (max-width: 650px) {
  47. width: 144px;
  48. height: 30px;
  49. font-size: 14px;
  50. background-color: white;
  51. & fieldset {
  52. border: 1px solid ${selectedTheme.colors.borderNormal} !important;
  53. }
  54. }
  55. `;
  56. export const SelectOption = styled(Option)`
  57. @media (max-width: 600px) {
  58. height: 20px !important;
  59. min-height: 35px;
  60. margin: 2px;
  61. }
  62. `;
  63. export const HeaderBack = styled(Header)`
  64. @media (max-width: 600px) {
  65. margin-top: 0;
  66. position: relative;
  67. top: -12px;
  68. }
  69. `;