summaryrefslogtreecommitdiff
path: root/resources/css
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-27 16:26:25 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-27 16:26:25 +0200
commit5e2e6753966c19616822915c14795bf62b589f68 (patch)
tree58dc19e6f6dffb558d2288ec623d5d481240ec54 /resources/css
parent8e829d4497efd6a23514901a1a6724fe7579c6b5 (diff)
translations
Diffstat (limited to 'resources/css')
-rw-r--r--resources/css/menu.css33
1 files changed, 15 insertions, 18 deletions
diff --git a/resources/css/menu.css b/resources/css/menu.css
index ba6d8bc..33ab7c3 100644
--- a/resources/css/menu.css
+++ b/resources/css/menu.css
@@ -93,6 +93,20 @@
+.selection-modes {
+ display: grid;
+ grid-template-columns: repeat(var(--selection-modes, 2), 1fr);
+ padding: 1rem;
+}
+
+.selection-modes button[selected] {
+ border-color: var(--color-success);
+ color: var(--color-success);
+}
+
+
+
+
#status {
color: #fff;
background-color: #000;
@@ -192,14 +206,7 @@
}
.party__selection-modes {
- display: flex;
- justify-content: space-between;
- padding: 1rem;
-}
-
-.party__selection-modes button[selected] {
- border-color: var(--color-success);
- color: var(--color-success);
+ --selection-modes: 3;
}
@@ -280,16 +287,6 @@
text-align: center;
}
-.inventory__selection-modes {
- display: flex;
- padding: 1rem;
-}
-
-.inventory__selection-modes button[selected] {
- border-color: var(--color-success);
- color: var(--color-success);
-}
-
.inventory__monster-selection {
display: grid;
grid-template-columns: 1fr 1fr 1fr;