VList.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. .v-list {
  2. overflow: auto;
  3. padding: 8px 0;
  4. position: relative;
  5. outline: none;
  6. }
  7. .v-list {
  8. border-color: rgba(var(--v-border-color), var(--v-border-opacity));
  9. border-style: solid;
  10. border-width: 0;
  11. }
  12. .v-list--border {
  13. border-width: thin;
  14. box-shadow: none;
  15. }
  16. .v-list {
  17. 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));
  18. }
  19. .v-list {
  20. border-radius: 0;
  21. }
  22. .v-list {
  23. background: rgba(var(--v-theme-surface));
  24. color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  25. }
  26. .v-list--disabled {
  27. pointer-events: none;
  28. user-select: none;
  29. }
  30. .v-list--nav {
  31. padding-inline: 8px;
  32. }
  33. .v-list--rounded {
  34. border-radius: 4px;
  35. }
  36. .v-list--subheader {
  37. padding-top: 0;
  38. }
  39. .v-list-img {
  40. border-radius: inherit;
  41. display: flex;
  42. height: 100%;
  43. left: 0;
  44. overflow: hidden;
  45. position: absolute;
  46. top: 0;
  47. width: 100%;
  48. z-index: -1;
  49. }
  50. .v-list-subheader {
  51. align-items: center;
  52. background: inherit;
  53. color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
  54. display: flex;
  55. font-size: 0.875rem;
  56. font-weight: 400;
  57. line-height: 1.375rem;
  58. padding-inline-end: 16px;
  59. min-height: 40px;
  60. transition: 0.2s min-height cubic-bezier(0.4, 0, 0.2, 1);
  61. }
  62. .v-list-subheader__text {
  63. overflow: hidden;
  64. text-overflow: ellipsis;
  65. white-space: nowrap;
  66. }
  67. .v-list--density-default .v-list-subheader {
  68. min-height: 40px;
  69. padding-inline-start: calc(16px + var(--indent-padding)) !important;
  70. }
  71. .v-list--density-comfortable .v-list-subheader {
  72. min-height: 36px;
  73. padding-inline-start: calc(16px + var(--indent-padding)) !important;
  74. }
  75. .v-list--density-compact .v-list-subheader {
  76. min-height: 32px;
  77. padding-inline-start: calc(16px + var(--indent-padding)) !important;
  78. }
  79. .v-list-subheader--inset {
  80. --indent-padding: 56px;
  81. }
  82. .v-list--nav .v-list-subheader {
  83. font-size: 0.75rem;
  84. }
  85. .v-list-subheader--sticky {
  86. background: inherit;
  87. left: 0;
  88. position: sticky;
  89. top: 0;
  90. z-index: 1;
  91. }
  92. .v-list__overlay {
  93. background-color: currentColor;
  94. border-radius: inherit;
  95. bottom: 0;
  96. left: 0;
  97. opacity: 0;
  98. pointer-events: none;
  99. position: absolute;
  100. right: 0;
  101. top: 0;
  102. transition: opacity 0.2s ease-in-out;
  103. }