VOverlay.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .v-overlay-container {
  2. contain: layout;
  3. left: 0;
  4. pointer-events: none;
  5. position: absolute;
  6. top: 0;
  7. display: contents;
  8. }
  9. .v-overlay-scroll-blocked {
  10. padding-inline-end: var(--v-scrollbar-offset);
  11. }
  12. .v-overlay-scroll-blocked:not(html) {
  13. overflow-y: hidden !important;
  14. }
  15. html.v-overlay-scroll-blocked {
  16. position: fixed;
  17. top: var(--v-body-scroll-y);
  18. left: var(--v-body-scroll-x);
  19. width: 100%;
  20. height: 100%;
  21. }
  22. .v-overlay {
  23. border-radius: inherit;
  24. display: flex;
  25. left: 0;
  26. pointer-events: none;
  27. position: fixed;
  28. top: 0;
  29. bottom: 0;
  30. right: 0;
  31. }
  32. .v-overlay__content {
  33. outline: none;
  34. position: absolute;
  35. pointer-events: auto;
  36. contain: layout;
  37. }
  38. .v-overlay__scrim {
  39. pointer-events: auto;
  40. background: rgb(var(--v-theme-on-surface));
  41. border-radius: inherit;
  42. bottom: 0;
  43. left: 0;
  44. opacity: 0.32;
  45. position: fixed;
  46. right: 0;
  47. top: 0;
  48. }
  49. .v-overlay--absolute {
  50. position: absolute;
  51. }
  52. .v-overlay--contained .v-overlay__scrim {
  53. position: absolute;
  54. }
  55. .v-overlay--scroll-blocked {
  56. padding-inline-end: var(--v-scrollbar-offset);
  57. }