From ee21fb79aade8d87a16598e0fd06387ce2f3488b Mon Sep 17 00:00:00 2001 From: Override-6 Date: Wed, 6 Dec 2023 08:30:27 +0100 Subject: [PATCH] remove rm button, remove LEFT/RIGHT indicators --- front/style/colors.css | 13 ------------- front/style/editor.css | 6 +++++- front/style/player.css | 1 + front/style/theme/default.css | 2 ++ front/views/Editor.tsx | 4 ++-- 5 files changed, 10 insertions(+), 16 deletions(-) delete mode 100644 front/style/colors.css diff --git a/front/style/colors.css b/front/style/colors.css deleted file mode 100644 index 53a9f65..0000000 --- a/front/style/colors.css +++ /dev/null @@ -1,13 +0,0 @@ -:root { - --main-color: #ffffff; - --second-color: #ccde54; - - --background-color: #d2cdd3; - - --selected-team-primarycolor: #50b63a; - --selected-team-secondarycolor: #000000; - - --selection-color: #3f7fc4; - - --player-piece-ball-border-color: #000000; -} diff --git a/front/style/editor.css b/front/style/editor.css index 45ce43d..8f0adf4 100644 --- a/front/style/editor.css +++ b/front/style/editor.css @@ -49,7 +49,11 @@ } .player-piece.opponents { - background-color: #f59264; + background-color: var(--player-opponents-color); +} + +.player-piece.allies { + background-color: var(--player-allies-color); } #court-div { diff --git a/front/style/player.css b/front/style/player.css index 6fa31a9..81a6b7e 100644 --- a/front/style/player.css +++ b/front/style/player.css @@ -54,6 +54,7 @@ on the court. } .player-selection-tab-remove { + visibility: hidden; pointer-events: all; width: 25px; height: 17px; diff --git a/front/style/theme/default.css b/front/style/theme/default.css index a2894ee..12c4452 100644 --- a/front/style/theme/default.css +++ b/front/style/theme/default.css @@ -7,6 +7,8 @@ --selected-team-primarycolor: #ffffff; --selected-team-secondarycolor: #000000; + --player-allies-color: #64e4f5; + --player-opponents-color: #f59264; --buttons-shadow-color: #a8a8a8; diff --git a/front/views/Editor.tsx b/front/views/Editor.tsx index 213607f..5c10f64 100644 --- a/front/views/Editor.tsx +++ b/front/views/Editor.tsx @@ -198,7 +198,7 @@ function EditorView({
- LEFT +
@@ -212,7 +212,7 @@ function EditorView({ }} />
-
RIGHT
+