logo

pleroma-fe

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

chat.scss (1826B)


  1. .chat-view {
  2. display: flex;
  3. height: 100%;
  4. .chat-view-inner {
  5. height: auto;
  6. width: 100%;
  7. overflow: visible;
  8. display: flex;
  9. }
  10. .chat-view-body {
  11. box-sizing: border-box;
  12. display: flex;
  13. flex-direction: column;
  14. width: 100%;
  15. overflow: visible;
  16. min-height: calc(100vh - var(--navbar-height));
  17. margin: 0;
  18. border-radius: var(--roundness);
  19. border-bottom-left-radius: 0;
  20. border-bottom-right-radius: 0;
  21. &::after {
  22. border-radius: 0;
  23. }
  24. }
  25. .message-list {
  26. padding: 0 0.8em;
  27. height: 100%;
  28. display: flex;
  29. flex-direction: column;
  30. justify-content: end;
  31. }
  32. .footer {
  33. position: sticky;
  34. bottom: 0;
  35. z-index: 1;
  36. }
  37. .chat-view-heading {
  38. grid-template-columns: auto minmax(50%, 1fr);
  39. }
  40. .go-back-button {
  41. text-align: center;
  42. line-height: 1;
  43. height: 100%;
  44. align-self: start;
  45. width: var(--__panel-heading-height-inner);
  46. }
  47. .jump-to-bottom-button {
  48. width: 2.5em;
  49. height: 2.5em;
  50. border-radius: 100%;
  51. position: absolute;
  52. right: 1.3em;
  53. top: -3.2em;
  54. display: flex;
  55. justify-content: center;
  56. align-items: center;
  57. box-shadow: 0 1px 1px rgb(0 0 0 / 30%), 0 2px 4px rgb(0 0 0 / 30%);
  58. z-index: 10;
  59. transition: 0.35s all;
  60. transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
  61. opacity: 0;
  62. visibility: hidden;
  63. cursor: pointer;
  64. &.visible {
  65. opacity: 1;
  66. visibility: visible;
  67. }
  68. .unread-message-count {
  69. font-size: 0.8em;
  70. left: 50%;
  71. margin-top: -1rem;
  72. padding: 0.1em;
  73. border-radius: 50px;
  74. position: absolute;
  75. }
  76. .chat-loading-error {
  77. width: 100%;
  78. display: flex;
  79. align-items: flex-end;
  80. height: 100%;
  81. .error {
  82. width: 100%;
  83. }
  84. }
  85. }
  86. }