From 084dbac53cd45ceb3950480101047e725816868f Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 29 Feb 2016 10:09:37 +0000 Subject: [PATCH] Mobile theme W.I.P.: - Fix styling for checkbox with label --- pixelegg/mobile/fw_mobile.css | 15 +++++++++++++++ pixelegg/mobile/fw_mobile.less | 16 +++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 476b8312f2..9479b1f28c 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -7871,6 +7871,21 @@ span.egw_tutorial_title { width: 32px !important; height: 32px !important; } + body .et2_label.et2_checkbox_label { + line-height: 32px; + vertical-align: middle; + position: relative; + padding-left: 40px; + } + body .et2_label.et2_checkbox_label input[type="checkbox"] { + position: absolute; + left: 0; + } + body .dialogHeadbar .et2_label.et2_checkbox_label { + vertical-align: top; + margin-top: 10px; + color: white; + } body span.et2_checkbox_slideSwitch { height: 50px; vertical-align: bottom; diff --git a/pixelegg/mobile/fw_mobile.less b/pixelegg/mobile/fw_mobile.less index 4256b2f4c2..810cdb6500 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -1070,7 +1070,21 @@ width:32px !important; height:32px !important; } - + .et2_label.et2_checkbox_label { + line-height: 32px; + vertical-align: middle; + position: relative; + padding-left: 40px; + input[type="checkbox"] { + position: absolute; + left:0 + } + } + .dialogHeadbar .et2_label.et2_checkbox_label { + vertical-align: top; + margin-top:10px; + color:white; + } /*************** SLIDESWITCH **********/ /***************************************/ span.et2_checkbox_slideSwitch {