From c1c41e6d141f83c3d23aacfd89b77ed5ec5361ff Mon Sep 17 00:00:00 2001 From: Hyunje Alex Jun Date: Tue, 21 Jan 2014 21:38:45 +0900 Subject: [PATCH] CSS fixes for IE. --- src/perfect-scrollbar.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/perfect-scrollbar.css b/src/perfect-scrollbar.css index d700ff8..778038c 100644 --- a/src/perfect-scrollbar.css +++ b/src/perfect-scrollbar.css @@ -101,7 +101,7 @@ transition: background-color .2s linear; } -.ps-container.ie .ps-scrollbar-y { +.ps-container.ie6 .ps-scrollbar-y { font-size: 0; /* fixed scrollbar height in xp sp3 ie6 */ } @@ -109,3 +109,15 @@ .ps-container .ps-scrollbar-y-rail.hover .ps-scrollbar-y { background-color: #999; } + +.ps-container.ie .ps-scrollbar-x, +.ps-container.ie .ps-scrollbar-y { + visibility: hidden; +} + +.ps-container.ie:hover .ps-scrollbar-x, +.ps-container.ie:hover .ps-scrollbar-y, +.ps-container.ie.hover .ps-scrollbar-x, +.ps-container.ie.hover .ps-scrollbar-y { + visibility: visible; +}