From 6dd4084b610fce5790504acfeca46e8ea92f4ea7 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Wed, 8 Sep 2021 18:21:40 +0300 Subject: [PATCH] Layout for CreateApplicationPresenter. Fix shadow and blur for popups. (#164) Signed-off-by: Alexander Platov --- packages/ui/src/components/Card.svelte | 2 ++ .../ui/src/components/PopupInstance.svelte | 2 -- .../CreateApplicationPresenter.svelte | 20 +++++++++++++++++-- .../src/components/EditCandidate.svelte | 1 + 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/packages/ui/src/components/Card.svelte b/packages/ui/src/components/Card.svelte index 7b78bd9325..88df818876 100644 --- a/packages/ui/src/components/Card.svelte +++ b/packages/ui/src/components/Card.svelte @@ -57,6 +57,8 @@ flex-direction: column; min-width: 20rem; border-radius: 1.25rem; + backdrop-filter: blur(30px); + filter: drop-shadow(0 1.5rem 4rem rgba(0, 0, 0, .6)); .header { flex-shrink: 0; diff --git a/packages/ui/src/components/PopupInstance.svelte b/packages/ui/src/components/PopupInstance.svelte index a5dc06d121..7aca119c82 100644 --- a/packages/ui/src/components/PopupInstance.svelte +++ b/packages/ui/src/components/PopupInstance.svelte @@ -80,8 +80,6 @@ $: { .popup { position: fixed; background-color: transparent; - backdrop-filter: blur(30px); - filter: drop-shadow(0 1.5rem 4rem rgba(0, 0, 0, .6)); } .modal-overlay { position: fixed; diff --git a/plugins/recruit-resources/src/components/CreateApplicationPresenter.svelte b/plugins/recruit-resources/src/components/CreateApplicationPresenter.svelte index 8fdfc29dfd..133b0bbcda 100644 --- a/plugins/recruit-resources/src/components/CreateApplicationPresenter.svelte +++ b/plugins/recruit-resources/src/components/CreateApplicationPresenter.svelte @@ -17,7 +17,7 @@ -
+
{ showPopup(CreateApplication, { candidate: object._id }, button) }} +> +
+ + diff --git a/plugins/recruit-resources/src/components/EditCandidate.svelte b/plugins/recruit-resources/src/components/EditCandidate.svelte index 391fbb4a28..3e2dc6fcf2 100644 --- a/plugins/recruit-resources/src/components/EditCandidate.svelte +++ b/plugins/recruit-resources/src/components/EditCandidate.svelte @@ -94,6 +94,7 @@ height: 100%; background-color: var(--theme-bg-color); border-radius: 1.25rem; + box-shadow: 0px 3.125rem 7.5rem rgba(0, 0, 0, .4); .tabs-container { flex-grow: 1;