From 4f67d8dd1d697b704af6fe1a2b9b85c7e893c946 Mon Sep 17 00:00:00 2001 From: David Skoland Date: Tue, 19 Dec 2023 02:12:20 +0100 Subject: Use client_button instead of objection_button Currently, we use objection_button class for the shouts, but the toggleShout function actually changes it to client_button instead. This makes it change style (height) whenever it is pressed. We can fix this by just using client_button. That makes it look more like the rest of the buttons as well. Since we don't use objection_button anymore, remove it from the styles. --- webAO/styles/trilogy.css | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'webAO/styles/trilogy.css') diff --git a/webAO/styles/trilogy.css b/webAO/styles/trilogy.css index 9848bb7..0d12a37 100644 --- a/webAO/styles/trilogy.css +++ b/webAO/styles/trilogy.css @@ -13,24 +13,13 @@ body { border: 2px solid white; } -.objection_button { - margin: 1px; - padding: 2px 15px; - cursor: pointer; - text-align: center; - font-weight: bold; - color: white; - background-color: #2781b2; - border: 2px solid white; -} - .client_button:hover { - outline: 1px solid #ffc31d; - outline-offset: 7px; + outline: 1px solid #ffc31d; + outline-offset: 7px; } .client_button:active { - background-color: #f2b91c; + background-color: #f2b91c; } #client_defense_hp { @@ -72,13 +61,13 @@ body { } #client_menu { - background-image: url("trilogy_bg.png"); - background-repeat: repeat; + background-image: url("trilogy_bg.png"); + background-repeat: repeat; } #client_iccontrols { - background-image: url("trilogy_bg.png"); - background-repeat: repeat; + background-image: url("trilogy_bg.png"); + background-repeat: repeat; } .evi_icon { @@ -86,4 +75,4 @@ body { border: 0.1em solid #f8f5f2; outline: 0.2em solid #2988bc; outline-offset: -0.2em; -} \ No newline at end of file +} -- cgit