realtime-chat.module.scss 1.2 KB

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