| 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 |
} |
| 9 |
|
| 10 |
.simplebar-wrapper { |
| 11 |
overflow: hidden; |
| 12 |
width: inherit; |
| 13 |
height: inherit; |
| 14 |
max-width: inherit; |
| 15 |
max-height: inherit; |
| 16 |
} |
| 17 |
|
| 18 |
.simplebar-mask { |
| 19 |
direction: inherit; |
| 20 |
position: absolute; |
| 21 |
overflow: hidden; |
| 22 |
padding: 0; |
| 23 |
margin: 0; |
| 24 |
left: 0; |
| 25 |
top: 0; |
| 26 |
bottom: 0; |
| 27 |
right: 0; |
| 28 |
width: auto !important; |
| 29 |
height: auto !important; |
| 30 |
z-index: 0; |
| 31 |
} |
| 32 |
|
| 33 |
.simplebar-offset { |
| 34 |
direction: inherit !important; |
| 35 |
box-sizing: inherit !important; |
| 36 |
resize: none !important; |
| 37 |
position: absolute; |
| 38 |
top: 0; |
| 39 |
left: 0; |
| 40 |
bottom: 0; |
| 41 |
right: 0; |
| 42 |
padding: 0; |
| 43 |
margin: 0; |
| 44 |
-webkit-overflow-scrolling: touch; |
| 45 |
} |
| 46 |
|
| 47 |
.simplebar-content-wrapper { |
| 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: auto; /* 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 |
|
| 60 |
.simplebar-content:before, |
| 61 |
.simplebar-content:after { |
| 62 |
content: " "; |
| 63 |
display: table; |
| 64 |
} |
| 65 |
|
| 66 |
.simplebar-placeholder { |
| 67 |
max-height: 100%; |
| 68 |
max-width: 100%; |
| 69 |
width: 100%; |
| 70 |
pointer-events: none; |
| 71 |
} |
| 72 |
|
| 73 |
.simplebar-height-auto-observer-wrapper { |
| 74 |
box-sizing: inherit !important; |
| 75 |
height: 100%; |
| 76 |
width: 100%; |
| 77 |
max-width: 1px; |
| 78 |
position: relative; |
| 79 |
float: left; |
| 80 |
max-height: 1px; |
| 81 |
overflow: hidden; |
| 82 |
z-index: -1; |
| 83 |
padding: 0; |
| 84 |
margin: 0; |
| 85 |
pointer-events: none; |
| 86 |
flex-grow: inherit; |
| 87 |
flex-shrink: 0; |
| 88 |
flex-basis: 0; |
| 89 |
} |
| 90 |
|
| 91 |
.simplebar-height-auto-observer { |
| 92 |
box-sizing: inherit; |
| 93 |
display: block; |
| 94 |
opacity: 0; |
| 95 |
position: absolute; |
| 96 |
top: 0; |
| 97 |
left: 0; |
| 98 |
height: 1000%; |
| 99 |
width: 1000%; |
| 100 |
min-height: 1px; |
| 101 |
min-width: 1px; |
| 102 |
overflow: hidden; |
| 103 |
pointer-events: none; |
| 104 |
z-index: -1; |
| 105 |
} |
| 106 |
|
| 107 |
.simplebar-track { |
| 108 |
z-index: 1; |
| 109 |
position: absolute; |
| 110 |
right: 0; |
| 111 |
bottom: 0; |
| 112 |
pointer-events: none; |
| 113 |
overflow: hidden; |
| 114 |
} |
| 115 |
|
| 116 |
[data-simplebar].simplebar-dragging .simplebar-content { |
| 117 |
pointer-events: none; |
| 118 |
user-select: none; |
| 119 |
-webkit-user-select: none; |
| 120 |
} |
| 121 |
|
| 122 |
[data-simplebar].simplebar-dragging .simplebar-track { |
| 123 |
pointer-events: all; |
| 124 |
} |
| 125 |
|
| 126 |
.simplebar-scrollbar { |
| 127 |
position: absolute; |
| 128 |
right: 2px; |
| 129 |
width: 2px; |
| 130 |
min-height: 10px; |
| 131 |
} |
| 132 |
|
| 133 |
.simplebar-scrollbar:before { |
| 134 |
position: absolute; |
| 135 |
content: ""; |
| 136 |
background: black; |
| 137 |
border-radius: 3px; |
| 138 |
left: 0; |
| 139 |
right: 0; |
| 140 |
opacity: 0; |
| 141 |
transition: opacity 0.2s linear; |
| 142 |
} |
| 143 |
|
| 144 |
.simplebar-track .simplebar-scrollbar.simplebar-visible:before { |
| 145 |
/* When hovered, remove all transitions from drag handle */ |
| 146 |
opacity: 0.5; |
| 147 |
transition: opacity 0s linear; |
| 148 |
} |
| 149 |
|
| 150 |
.simplebar-track.simplebar-vertical { |
| 151 |
top: 0; |
| 152 |
width: 11px; |
| 153 |
} |
| 154 |
|
| 155 |
.simplebar-track.simplebar-vertical .simplebar-scrollbar:before { |
| 156 |
top: 2px; |
| 157 |
bottom: 2px; |
| 158 |
} |
| 159 |
|
| 160 |
.simplebar-track.simplebar-horizontal { |
| 161 |
left: 0; |
| 162 |
height: 11px; |
| 163 |
} |
| 164 |
|
| 165 |
.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before { |
| 166 |
height: 100%; |
| 167 |
left: 2px; |
| 168 |
right: 2px; |
| 169 |
} |
| 170 |
|
| 171 |
.simplebar-track.simplebar-horizontal .simplebar-scrollbar { |
| 172 |
right: auto; |
| 173 |
left: 0; |
| 174 |
top: 2px; |
| 175 |
height: 7px; |
| 176 |
min-height: 0; |
| 177 |
min-width: 10px; |
| 178 |
width: auto; |
| 179 |
} |
| 180 |
|
| 181 |
/* Rtl support */ |
| 182 |
[data-simplebar-direction="rtl"] .simplebar-track.simplebar-vertical { |
| 183 |
right: auto; |
| 184 |
left: 0; |
| 185 |
} |
| 186 |
|
| 187 |
.hs-dummy-scrollbar-size { |
| 188 |
direction: rtl; |
| 189 |
position: fixed; |
| 190 |
opacity: 0; |
| 191 |
visibility: hidden; |
| 192 |
height: 500px; |
| 193 |
width: 500px; |
| 194 |
overflow-y: hidden; |
| 195 |
overflow-x: scroll; |
| 196 |
} |
| 197 |
|