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/soj.css | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) (limited to 'webAO/styles/soj.css') diff --git a/webAO/styles/soj.css b/webAO/styles/soj.css index ffc3b42..9e277c4 100644 --- a/webAO/styles/soj.css +++ b/webAO/styles/soj.css @@ -36,19 +36,6 @@ body { outline-offset: -1px; } -.objection_button { - margin: 1px; - padding: 2px 15px; - cursor: pointer; - text-align: center; - font-weight: bold; - color: #fff; - background: linear-gradient(to bottom, #6b3c10, #422008); - border: 1px solid #211408; - outline: 1px solid #846129; - outline-offset: -1px; -} - #client_log { position: relative; height: 100%; @@ -58,14 +45,14 @@ body { overflow-wrap: break-word; overflow-y: auto; font-size: medium; - background-color: rgba(0,0,0,0.8); + background-color: rgba(0, 0, 0, 0.8); text-align: start; line-height: .85em; } #client_log>p { line-height: 1.1em; - border-top: 1px solid rgba(255,255,255,0.2); + border-top: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid #000; } @@ -73,11 +60,11 @@ body { font-weight: initial; padding-right: .35em; text-shadow: - 0 0 3px #39307b, - -1px -1px 0 #39307b, - 1px -1px 0 #39307b, - -1px 1px 0 #39307b, - 1px 1px 0 #39307b; + 0 0 3px #39307b, + -1px -1px 0 #39307b, + 1px -1px 0 #39307b, + -1px 1px 0 #39307b, + 1px 1px 0 #39307b; } .iclog_text::before { @@ -127,4 +114,4 @@ body { display: inline-block; transition: 1s linear; transition-property: width; -} \ No newline at end of file +} -- cgit