From d50ac287e7cc00793657422dbfa36d9c71e659be Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sat, 23 Apr 2022 07:25:41 -0700 Subject: web: add undo ability; simplify prompt handlers Undo currently works only for ongoing matches. --- web/static/style.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'web/static/style.css') diff --git a/web/static/style.css b/web/static/style.css index e418ef7..b644439 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -21,7 +21,7 @@ div#main { display: grid; grid-template-columns: 1fr; - grid-template-rows: min-content min-content 2fr 2fr; + grid-template-rows: min-content min-content 2fr 3fr; grid-template-areas: "settings-bar" "rem-bar" "visits" "keypad"; } @@ -170,11 +170,28 @@ div.key:active { background-color: #3b500e; } +div.key.active { + background-color: #3d2466; +} + +div.key.active:hover { + background-color: #5c3699; +} + +div.key.active:active { + color: #fff; + background-color: #6e41b8; +} + div.key.num { font-size: 2.5em; font-weight: 700; } +div.key.ok { + grid-row-end: span 2; +} + div#settings-bar { grid-area: settings-bar; -- cgit v1.2.3-70-g09d2