diff --git a/apps/lluis/Panel.svelte b/apps/lluis/Panel.svelte new file mode 100644 index 000000000000..07bb151edf80 --- /dev/null +++ b/apps/lluis/Panel.svelte @@ -0,0 +1,54 @@ + + +
+
+ + +
+
+ + diff --git a/apps/web/src/components/ChallengePanel.svelte b/apps/web/src/components/ChallengePanel.svelte index 5e44bd08fb71..e7e942bedcd7 100644 --- a/apps/web/src/components/ChallengePanel.svelte +++ b/apps/web/src/components/ChallengePanel.svelte @@ -1,5 +1,6 @@ -
-
-
-
- {#if skipAction} - - {/if} - {#if skipAllAction} - - {/if} - {#if skipAllVoice} - - {/if} - {#if message}{message}{/if} - {#if messageDetail} -

{messageDetail}

- {/if} -
-
- {#if buttonAction} - - {/if} - {#if submit} - - {/if} -
-
+ +
+ {#if skipAction} + + {/if} + {#if skipAllAction} + + {/if} + {#if skipAllVoice} + + {/if} + {#if message}{message}{/if} + {#if messageDetail} +

{messageDetail}

+ {/if}
-
- - +
+ {#if buttonAction} + + {/if} + {#if submit} + + {/if} +
+ diff --git a/apps/web/src/mystyles.scss b/apps/web/src/mystyles.scss index d531a23d9a4a..a609d14fbcb9 100644 --- a/apps/web/src/mystyles.scss +++ b/apps/web/src/mystyles.scss @@ -39,7 +39,7 @@ //@import "~bulma/sass/components/message.sass"; //@import "~bulma/sass/components/modal.sass"; // @import "~bulma/sass/components/navbar.sass"; -@import "~bulma/sass/components/panel.sass"; +// @import "~bulma/sass/components/panel.sass"; //@import "~bulma/sass/components/list.sass"; //@import "~bulma/sass/components/breadcrumb.sass"; //@import "~bulma/sass/components/menu.sass"; @@ -89,4 +89,9 @@ --navbar-padding-vertical: var(--spacing-small); --navbar-padding-horizontal: var(--spacing-medium); --navbar-logo-height: calc(var(--navbar-height) - 2 * var(--spacing-small)); + + --panel-background: white; + --panel-background-success: #84b83f; + --panel-background-failure: #ab2149; + --panel-background-info: #fcb141; }