From a69bdeb20db7d67613dace554ae37a0c5e112ec2 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Wed, 30 Jun 2021 09:49:32 +0200 Subject: [PATCH] feat(UI): resizer border mouse hover animation --- src/renderer/components/WorkspaceExploreBar.vue | 5 +++++ src/renderer/components/WorkspaceQueryTab.vue | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/renderer/components/WorkspaceExploreBar.vue b/src/renderer/components/WorkspaceExploreBar.vue index 1d5c26bc..ced15d5d 100644 --- a/src/renderer/components/WorkspaceExploreBar.vue +++ b/src/renderer/components/WorkspaceExploreBar.vue @@ -455,6 +455,11 @@ export default { height: calc(100vh - #{$excluding-size}); cursor: ew-resize; z-index: 99; + transition: background 0.2s; + + &:hover { + background: rgba($primary-color, 50%); + } } .workspace-explorebar { diff --git a/src/renderer/components/WorkspaceQueryTab.vue b/src/renderer/components/WorkspaceQueryTab.vue index 1541d079..6cfc02c2 100644 --- a/src/renderer/components/WorkspaceQueryTab.vue +++ b/src/renderer/components/WorkspaceQueryTab.vue @@ -289,6 +289,11 @@ export default { width: 100%; cursor: ns-resize; z-index: 99; + transition: background 0.2s; + + &:hover { + background: rgba($primary-color, 50%); + } } .workspace-query-runner-footer {