From c783301de9a12887278efe62eef3b7e505c156f8 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Wed, 1 Sep 2021 21:33:49 +0300 Subject: [PATCH] dropbox - import changes from alpha --- index.css | 23 +++--- index.html | 65 +++++++++++----- main.js | 31 -------- modules/load.js | 51 +++++++++++-- modules/save.js | 135 +++++++++++++++++++++------------ modules/ui/heightmap-editor.js | 2 +- modules/ui/options.js | 30 ++++---- 7 files changed, 208 insertions(+), 129 deletions(-) diff --git a/index.css b/index.css index 481e6271..d7119079 100644 --- a/index.css +++ b/index.css @@ -358,14 +358,11 @@ div.tab > button#optionsHide { } #options { - margin: 10px; - font-family: Consolas, monospace; position: absolute; + font-family: Consolas, monospace; border: solid 1px #5e4fa2; - width: 300px; - background-position: center; - background-size: cover; - background-blend-mode: color-dodge; + margin: 10px; + padding-bottom: 0.3em; } #options input, @@ -576,14 +573,16 @@ input[type="color"]::-webkit-color-swatch-wrapper { padding-left: 2.5px; } +#sticked { + display: flex; + justify-content: space-evenly; + width: 100%; +} + #sticked button { - background-color: #997c8900; - padding: 0; - margin-bottom: 2px; - width: 22%; - font-size: 1em; - border: 0; + background-color: transparent; font-weight: bold; + border: 0; } #sticked button:hover { diff --git a/index.html b/index.html index 828c28f2..4ba01d24 100644 --- a/index.html +++ b/index.html @@ -1447,11 +1447,11 @@
- - + + +
- @@ -3447,36 +3447,66 @@ - +