From dd7c2d5c687026595d88a12909cd04e2060df771 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Sun, 26 Sep 2021 13:48:36 +0300 Subject: [PATCH] Fix popup for TableView (#214) Signed-off-by: Alexander Platov --- .../chunter-resources/src/components/FileGroup.svelte | 2 +- plugins/view-resources/src/components/Menu.svelte | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/plugins/chunter-resources/src/components/FileGroup.svelte b/plugins/chunter-resources/src/components/FileGroup.svelte index 1cf7720798..ea2b12231e 100644 --- a/plugins/chunter-resources/src/components/FileGroup.svelte +++ b/plugins/chunter-resources/src/components/FileGroup.svelte @@ -68,7 +68,7 @@ position: absolute; display: flex; flex-direction: column; - padding: 1rem; + padding: 1.25rem 1.5rem; top: 1.5rem; left: 0; min-width: 100%; diff --git a/plugins/view-resources/src/components/Menu.svelte b/plugins/view-resources/src/components/Menu.svelte index 82d703d6c9..d15f04515f 100644 --- a/plugins/view-resources/src/components/Menu.svelte +++ b/plugins/view-resources/src/components/Menu.svelte @@ -57,11 +57,10 @@ .popup { padding: .5rem; height: 100%; - background-color: var(--theme-popup-bg); - border: var(--theme-popup-border); - border-radius: 1.25rem; - box-shadow: var(--theme-popup-shadow); - backdrop-filter: blur(30px); + background-color: var(--theme-button-bg-focused); + border: 1px solid var(--theme-button-border-enabled); + border-radius: .75rem; + box-shadow: 0 .75rem 1.25rem rgba(0, 0, 0, .2); } .menu-item { @@ -81,6 +80,6 @@ flex-grow: 1; color: var(--theme-content-accent-color); } - &:hover { background-color: var(--theme-button-bg-focused); } + &:hover { background-color: var(--theme-button-bg-hovered); } }