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.
110 lines
2.7 KiB
110 lines
2.7 KiB
/* perfect-scroll css library */
|
|
.ps-container {
|
|
-ms-touch-action: none;
|
|
touch-action: none;
|
|
overflow: hidden !important;
|
|
-ms-overflow-style: none;
|
|
padding-right: 10px
|
|
}
|
|
@supports (-ms-overflow-style: none) {
|
|
.ps-container {
|
|
overflow: auto !important
|
|
}
|
|
}
|
|
@media screen and (-ms-high-contrast: active),
|
|
(-ms-high-contrast: none) {
|
|
.ps-container {
|
|
overflow: auto !important
|
|
}
|
|
}
|
|
.ps-container.ps-active-x>.ps-scrollbar-x-rail,
|
|
.ps-container.ps-active-y>.ps-scrollbar-y-rail {
|
|
display: block;
|
|
background-color: transparent
|
|
}
|
|
.ps-container.ps-in-scrolling {
|
|
pointer-events: none
|
|
}
|
|
.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail {
|
|
background-color: #eee;
|
|
opacity: 0.9
|
|
}
|
|
.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x {
|
|
background-color: #999
|
|
}
|
|
.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail {
|
|
background-color: #eee;
|
|
opacity: 0.9
|
|
}
|
|
.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y {
|
|
background-color: #999
|
|
}
|
|
.ps-container>.ps-scrollbar-x-rail {
|
|
display: none;
|
|
position: absolute;
|
|
border-radius: 4px;
|
|
opacity: 0;
|
|
transition: background-color .2s linear, opacity .2s linear;
|
|
bottom: 3px;
|
|
height: 8px
|
|
}
|
|
.ps-container>.ps-scrollbar-x-rail>.ps-scrollbar-x {
|
|
position: absolute;
|
|
background-color: #aaa;
|
|
border-radius: 4px;
|
|
transition: background-color .2s linear;
|
|
bottom: 0;
|
|
height: 8px
|
|
}
|
|
.ps-container>.ps-scrollbar-y-rail {
|
|
display: none;
|
|
position: absolute;
|
|
border-radius: 4px;
|
|
opacity: 0;
|
|
transition: background-color .2s linear, opacity .2s linear;
|
|
right: 3px;
|
|
width: 8px
|
|
}
|
|
.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y {
|
|
position: absolute;
|
|
background-color: #aaa;
|
|
border-radius: 4px;
|
|
transition: background-color .2s linear;
|
|
right: 0;
|
|
width: 8px
|
|
}
|
|
.ps-container:hover.ps-in-scrolling {
|
|
pointer-events: none
|
|
}
|
|
.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail {
|
|
background-color: #eee;
|
|
opacity: 0.9
|
|
}
|
|
.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x {
|
|
background-color: #999
|
|
}
|
|
.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail {
|
|
background-color: #eee;
|
|
opacity: 0.9
|
|
}
|
|
.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y {
|
|
background-color: #999
|
|
}
|
|
.ps-container:hover>.ps-scrollbar-x-rail,
|
|
.ps-container:hover>.ps-scrollbar-y-rail {
|
|
opacity: 0.6
|
|
}
|
|
.ps-container:hover>.ps-scrollbar-x-rail:hover {
|
|
background-color: #eee;
|
|
opacity: 0.9
|
|
}
|
|
.ps-container:hover>.ps-scrollbar-x-rail:hover>.ps-scrollbar-x {
|
|
background-color: #999
|
|
}
|
|
.ps-container:hover>.ps-scrollbar-y-rail:hover {
|
|
background-color: #eee;
|
|
opacity: 0.9
|
|
}
|
|
.ps-container:hover>.ps-scrollbar-y-rail:hover>.ps-scrollbar-y {
|
|
background-color: #999
|
|
} |