realtime-chat.module.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .realtime-chat {
  2. width: 100%;
  3. justify-content: center;
  4. align-items: center;
  5. position: relative;
  6. display: flex;
  7. flex-direction: column;
  8. height: 100%;
  9. padding: 20px;
  10. box-sizing: border-box;
  11. .circle-mic {
  12. width: 150px;
  13. height: 150px;
  14. border-radius: 50%;
  15. background: linear-gradient(to bottom right, #a0d8ef, #f0f8ff);
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. }
  20. .icon-center {
  21. font-size: 24px;
  22. }
  23. .bottom-icons {
  24. display: flex;
  25. justify-content: space-between;
  26. align-items: center;
  27. width: 100%;
  28. position: absolute;
  29. bottom: 20px;
  30. box-sizing: border-box;
  31. padding: 0 20px;
  32. }
  33. .icon-center {
  34. display: flex;
  35. justify-content: center;
  36. align-items: center;
  37. gap: 4px;
  38. }
  39. .icon-left,
  40. .icon-right {
  41. width: 46px;
  42. height: 46px;
  43. font-size: 36px;
  44. background: var(--second);
  45. border-radius: 50%;
  46. padding: 2px;
  47. display: flex;
  48. justify-content: center;
  49. align-items: center;
  50. cursor: pointer;
  51. &:hover {
  52. opacity: 0.8;
  53. }
  54. }
  55. &.mobile {
  56. display: none;
  57. }
  58. }
  59. .pulse {
  60. animation: pulse 1.5s infinite;
  61. }
  62. @keyframes pulse {
  63. 0% {
  64. transform: scale(1);
  65. opacity: 0.7;
  66. }
  67. 50% {
  68. transform: scale(1.1);
  69. opacity: 1;
  70. }
  71. 100% {
  72. transform: scale(1);
  73. opacity: 0.7;
  74. }
  75. }