From 920031dfb56082af10189137398530d3183c599b Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 25 Jul 2023 14:03:13 -0400 Subject: rot3, ui cleanup --- index.html | 37 ++++++++++++------------------------- 1 file changed, 12 insertions(+), 25 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 71d304b..690eaf7 100644 --- a/index.html +++ b/index.html @@ -67,7 +67,7 @@ button:hover, input:hover, input:active { background-color: #fff3; } - button:active, button[data-selected="true"] { + button:active { background-color: #fff6; } button:focus, input:focus { @@ -76,16 +76,11 @@ #ui-resize { flex-grow: 0; flex-shrink: 0; - width: 8px; + width: 0.3cm; cursor: col-resize; display: flex; justify-content: center; - } - #ui-resize-bar { - width: 2px; - height: 100%; - background: #fff; - margin: auto 0; + background: linear-gradient(90deg, #000, #444 30%, #fff 50%, #444 70%, #000); } #ui { overflow-x: auto; @@ -103,9 +98,6 @@ color: white; padding: 0; } - #ui input[type=color] { - padding: 0; - } .in select { width: 5em; } @@ -122,16 +114,9 @@ margin-left: 0.5em; white-space: nowrap; } - input[type="number"] { - /* disable increment/decrement buttons (firefox) */ - -moz-appearance: textfield; - } - input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { - /* disable increment/decrement buttons (webkit) */ - -webkit-appearance: none; - } - img.icon { - height: 1.5em; + input[type="submit"] { + padding-left: 0.5em; + padding-right: 0.5em; } .widget { display: block; @@ -162,9 +147,10 @@ filter: saturate(500%); } .widget-choice { - width: 100%; + width: calc(100% - 0.4em); border: 1px solid white; - margin: 0; + margin: 0.2em; + padding: 0.1em 0; } .widget-choice:focus { outline: 0; @@ -172,6 +158,7 @@ } #widget-choices { margin: 0.2em; + padding-bottom: 0.3em; border-bottom: 2px solid white; } @@ -192,13 +179,13 @@
- +
Add
-
+
-- cgit v1.2.3