From 202a547760f4eaaea22adfb2130abfb21bab1674 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Sat, 26 Jan 2013 16:11:03 +0900 Subject: [PATCH] input: modify css correctly Change-Id: Iad824e29ee1ded560a65da108e45c2efc63857ee toggleswitch: top to 0, set margin instead readio: remove height --- src/themes/tizen/common/jquery.mobile.forms.checkboxradio.less | 1 - src/themes/tizen/common/jquery.mobile.tizen.toggleswitch.less | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/themes/tizen/common/jquery.mobile.forms.checkboxradio.less b/src/themes/tizen/common/jquery.mobile.forms.checkboxradio.less index 4cb43cd..ac87f75 100644 --- a/src/themes/tizen/common/jquery.mobile.forms.checkboxradio.less +++ b/src/themes/tizen/common/jquery.mobile.forms.checkboxradio.less @@ -28,7 +28,6 @@ @favorite-label-left: (@favorite-size-width/2 + @icon-left-margin); .ui-checkbox, .ui-radio { - height: @checkbox-radio-all-height; position: relative; margin: 0; diff --git a/src/themes/tizen/common/jquery.mobile.tizen.toggleswitch.less b/src/themes/tizen/common/jquery.mobile.tizen.toggleswitch.less index 4d12aaf..9dbdb72 100644 --- a/src/themes/tizen/common/jquery.mobile.tizen.toggleswitch.less +++ b/src/themes/tizen/common/jquery.mobile.tizen.toggleswitch.less @@ -44,6 +44,8 @@ div.ui-slider.ui-slider-switch:not(.ui-toggle-switch) { margin-bottom : 5 * @unit_base; height : 32 * @unit_base; + top: 0; + margin: 5 * @unit_base; border-radius : 15 * @unit_base; .ui-slider-inneroffset { @@ -96,4 +98,4 @@ div.ui-slider.ui-slider-switch:not(.ui-toggle-switch) { .ui-slider-switch .ui-slider-handle .ui-btn-inner { padding : 0; -} \ No newline at end of file +} -- 2.7.4