37 lines
897 B
CSS
37 lines
897 B
CSS
.scrollWrapper {
|
|
overflow: auto;
|
|
max-width: 100%;
|
|
/*firefox*/
|
|
scrollbar-width: thin;
|
|
/*iPad*/
|
|
height: 1.1rem;
|
|
}
|
|
.scrollWrapper::-webkit-scrollbar {
|
|
width: 1.1rem;
|
|
height: 1.1rem;
|
|
}
|
|
.scrollWrapper::-webkit-scrollbar-corner {
|
|
background: transparent;
|
|
}
|
|
.scrollWrapper::-webkit-scrollbar-thumb {
|
|
border: 6px solid transparent;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
background: var(--palette-black-alpha-20, rgba(0, 0, 0, 0.2));
|
|
border-radius: 10px;
|
|
background-clip: padding-box;
|
|
}
|
|
.scrollWrapper::-webkit-scrollbar-thumb:hover {
|
|
border: 4px solid transparent;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
background: var(--palette-black-alpha-30, rgba(0, 0, 0, 0.3));
|
|
background-clip: padding-box;
|
|
}
|
|
@media only screen and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
|
|
.scrollWrapper {
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
}
|
|
.scroll {
|
|
height: 1px;
|
|
}
|