diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 244e4fe7c..cb481f084 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -56,7 +56,8 @@ class AuthControllerCore extends FrontController public function setMedia() { parent::setMedia(); - $this->addCSS(_THEME_CSS_DIR_.'authentication.css'); + if (Context::getContext()->getMobileDevice() === false) + $this->addCSS(_THEME_CSS_DIR_.'authentication.css'); $this->addJqueryPlugin('typewatch'); $this->addJS(_THEME_JS_DIR_.'tools/statesManagement.js'); } diff --git a/themes/default/mobile/authentication-choice.tpl b/themes/default/mobile/authentication-choice.tpl index da84c96de..4bbfb00bc 100644 --- a/themes/default/mobile/authentication-choice.tpl +++ b/themes/default/mobile/authentication-choice.tpl @@ -1,6 +1,6 @@
-
+

{l s='Create an account'}

{l s='Enter your email address to create an account'}.

diff --git a/themes/default/mobile/css/global.css b/themes/default/mobile/css/global.css index 63d9cd238..93a7217c4 100644 --- a/themes/default/mobile/css/global.css +++ b/themes/default/mobile/css/global.css @@ -67,6 +67,7 @@ /* JQUERY MOBILE */ .ui-content { + margin: 20px; overflow-y:hidden; } @@ -362,18 +363,6 @@ ul.pagination_mobile { border:1px solid red; } -#account-creation_form p .ui-radio-on .ui-icon { - width:0; - height:18px; - background:none; - background-image:url(../img/icons-18-white.png); - background-position:-720px 50%; - background-repeat:no-repeat; - -moz-border-radius:9px; - -webkit-border-radius:9px; - border-radius:9px; -} - #account-creation_form p.select .ui-select .ui-icon { background:none; }