From 152de8d9a61b27445878a23eb8003e1b93e52f25 Mon Sep 17 00:00:00 2001 From: Mark MacKay Date: Wed, 23 Jun 2021 21:52:55 -0500 Subject: [PATCH] Title --- src/css/draginput.css | 6 +++--- src/css/loading.css | 2 +- src/index.html | 10 +++++++++- src/js/Canvas.js | 7 +++++++ src/js/Panel.js | 4 ++++ src/js/Title.js | 26 ++++++++++++++++++++++++++ src/js/dao.js | 2 +- src/js/loading.js | 6 ++++-- src/js/start.js | 4 +++- src/js/state.js | 1 + src/js/svgcanvas.js | 19 +++++++++++++------ 11 files changed, 72 insertions(+), 15 deletions(-) create mode 100644 src/js/Title.js diff --git a/src/css/draginput.css b/src/css/draginput.css index 41a3cac..80e94a3 100644 --- a/src/css/draginput.css +++ b/src/css/draginput.css @@ -130,7 +130,7 @@ z-index: 2; } -.draginput input::selection { background: var(--accent4); } +.draginput input::selection { background: var(--accent9); } .draginput.text-input input, .draginput.text-input input:hover, @@ -140,10 +140,10 @@ .draginput.text-input input { text-align: left; - text-indent: 8px; + text-indent: var(--x2); } -.draginput.textcontent { +.draginput.textcontent.hidden { position: absolute; opacity: 0; z-index: 0; diff --git a/src/css/loading.css b/src/css/loading.css index 33227b6..9cfeb02 100644 --- a/src/css/loading.css +++ b/src/css/loading.css @@ -20,7 +20,7 @@ .loading #svgcanvas:after { position: absolute; - content: 'Loading'; + content: attr(title); font-size: 13px; font-weight: 600; line-height: var(--x6); diff --git a/src/index.html b/src/index.html index ffd9dce..84f07c3 100644 --- a/src/index.html +++ b/src/index.html @@ -159,6 +159,13 @@
+ + + +