From e07c3b32ae0f75c9c4fae9bc9f16ceb92e65830a Mon Sep 17 00:00:00 2001 From: pommicket Date: Fri, 16 Jun 2023 23:25:01 +0100 Subject: cool tool buttons --- index.html | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 3b80ccc..b4c4fd8 100644 --- a/index.html +++ b/index.html @@ -54,13 +54,13 @@ background-color: black; color: white; } - button:hover { + button:hover, input:hover, input:active { background-color: #fff3; } - button:active { + button:active, button[data-selected="true"] { background-color: #fff6; } - button:focus { + button:focus, input:focus { outline: 2px solid #0a0; } #ui { @@ -74,13 +74,13 @@ left: 0; vertical-align:middle; } - #ui input { + input, button { vertical-align: middle; display: inline-block; height: 2.0em; margin: 0.3em 0.1em 0.3em 0.3em; border: 2px solid var(--ui-border); - background-color: #333; + background-color: black; color: white; } #ui input[type=color] { @@ -94,6 +94,9 @@ #ui label { margin-right: 0.5em; } + img.icon { + height: 1.5em; + } @@ -169,9 +172,15 @@ void main() { --> - + + + -- cgit v1.2.3