diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-22 14:34:05 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-22 14:34:05 +0200 |
commit | b14e4c570bda72661a672cd74d5cc7649d39c407 (patch) | |
tree | dfce15eba367f1053270bb4222c6e7d125aa5dac | |
parent | 09909588d69878b1a3cb10adc497f82eb3f9c85d (diff) | |
download | rommel-in-the-desert-b14e4c570bda72661a672cd74d5cc7649d39c407.tar.gz |
Add title bar icon to battle boxes.
-rw-r--r-- | gui_box_maximize.svg | 3 | ||||
-rw-r--r-- | gui_box_minimize.svg | 3 | ||||
-rw-r--r-- | play.css | 10 |
3 files changed, 16 insertions, 0 deletions
diff --git a/gui_box_maximize.svg b/gui_box_maximize.svg new file mode 100644 index 0000000..038c71a --- /dev/null +++ b/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="gold" fill="none" d="M 14 5 L 8 11 L 2 5" /> +</svg> diff --git a/gui_box_minimize.svg b/gui_box_minimize.svg new file mode 100644 index 0000000..add3008 --- /dev/null +++ b/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="gold" fill="none" d="M 14 11 L 8 5 L 2 11" /> +</svg> @@ -103,11 +103,16 @@ header.your_turn { background-color: orange; } min-height: 24px; text-align: center; font-weight: bold; + + background-repeat: no-repeat; + background-position: 100% 50%; + background-image: url(gui_box_maximize.svg); } #battle[open] #battle_header { cursor: n-resize; border-bottom: 1px solid black; + background-image: url(gui_box_minimize.svg); } #battle_message { @@ -171,11 +176,16 @@ header.your_turn { background-color: orange; } min-height: 24px; text-align: center; font-weight: bold; + + background-repeat: no-repeat; + background-position: 100% 50%; + background-image: url(gui_box_maximize.svg); } #pursuit[open] #pursuit_header { cursor: n-resize; border-bottom: 1px solid black; + background-image: url(gui_box_minimize.svg); } #pursuit_hits { |