mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-17 13:54:11 +00:00
Layout for CreateApplicationPresenter. Fix shadow and blur for popups. (#164)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
4f33365b25
commit
6dd4084b61
packages/ui/src/components
plugins/recruit-resources/src/components
@ -57,6 +57,8 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-width: 20rem;
|
min-width: 20rem;
|
||||||
border-radius: 1.25rem;
|
border-radius: 1.25rem;
|
||||||
|
backdrop-filter: blur(30px);
|
||||||
|
filter: drop-shadow(0 1.5rem 4rem rgba(0, 0, 0, .6));
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
@ -80,8 +80,6 @@ $: {
|
|||||||
.popup {
|
.popup {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
backdrop-filter: blur(30px);
|
|
||||||
filter: drop-shadow(0 1.5rem 4rem rgba(0, 0, 0, .6));
|
|
||||||
}
|
}
|
||||||
.modal-overlay {
|
.modal-overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
||||||
import type { Doc } from '@anticrm/core'
|
import type { Doc } from '@anticrm/core'
|
||||||
import { Button, showPopup } from '@anticrm/ui'
|
import { Label, showPopup } from '@anticrm/ui'
|
||||||
import CreateApplication from './CreateApplication.svelte'
|
import CreateApplication from './CreateApplication.svelte'
|
||||||
|
|
||||||
export let object: Doc
|
export let object: Doc
|
||||||
@ -26,4 +26,20 @@
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div bind:this={button}><Button label="Create Application" size="small" on:click={ () => { showPopup(CreateApplication, { candidate: object._id }, button) } }/></div>
|
<div class="flex-center presenter-container" bind:this={button}
|
||||||
|
on:click={() => { showPopup(CreateApplication, { candidate: object._id }, button) }}
|
||||||
|
>
|
||||||
|
<Label label="Create Application" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.presenter-container {
|
||||||
|
padding: .25rem .75rem;
|
||||||
|
width: max-content;
|
||||||
|
font-size: .75rem;
|
||||||
|
color: var(--theme-caption-color);
|
||||||
|
background-color: var(--theme-bg-accent-color);
|
||||||
|
border: 1px solid var(--theme-bg-accent-color);
|
||||||
|
border-radius: .5rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -94,6 +94,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: var(--theme-bg-color);
|
background-color: var(--theme-bg-color);
|
||||||
border-radius: 1.25rem;
|
border-radius: 1.25rem;
|
||||||
|
box-shadow: 0px 3.125rem 7.5rem rgba(0, 0, 0, .4);
|
||||||
|
|
||||||
.tabs-container {
|
.tabs-container {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user