From 23f7d6f08f93d1f2beb35954831509cc7e0871a0 Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Sun, 20 Feb 2022 23:28:27 +0100 Subject: [PATCH] Update CoWebsite Jitsi - Change Jitsi meeting icon - Add Jitsi meeting information Signed-off-by: Gregoire Parant --- .../CoWebsiteThumbnailSlot.svelte | 280 ++++++++++-------- .../EmbedScreens/CoWebsitesContainer.svelte | 3 +- front/src/Phaser/Entity/Character.ts | 2 +- front/src/Phaser/Game/ActivatablesManager.ts | 2 +- front/src/Phaser/Game/GameScene.ts | 2 +- front/src/Phaser/Items/ActionableItem.ts | 2 +- 6 files changed, 163 insertions(+), 128 deletions(-) diff --git a/front/src/Components/EmbedScreens/CoWebsiteThumbnailSlot.svelte b/front/src/Components/EmbedScreens/CoWebsiteThumbnailSlot.svelte index e7345223..4c0c3793 100644 --- a/front/src/Components/EmbedScreens/CoWebsiteThumbnailSlot.svelte +++ b/front/src/Components/EmbedScreens/CoWebsiteThumbnailSlot.svelte @@ -188,137 +188,173 @@ /> + + +
+ +
+ diff --git a/front/src/Components/EmbedScreens/CoWebsitesContainer.svelte b/front/src/Components/EmbedScreens/CoWebsitesContainer.svelte index 602a1625..dad86ad3 100644 --- a/front/src/Components/EmbedScreens/CoWebsitesContainer.svelte +++ b/front/src/Components/EmbedScreens/CoWebsitesContainer.svelte @@ -24,6 +24,7 @@ left: 2%; overflow-x: auto; overflow-y: hidden; + overflow: visible; &.vertical { height: auto !important; @@ -31,8 +32,6 @@ bottom: auto !important; left: auto !important; position: relative; - overflow-x: hidden; - overflow-y: auto; flex-direction: column; align-items: center; padding-top: 4px; diff --git a/front/src/Phaser/Entity/Character.ts b/front/src/Phaser/Entity/Character.ts index b411eee7..35aa3f09 100644 --- a/front/src/Phaser/Entity/Character.ts +++ b/front/src/Phaser/Entity/Character.ts @@ -95,7 +95,7 @@ export abstract class Character extends Container implements OutlineableInterfac fontFamily: '"Press Start 2P"', fontSize: "8px", strokeThickness: 2, - stroke: "gray", + stroke: "black", metrics: { ascent: 20, descent: 10, diff --git a/front/src/Phaser/Game/ActivatablesManager.ts b/front/src/Phaser/Game/ActivatablesManager.ts index 74c637d7..b41c5a72 100644 --- a/front/src/Phaser/Game/ActivatablesManager.ts +++ b/front/src/Phaser/Game/ActivatablesManager.ts @@ -13,7 +13,7 @@ export class ActivatablesManager { private canSelectByDistance: boolean = true; - private readonly outlineColor = 0xffff00; + private readonly outlineColor = 0xf9e81e; private readonly directionalActivationPositionShift = 50; constructor(currentPlayer: Player) { diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index 2d887b2a..2b11a782 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -1687,7 +1687,7 @@ ${escapedMessage} } }); this.CurrentPlayer.on(Phaser.Input.Events.POINTER_OVER, (pointer: Phaser.Input.Pointer) => { - this.CurrentPlayer.pointerOverOutline(0x00ffff); + this.CurrentPlayer.pointerOverOutline(0x365dff); }); this.CurrentPlayer.on(Phaser.Input.Events.POINTER_OUT, (pointer: Phaser.Input.Pointer) => { this.CurrentPlayer.pointerOutOutline(); diff --git a/front/src/Phaser/Items/ActionableItem.ts b/front/src/Phaser/Items/ActionableItem.ts index ff85e232..fa7a87dc 100644 --- a/front/src/Phaser/Items/ActionableItem.ts +++ b/front/src/Phaser/Items/ActionableItem.ts @@ -56,7 +56,7 @@ export class ActionableItem implements ActivatableInterface { this.getOutlinePlugin()?.add(this.sprite, { thickness: 2, - outlineColor: 0xffff00, + outlineColor: 0xf9e81e, }); }