summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-22 14:30:15 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-27 01:42:01 +0200
commit325a43a428300123acbdab846c324bf4fb20b4e5 (patch)
tree6183a97df31ecf33e9ec9bb18c3c53f35534525b /public
parent6d58eb14460258a804eeaf565b8ac0f13d599a7a (diff)
downloadserver-325a43a428300123acbdab846c324bf4fb20b4e5.tar.gz
Add icons indicate battle boxes can be minimized.
Diffstat (limited to 'public')
-rw-r--r--public/common/columbia.css5
-rw-r--r--public/images/gui_box_maximize.svg3
-rw-r--r--public/images/gui_box_minimize.svg3
3 files changed, 11 insertions, 0 deletions
diff --git a/public/common/columbia.css b/public/common/columbia.css
index 209918d..6d94e65 100644
--- a/public/common/columbia.css
+++ b/public/common/columbia.css
@@ -35,11 +35,16 @@
overflow: hidden;
list-style: none;
cursor: s-resize;
+
+ background-repeat: no-repeat;
+ background-position: 100% 50%;
+ background-image: url(/images/gui_box_maximize.svg);
}
#battle[open] #battle_header {
cursor: n-resize;
border-bottom: 1px solid black;
+ background-image: url(/images/gui_box_minimize.svg);
}
#battle_message {
diff --git a/public/images/gui_box_maximize.svg b/public/images/gui_box_maximize.svg
new file mode 100644
index 0000000..346fba0
--- /dev/null
+++ b/public/images/gui_box_maximize.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="16">
+<path stroke-width="3" stroke="#000" fill="none" d="M 14 5 L 8 11 L 2 5" />
+</svg>
diff --git a/public/images/gui_box_minimize.svg b/public/images/gui_box_minimize.svg
new file mode 100644
index 0000000..2be8eec
--- /dev/null
+++ b/public/images/gui_box_minimize.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="16">
+<path stroke-width="3" stroke="#000" fill="none" d="M 14 11 L 8 5 L 2 11" />
+</svg>