From: Aleksander Ɓukasz Date: Tue, 16 Apr 2013 09:10:00 +0000 (+0200) Subject: Styling scrollbar in visual editor X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/d4e89595e829f60443056ce65f5f275d10f882ed?ds=sidebyside;hp=3185249361cacf28b88b00093f8b262795c8fa3c Styling scrollbar in visual editor --- 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;