mobile-fix.css 987 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /* ========================================
  2. 小尺寸屏幕修复样式已移除
  3. 使用 postcss-px-to-viewport 实现响应式
  4. ======================================== */
  5. /* z-index 层级管理(确保不重叠) */
  6. .chatbot-bg {
  7. z-index: 0;
  8. }
  9. .chatbot-trees {
  10. z-index: 1;
  11. }
  12. .chatbot-avatar-c {
  13. z-index: 2;
  14. }
  15. .chatbot-avatar-c[data-avatar-state='unlocked'] {
  16. display: block !important;
  17. opacity: 1 !important;
  18. z-index: 30 !important;
  19. }
  20. .chatbot-main-content {
  21. z-index: 3;
  22. }
  23. .chatbot-emotion {
  24. z-index: 10;
  25. }
  26. .chatbot-progress-ring {
  27. z-index: 11;
  28. }
  29. .chatbot-record-button,
  30. .chatbot-action-buttons {
  31. z-index: 12;
  32. }
  33. .chatbot-audio-wave {
  34. z-index: 5;
  35. }
  36. .chatbot-tooltips {
  37. z-index: 20;
  38. }
  39. /* 防止元素溢出和重叠 */
  40. .chatbot-container {
  41. position: relative;
  42. overflow: hidden;
  43. }
  44. .chatbot-container > * {
  45. flex-shrink: 0;
  46. }
  47. /* 确保所有绝对定位元素有明确的层级 */
  48. .chatbot-container .absolute {
  49. position: absolute;
  50. }