VNavigationDrawer.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. .v-navigation-drawer {
  2. -webkit-overflow-scrolling: touch;
  3. background: rgb(var(--v-theme-surface));
  4. display: flex;
  5. flex-direction: column;
  6. height: 100%;
  7. max-width: 100%;
  8. pointer-events: auto;
  9. transition-duration: 0.2s;
  10. transition-property: box-shadow, transform, visibility, width, height, left, right, top, bottom;
  11. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  12. position: absolute;
  13. }
  14. .v-navigation-drawer {
  15. border-color: rgba(var(--v-border-color), var(--v-border-opacity));
  16. border-style: solid;
  17. border-width: 0;
  18. }
  19. .v-navigation-drawer--border {
  20. border-width: thin;
  21. box-shadow: none;
  22. }
  23. .v-navigation-drawer {
  24. box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
  25. }
  26. .v-navigation-drawer {
  27. background: rgb(var(--v-theme-surface));
  28. color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  29. }
  30. .v-navigation-drawer--rounded {
  31. border-radius: 4px;
  32. }
  33. .v-navigation-drawer--top, .v-navigation-drawer--bottom {
  34. max-height: -webkit-fill-available;
  35. overflow-y: auto;
  36. }
  37. .v-navigation-drawer--top {
  38. top: 0;
  39. border-bottom-width: thin;
  40. }
  41. .v-navigation-drawer--bottom {
  42. left: 0;
  43. border-top-width: thin;
  44. }
  45. .v-navigation-drawer--left {
  46. top: 0;
  47. left: 0;
  48. right: auto;
  49. border-right-width: thin;
  50. }
  51. .v-navigation-drawer--right {
  52. top: 0;
  53. left: auto;
  54. right: 0;
  55. border-left-width: thin;
  56. }
  57. .v-navigation-drawer--floating {
  58. border: none;
  59. }
  60. .v-navigation-drawer--temporary.v-navigation-drawer--active {
  61. box-shadow: 0px 8px 10px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 16px 24px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 6px 30px 5px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
  62. }
  63. .v-navigation-drawer--sticky {
  64. height: auto;
  65. transition: box-shadow, transform, visibility, width, height, left, right;
  66. }
  67. .v-navigation-drawer .v-list {
  68. overflow: hidden;
  69. }
  70. .v-navigation-drawer__content {
  71. flex: 0 1 auto;
  72. height: 100%;
  73. max-width: 100%;
  74. overflow-x: hidden;
  75. overflow-y: auto;
  76. }
  77. .v-navigation-drawer__img {
  78. height: 100%;
  79. left: 0;
  80. position: absolute;
  81. top: 0;
  82. width: 100%;
  83. z-index: -1;
  84. }
  85. .v-navigation-drawer__img img:not(.v-img__img) {
  86. height: inherit;
  87. object-fit: cover;
  88. width: inherit;
  89. }
  90. .v-navigation-drawer__scrim {
  91. position: absolute;
  92. top: 0;
  93. left: 0;
  94. width: 100%;
  95. height: 100%;
  96. background: black;
  97. opacity: 0.2;
  98. transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  99. z-index: 1;
  100. }
  101. .v-navigation-drawer__prepend,
  102. .v-navigation-drawer__append {
  103. flex: none;
  104. overflow: hidden;
  105. }