From c5d8602815417e19772c66a9cbb7c411aab8bff3 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 22 Apr 2016 13:11:34 +0000 Subject: [PATCH] Mobile theme: - Fix slideSwitch styling inside toolbar more options --- pixelegg/mobile/fw_mobile.css | 10 ++++++++++ pixelegg/mobile/fw_mobile.less | 10 +++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 3dcca9ded7..13bfa63133 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -8121,7 +8121,14 @@ form[id^="tracker-"] .dialogHeadbar { body span.et2_checkbox_slideSwitch input { height: 100% !important; } + body span.et2_checkbox_slideSwitch span.et2_label { + margin-left: 40px; + display: inline-block; + height: 50px; + margin-top: 15px; + } body span.et2_checkbox_slideSwitch span.slideSwitch_container { + width: 50px !important; border-radius: 15px; margin-top: 15px; box-shadow: inset 0 2px 2px #474747, 0 0px 0 rgba(255, 255, 255, 0.2); @@ -8135,6 +8142,9 @@ form[id^="tracker-"] .dialogHeadbar { box-shadow: 0 2px 2px #474747, 0 0px 0 rgba(255, 255, 255, 0.2); z-index: 2; } + body .et2_toolbar_more span.et2_checkbox_slideSwitch > span.slideSwitch_container { + float: right; + } body .cke_inner .cke_toolbox .cke_toolbox_main { height: 30px; white-space: nowrap; diff --git a/pixelegg/mobile/fw_mobile.less b/pixelegg/mobile/fw_mobile.less index 8782348fe3..eec1b1a23e 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -1272,10 +1272,18 @@ input { height: 100% !important; } + span.et2_label { + margin-left: 40px; + display: inline-block; + height: 50px; + margin-top: 15px; + } span.slideSwitch_container { + width:50px !important; border-radius: 15px; margin-top: 15px; box-shadow: inset 0 2px 2px rgb(71, 71, 71), 0 0px 0 rgba(255, 255, 255, 0.2); + span { color:#696969 !important; } @@ -1287,7 +1295,7 @@ } } } - + .et2_toolbar_more span.et2_checkbox_slideSwitch > span.slideSwitch_container {float:right} /*************** CKEDITOR **************/ /***************************************/ .cke_inner {