From 776ee2cd58eeaea936b7e409e17fe1ce42d7348f Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 28 Feb 2023 12:08:38 +0100 Subject: [PATCH] Restyle et2 dialog buttons in mobile theme --- pixelegg/mobile/fw_mobile.css | 8 +++++--- pixelegg/mobile/fw_mobile.less | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 74fd86abf4..61f8974a06 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -8335,11 +8335,14 @@ table.egwGridView_grid img.et2_appicon { /* Set header size, color & background */ color: white; background: #0c5da5; - height: 5ex; + height: 7ex; padding: 0; padding-left: 5px; border-radius: 0; } + body et2-dialog::part(title) { + line-height: 5ex; + } body et2-dialog::part(close-button) { /* Move dialog close button up, change color */ position: absolute; @@ -8352,8 +8355,7 @@ table.egwGridView_grid img.et2_appicon { border: none; } body et2-dialog::part(footer) { - /* Move footer to top, set background color */ - order: -1; + order: 0; box-shadow: 0px 4px 5px 2px silver; width: 100%; margin-top: 0px; diff --git a/pixelegg/mobile/fw_mobile.less b/pixelegg/mobile/fw_mobile.less index a41e108852..8e916e9fc1 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -600,12 +600,14 @@ /* Set header size, color & background */ color: white; background: #0c5da5; - height: 5ex; + height: 7ex; padding: 0; padding-left: 5px; border-radius: 0; } - + et2-dialog::part(title) { + line-height: 5ex; + } et2-dialog::part(close-button) { /* Move dialog close button up, change color */ position: absolute; @@ -615,8 +617,7 @@ } et2-dialog::part(footer) { - /* Move footer to top, set background color */ - order: -1; + order: 0; box-shadow: 0px 4px 5px 2px silver; width: 100%; margin-top: 0px;