summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_scrollbar.scss
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2016-08-22 19:10:34 +0500
committerChristopher Speller <crspeller@gmail.com>2016-08-22 10:10:34 -0400
commit06cf7c34a3e474ec3bb7f0f1399a93f458fe20f7 (patch)
treee3727a641a32627af9cd53c621a6fe8aab5ffe78 /webapp/sass/components/_scrollbar.scss
parentc7150c4c80a2057b371b8d6f0c7cc786e8d240fd (diff)
downloadchat-06cf7c34a3e474ec3bb7f0f1399a93f458fe20f7.tar.gz
chat-06cf7c34a3e474ec3bb7f0f1399a93f458fe20f7.tar.bz2
chat-06cf7c34a3e474ec3bb7f0f1399a93f458fe20f7.zip
PLT-3981 - Fixing perfect scrollbar hover (#3839)
Diffstat (limited to 'webapp/sass/components/_scrollbar.scss')
-rw-r--r--webapp/sass/components/_scrollbar.scss23
1 files changed, 22 insertions, 1 deletions
diff --git a/webapp/sass/components/_scrollbar.scss b/webapp/sass/components/_scrollbar.scss
index 06ee37dc9..a4df8230d 100644
--- a/webapp/sass/components/_scrollbar.scss
+++ b/webapp/sass/components/_scrollbar.scss
@@ -36,4 +36,25 @@ body {
.browser--ie & {
margin: 0 !important;
}
-} \ No newline at end of file
+}
+
+
+.ps-container {
+ &:hover {
+ .ps-scrollbar-x-rail,
+ .ps-scrollbar-y-rail {
+ @include opacity(.3);
+ }
+ }
+
+ > .ps-scrollbar-y-rail {
+ width: 10px;
+
+ &:hover {
+ .ps-scrollbar-y {
+ @include opacity(.6);
+ width: 6px;
+ }
+ }
+ }
+}