index.css 715 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .rc-drawer {
  2. inset: 0;
  3. position: fixed;
  4. z-index: 1050;
  5. pointer-events: none;
  6. }
  7. .rc-drawer-inline {
  8. position: absolute;
  9. }
  10. .rc-drawer-mask {
  11. inset: 0;
  12. position: absolute;
  13. z-index: 1050;
  14. background: rgba(0, 0, 0, 0.5);
  15. pointer-events: auto;
  16. }
  17. .rc-drawer-content-wrapper {
  18. position: absolute;
  19. z-index: 1050;
  20. overflow: hidden;
  21. transition: transform 0.3s;
  22. }
  23. .rc-drawer-content-wrapper-hidden {
  24. display: none;
  25. }
  26. .rc-drawer-left .rc-drawer-content-wrapper {
  27. top: 0;
  28. bottom: 0;
  29. left: 0;
  30. }
  31. .rc-drawer-right .rc-drawer-content-wrapper {
  32. top: 0;
  33. right: 0;
  34. bottom: 0;
  35. }
  36. .rc-drawer-content {
  37. width: 100%;
  38. height: 100%;
  39. overflow: auto;
  40. background: #fff;
  41. pointer-events: auto;
  42. }