summaryrefslogtreecommitdiff
path: root/resources/css
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-17 22:46:12 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-17 22:46:12 +0200
commitaa44f67ab57673528e96a4a075fbd8cd0354bd68 (patch)
treec232349cbe9583378ad510774be27b4371d50cd4 /resources/css
parentcc685bfe02b42b592987117fa008a4461785f53c (diff)
ui
Diffstat (limited to 'resources/css')
-rw-r--r--resources/css/battle.css6
-rw-r--r--resources/css/menu.css86
2 files changed, 91 insertions, 1 deletions
diff --git a/resources/css/battle.css b/resources/css/battle.css
index 0f56234..099142b 100644
--- a/resources/css/battle.css
+++ b/resources/css/battle.css
@@ -76,6 +76,7 @@
margin-bottom: 0.25rem;
}
.battle__monster-img {
+ cursor: pointer;
transition-property: filter;
}
.battle__monster-img.damaged {
@@ -198,6 +199,11 @@
background-color: rgba(0, 0, 0, 0.05);
}
+.techniques__technique[disabled] {
+ filter: grayscale(100%);
+ opacity: 0.5;
+}
+
.techniques__technique > div {
display: flex;
justify-content: space-between;
diff --git a/resources/css/menu.css b/resources/css/menu.css
index 41353b2..72c225a 100644
--- a/resources/css/menu.css
+++ b/resources/css/menu.css
@@ -15,12 +15,38 @@
}
.popup {
+ max-width: 100%;
+
background-image: url('/modules/tuxemon/mods/tuxemon/gfx/ui/background/spyder_empty.png');
background-size: cover;
background-position: center;
}
+.menu-button {
+ font-size: 1.5rem;
+ border: 1px solid #000;
+ padding: 0.4em 0.75em;
+ line-height: 1em;
+ cursor: pointer;
+ background-color: rgba(255, 255, 255, 0.9);
+}
+
+.menu-button:hover {
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.menu-button[disabled] {
+ filter: grayscale(100%);
+ opacity: 0.5;
+}
+
+
+.gender-icon {
+ line-height: 1em;
+}
+
+
#status {
@@ -39,12 +65,55 @@
}
#menu > div {
cursor: pointer;
+ padding: 1rem;
}
#menu > div:hover {
background-color: rgba(0, 0, 0, 0.05);
}
+.menu__journal {
+ display: flex;
+ flex-direction: column;
+}
+
+.menu__journal button {
+ margin: 0.5em;
+ font-size: 5rem;
+ padding: 1em 1em;
+}
+
+
+.dialog__save {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+.dialog__save textarea {
+ width: 80vw;
+ height: 60vh;
+}
+.dialog__save button {
+ font-size: 2rem;
+ width: 80vw;
+}
+
+
+.dialog__load {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+.dialog__load textarea {
+ width: 80vw;
+ height: 60vh;
+}
+.dialog__load button {
+ font-size: 2rem;
+ width: 80vw;
+}
+
+
.party__monsters {
display: grid;
@@ -53,7 +122,9 @@
.party__monster {
cursor: pointer;
- padding: 1rem;
+ padding: 0.75rem;
+ text-align: center;
+ font-size: 0.75rem;
}
.party__monster:hover {
background-color: rgba(0, 0, 0, 0.1);
@@ -67,4 +138,17 @@
.party__selection-modes button[selected] {
border-color: var(--color-success);
+ color: var(--color-success);
+}
+
+
+
+.monster-stats {
+ padding: 0.5rem;
+}
+
+.monster-stats__identity {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
}