diff --git a/htdocs/theme/phones/smartphone/theme/default/default.css.php b/htdocs/theme/phones/smartphone/theme/default/default.css.php index ba06da97849..399a20f9ab9 100644 --- a/htdocs/theme/phones/smartphone/theme/default/default.css.php +++ b/htdocs/theme/phones/smartphone/theme/default/default.css.php @@ -44,10 +44,24 @@ else header('Cache-Control: no-cache'); ?> #dol-homeheader { height: 40px; font-size: 16px; } + + .ui-header { height: 40px; font-size: 16px; } -/*.ui-mobile #dol-home { background: #e5e5e5 url() top center repeat-x; }*/ -.ui-mobile #dol-home { background: #e5e5e5 } +.ui-content { +padding-top: 0px; +padding-left: 0px; +padding-right: 0; +padding-bottom: 0px; +} + +.ui-content .ui-listview { + margin-top: 0px; /* Use here negative value of ui-content top padding */ + margin-right: 0px; + margin-bottom: 0px; + margin-left: 0px; +} + .ui-mobile #dol-homeheader { padding: 10px 5px 0; text-align: center } .ui-mobile #dol-homeheader h1 { margin: 0 0 10px; } .ui-mobile #dol-homeheader p { margin: 0; } @@ -57,14 +71,17 @@ else header('Cache-Control: no-cache'); top:0.3em; } -.ui-btn-inner { - padding: 0.2em 5px; +.ui-li .ui-btn-inner { + padding: 0.3em 5px 0.3em 5px; } input.ui-input-text, textarea.ui-input-text { padding: 0.2em; } +.ui-body-c { + background: #FFFFFF; +} diff --git a/htdocs/theme/phones/smartphone/tpl/menu.tpl.php b/htdocs/theme/phones/smartphone/tpl/menu.tpl.php index 83e321ca6fa..411d7db40c1 100644 --- a/htdocs/theme/phones/smartphone/tpl/menu.tpl.php +++ b/htdocs/theme/phones/smartphone/tpl/menu.tpl.php @@ -19,6 +19,10 @@ */ require('header.tpl.php'); ?> + +