| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- /* perfect-scrollbar v0.6.5 */
- .ps-container {
- -ms-touch-action: none;
- overflow: hidden !important;
- &.ps-active-x > .ps-scrollbar-x-rail, &.ps-active-y > .ps-scrollbar-y-rail {
- display: block;
- }
- &.ps-in-scrolling {
- pointer-events: none;
- &.ps-x > .ps-scrollbar-x-rail {
- background-color: #eee;
- opacity: 0.9;
- & > .ps-scrollbar-x {
- background-color: #999;
- }
- }
- &.ps-y > .ps-scrollbar-y-rail {
- background-color: #eee;
- opacity: 0.9;
- & > .ps-scrollbar-y {
- background-color: #999;
- }
- }
- }
- & > .ps-scrollbar-x-rail {
- display: none;
- position: absolute;
- /* please don't change 'position' */
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- border-radius: 4px;
- opacity: 0;
- -webkit-transition: background-color .2s linear, opacity .2s linear;
- -moz-transition: background-color .2s linear, opacity .2s linear;
- -o-transition: background-color .2s linear, opacity .2s linear;
- transition: background-color .2s linear, opacity .2s linear;
- bottom: 3px;
- /* there must be 'bottom' for ps-scrollbar-x-rail */
- height: 8px;
- margin: 0 3px;
- & > .ps-scrollbar-x {
- position: absolute;
- /* please don't change 'position' */
- background-color: #aaa;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- border-radius: 4px;
- -webkit-transition: background-color .2s linear;
- -moz-transition: background-color .2s linear;
- -o-transition: background-color .2s linear;
- transition: background-color .2s linear;
- bottom: 0;
- /* there must be 'bottom' for ps-scrollbar-x */
- height: 8px;
- }
- }
- & > .ps-scrollbar-y-rail {
- display: none;
- position: absolute;
- /* please don't change 'position' */
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- border-radius: 4px;
- opacity: 0;
- -webkit-transition: background-color .2s linear, opacity .2s linear;
- -moz-transition: background-color .2s linear, opacity .2s linear;
- -o-transition: background-color .2s linear, opacity .2s linear;
- transition: background-color .2s linear, opacity .2s linear;
- right: 3px;
- /* there must be 'right' for ps-scrollbar-y-rail */
- width: 8px;
- margin: 3px 0;
- & > .ps-scrollbar-y {
- position: absolute;
- /* please don't change 'position' */
- background-color: #aaa;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- border-radius: 4px;
- -webkit-transition: background-color .2s linear;
- -moz-transition: background-color .2s linear;
- -o-transition: background-color .2s linear;
- transition: background-color .2s linear;
- right: 0;
- /* there must be 'right' for ps-scrollbar-y */
- width: 8px;
- }
- }
- &:hover.ps-in-scrolling {
- pointer-events: none;
- &.ps-x > .ps-scrollbar-x-rail {
- background-color: #eee;
- opacity: 0.9;
- & > .ps-scrollbar-x {
- background-color: #999;
- }
- }
- &.ps-y > .ps-scrollbar-y-rail {
- background-color: #eee;
- opacity: 0.9;
- & > .ps-scrollbar-y {
- background-color: #999;
- }
- }
- }
- &:hover {
- & > .ps-scrollbar-x-rail, &:hover > .ps-scrollbar-y-rail {
- opacity: 0.6;
- }
- & > .ps-scrollbar-x-rail:hover {
- background-color: #eee;
- opacity: 0.9;
- & > .ps-scrollbar-x {
- background-color: #999;
- }
- }
- & > .ps-scrollbar-y-rail:hover {
- background-color: #eee;
- opacity: 0.9;
- & > .ps-scrollbar-y {
- background-color: #999;
- }
- }
- }
- }
|