From 7a383c1f33613a6b77eaf0e14b464d1d29421a23 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 31 Mar 2016 16:22:47 +0000 Subject: [PATCH] Mobile theme W.I.P.: - Style et2_dialog buttons more efficient --- pixelegg/mobile/fw_mobile.css | 22 ++++++++++++++++++++++ pixelegg/mobile/fw_mobile.less | 14 +++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 861ad54075..8141444c9c 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -7166,6 +7166,18 @@ form[id^="tracker-"] .dialogHeadbar { -o-filter: brightness(20%); filter: brightness(20%); } + body .ui-dialog .ui-dialog-buttonpane button { + -webkit-filter: brightness(0) invert(1) !important; + filter: brightness(0) invert(1) !important; + background-color: transparent !important; + background-size: 24px 24px !important; + border: none; + padding-left: 0px !important; + width: 50px; + } + body .ui-dialog .ui-dialog-buttonpane button span { + display: none; + } } /*mobile etemplate2*/ @media all { @@ -7383,6 +7395,16 @@ form[id^="tracker-"] .dialogHeadbar { body .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } + body .ui-dialog .ui-dialog-buttonpane button { + -webkit-filter: brightness(0) invert(1) !important; + filter: brightness(0) invert(1) !important; + background-color: transparent !important; + background-size: 24px 24px !important; + border: none; + } + body .ui-dialog .ui-dialog-buttonpane button span { + padding-left: 20px; + } body .ui-dialog-titlebar { display: none; } diff --git a/pixelegg/mobile/fw_mobile.less b/pixelegg/mobile/fw_mobile.less index f60e65257d..56419b6b29 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -215,6 +215,14 @@ } } } + .ui-dialog .ui-dialog-buttonpane { + button { + .white-svg; + padding-left:0px !important; + width:50px; + span{display:none;} + } + } } } @@ -277,7 +285,7 @@ height: 50px; } } - + span.egw_fw_mobile_popup_close.loaded { background-image: url(../images/topmenu_items/mobile/back.svg); .white-svg; @@ -432,6 +440,10 @@ width: 100%; z-index:1; .ui-dialog-buttonset {float:right;} + button { + .white-svg; + span {padding-left: 20px;} + } } .ui-dialog-titlebar { display: none;