logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

chat_list_item.scss (1210B)


  1. .chat-list-item {
  2. display: flex;
  3. flex-direction: row;
  4. overflow: hidden;
  5. box-sizing: border-box;
  6. cursor: pointer;
  7. :focus {
  8. outline: none;
  9. }
  10. .chat-list-item-left {
  11. margin-right: 1em;
  12. }
  13. .chat-list-item-center {
  14. width: 100%;
  15. box-sizing: border-box;
  16. overflow: hidden;
  17. word-wrap: break-word;
  18. }
  19. .heading {
  20. width: 100%;
  21. display: flex;
  22. justify-content: space-between;
  23. line-height: 1em;
  24. }
  25. .heading-right {
  26. white-space: nowrap;
  27. }
  28. .name-and-account-name {
  29. text-overflow: ellipsis;
  30. white-space: nowrap;
  31. overflow: hidden;
  32. flex-shrink: 1;
  33. line-height: var(--post-line-height);
  34. }
  35. .chat-preview {
  36. display: flex;
  37. overflow: hidden;
  38. white-space: nowrap;
  39. text-overflow: ellipsis;
  40. margin: 0.35em 0;
  41. color: var(--textFaint);
  42. width: 100%;
  43. }
  44. a {
  45. color: var(--linkFaint);
  46. text-decoration: none;
  47. pointer-events: none;
  48. }
  49. &:hover .animated.avatar {
  50. canvas {
  51. display: none;
  52. }
  53. img {
  54. visibility: visible;
  55. }
  56. }
  57. .chat-preview-body {
  58. --emoji-size: 1.4em;
  59. padding-right: 1em;
  60. }
  61. .time-wrapper {
  62. line-height: var(--post-line-height);
  63. }
  64. }