Bump simplebar to 5.0.7
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,96 +1,212 @@
|
|||||||
/* SimpleBar.js - v2.6.1 */
|
|
||||||
[data-simplebar] {
|
[data-simplebar] {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 0;
|
flex-direction: column;
|
||||||
overflow: hidden!important;
|
flex-wrap: wrap;
|
||||||
max-height: inherit;
|
justify-content: flex-start;
|
||||||
-webkit-overflow-scrolling: touch; /* Trigger native scrolling for mobile, if not supported, plugin is used. */
|
align-content: flex-start;
|
||||||
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-simplebar="init"] {
|
.simplebar-wrapper {
|
||||||
display: -webkit-box;
|
overflow: hidden;
|
||||||
display: -ms-flexbox;
|
width: inherit;
|
||||||
display: flex;
|
height: inherit;
|
||||||
|
max-width: inherit;
|
||||||
|
max-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-scroll-content {
|
.simplebar-mask {
|
||||||
overflow-x: hidden!important;
|
direction: inherit;
|
||||||
overflow-y: scroll;
|
position: absolute;
|
||||||
min-width: 100%!important;
|
overflow: hidden;
|
||||||
max-height: inherit!important;
|
padding: 0;
|
||||||
-webkit-box-sizing: content-box!important;
|
margin: 0;
|
||||||
box-sizing: content-box!important;
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
width: auto !important;
|
||||||
|
height: auto !important;
|
||||||
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-content {
|
.simplebar-offset {
|
||||||
overflow-y: hidden!important;
|
direction: inherit !important;
|
||||||
overflow-x: scroll;
|
box-sizing: inherit !important;
|
||||||
-webkit-box-sizing: border-box!important;
|
resize: none !important;
|
||||||
box-sizing: border-box!important;
|
position: absolute;
|
||||||
min-height: 100%!important;
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simplebar-content-wrapper {
|
||||||
|
direction: inherit;
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */
|
||||||
|
width: auto;
|
||||||
|
visibility: visible;
|
||||||
|
max-width: 100%; /* Not required for horizontal scroll to trigger */
|
||||||
|
max-height: 100%; /* Needed for vertical scroll to trigger */
|
||||||
|
scrollbar-width: none;
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simplebar-content-wrapper::-webkit-scrollbar,
|
||||||
|
.simplebar-hide-scrollbar::-webkit-scrollbar {
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simplebar-content:before,
|
||||||
|
.simplebar-content:after {
|
||||||
|
content: ' ';
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simplebar-placeholder {
|
||||||
|
max-height: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
width: 100%;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simplebar-height-auto-observer-wrapper {
|
||||||
|
box-sizing: inherit !important;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1px;
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
max-height: 1px;
|
||||||
|
overflow: hidden;
|
||||||
|
z-index: -1;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
flex-grow: inherit;
|
||||||
|
flex-shrink: 0;
|
||||||
|
flex-basis: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simplebar-height-auto-observer {
|
||||||
|
box-sizing: inherit;
|
||||||
|
display: block;
|
||||||
|
opacity: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
height: 1000%;
|
||||||
|
width: 1000%;
|
||||||
|
min-height: 1px;
|
||||||
|
min-width: 1px;
|
||||||
|
overflow: hidden;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-track {
|
.simplebar-track {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 11px;
|
pointer-events: none;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-simplebar].simplebar-dragging .simplebar-content {
|
||||||
|
pointer-events: none;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-simplebar].simplebar-dragging .simplebar-track {
|
||||||
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-scrollbar {
|
.simplebar-scrollbar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 2px;
|
right: 2px;
|
||||||
width: 7px;
|
width: 7px;
|
||||||
min-height: 10px;
|
min-height: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-scrollbar:before {
|
.simplebar-scrollbar:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "";
|
content: '';
|
||||||
background: black;
|
background: black;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
-webkit-transition: opacity 0.2s linear;
|
transition: opacity 0.2s linear;
|
||||||
transition: opacity 0.2s linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-track:hover .simplebar-scrollbar:before,
|
.simplebar-scrollbar.simplebar-visible:before {
|
||||||
.simplebar-track .simplebar-scrollbar.visible:before {
|
/* When hovered, remove all transitions from drag handle */
|
||||||
/* When hovered, remove all transitions from drag handle */
|
opacity: 0.5;
|
||||||
opacity: 0.5;
|
transition: opacity 0s linear;
|
||||||
-webkit-transition: opacity 0 linear;
|
|
||||||
transition: opacity 0 linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-track.vertical {
|
.simplebar-track.simplebar-vertical {
|
||||||
top: 0;
|
top: 0;
|
||||||
|
width: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-track.vertical .simplebar-scrollbar:before {
|
.simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
|
||||||
top: 2px;
|
top: 2px;
|
||||||
bottom: 2px;
|
bottom: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-track.horizontal {
|
.simplebar-track.simplebar-horizontal {
|
||||||
left: 0;
|
left: 0;
|
||||||
width: auto;
|
height: 11px;
|
||||||
height: 11px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-track.horizontal .simplebar-scrollbar:before {
|
.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
left: 2px;
|
left: 2px;
|
||||||
right: 2px;
|
right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.horizontal.simplebar-track .simplebar-scrollbar {
|
.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
|
||||||
right: auto;
|
right: auto;
|
||||||
top: 2px;
|
left: 0;
|
||||||
height: 7px;
|
top: 2px;
|
||||||
min-height: 0;
|
height: 7px;
|
||||||
min-width: 10px;
|
min-height: 0;
|
||||||
width: auto;
|
min-width: 10px;
|
||||||
}
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Rtl support */
|
||||||
|
[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {
|
||||||
|
right: auto;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hs-dummy-scrollbar-size {
|
||||||
|
direction: rtl;
|
||||||
|
position: fixed;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
height: 500px;
|
||||||
|
width: 500px;
|
||||||
|
overflow-y: hidden;
|
||||||
|
overflow-x: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simplebar-hide-scrollbar {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
overflow-y: scroll;
|
||||||
|
scrollbar-width: none;
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user