Mercurial > hg > batmud > maputils
changeset 2375:2193e1474d38
Map control box cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 04 Nov 2021 04:39:30 +0200 |
parents | 51ccd3d037bd |
children | 52b2861e5cea |
files | src/colormap.c |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/colormap.c Thu Nov 04 03:17:26 2021 +0200 +++ b/src/colormap.c Thu Nov 04 04:39:30 2021 +0200 @@ -231,18 +231,18 @@ if (optPosGlue) { fprintf(outFile, - " div.sgbox {\n" - " background: #bbb;\n" - " color: black;\n" + " div.controls {\n" " position: fixed;\n" " top: 0.5em;\n" - " right: 0.5em;\n" + " right: 1em;\n" " width: 25em;\n" " height: 6em;\n" - " margin: 4px;\n" - " padding: 4px;\n" + " margin: 0;\n" + " padding: 0.5em;\n" " z-index: 10;\n" - " border: 2px solid gray;\n" + " background: #bbb;\n" + " color: black;\n" +// " border: 2px solid gray;\n" " font-size: 10pt;\n" " }\n" " i." XHTML_LOCLABEL " a {\n" @@ -308,7 +308,7 @@ else { fprintf(outFile, - "<div id=\"sbox\" class=\"sgbox\">\n" + "<div id=\"sbox\" class=\"controls\">\n" " <div class=\"sbtitle\">"); fputse(optMapTitle, outFile); fprintf(outFile, @@ -328,7 +328,7 @@ } fprintf(outFile, - "<pre>\n" + "<div id=\"smap\"><pre>\n" ); } @@ -342,7 +342,7 @@ { // XHTML document end tags fprintf(outFile, - "</pre>\n" + "</pre></div>\n" "</body>\n" "</html>\n" );