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.

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