From cdd30d95c5bb7f978e9a3508fa6828128a39dcab Mon Sep 17 00:00:00 2001 From: Arthur Mayer Date: Wed, 23 Feb 2011 23:03:26 +0100 Subject: [PATCH] lechd's new override style to let the sidebar always open and hides also the icon --- web/override_example.css | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/web/override_example.css b/web/override_example.css index a353b45d..baeb8f10 100644 --- a/web/override_example.css +++ b/web/override_example.css @@ -2,16 +2,16 @@ * This is the over-ride CSS file. * * if you know any CSS you can easily add any custom rules to change how - * Dynmap looks for your particular install. + * Dynmap looks or behaves in your particular install. * - * Simply uncomment the override.css in the index.html and rename this file - * to override.css to use these custom rules. + * Simply uncomment the override.css in the index.html and rename THIS file + * to override.css to use these (or your) custom rules. * * By adding these rules here you can easily save your changes between updates. */ -/* IE : Use the alternate compass image */ +/* Use the alternate compass image */ .compass { top: 20px; @@ -22,3 +22,16 @@ background-image: url(compass_alt.png); } + +/* These next two keep the DynMap sidebar open */ + +.dynmap .sidebar { + margin-right: 0px; +} + +/* And hide the hitbar along with the window controls */ + +.dynmap .sidebar .hitbar, +.dynmap .sidebar .panel > .pin { + display: none; +} \ No newline at end of file