You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

159 lines
3.2 KiB

  1. [data-simplebar] {
  2. position: relative;
  3. flex-direction: column;
  4. flex-wrap: wrap;
  5. justify-content: flex-start;
  6. align-content: flex-start;
  7. align-items: flex-start;
  8. width: inherit;
  9. height: inherit;
  10. max-width: inherit;
  11. max-height: inherit;
  12. }
  13. .simplebar-offset {
  14. direction: inherit !important;
  15. box-sizing: inherit !important;
  16. resize: none !important;
  17. position: absolute;
  18. top: 0;
  19. left: 0;
  20. bottom: 0;
  21. right: 0;
  22. padding: 0;
  23. margin: 0;
  24. -webkit-overflow-scrolling: touch;
  25. }
  26. .simplebar-content {
  27. direction: inherit;
  28. box-sizing: border-box !important;
  29. position: relative;
  30. display: block;
  31. height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */
  32. width: auto;
  33. visibility: visible;
  34. overflow: scroll; /* Scroll on this element otherwise element can't have a padding applied properly */
  35. max-width: 100%; /* Not required for horizontal scroll to trigger */
  36. max-height: 100%; /* Needed for vertical scroll to trigger */
  37. }
  38. .simplebar-placeholder {
  39. max-height: 100%;
  40. max-width: 100%;
  41. width: 100%;
  42. pointer-events: none;
  43. }
  44. .simplebar-height-auto-observer-wrapper {
  45. box-sizing: inherit !important;
  46. height: 100%;
  47. width: inherit;
  48. max-width: 1px;
  49. position: relative;
  50. float: left;
  51. max-height: 1px;
  52. overflow: hidden;
  53. z-index: -1;
  54. padding: 0;
  55. margin: 0;
  56. pointer-events: none;
  57. flex-grow: inherit;
  58. flex-shrink: 0;
  59. flex-basis: 0;
  60. }
  61. .simplebar-height-auto-observer {
  62. box-sizing: inherit;
  63. display: block;
  64. opacity: 0;
  65. position: absolute;
  66. top: 0;
  67. left: 0;
  68. height: 1000%;
  69. width: 1000%;
  70. min-height: 1px;
  71. min-width: 1px;
  72. overflow: hidden;
  73. pointer-events: none;
  74. z-index: -1;
  75. }
  76. .simplebar-track {
  77. z-index: 1;
  78. position: absolute;
  79. right: 0;
  80. bottom: 0;
  81. pointer-events: none;
  82. }
  83. .simplebar-scrollbar {
  84. position: absolute;
  85. right: 2px;
  86. width: 7px;
  87. min-height: 10px;
  88. }
  89. .simplebar-scrollbar:before {
  90. position: absolute;
  91. content: "";
  92. background: black;
  93. border-radius: 7px;
  94. left: 0;
  95. right: 0;
  96. opacity: 0;
  97. transition: opacity 0.2s linear;
  98. }
  99. .simplebar-track .simplebar-scrollbar.simplebar-visible:before {
  100. /* When hovered, remove all transitions from drag handle */
  101. opacity: 0.5;
  102. transition: opacity 0s linear;
  103. }
  104. .simplebar-track.simplebar-vertical {
  105. top: 0;
  106. width: 11px;
  107. }
  108. .simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
  109. top: 2px;
  110. bottom: 2px;
  111. }
  112. .simplebar-track.simplebar-horizontal {
  113. left: 0;
  114. height: 11px;
  115. }
  116. .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
  117. height: 100%;
  118. left: 2px;
  119. right: 2px;
  120. }
  121. .simplebar-track.simplebar-horizontal .simplebar-scrollbar {
  122. right: auto;
  123. left: 0;
  124. top: 2px;
  125. height: 7px;
  126. min-height: 0;
  127. min-width: 10px;
  128. width: auto;
  129. }
  130. /* Rtl support */
  131. [data-simplebar-direction="rtl"] .simplebar-track.simplebar-vertical {
  132. right: auto;
  133. left: 0;
  134. }
  135. .hs-dummy-scrollbar-size {
  136. direction: rtl;
  137. position: fixed;
  138. opacity: 0;
  139. visibility: hidden;
  140. height: 500px;
  141. width: 500px;
  142. overflow-y: hidden;
  143. overflow-x: scroll;
  144. }