From 5be718f50b3b0b4f68e34225c4af3a0be130568c Mon Sep 17 00:00:00 2001 From: Evan Theurer Date: Tue, 29 Apr 2014 16:22:24 +0200 Subject: [PATCH] Update nicescroll to scss. --- src/styles/global/_nicescroll.scss | 36 +++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/styles/global/_nicescroll.scss b/src/styles/global/_nicescroll.scss index b9a1150b..a17ac5f1 100644 --- a/src/styles/global/_nicescroll.scss +++ b/src/styles/global/_nicescroll.scss @@ -18,23 +18,23 @@ * along with this program. If not, see . * */ -.nicescroll::-webkit-scrollbar { -width: 8px; -height: 8px; -background-color: $background; -border: solid transparent; -} - -.nicescroll::-webkit-scrollbar:hover { -background-color: $background; -border-left: 1px solid rgba(0,0,0,.12); -border-right: 1px solid rgba(0,0,0,.12); -} - -.nicescroll::-webkit-scrollbar-thumb { -background: rgba(0,0,0,0.2); -} -.nicescroll::-webkit-scrollbar-thumb:active { -background: rgba(0,0,0,0.4); +.nicescroll { + &::-webkit-scrollbar { + background-color: $background; + border: solid transparent; + height: 8px; + width: 8px; + &:hover { + background-color: $background; + border-left: 1px solid rgba(0,0,0,.12); + border-right: 1px solid rgba(0,0,0,.12); + } + } + &::-webkit-scrollbar-thumb { + background: rgba(0,0,0,0.2); + &:active { + background: rgba(0,0,0,0.4); + } + } }