From 598c6e9fdcc2fd59cf42321426636507e59577ab Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 29 Jun 2012 09:16:55 +0000 Subject: [PATCH] * adjust the boarder color of select and text. --- module/project/model.php | 2 +- www/theme/default/chosen.css | 7 ++++++- www/theme/default/style.css | 8 ++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/module/project/model.php b/module/project/model.php index 8e012fef12..572e028f17 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -77,7 +77,7 @@ class projectModel extends model $selectHtml = $this->select($projects, $projectID, $moduleName, $methodName); foreach($this->lang->project->menu as $key => $menu) { - $replace = $key == 'list' ? $selectHtml . $this->lang->arrow : $projectID; + $replace = $key == 'list' ? $selectHtml : $projectID; common::setMenuVars($this->lang->project->menu, $key, $replace); } } diff --git a/www/theme/default/chosen.css b/www/theme/default/chosen.css index da6890ba11..594ff4d13a 100644 --- a/www/theme/default/chosen.css +++ b/www/theme/default/chosen.css @@ -148,4 +148,9 @@ #navbar ul .chzn-results .active-result {padding:0px 0px 0px 25px;} #modulemenu .chzn-results {height:auto; padding:0px} #modulemenu .chzn-results li {color:black} -/* @end */ + +#story_chzn .chzn-single, #task_chzn .chzn-single {border: 1px solid #ccc;} +#projectID_chzn .chzn-single {text-align:left; padding:0} +#projectID_chzn {border:1px solid #ccc; margin-top:3px; padding-left:5px} + +.chzn-container-single .chzn-single div b {background: url('./images/chosen/chosen-sprite.png') no-repeat 0 -2px;} diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 35689ecf61..9537311f16 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -100,6 +100,14 @@ a {text-decoration:none;} .area-4{width: 360px} .area-5{width: 480px} +.text-1, .text-2, .text-3, .text-4, .text-5 {padding:2px 0} +.select-1, .select-2, .select-3, .select-4, .select-5 {padding:1px 0} + + +.text-1, .text-2, .text-3, .text-4, .text-5, +.select-1, .select-2, .select-3, .select-4, .select-5, +.area-1, .area-2, .area-3, .area-4, .area-5 {border:1px solid #ccc} + .button-s{padding:3px 20px 3px 20px} .button-r{padding:3px 20px 3px 20px} .button-c{padding:3px 20px 3px 20px}