From 82b61dc1dab28b369f259d1133a7786006581853 Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Thu, 1 Dec 2016 16:59:45 +0800 Subject: [PATCH] * adjust the style of create button group. --- module/bug/css/browse.css | 2 -- module/bug/view/browse.html.php | 6 +++--- module/product/css/browse.css | 2 -- module/product/view/browse.html.php | 6 +++--- module/project/css/task.css | 2 -- module/project/view/taskheader.html.php | 4 ++-- module/testcase/css/browse.css | 1 - module/testcase/view/caseheader.html.php | 4 ++-- 8 files changed, 10 insertions(+), 17 deletions(-) diff --git a/module/bug/css/browse.css b/module/bug/css/browse.css index a9853afde4..f0bd370a0f 100644 --- a/module/bug/css/browse.css +++ b/module/bug/css/browse.css @@ -13,5 +13,3 @@ .dropdown-list > li > a {display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.53846154; color: #141414; white-space: nowrap;} .dropdown-list > li > a:hover, .dropdown-list > li > a:focus {color: #1a4f85;text-decoration: none;background-color: #ddd;} - -#createActionMenu .btn{color: #fff!important; text-shadow: 0 -1px 0 rgba(0,0,0,.2)!important; background-color: #d2322d!important; border-color: #bd2d29!important;} diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index c914b0e0fc..1510075847 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -67,16 +67,16 @@ js::set('bugBrowseType', ($browseType == 'bymodule' and $this->session->bugBrows if(commonModel::isTutorialMode()) { $wizardParams = helper::safe64Encode("productID=$productID&branch=$branch&extra=moduleID=$moduleID"); - echo html::a($this->createLink('tutorial', 'wizard', "module=bug&method=create¶ms=$wizardParams"), "" . $lang->bug->create, '', "class='btn btn-bug-create'"); + echo html::a($this->createLink('tutorial', 'wizard', "module=bug&method=create¶ms=$wizardParams"), "" . $lang->bug->create, '', "class='btn btn-primary btn-bug-create'"); } else { - $misc = common::hasPriv('bug', 'create') ? "class='btn'" : "class='btn disabled'"; + $misc = common::hasPriv('bug', 'create') ? "class='btn btn-primary'" : "class='btn btn-primary disabled'"; $link = common::hasPriv('bug', 'create') ? $this->createLink('bug', 'create', "productID=$productID&branch=$branch&extra=moduleID=$moduleID") : '#'; echo html::a($link, "" . $lang->bug->create, '', $misc); } ?> -