diff --git a/packages/mindplot/test/playground/map-render/css/editor.less b/packages/mindplot/test/playground/map-render/css/editor.less index 9c3cfca0..2fc251f2 100644 --- a/packages/mindplot/test/playground/map-render/css/editor.less +++ b/packages/mindplot/test/playground/map-render/css/editor.less @@ -14,7 +14,6 @@ body { -ms-user-select: none; user-select: none; overflow: hidden; - position: fixed } div#mindplot { @@ -142,48 +141,47 @@ div.shareModalDialog { background-color: #efefef; } -// TODO: Review position. -div#bottom-logo { - position: absolute; - bottom: 220px; - right: 0; - background: url(../images/logo-text-black.svg) no-repeat; - width: 100px; - height: 40px; - z-index: 10000; -} - .popover { max-width: none; } -#zoom-button { - height: 100px; - width: 50px; - border: 0; +#floating-panel { position: absolute; - bottom: 100px; - right:10px; + bottom: 0; + right: 0; + padding: 10px; + display: flex; + flex-direction: column; + align-items: flex-end; +} + +#bottom-logo { + background: url(../images/logo-text-black.svg) no-repeat; + width: 100px; + height: 40px; + margin-top: 20px; +} + +#zoom-button { + width: 40px; + border: 0; } #zoom-plus, #zoom-minus { - height: 50px; - width: 50px; + height: 40px; + width: 40px; background-repeat: no-repeat; background-size: 40px 40px; background-position: center; cursor: pointer; - background-color: lightgray; - z-index: 1000; + background-color: #FFF; } #zoom-plus { border-radius: 8px 8px 0 0; - background-image: url('../images/add-icon.svg') } #zoom-minus { border-radius: 0 0 8px 8px; - background-image: url('../images/minus-icon.svg') } \ No newline at end of file diff --git a/packages/mindplot/test/playground/map-render/css/viewmode.less b/packages/mindplot/test/playground/map-render/css/viewmode.less index dc7c7d33..3e1905a5 100644 --- a/packages/mindplot/test/playground/map-render/css/viewmode.less +++ b/packages/mindplot/test/playground/map-render/css/viewmode.less @@ -23,4 +23,8 @@ div#footer-desc { div#footer-logo { float: left; height: 100px; +} + +#floating-panel { + bottom: 80px; } \ No newline at end of file diff --git a/packages/mindplot/test/playground/map-render/html/editor.html b/packages/mindplot/test/playground/map-render/html/editor.html index 24cb5e68..97fe14d2 100644 --- a/packages/mindplot/test/playground/map-render/html/editor.html +++ b/packages/mindplot/test/playground/map-render/html/editor.html @@ -87,14 +87,16 @@
- -
- - +
+
+ + +
+
diff --git a/packages/mindplot/test/playground/map-render/html/viewmode.html b/packages/mindplot/test/playground/map-render/html/viewmode.html index c9ca7192..a503db1f 100644 --- a/packages/mindplot/test/playground/map-render/html/viewmode.html +++ b/packages/mindplot/test/playground/map-render/html/viewmode.html @@ -12,7 +12,18 @@
- +
+
+ + +
+ +
+