From c1df06ee5008102afe891db49d84b3260e2db200 Mon Sep 17 00:00:00 2001 From: Catouse Date: Fri, 1 Nov 2013 08:43:35 +0800 Subject: [PATCH 1/4] * ajust style of customfield. --- module/bug/css/customfields.css | 13 ++++++++++++- module/bug/view/customfields.html.php | 18 +++++++----------- www/theme/default/style.css | 1 + 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/module/bug/css/customfields.css b/module/bug/css/customfields.css index b0af541033..6dcb9ac5fe 100644 --- a/module/bug/css/customfields.css +++ b/module/bug/css/customfields.css @@ -1,2 +1,13 @@ body{background:white; overflow:hidden;} -.button-c {width:100px} +.btn-group .btn +{ + display: block; + width: 80px; + text-align: center; + margin-top: -1px; +} +.btn-group .btn:hover{z-index: 9999;} +.btn-group .btn i +{ + line-height: 21px; +} \ No newline at end of file diff --git a/module/bug/view/customfields.html.php b/module/bug/view/customfields.html.php index b7c27f8d98..d544c8d7a5 100644 --- a/module/bug/view/customfields.html.php +++ b/module/bug/view/customfields.html.php @@ -28,19 +28,15 @@ echo html::select('defaultFields[]', $defaultFields, '', 'class=hidden'); ?> - - ', "onclick=\"addItem('allFields', 'customFields')\"") . '
'; - echo html::commonButton('<', "onclick=delItem('customFields')") . '
'; - ?> + + + - - '; - echo html::commonButton('-', "onclick=downItem('customFields')") . '
'; - echo html::commonButton($lang->bug->restoreDefault, "onclick=restoreDefault()") . '
'; - ?> + + + + bug->restoreDefault;?> diff --git a/www/theme/default/style.css b/www/theme/default/style.css index e2382f9683..69c237b9b5 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -192,6 +192,7 @@ select{padding: 4px 1px;} .c-right {clear:right;} .c-both {clear:both;} .a-center {text-align: center;} +.v-middle{vertical-align: middle;} .a-right {text-align: right;} .a-left {text-align: left;} From 761c5c7e84292244d6f2b241ce26ae47a10d4af8 Mon Sep 17 00:00:00 2001 From: Catouse Date: Fri, 1 Nov 2013 08:56:59 +0800 Subject: [PATCH 2/4] * ajust style of confirmbug. --- module/bug/css/customfields.css | 13 ++----------- module/bug/view/confirmbug.html.php | 2 +- www/theme/default/style.css | 2 ++ 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/module/bug/css/customfields.css b/module/bug/css/customfields.css index 6dcb9ac5fe..d2edc24eaf 100644 --- a/module/bug/css/customfields.css +++ b/module/bug/css/customfields.css @@ -1,13 +1,4 @@ body{background:white; overflow:hidden;} -.btn-group .btn -{ - display: block; - width: 80px; - text-align: center; - margin-top: -1px; -} +.btn-group .btn{display: block;width: 80px;text-align: center;margin-top: -1px;} .btn-group .btn:hover{z-index: 9999;} -.btn-group .btn i -{ - line-height: 21px; -} \ No newline at end of file +.btn-group .btn i{line-height: 21px;} \ No newline at end of file diff --git a/module/bug/view/confirmbug.html.php b/module/bug/view/confirmbug.html.php index 33a0fab85c..7e48ad041a 100755 --- a/module/bug/view/confirmbug.html.php +++ b/module/bug/view/confirmbug.html.php @@ -34,7 +34,7 @@ js::set('page', 'confirmbug'); comment;?> - + goback, $this->server->http_referer);?> diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 69c237b9b5..77ca928ced 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -367,6 +367,8 @@ table.data-table td:last-child{padding-right: 20px;} .w-p80 {width: 80%} .w-p85 {width: 85%} .w-p90 {width: 90%} +.w-p94 {width: 94%} +.w-p95 {width: 95%} .w-p100{width: 100%} .w-p98 {width: 98%} .w-p99 {width: 99%} From 0c7c56d2e06844a2d283733bb49d28e86812b068 Mon Sep 17 00:00:00 2001 From: Catouse Date: Fri, 1 Nov 2013 09:11:34 +0800 Subject: [PATCH 3/4] * ajust style of forms. --- module/story/css/create.css | 3 +-- www/theme/default/style.css | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/module/story/css/create.css b/module/story/css/create.css index 6ebadab92e..9692b612a0 100644 --- a/module/story/css/create.css +++ b/module/story/css/create.css @@ -1,3 +1,2 @@ -#plan {width:245px} -#mailto {width:85%} +#mailto {width:90.3%} select {border:1px solid #ccc} diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 77ca928ced..63231980a0 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -245,7 +245,7 @@ select.text-3 {width: 250px} select.select-1 {width: 90%} .select-2 {width: 125px} .select-3 {width: 245px} -select.select-3{width: 255px;} +select.select-3{width: 250px;} .select-4 {width: 360px} .select-5 {width: 480px} td>select{padding-left: 0;padding-right: 0} From d8a6b6b39483016809e6041bd2fd4cbde9416ab3 Mon Sep 17 00:00:00 2001 From: Catouse Date: Fri, 1 Nov 2013 09:34:42 +0800 Subject: [PATCH 4/4] * reduce toolbar height. --- www/theme/default/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 63231980a0..403810a59f 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -444,7 +444,7 @@ table.data-table td:last-child{padding-right: 20px;} /* Top bar. */ #topbar, #topbar a {color:#ACCADF} -#topbar {margin:5px 5px 15px 5px} +#topbar {margin:5px 5px 6px 5px} #topbar select {border:none; color:#ACCADF; background:#003366} #topbar a {color:#d1e4f2;text-decoration:none;} #topbar a:hover {color: #fff;}