logo

pleroma-fe

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

notification.scss (1665B)


  1. // TODO Copypaste from Status, should unify it somehow
  2. .Notification {
  3. border-bottom: 1px solid;
  4. border-color: var(--border);
  5. word-wrap: break-word;
  6. word-break: break-word;
  7. &.Status {
  8. /* stylelint-disable-next-line declaration-no-important */
  9. background-color: transparent !important;
  10. }
  11. --emoji-size: 14px;
  12. &:hover {
  13. --_still-image-img-visibility: visible;
  14. --_still-image-canvas-visibility: hidden;
  15. --_still-image-label-visibility: hidden;
  16. }
  17. &.-muted {
  18. padding: 0.25em 0.6em;
  19. height: 1.2em;
  20. line-height: 1.2em;
  21. text-overflow: ellipsis;
  22. overflow: hidden;
  23. display: flex;
  24. flex-wrap: nowrap;
  25. & .status-username,
  26. & .mute-thread,
  27. & .mute-words {
  28. word-wrap: normal;
  29. word-break: normal;
  30. white-space: nowrap;
  31. }
  32. & .status-username,
  33. & .mute-words {
  34. text-overflow: ellipsis;
  35. overflow: hidden;
  36. }
  37. .status-username {
  38. font-weight: normal;
  39. flex: 0 1 auto;
  40. margin-right: 0.2em;
  41. font-size: smaller;
  42. }
  43. .mute-thread {
  44. flex: 0 0 auto;
  45. }
  46. .mute-words {
  47. flex: 1 0 5em;
  48. margin-left: 0.2em;
  49. &::before {
  50. content: " ";
  51. }
  52. }
  53. .unmute {
  54. flex: 0 0 auto;
  55. margin-left: auto;
  56. display: block;
  57. }
  58. }
  59. .type-icon {
  60. margin: 0 0.1em;
  61. }
  62. &.-type--repeat .type-icon {
  63. color: var(--cGreen);
  64. }
  65. &.-type--follow .type-icon {
  66. color: var(--cBlue);
  67. }
  68. &.-type--follow-request .type-icon {
  69. color: var(--cBlue);
  70. }
  71. &.-type--like .type-icon {
  72. color: var(--cOrange);
  73. }
  74. &.-type--move .type-icon {
  75. color: var(--cBlue);
  76. }
  77. }