From a16af38975dd855eaef87d7f921364234ce89431 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 16 Dec 2020 17:04:45 +0100 Subject: [PATCH] WIP darkmode theme: fix more of shadows --- pixelegg/css/pixelegg.css | 8 +++++++- pixelegg/less/etemplate2.less | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 66fb8d9bf1..3ebef21f21 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -58,8 +58,14 @@ } html[data-darkmode='1'] div.dhtmlxMenu_egw_SubLevelArea_Polygon, html[data-darkmode='1'] .egw_tooltip, - html[data-darkmode='1'] body .egw_message_wrapper { + html[data-darkmode='1'] body .egw_message_wrapper, + html[data-darkmode='1'] #egw_fw_header #egw_fw_topmenu, + html[data-darkmode='1'] .ui-dialog, + html[data-darkmode='1'] .box_shadow { box-shadow: 0px 0px 2px 2px #666666; + -moz-box-shadow: 0px 0px 2px 2px #666666; + -webkit-box-shadow: 0px 0px 2px 2px #666666; + -khtml-box-shadow: 0px 0px 2px 2px #666666; } } @media all { diff --git a/pixelegg/less/etemplate2.less b/pixelegg/less/etemplate2.less index 7a78f6b2b1..79f06f3685 100755 --- a/pixelegg/less/etemplate2.less +++ b/pixelegg/less/etemplate2.less @@ -22,7 +22,14 @@ img, #blueimp-gallery { filter: invert(1) hue-rotate(180deg) !important; } - div.dhtmlxMenu_egw_SubLevelArea_Polygon,.egw_tooltip, body .egw_message_wrapper {box-shadow: 0px 0px 2px 2px #666666;} + div.dhtmlxMenu_egw_SubLevelArea_Polygon,.egw_tooltip, + body .egw_message_wrapper,#egw_fw_header #egw_fw_topmenu,.ui-dialog, .box_shadow + { + box-shadow: 0px 0px 2px 2px #666666; + -moz-box-shadow: 0px 0px 2px 2px #666666; + -webkit-box-shadow: 0px 0px 2px 2px #666666; + -khtml-box-shadow: 0px 0px 2px 2px #666666; + } } }