You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.module.css 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. .answerIcon {
  2. position: relative;
  3. background: url(./icons/robot.svg) 100%/100%;
  4. }
  5. .typeingIcon {
  6. position: absolute;
  7. top: 0px;
  8. left: 0px;
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. width: 16px;
  13. height: 16px;
  14. background: #FFFFFF;
  15. box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  16. border-radius: 16px;
  17. }
  18. .questionIcon {
  19. background: url(./icons/default-avatar.jpg);
  20. background-size: contain;
  21. border-radius: 50%;
  22. }
  23. .answer::before,
  24. .question::before {
  25. content: '';
  26. position: absolute;
  27. top: 0;
  28. width: 8px;
  29. height: 12px;
  30. }
  31. .answer::before {
  32. left: 0;
  33. background: url(./icons/answer.svg) no-repeat;
  34. }
  35. .copyBtn,
  36. .playBtn,
  37. .annotationBtn {
  38. display: none;
  39. }
  40. .answerWrapWrap,
  41. .questionWrapWrap {
  42. width: 0;
  43. flex-grow: 1;
  44. }
  45. .questionWrapWrap {
  46. display: flex;
  47. justify-content: flex-end;
  48. }
  49. .question {
  50. display: inline-block;
  51. max-width: 100%;
  52. }
  53. .answer {
  54. display: inline-block;
  55. max-width: 100%;
  56. }
  57. .answerWrap:hover .copyBtn,
  58. .answerWrap:hover .playBtn,
  59. .answerWrap:hover .annotationBtn {
  60. display: block;
  61. }
  62. .answerWrap:hover .hasAnnotationBtn {
  63. display: none;
  64. }
  65. .answerWrap .itemOperation {
  66. display: none;
  67. }
  68. .answerWrap:hover .itemOperation {
  69. display: flex;
  70. }
  71. .question::before {
  72. right: 0;
  73. background: url(./icons/question.svg) no-repeat;
  74. }
  75. .textArea {
  76. padding-top: 13px;
  77. padding-bottom: 13px;
  78. padding-right: 130px;
  79. border-radius: 12px;
  80. line-height: 20px;
  81. background-color: #fff;
  82. }
  83. .textArea:hover {
  84. background-color: #fff;
  85. }
  86. /* .textArea:focus {
  87. box-shadow: 0px 3px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px rgba(0, 0, 0, 0.05);
  88. } */
  89. .count {
  90. /* display: none; */
  91. padding: 0 2px;
  92. }
  93. .sendBtn {
  94. background: url(./icons/send.svg) center center no-repeat;
  95. }
  96. .sendBtnActive {
  97. background-image: url(./icons/send-active.svg);
  98. }
  99. .sendBtn:hover {
  100. background-image: url(./icons/send-active.svg);
  101. background-color: #EBF5FF;
  102. }
  103. .textArea:focus+div .count {
  104. display: block;
  105. }
  106. .textArea:focus+div .sendBtn {
  107. background-image: url(./icons/send-active.svg);
  108. }