You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

reactions.css 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .bottom-reactions {
  2. display: flex;
  3. gap: 6px;
  4. margin: 0 1em 1em;
  5. }
  6. .timeline-item .conversation-holder .bottom-reactions {
  7. margin: 1em 0 0 36px;
  8. padding-bottom: 8px;
  9. }
  10. .bottom-reactions .ui.label {
  11. padding: 5px 8px;
  12. font-weight: var(--font-weight-normal);
  13. }
  14. .bottom-reactions .ui.label.primary {
  15. background-color: var(--color-reaction-active-bg) !important;
  16. }
  17. .bottom-reactions .ui.label:hover {
  18. background-color: var(--color-reaction-hover-bg) !important;
  19. }
  20. .bottom-reactions .ui.label.disabled {
  21. cursor: default;
  22. opacity: 1;
  23. }
  24. .bottom-reactions .ui.label .reaction {
  25. font-size: 16px;
  26. display: flex;
  27. }
  28. .bottom-reactions .ui.label .reaction img {
  29. height: 16px;
  30. aspect-ratio: 1;
  31. }
  32. .bottom-reactions .reaction-count {
  33. margin-left: 4px;
  34. }
  35. .ui.dropdown.select-reaction .menu {
  36. min-width: 170px; /* item-outer-width * 4 */
  37. }
  38. .ui.dropdown.select-reaction .menu > .item {
  39. float: left;
  40. margin: 4px;
  41. font-size: 20px;
  42. width: 34px;
  43. height: 34px;
  44. border-radius: var(--border-radius);
  45. display: flex;
  46. align-items: center;
  47. justify-content: center;
  48. }
  49. .bottom-reactions .select-reaction {
  50. padding: 0 10px;
  51. }
  52. .bottom-reactions .select-reaction:not(.active) {
  53. visibility: hidden;
  54. }
  55. .bottom-reactions:hover .select-reaction {
  56. visibility: visible;
  57. }