From 9ce36c13f81e52a707f9fd7913f4e5d12a4a2a28 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Thu, 23 May 2019 09:10:44 +0000 Subject: [PATCH] Revamped selection system, styling --- index.html | 140 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 105 insertions(+), 35 deletions(-) diff --git a/index.html b/index.html index 69fc862..7bd306e 100644 --- a/index.html +++ b/index.html @@ -11,23 +11,46 @@ body { left: 0; right: 0; bottom: 0; + margin: 0; + + font-family: 'Courier', monospace; } #definition { list-style: none; + margin: 0; padding: 0; + height: 100%; + width: 400px; + overflow-y: scroll; } #definition li { - padding: 5px; + display: flex; + flex-direction: row; + align-items: center; + justify-content: left; + white-space: pre; + + padding: 3px; + border: 5px dotted rgba(0,0,0,0.0); } -.selected { - background: red; +#definition li.node { + background-color: #daf0db; +} + +#definition li.selected { + border-color: red; +} + +#definition li input { + background-color: rgba(255,255,255,0.8); + border: 1px solid black; } @@ -38,88 +61,135 @@ body {