diff --git a/plugins/recruit-resources/src/components/ApplicationsPopup.svelte b/plugins/recruit-resources/src/components/ApplicationsPopup.svelte
new file mode 100644
index 0000000000..4764fcfb72
--- /dev/null
+++ b/plugins/recruit-resources/src/components/ApplicationsPopup.svelte
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
diff --git a/plugins/recruit-resources/src/components/ApplicationsPresenter.svelte b/plugins/recruit-resources/src/components/ApplicationsPresenter.svelte
index a93aeda858..9b59d3a6d8 100644
--- a/plugins/recruit-resources/src/components/ApplicationsPresenter.svelte
+++ b/plugins/recruit-resources/src/components/ApplicationsPresenter.svelte
@@ -17,35 +17,25 @@
{#if value.applications && value.applications > 0}
-
+
{ showPopup(ApplicationsPopup, {value}, trigger) }}
+ on:mouseleave={() => { closePopup() }}
+ >
{value.applications}
-
-
{/if}
@@ -67,65 +57,15 @@
&:hover {
color: var(--theme-caption-color);
.icon { opacity: 1; }
- .popup { visibility: visible; }
- &::after { content: ''; }
- }
- &::after {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: -1rem;
- }
-
- .popup {
- visibility: hidden;
- position: absolute;
- display: flex;
- flex-direction: column;
- padding: 1.25rem 1.5rem;
- top: 1.5rem;
- left: 0;
- min-width: 100%;
- 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);
- z-index: 1;
-
- .header {
- margin-bottom: 1.5rem;
- font-weight: 500;
- font-size: 1rem;
- color: var(--theme-caption-color);
- }
-
- .app {
- position: relative;
- .app-icon {
- margin-right: 1.25rem;
- width: 2rem;
- height: 2rem;
- }
- .label { color: var(--theme-caption-color); }
- .desc {
- font-size: .75rem;
- color: var(--theme-content-dark-color);
- }
- }
-
- .app + .app {
- margin-top: 1.5rem;
- &::before {
- content: '';
- position: absolute;
- top: -.75rem;
- left: 0;
- width: 100%;
- height: 1px;
- background-color: var(--theme-button-border-hovered);
- }
- }
+ // &::after { content: ''; }
}
+ // &::after {
+ // position: absolute;
+ // top: 0;
+ // left: 0;
+ // right: 0;
+ // bottom: -2rem;
+ // background-color: rgba(255, 255, 0, .2);
+ // }
}