From 95b733ba4d7e3041adf4fb42c66e2b83ccce1df9 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sun, 6 Mar 2022 17:22:05 +0100 Subject: improve submitpane styling --- web/pw-server/src/lib/components/SubmitPane.svelte | 29 +++++++++------------- 1 file changed, 12 insertions(+), 17 deletions(-) (limited to 'web') diff --git a/web/pw-server/src/lib/components/SubmitPane.svelte b/web/pw-server/src/lib/components/SubmitPane.svelte index 6a05e09..497f3ce 100644 --- a/web/pw-server/src/lib/components/SubmitPane.svelte +++ b/web/pw-server/src/lib/components/SubmitPane.svelte @@ -79,6 +79,7 @@
+

Play a match

Select an opponent to test your bot
{#if saveErrorText}
{saveErrorText}
@@ -108,6 +111,10 @@ flex-direction: column; } + .submit-pane h4 { + margin-bottom: 0.3em; + } + .opponentSelect { margin: 20px 0; } @@ -131,25 +138,13 @@ cursor: pointer; } - .play-button { - padding: 8px 16px; - border-radius: 8px; - border: 0; - font-size: 18pt; - display: block; - margin: 10px auto; - background-color: lightgreen; - cursor: pointer; - } - .bot-name-input { width: 100%; - } - - .save-button { - background-color: lightgreen; - cursor: pointer; + font-size: 16px; padding: 8px 16px; - border: 0; + box-sizing: border-box; + margin: 10px 0; + border: 1px solid rgb(216, 219, 223); + border-radius: 3px; } -- cgit v1.2.3