DropOverlay.module.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* Full-viewport drop invitation (DeepSeek Chat DragMask). pointer-events:
  2. none — the layer is decoration; drag events must keep hitting the page so
  3. the owner's enter/leave count stays balanced. The frosted sheet color is
  4. the theme's drop-mask alias (dark override lives with the theme owner). */
  5. .mask {
  6. position: fixed;
  7. inset: 0;
  8. z-index: 1000;
  9. display: flex;
  10. align-items: center;
  11. justify-content: center;
  12. pointer-events: none;
  13. background-color: var(--dsw-alias-bg-mask-drop);
  14. backdrop-filter: blur(10px);
  15. animation: fade-in 160ms ease-out;
  16. }
  17. @keyframes fade-in {
  18. from { opacity: 0; }
  19. to { opacity: 1; }
  20. }
  21. @media (prefers-reduced-motion: reduce) {
  22. .mask {
  23. animation: none;
  24. }
  25. }
  26. .wrap {
  27. display: flex;
  28. flex-direction: column;
  29. align-items: center;
  30. margin-top: -3%;
  31. padding: 0 40px;
  32. color: var(--dsw-alias-label-primary);
  33. text-align: center;
  34. }
  35. .illustration {
  36. width: 115px;
  37. height: 84px;
  38. }
  39. .title {
  40. margin-top: 16px;
  41. font: var(--dsw-font-l-20);
  42. }
  43. .desc {
  44. margin-top: 16px;
  45. font: var(--dsw-font-s-14);
  46. color: var(--dsw-alias-label-tertiary);
  47. white-space: pre-wrap;
  48. }