From cd38bdfa8f9d82dbdeeae353ee4aa86387008797 Mon Sep 17 00:00:00 2001 From: Phil Bayfield Date: Wed, 3 Sep 2014 11:50:24 +0100 Subject: [PATCH] add scrollbar --- less/theme.less | 13 +++++++++++++ theme.css | 10 ++++++++++ 2 files changed, 23 insertions(+) diff --git a/less/theme.less b/less/theme.less index 89041c5..91e9dd0 100644 --- a/less/theme.less +++ b/less/theme.less @@ -20,4 +20,17 @@ max-height: 300px; overflow-x: hidden; } + + .dropdown-menu-scrollable::-webkit-scrollbar { + width: 1em; + } + + .dropdown-menu-scrollable::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + } + + .dropdown-menu-scrollable::-webkit-scrollbar-thumb { + background-color: @gray-lighter; + outline: 1px solid @gray-light; + } } \ No newline at end of file diff --git a/theme.css b/theme.css index 8dadbbe..b0777ea 100644 --- a/theme.css +++ b/theme.css @@ -13,4 +13,14 @@ max-height: 300px; overflow-x: hidden; } + .dropdown-menu-scrollable::-webkit-scrollbar { + width: 1em; + } + .dropdown-menu-scrollable::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); + } + .dropdown-menu-scrollable::-webkit-scrollbar-thumb { + background-color: #eeeeee; + outline: 1px solid #777777; + } }