Closed ritz078 closed 8 years ago
Yes, just extend the css
On Mon, Jun 29, 2015 at 2:28 PM, Ritesh Kumar notifications@github.com wrote:
Is there any way to show the scrollbar only on hover ?
— Reply to this email directly or view it on GitHub https://github.com/asafdav/ng-scrollbar/issues/42.
Thanks for the great module. It really awesome!
Not sure this is right method, but i managed to show the scrollbar on hover by extending the css class as follows:
/*
* ng-scrollbar show scrollbar when hover
*/
.ngsb-wrap .ngsb-scrollbar {
width: 16px;
height: 100%;
top: 0;
right: 0;
opacity: 0;
filter: "alpha(opacity=0)";
-ms-filter: "alpha(opacity=0)";
transition: opacity .1s linear; // Add bit of transition (todo: browser prefix)
/* old ie */
}
Looks great, if you want you can update the README so others can benefit from this.
On Thu, Jul 9, 2015 at 10:54 AM, Gayan Virajith notifications@github.com wrote:
Thanks for the great module. It really awesome!
Not sure this is right method, but i managed to show the scrollbar on hover by extending the css class as follows:
/*
- ng-scrollbar show scrollbar when hover / .ngsb-wrap .ngsb-scrollbar { width: 16px; height: 100%; top: 0; right: 0; opacity: 0; filter: "alpha(opacity=0)"; -ms-filter: "alpha(opacity=0)"; transition: opacity .1s linear; // Add bit of transition (todo: browser prefix) / old ie */ }
— Reply to this email directly or view it on GitHub https://github.com/asafdav/ng-scrollbar/issues/42#issuecomment-119862144 .
Is there any way to show the scrollbar only on hover ?