realtime-chat.module.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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-left,
  34. .icon-right {
  35. width: 46px;
  36. height: 46px;
  37. font-size: 36px;
  38. background: var(--second);
  39. border-radius: 50%;
  40. padding: 2px;
  41. display: flex;
  42. justify-content: center;
  43. align-items: center;
  44. cursor: pointer;
  45. &:hover {
  46. opacity: 0.8;
  47. }
  48. }
  49. &.mobile {
  50. display: none;
  51. }
  52. }
  53. .pulse {
  54. animation: pulse 1.5s infinite;
  55. }
  56. @keyframes pulse {
  57. 0% {
  58. transform: scale(1);
  59. opacity: 0.7;
  60. }
  61. 50% {
  62. transform: scale(1.1);
  63. opacity: 1;
  64. }
  65. 100% {
  66. transform: scale(1);
  67. opacity: 0.7;
  68. }
  69. }