logo

pleroma-fe

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

notification.scss (1678B)


  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: 1em;
  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. gap: 1ex;
  26. & .status-username,
  27. & .mute-thread,
  28. & .mute-words {
  29. word-wrap: normal;
  30. word-break: normal;
  31. white-space: nowrap;
  32. }
  33. & .status-username,
  34. & .mute-words {
  35. text-overflow: ellipsis;
  36. overflow: hidden;
  37. }
  38. .status-username {
  39. font-weight: normal;
  40. flex: 0 1 auto;
  41. margin-right: 0.2em;
  42. font-size: smaller;
  43. }
  44. .mute-thread {
  45. flex: 0 0 auto;
  46. }
  47. .mute-words {
  48. flex: 1 0 5em;
  49. margin-left: 0.2em;
  50. &::before {
  51. content: " ";
  52. }
  53. }
  54. .unmute {
  55. flex: 0 0 auto;
  56. margin-left: auto;
  57. display: block;
  58. }
  59. }
  60. .type-icon {
  61. margin: 0 0.1em;
  62. }
  63. &.-type--repeat .type-icon {
  64. color: var(--cGreen);
  65. }
  66. &.-type--follow .type-icon {
  67. color: var(--cBlue);
  68. }
  69. &.-type--follow-request .type-icon {
  70. color: var(--cBlue);
  71. }
  72. &.-type--like .type-icon {
  73. color: var(--cOrange);
  74. }
  75. &.-type--move .type-icon {
  76. color: var(--cBlue);
  77. }
  78. }