message-selector.module.scss 896 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .message-selector {
  2. .message-filter {
  3. display: flex;
  4. .search-bar {
  5. max-width: unset;
  6. flex-grow: 1;
  7. }
  8. .filter-item:not(:last-child) {
  9. margin-right: 10px;
  10. }
  11. }
  12. .messages {
  13. margin-top: 20px;
  14. border-radius: 10px;
  15. border: var(--border-in-light);
  16. overflow: hidden;
  17. .message {
  18. display: flex;
  19. align-items: center;
  20. padding: 8px 10px;
  21. cursor: pointer;
  22. &-selected {
  23. background-color: var(--second);
  24. }
  25. &:not(:last-child) {
  26. border-bottom: var(--border-in-light);
  27. }
  28. .avatar {
  29. margin-right: 10px;
  30. }
  31. .body {
  32. flex-grow: 1;
  33. max-width: calc(100% - 40px);
  34. .date {
  35. font-size: 12px;
  36. line-height: 1.2;
  37. opacity: 0.5;
  38. }
  39. .content {
  40. font-size: 12px;
  41. }
  42. }
  43. }
  44. }
  45. }