From efb632fb23fd8afed20afbfe9ef000ff84909204 Mon Sep 17 00:00:00 2001 From: Safwan Samsudeen Date: Mon, 22 Apr 2024 19:38:22 +0530 Subject: [PATCH] replace outline with box shadow --- src/gantt.scss | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/gantt.scss b/src/gantt.scss index 8239e7a..bc299a5 100644 --- a/src/gantt.scss +++ b/src/gantt.scss @@ -167,24 +167,17 @@ $light-blue: #c4c4e9 !default; .bar-wrapper { cursor: pointer; + outline: none; .bar { - outline: groove 1px black; + -webkit-filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .7)); + filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, .7)); border-radius: 3px; } - &.important .bar { - outline: none; - outline-width: 1.5px; - - &:active { - outline: 1px dotted; - } - } &:hover { .bar { - outline-width: 1.5px; transition: transform 0.3s ease; } @@ -193,11 +186,6 @@ $light-blue: #c4c4e9 !default; } } - &.active { - .bar { - outline-style: dotted; - } - } } .lower-text,