From 86b076eca8b3034aa621d79d00ad5fcf6a61b6a6 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 18 Feb 2025 16:26:22 +0300 Subject: [PATCH] Fixed fileupload button hover --- apps/showcase/assets/styles/layout/_designer.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/showcase/assets/styles/layout/_designer.scss b/apps/showcase/assets/styles/layout/_designer.scss index cadced68c..aa5d4ae04 100644 --- a/apps/showcase/assets/styles/layout/_designer.scss +++ b/apps/showcase/assets/styles/layout/_designer.scss @@ -228,14 +228,16 @@ cursor: pointer; font-weight: medium; border-radius: 4px; - transition: background 0.2s; + transition: background-color 0.2s; - &:hover { - background: var(--designer-primary--emphasis-color); - border-color: var(--designer-primary--emphasis-color); + &:enabled:hover, + &:enabled:active { + background: var(--designer-primary-emphasis-color); + border-color: var(--designer-primary-emphasis-color); } - &:focus-visible { + &:enabled:active, + &:enabled:focus-visible { outline: 1px solid var(--designer-primary-color); outline-offset: 2px; box-shadow: none;