From 101dbd81c300793b45988460d5eb2e62c8147fdd Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 8 Jan 2022 10:32:49 -0800 Subject: [PATCH] Fix public mindmap view including new zoom and style --- .../main/webapp/WEB-INF/defs/definitions.xml | 2 +- wise-webapp/src/main/webapp/css/viewonly.less | 96 ++----------------- .../src/main/webapp/images/pwrdby-white.svg | 5 - .../src/main/webapp/jsp/mindmapViewonly.jsp | 50 ++++++---- 4 files changed, 41 insertions(+), 112 deletions(-) delete mode 100644 wise-webapp/src/main/webapp/images/pwrdby-white.svg diff --git a/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml b/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml index 3d87c930..808ca0a9 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml @@ -5,7 +5,7 @@ - + diff --git a/wise-webapp/src/main/webapp/css/viewonly.less b/wise-webapp/src/main/webapp/css/viewonly.less index faf40f50..9edff575 100644 --- a/wise-webapp/src/main/webapp/css/viewonly.less +++ b/wise-webapp/src/main/webapp/css/viewonly.less @@ -5,79 +5,20 @@ body{ position: inherit; } -div#headerInfo { - height: 0; -} - -div#header { - height: 35px; -} - -div#headerMapTitle, #headerActions, #headerLogo { - display: none; -} - -/* Footer Styles */ -div#footer { - position: absolute; - height: 0px; - width: 100%; - bottom: 0; - left: 0; -} - div#footerLogo { - position: absolute; + position: fixed; display: list-item; - list-style-image: url(../../images/pwrdby-white.svg); + list-style-image: url(../../images/editor/logo-text-black.svg); list-style-position: inside; - right: 10px; - top: 5px; -} - -div#embFooter { - position: absolute; - height: 55px; - width: 100%; - bottom: 0; - left: 0; - background: rgb(249, 168, 38) -} - -div#zoomIn { - background: url(../../images/zoom-in.png) no-repeat left top; - margin-top: 10px; - margin-left: 10px; -} - -#zoomOut { - background: url(../../images/zoom-out.png) no-repeat left top; - margin-top: 10px; - margin-left: 5px; -} - -.button { - width: 20px; - height: 20px; - float: left; - cursor: pointer; - white-space: nowrap; - margin: 1px; -} - -.button:hover { - float: left; - cursor: pointer; - border: 1px solid black; - border-top-color: white; - border-left-color: white; - margin: 0; + left: 10px; + bottom: 10px; } div#mapDetails { - float: right; + position: fixed; + bottom:20px; + left: 100px; padding-top: 20px; - margin-right: 130px; font-size: 14px; } @@ -87,26 +28,3 @@ div#mapDetails .title { margin-right: 3px; } -div#infoPanel { - border: 2px black solid; - position: absolute; - background: gray; - width: 100px; - height: 300px; - z-index: 100; - padding: 5px; - border-radius: 8px; - top: 150px; - right: 10px; - text-align: center; -} - -div#infoPanel .textNode { - background-color: #E0E5EF; - height: 20px; - width: 80px; - padding: 4px; - cursor: move -} - - diff --git a/wise-webapp/src/main/webapp/images/pwrdby-white.svg b/wise-webapp/src/main/webapp/images/pwrdby-white.svg deleted file mode 100644 index cf8d9c3a..00000000 --- a/wise-webapp/src/main/webapp/images/pwrdby-white.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/wise-webapp/src/main/webapp/jsp/mindmapViewonly.jsp b/wise-webapp/src/main/webapp/jsp/mindmapViewonly.jsp index 55b519d6..c2dc81be 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapViewonly.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapViewonly.jsp @@ -12,10 +12,8 @@ <spring:message code="SITE.TITLE"/> | ${mindmap.title} - <%@ include file="/jsp/commonPageHeader.jsf" %> - - -
- : - : -
+
+
+ +
- +