From 2fee8068c26773b3ff8ca1b822a5a363c6b639af Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 8 Jan 2012 12:22:41 +0000 Subject: improved mobile --- .../Application/Controllers/HardwareController.php | 2 +- h-source/Application/Controllers/HomeController.php | 2 +- h-source/Application/Views/Mobile/header.php | 4 ++-- h-source/Public/Css/mobile.css | 18 +++++++++++++----- 4 files changed, 17 insertions(+), 9 deletions(-) (limited to 'h-source') diff --git a/h-source/Application/Controllers/HardwareController.php b/h-source/Application/Controllers/HardwareController.php index 721ed80..a75c4fe 100644 --- a/h-source/Application/Controllers/HardwareController.php +++ b/h-source/Application/Controllers/HardwareController.php @@ -26,7 +26,7 @@ class HardwareController extends BaseController public function __construct($model, $controller, $queryString) { - $this->_topMenuClasses['hardware'] = " class='currentitem'"; + $this->_topMenuClasses['hardware'] = " class='currentitem ui-btn-active'"; parent::__construct($model, $controller, $queryString); diff --git a/h-source/Application/Controllers/HomeController.php b/h-source/Application/Controllers/HomeController.php index eecb53f..3c47547 100644 --- a/h-source/Application/Controllers/HomeController.php +++ b/h-source/Application/Controllers/HomeController.php @@ -26,7 +26,7 @@ class HomeController extends BaseController public function __construct($model, $controller, $queryString) { - $this->_topMenuClasses['home'] = " class='currentitem'"; + $this->_topMenuClasses['home'] = " class='currentitem ui-btn-active'"; parent::__construct($model, $controller, $queryString); diff --git a/h-source/Application/Views/Mobile/header.php b/h-source/Application/Views/Mobile/header.php index aa6a9bb..e3340b0 100644 --- a/h-source/Application/Views/Mobile/header.php +++ b/h-source/Application/Views/Mobile/header.php @@ -82,8 +82,8 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index';
diff --git a/h-source/Public/Css/mobile.css b/h-source/Public/Css/mobile.css index df7a350..e351ffc 100644 --- a/h-source/Public/Css/mobile.css +++ b/h-source/Public/Css/mobile.css @@ -17,14 +17,18 @@ img border:0px; } +#footer +{ + padding-bottom:5px; + padding-top:5px; +} #footer div { text-align:center; } #footer a { -/* text-decoration:none; */ -/* color:#FFF; */ +/* color: #DC143C; */ } .navigation-bar @@ -44,11 +48,15 @@ img border-top:1px solid #DC143C; border-bottom:1px solid #DC143C; } -.position_tree_box a, .position_tree_box a.ui-link:visited +.position_tree_box a, .position_tree_box a.ui-link:visited, .position_tree_box .ui-link { text-decoration:none; color:#DC143C; } +/*.ui-body-d .ui-link { + color:#DC143C; + font-weight: bold; +}*/ .last_tree_element { font-weight:bold; @@ -73,13 +81,13 @@ img #hardware_list { - padding:0 15px; +/* padding:0 15px; */ margin-top:20px; margin-bottom:20px; } /*jquery mobile*/ -.ui-bar-a { +.ui-header { background: #B7F18C; } -- cgit v1.2.3