From e26428a0ebb415eaf180fc65eead4bca1882ee68 Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Fri, 11 Oct 2019 16:03:53 +0200 Subject: [PATCH] Fix visual glitch on portal's modal-backdrops --- .../portal/public/css/bootstrap-theme-combodo.css | 11 +++-------- .../portal/public/css/bootstrap-theme-combodo.scss | 11 +++-------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/datamodels/2.x/itop-portal-base/portal/public/css/bootstrap-theme-combodo.css b/datamodels/2.x/itop-portal-base/portal/public/css/bootstrap-theme-combodo.css index f3418e72b..78ad943cf 100644 --- a/datamodels/2.x/itop-portal-base/portal/public/css/bootstrap-theme-combodo.css +++ b/datamodels/2.x/itop-portal-base/portal/public/css/bootstrap-theme-combodo.css @@ -4118,15 +4118,10 @@ button.close { background-color: #000; transition: all 0.3s linear; } -.modal-backdrop.fade { - opacity: 0; - filter: alpha(opacity=0); -} .modal-backdrop.in { - opacity: 0.5; - filter: alpha(opacity=50); - backdrop-filter: blur(2px); - -webkit-backdrop-filter: blur(2px); + background-color: rgba(0, 0, 0, 0.5); + backdrop-filter: blur(1px); + -webkit-backdrop-filter: blur(1px); } .modal-header { padding: 15px; diff --git a/datamodels/2.x/itop-portal-base/portal/public/css/bootstrap-theme-combodo.scss b/datamodels/2.x/itop-portal-base/portal/public/css/bootstrap-theme-combodo.scss index 27bcab454..f61e9810c 100644 --- a/datamodels/2.x/itop-portal-base/portal/public/css/bootstrap-theme-combodo.scss +++ b/datamodels/2.x/itop-portal-base/portal/public/css/bootstrap-theme-combodo.scss @@ -5107,15 +5107,10 @@ button.close { background-color: #000000; transition: all 0.3s linear; } -.modal-backdrop.fade { - opacity: 0; - filter: alpha(opacity=0) -} .modal-backdrop.in { - opacity: 0.5; - filter: alpha(opacity=50); - backdrop-filter: blur(2px); - -webkit-backdrop-filter: blur(2px); + background-color: rgba(0, 0, 0, 0.5); + backdrop-filter: blur(1px); + -webkit-backdrop-filter: blur(1px); } .modal-header { padding: 15px;