From 15ff69a0319fa2704cd8068622237741f10fcbf2 Mon Sep 17 00:00:00 2001 From: chamikaJ Date: Thu, 24 Jul 2025 16:08:11 +0530 Subject: [PATCH] refactor(styles): remove outdated HubSpot widget dark mode CSS overrides - Eliminated unnecessary CSS rules for the HubSpot widget's dark mode styling to streamline the stylesheet. - Cleaned up the customOverrides.css file by removing redundant background and box-shadow properties for improved maintainability. --- .../src/styles/customOverrides.css | 41 +------------------ 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/worklenz-frontend/src/styles/customOverrides.css b/worklenz-frontend/src/styles/customOverrides.css index b2f9586e..0a6b4869 100644 --- a/worklenz-frontend/src/styles/customOverrides.css +++ b/worklenz-frontend/src/styles/customOverrides.css @@ -179,43 +179,4 @@ body.dark .overview-stat-card .ant-card-body, .ql-snow .ql-stroke { stroke: #6c757d !important; -} - -/* HubSpot Widget Dark Mode Fixes */ -html.dark #hubspot-messages-iframe-container { - background-color: transparent !important; -} - -html.dark #hubspot-messages-iframe-container iframe { - background-color: transparent !important; -} - -/* Target the HubSpot widget container */ -html.dark .hs-messages-widget-open { - background-color: transparent !important; -} - -/* Remove white background from HubSpot elements */ -html.dark #hs-messages-iframe-container, -html.dark .hs-messages-iframe-container { - background: transparent !important; - background-color: transparent !important; -} - -/* Ensure the iframe wrapper has no background */ -html.dark iframe#hs-messages-iframe { - background: transparent !important; -} - -/* Target the widget launcher button area */ -html.dark .hs-messages-widget, -html.dark .hs-messages-widget-container { - background: transparent !important; - background-color: transparent !important; -} - -/* Remove any box shadow that might appear white */ -html.dark #hubspot-messages-iframe-container, -html.dark .hs-messages-widget { - box-shadow: none !important; -} +} \ No newline at end of file