message-selector.module.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .message-selector {
  2. .message-filter {
  3. display: flex;
  4. .search-bar {
  5. max-width: unset;
  6. flex-grow: 1;
  7. margin-right: 10px;
  8. }
  9. .actions {
  10. display: flex;
  11. button:not(:last-child) {
  12. margin-right: 10px;
  13. }
  14. }
  15. @media screen and (max-width: 600px) {
  16. flex-direction: column;
  17. .search-bar {
  18. margin-right: 0;
  19. }
  20. .actions {
  21. margin-top: 20px;
  22. button {
  23. flex-grow: 1;
  24. }
  25. }
  26. }
  27. }
  28. .messages {
  29. margin-top: 20px;
  30. border-radius: 10px;
  31. border: var(--border-in-light);
  32. overflow: hidden;
  33. .message {
  34. display: flex;
  35. align-items: center;
  36. padding: 8px 10px;
  37. cursor: pointer;
  38. &-selected {
  39. background-color: var(--second);
  40. }
  41. &:not(:last-child) {
  42. border-bottom: var(--border-in-light);
  43. }
  44. .avatar {
  45. margin-right: 10px;
  46. }
  47. .body {
  48. flex: 1;
  49. max-width: calc(100% - 80px);
  50. .date {
  51. font-size: 12px;
  52. line-height: 1.2;
  53. opacity: 0.5;
  54. }
  55. .content {
  56. font-size: 12px;
  57. }
  58. }
  59. .checkbox {
  60. display: flex;
  61. justify-content: flex-end;
  62. flex: 1;
  63. }
  64. }
  65. }
  66. }