style.module.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .dot-flashing {
  2. position: relative;
  3. animation: 1s infinite linear alternate;
  4. animation-delay: 0.5s;
  5. }
  6. .dot-flashing::before,
  7. .dot-flashing::after {
  8. content: "";
  9. display: inline-block;
  10. position: absolute;
  11. top: 0;
  12. animation: 1s infinite linear alternate;
  13. }
  14. .dot-flashing::before {
  15. animation-delay: 0s;
  16. }
  17. .dot-flashing::after {
  18. animation-delay: 1s;
  19. }
  20. @keyframes dot-flashing {
  21. 0% {
  22. background-color: #667085;
  23. }
  24. 50%,
  25. 100% {
  26. background-color: rgba(102, 112, 133, 0.3);
  27. }
  28. }
  29. @keyframes dot-flashing-avatar {
  30. 0% {
  31. background-color: #155EEF;
  32. }
  33. 50%,
  34. 100% {
  35. background-color: rgba(21, 94, 239, 0.3);
  36. }
  37. }
  38. .text,
  39. .text::before,
  40. .text::after {
  41. width: 4px;
  42. height: 4px;
  43. border-radius: 50%;
  44. background-color: #667085;
  45. color: #667085;
  46. animation-name: dot-flashing;
  47. }
  48. .text::before {
  49. left: -7px;
  50. }
  51. .text::after {
  52. left: 7px;
  53. }
  54. .avatar,
  55. .avatar::before,
  56. .avatar::after {
  57. width: 2px;
  58. height: 2px;
  59. border-radius: 50%;
  60. background-color: #155EEF;
  61. color: #155EEF;
  62. animation-name: dot-flashing-avatar;
  63. }
  64. .avatar::before {
  65. left: -5px;
  66. }
  67. .avatar::after {
  68. left: 5px;
  69. }