From d4e89595e829f60443056ce65f5f275d10f882ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 16 Apr 2013 11:10:00 +0200 Subject: [PATCH] Styling scrollbar in visual editor --- editor.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/editor.css b/editor.css index 3691738..18dfc16 100644 --- a/editor.css +++ b/editor.css @@ -30,6 +30,27 @@ body { padding: 5px 10px; } +#rng-visualEditor-contentWrapper::-webkit-scrollbar { + width: 9px; +} + +#rng-visualEditor-contentWrapper::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + -webkit-border-radius: 10px; + border-radius: 10px; +} + +#rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb { + -webkit-border-radius: 10px; + border-radius: 10px; + background: rgba(73,175,205,0.8); + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); +} +#rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb:window-inactive { + background: rgba(73,175,205,0.4); +} + + #rng-visualEditor-content { outline: 0px solid transparent; -- 2.20.1