MessageIconActions.module.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* Shared message IconActions row (user + assistant). Parent modules own
  2. hover-reveal selectors and layout offsets via the composed className. */
  3. .actions {
  4. display: flex;
  5. align-items: center;
  6. gap: 10px;
  7. height: 28px;
  8. }
  9. /* Clock before icons (user figma 388:20051) / after (assistant 43:32997). */
  10. .timeStart {
  11. padding-right: 12px;
  12. font-size: 14px;
  13. line-height: 24px;
  14. color: var(--dsw-alias-label-tertiary);
  15. white-space: nowrap;
  16. }
  17. .timeEnd {
  18. padding-left: 12px;
  19. font-size: 14px;
  20. line-height: 24px;
  21. color: var(--dsw-alias-label-tertiary);
  22. white-space: nowrap;
  23. }
  24. /* Hover-capable pointers: hide until a parent hover/focus rule reveals. */
  25. @media (hover: hover) {
  26. .actions {
  27. opacity: 0;
  28. transition: opacity var(--ds-transition-duration) var(--ds-ease-in-out);
  29. }
  30. }
  31. .action {
  32. display: inline-flex;
  33. align-items: center;
  34. justify-content: center;
  35. width: 28px;
  36. height: 28px;
  37. padding: 6px;
  38. border: none;
  39. border-radius: 28px;
  40. background: transparent;
  41. color: var(--dsw-alias-label-tertiary);
  42. cursor: pointer;
  43. }
  44. .action:hover {
  45. background: var(--dsw-alias-interactive-bg-hover);
  46. color: var(--dsw-alias-label-secondary);
  47. }