summaryrefslogtreecommitdiff
path: root/web/static/style.css
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-23 07:25:41 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-23 07:29:04 -0700
commitd50ac287e7cc00793657422dbfa36d9c71e659be (patch)
tree8d237fde461b8b50cfb0d6ff602f764e9fa46fd1 /web/static/style.css
parent63d17a12c2a894944ab3760e9b5f3dbf6acb95b5 (diff)
downloaddartboat-d50ac287e7cc00793657422dbfa36d9c71e659be.tar.gz
dartboat-d50ac287e7cc00793657422dbfa36d9c71e659be.tar.xz
web: add undo ability; simplify prompt handlers
Undo currently works only for ongoing matches.
Diffstat (limited to 'web/static/style.css')
-rw-r--r--web/static/style.css19
1 files changed, 18 insertions, 1 deletions
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;