From 9d4b78a8f2d3fe389bcf284b04139e656055509b Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 9 Aug 2019 10:29:57 +0800 Subject: [PATCH] * finish task #6171. --- framework/base/control.class.php | 104 ++++++++++++++++---- module/admin/css/safe.css | 2 - module/admin/css/safe.en.css | 1 + module/admin/css/safe.zh-cn.css | 1 + module/admin/css/safe.zh-tw.css | 1 + module/backup/css/index.css | 2 - module/backup/css/index.en.css | 1 + module/backup/css/index.zh-cn.css | 1 + module/backup/css/index.zh-tw.css | 1 + module/bug/css/edit.css | 3 - module/bug/css/edit.en.css | 1 + module/bug/css/edit.zh-cn.css | 1 + module/bug/css/edit.zh-tw.css | 1 + module/bug/css/resolve.css | 3 - module/bug/css/resolve.en.css | 1 + module/bug/css/resolve.zh-cn.css | 1 + module/bug/css/resolve.zh-tw.css | 1 + module/bug/css/view.css | 5 - module/bug/css/view.en.css | 2 + module/bug/css/view.zh-cn.css | 2 + module/bug/css/view.zh-tw.css | 2 + module/company/css/edit.css | 2 - module/company/css/edit.en.css | 1 + module/company/css/edit.zh-cn.css | 1 + module/company/css/edit.zh-tw.css | 1 + module/custom/css/required.css | 2 - module/custom/css/required.en.css | 1 + module/custom/css/required.zh-cn.css | 1 + module/custom/css/required.zh-tw.css | 1 + module/custom/css/set.css | 2 - module/custom/css/set.en.css | 1 + module/custom/css/set.zh-cn.css | 1 + module/custom/css/set.zh-tw.css | 1 + module/dept/css/edit.css | 2 - module/dept/css/edit.en.css | 1 + module/dept/css/edit.zh-cn.css | 1 + module/dept/css/edit.zh-tw.css | 1 + module/group/css/managepriv.css | 3 - module/group/css/managepriv.en.css | 1 + module/group/css/managepriv.zh-cn.css | 1 + module/group/css/managepriv.zh-tw.css | 1 + module/group/css/manageview.css | 3 - module/group/css/manageview.en.css | 1 + module/group/css/manageview.zh-cn.css | 1 + module/group/css/manageview.zh-tw.css | 1 + module/my/css/changepassword.css | 2 - module/my/css/changepassword.en.css | 1 + module/my/css/changepassword.zh-cn.css | 1 + module/my/css/changepassword.zh-tw.css | 1 + module/project/css/all.css | 3 - module/project/css/all.en.css | 1 + module/project/css/all.zh-cn.css | 1 + module/project/css/all.zh-tw.css | 1 + module/project/css/burn.css | 3 - module/project/css/burn.en.css | 1 + module/project/css/burn.zh-cn.css | 1 + module/project/css/burn.zh-tw.css | 1 + module/project/css/treestory.css | 2 - module/project/css/treestory.en.css | 1 + module/project/css/treestory.zh-cn.css | 1 + module/project/css/treestory.zh-tw.css | 1 + module/story/css/close.css | 2 - module/story/css/close.en.css | 1 + module/story/css/close.zh-cn.css | 1 + module/story/css/close.zh-tw.css | 1 + module/story/css/creat.en.css | 0 module/story/css/create.zh-cn.css | 0 module/story/css/edit.css | 5 - module/story/css/edit.en.css | 2 + module/story/css/edit.zh-cn.css | 2 + module/story/css/edit.zh-tw.css | 2 + module/story/css/review.css | 2 - module/story/css/review.en.css | 1 + module/story/css/review.zh-cn.css | 1 + module/story/css/review.zh-tw.css | 1 + module/story/css/view.css | 5 - module/story/css/view.en.css | 2 + module/story/css/view.zh-cn.css | 2 + module/story/css/view.zh-tw.css | 2 + module/story/css/zerocase.css | 2 - module/story/css/zerocase.en.css | 1 + module/story/css/zerocase.zh-cn.css | 1 + module/story/css/zerocase.zh-tw.css | 1 + module/task/css/activate.css | 2 - module/task/css/activate.en.css | 1 + module/task/css/activate.zh-cn.css | 1 + module/task/css/activate.zh-tw.css | 1 + module/task/css/edit.css | 4 - module/task/css/edit.en.css | 2 + module/task/css/edit.zh-cn.css | 2 + module/task/css/edit.zh-tw.css | 2 + module/task/css/finish.css | 2 - module/task/css/finish.en.css | 1 + module/task/css/finish.zh-cn.css | 1 + module/task/css/finish.zh-tw.css | 1 + module/task/css/recordestimate.css | 3 - module/task/css/recordestimate.en.css | 1 + module/task/css/recordestimate.zh-cn.css | 1 + module/task/css/recordestimate.zh-tw.css | 1 + module/task/css/view.css | 4 - module/task/css/view.en.css | 2 + module/task/css/view.zh-cn.css | 2 + module/task/css/view.zh-tw.css | 2 + module/testcase/css/view.css | 5 - module/testcase/css/view.en.css | 2 + module/testcase/css/view.zh-cn.css | 2 + module/testcase/css/view.zh-tw.css | 2 + module/todo/css/create.css | 5 - module/todo/css/create.en.css | 2 + module/todo/css/create.zh-cn.css | 2 + module/todo/css/create.zh-tw.css | 2 + module/todo/css/view.css | 3 - module/todo/css/view.en.css | 1 + module/todo/css/view.zh-cn.css | 1 + module/todo/css/view.zh-tw.css | 1 + module/translate/css/choosemodule.css | 2 - module/translate/css/choosemodule.en.css | 1 + module/translate/css/choosemodule.zh-cn.css | 1 + module/translate/css/choosemodule.zh-tw.css | 1 + module/translate/css/index.css | 3 - module/translate/css/index.en.css | 1 + module/translate/css/index.zh-cn.css | 1 + module/translate/css/index.zh-tw.css | 1 + module/tree/css/edit.css | 3 - module/tree/css/edit.en.css | 1 + module/tree/css/edit.zh-cn.css | 1 + module/tree/css/edit.zh-tw.css | 1 + module/user/css/batchcreate.css | 5 - module/user/css/batchcreate.en.css | 2 + module/user/css/batchcreate.zh-cn.css | 2 + module/user/css/batchcreate.zh-tw.css | 2 + module/webhook/css/create.css | 3 - module/webhook/css/create.en.css | 1 + module/webhook/css/create.zh-cn.css | 1 + module/webhook/css/create.zh-tw.css | 1 + module/webhook/css/edit.css | 3 - module/webhook/css/edit.en.css | 1 + module/webhook/css/edit.zh-cn.css | 1 + module/webhook/css/edit.zh-tw.css | 1 + 139 files changed, 213 insertions(+), 119 deletions(-) delete mode 100644 module/admin/css/safe.css create mode 100644 module/admin/css/safe.en.css create mode 100644 module/admin/css/safe.zh-cn.css create mode 100644 module/admin/css/safe.zh-tw.css delete mode 100644 module/backup/css/index.css create mode 100644 module/backup/css/index.en.css create mode 100644 module/backup/css/index.zh-cn.css create mode 100644 module/backup/css/index.zh-tw.css create mode 100644 module/bug/css/edit.en.css create mode 100644 module/bug/css/edit.zh-cn.css create mode 100644 module/bug/css/edit.zh-tw.css create mode 100644 module/bug/css/resolve.en.css create mode 100644 module/bug/css/resolve.zh-cn.css create mode 100644 module/bug/css/resolve.zh-tw.css create mode 100644 module/bug/css/view.en.css create mode 100644 module/bug/css/view.zh-cn.css create mode 100644 module/bug/css/view.zh-tw.css delete mode 100644 module/company/css/edit.css create mode 100644 module/company/css/edit.en.css create mode 100644 module/company/css/edit.zh-cn.css create mode 100644 module/company/css/edit.zh-tw.css delete mode 100644 module/custom/css/required.css create mode 100644 module/custom/css/required.en.css create mode 100644 module/custom/css/required.zh-cn.css create mode 100644 module/custom/css/required.zh-tw.css delete mode 100644 module/custom/css/set.css create mode 100644 module/custom/css/set.en.css create mode 100644 module/custom/css/set.zh-cn.css create mode 100644 module/custom/css/set.zh-tw.css delete mode 100644 module/dept/css/edit.css create mode 100644 module/dept/css/edit.en.css create mode 100644 module/dept/css/edit.zh-cn.css create mode 100644 module/dept/css/edit.zh-tw.css create mode 100644 module/group/css/managepriv.en.css create mode 100644 module/group/css/managepriv.zh-cn.css create mode 100644 module/group/css/managepriv.zh-tw.css create mode 100644 module/group/css/manageview.en.css create mode 100644 module/group/css/manageview.zh-cn.css create mode 100644 module/group/css/manageview.zh-tw.css delete mode 100644 module/my/css/changepassword.css create mode 100644 module/my/css/changepassword.en.css create mode 100644 module/my/css/changepassword.zh-cn.css create mode 100644 module/my/css/changepassword.zh-tw.css create mode 100644 module/project/css/all.en.css create mode 100644 module/project/css/all.zh-cn.css create mode 100644 module/project/css/all.zh-tw.css create mode 100644 module/project/css/burn.en.css create mode 100644 module/project/css/burn.zh-cn.css create mode 100644 module/project/css/burn.zh-tw.css delete mode 100644 module/project/css/treestory.css create mode 100644 module/project/css/treestory.en.css create mode 100644 module/project/css/treestory.zh-cn.css create mode 100644 module/project/css/treestory.zh-tw.css delete mode 100644 module/story/css/close.css create mode 100644 module/story/css/close.en.css create mode 100644 module/story/css/close.zh-cn.css create mode 100644 module/story/css/close.zh-tw.css create mode 100644 module/story/css/creat.en.css create mode 100644 module/story/css/create.zh-cn.css create mode 100644 module/story/css/edit.en.css create mode 100644 module/story/css/edit.zh-cn.css create mode 100644 module/story/css/edit.zh-tw.css delete mode 100644 module/story/css/review.css create mode 100644 module/story/css/review.en.css create mode 100644 module/story/css/review.zh-cn.css create mode 100644 module/story/css/review.zh-tw.css create mode 100644 module/story/css/view.en.css create mode 100644 module/story/css/view.zh-cn.css create mode 100644 module/story/css/view.zh-tw.css delete mode 100644 module/story/css/zerocase.css create mode 100644 module/story/css/zerocase.en.css create mode 100644 module/story/css/zerocase.zh-cn.css create mode 100644 module/story/css/zerocase.zh-tw.css delete mode 100644 module/task/css/activate.css create mode 100644 module/task/css/activate.en.css create mode 100644 module/task/css/activate.zh-cn.css create mode 100644 module/task/css/activate.zh-tw.css delete mode 100644 module/task/css/edit.css create mode 100644 module/task/css/edit.en.css create mode 100644 module/task/css/edit.zh-cn.css create mode 100644 module/task/css/edit.zh-tw.css delete mode 100644 module/task/css/finish.css create mode 100644 module/task/css/finish.en.css create mode 100644 module/task/css/finish.zh-cn.css create mode 100644 module/task/css/finish.zh-tw.css create mode 100644 module/task/css/recordestimate.en.css create mode 100644 module/task/css/recordestimate.zh-cn.css create mode 100644 module/task/css/recordestimate.zh-tw.css create mode 100644 module/task/css/view.en.css create mode 100644 module/task/css/view.zh-cn.css create mode 100644 module/task/css/view.zh-tw.css create mode 100644 module/testcase/css/view.en.css create mode 100644 module/testcase/css/view.zh-cn.css create mode 100644 module/testcase/css/view.zh-tw.css create mode 100644 module/todo/css/create.en.css create mode 100644 module/todo/css/create.zh-cn.css create mode 100644 module/todo/css/create.zh-tw.css create mode 100644 module/todo/css/view.en.css create mode 100644 module/todo/css/view.zh-cn.css create mode 100644 module/todo/css/view.zh-tw.css delete mode 100644 module/translate/css/choosemodule.css create mode 100644 module/translate/css/choosemodule.en.css create mode 100644 module/translate/css/choosemodule.zh-cn.css create mode 100644 module/translate/css/choosemodule.zh-tw.css create mode 100644 module/translate/css/index.en.css create mode 100644 module/translate/css/index.zh-cn.css create mode 100644 module/translate/css/index.zh-tw.css create mode 100644 module/tree/css/edit.en.css create mode 100644 module/tree/css/edit.zh-cn.css create mode 100644 module/tree/css/edit.zh-tw.css create mode 100644 module/user/css/batchcreate.en.css create mode 100644 module/user/css/batchcreate.zh-cn.css create mode 100644 module/user/css/batchcreate.zh-tw.css create mode 100644 module/webhook/css/create.en.css create mode 100644 module/webhook/css/create.zh-cn.css create mode 100644 module/webhook/css/create.zh-tw.css create mode 100644 module/webhook/css/edit.en.css create mode 100644 module/webhook/css/edit.zh-cn.css create mode 100644 module/webhook/css/edit.zh-tw.css diff --git a/framework/base/control.class.php b/framework/base/control.class.php index 6a888e308d..8a5211adb2 100644 --- a/framework/base/control.class.php +++ b/framework/base/control.class.php @@ -445,44 +445,114 @@ class baseControl */ public function getCSS($moduleName, $methodName) { - $moduleName = strtolower(trim($moduleName)); - $methodName = strtolower(trim($methodName)); + $moduleName = strtolower(trim($moduleName)); + $methodName = strtolower(trim($methodName)); - $modulePath = $this->app->getModulePath($this->appName, $moduleName); - $cssExtPath = $this->app->getModuleExtPath($this->appName, $moduleName, 'css') ; + $modulePath = $this->app->getModulePath($this->appName, $moduleName); + $cssExtPath = $this->app->getModuleExtPath($this->appName, $moduleName, 'css') ; - $css = ''; - $mainCssFile = $modulePath . 'css' . DS . $this->devicePrefix . 'common.css'; - $methodCssFile = $modulePath . 'css' . DS . $this->devicePrefix . $methodName . '.css'; - if(file_exists($mainCssFile)) $css .= file_get_contents($mainCssFile); - if(is_file($methodCssFile)) $css .= file_get_contents($methodCssFile); + $clientLang = $this->app->getClientLang(); + $notCNLang = strpos('|zh-cn|zh-tw|', "|{$clientLang}|") === false; + + $css = ''; + $devicePrefix = $this->devicePrefix; + $mainCssPath = $modulePath . 'css' . DS; + + /* Common css file. like module/story/css/common.css. */ + $mainCssFile = $mainCssPath . $devicePrefix . 'common.css'; + if(is_file($mainCssFile)) $css .= file_get_contents($mainCssFile); + + /* Common css file with lang. like module/story/css/common.en.css. */ + $mainCssLangFile = $mainCssPath . $devicePrefix . "common.{$clientLang}.css"; + if(!file_exists($mainCssLangFile) and $notCNLang) $mainCssLangFile = $mainCssPath . $devicePrefix . "common.en.css"; + if(is_file($mainCssLangFile)) $css .= file_get_contents($mainCssLangFile); + + /* Method css file. like module/story/css/create.css. */ + $methodCssFile = $mainCssPath . $devicePrefix . $methodName . '.css'; + if(is_file($methodCssFile)) $css .= file_get_contents($methodCssFile); + + /* Method css file with lang. like module/story/css/create.en.css. */ + $methodCssLangFile = $mainCssPath . $devicePrefix . "{$methodName}.{$clientLang}.css"; + if(!file_exists($methodCssLangFile) and $notCNLang) $methodCssLangFile = $mainCssPath . $devicePrefix . "{$methodName}.en.css"; + if(is_file($methodCssLangFile)) $css .= file_get_contents($methodCssLangFile); if(!empty($cssExtPath)) { $cssMethodExt = $cssExtPath['common'] . $methodName . DS; $cssCommonExt = $cssExtPath['common'] . 'common' . DS; - $cssExtFiles = glob($cssCommonExt . $this->devicePrefix . '*.css'); - if(!empty($cssExtFiles) and is_array($cssExtFiles)) foreach($cssExtFiles as $cssFile) $css .= file_get_contents($cssFile); + $cssExtFiles = glob($cssCommonExt . $devicePrefix . '*.css'); + if(!empty($cssExtFiles) and is_array($cssExtFiles)) $css .= $this->getExtCSS($cssExtFiles); - $cssExtFiles = glob($cssMethodExt . $this->devicePrefix . '*.css'); - if(!empty($cssExtFiles) and is_array($cssExtFiles)) foreach($cssExtFiles as $cssFile) $css .= file_get_contents($cssFile); + $cssExtFiles = glob($cssMethodExt . $devicePrefix . '*.css'); + if(!empty($cssExtFiles) and is_array($cssExtFiles)) $css .= $this->getExtCSS($cssExtFiles); if(!empty($cssExtPath['site'])) { $cssMethodExt = $cssExtPath['site'] . $methodName . DS; $cssCommonExt = $cssExtPath['site'] . 'common' . DS; - $cssExtFiles = glob($cssCommonExt . $this->devicePrefix . '*.css'); - if(!empty($cssExtFiles) and is_array($cssExtFiles)) foreach($cssExtFiles as $cssFile) $css .= file_get_contents($cssFile); + $cssExtFiles = glob($cssCommonExt . $devicePrefix . '*.css'); + if(!empty($cssExtFiles) and is_array($cssExtFiles)) $css .= $this->getExtCSS($cssExtFiles); - $cssExtFiles = glob($cssMethodExt . $this->devicePrefix . '*.css'); - if(!empty($cssExtFiles) and is_array($cssExtFiles)) foreach($cssExtFiles as $cssFile) $css .= file_get_contents($cssFile); + $cssExtFiles = glob($cssMethodExt . $devicePrefix . '*.css'); + if(!empty($cssExtFiles) and is_array($cssExtFiles)) $css .= $this->getExtCSS($cssExtFiles); } } return $css; } + /** + * Get extension css and extension css with lang. + * + * @param array $files + * @access public + * @return string + */ + public function getExtCSS($files) + { + $clientLang = $this->app->getClientLang(); + $notCNLang = strpos('|zh-cn|zh-tw|', "|{$clientLang}|") === false; + + $filePairs = array(); + foreach($files as $cssFile) + { + $fileName = basename($cssFile); + $filePairs[$fileName] = $cssFile; + } + + $css = ''; + $usedCodes = array(); + foreach($filePairs as $fileName => $cssFile) + { + if(preg_match('/^\w+\.css$/', $fileName)) + { + /* Method extension css file. like module/story/ext/css/create/effort.css. */ + $css .= file_get_contents($cssFile); + list($code) = explode('.', $fileName); + } + else + { + list($code) = explode('.', $fileName); + if(isset($usedCodes[$code])) continue; + } + + + /* Method extension css file. like module/story/ext/css/create/effort.zh-cn.css. */ + if(isset($filePairs["{$code}.{$clientLang}.css"])) + { + $css .= file_get_contents($filePairs["{$code}.{$clientLang}.css"]); + } + elseif($notCNLang and isset($filePairs["{$code}.en.css"])) + { + $css .= file_get_contents($filePairs["{$code}.en.css"]); + } + $usedCodes[$code] = $code; + } + + return $css; + } + /** * 获取适用于当前方法的js:该模块公用的js + 当前方法的js + 扩展的js。 * Get js codes applied to current method: module common js + method js + extension js. diff --git a/module/admin/css/safe.css b/module/admin/css/safe.css deleted file mode 100644 index 940f4e5493..0000000000 --- a/module/admin/css/safe.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:300px !important;} -html[lang^='zh-'] .thWidth{width:130px !important;} diff --git a/module/admin/css/safe.en.css b/module/admin/css/safe.en.css new file mode 100644 index 0000000000..968bede65b --- /dev/null +++ b/module/admin/css/safe.en.css @@ -0,0 +1 @@ +.thWidth{width:300px !important;} diff --git a/module/admin/css/safe.zh-cn.css b/module/admin/css/safe.zh-cn.css new file mode 100644 index 0000000000..82442a3745 --- /dev/null +++ b/module/admin/css/safe.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:130px !important;} diff --git a/module/admin/css/safe.zh-tw.css b/module/admin/css/safe.zh-tw.css new file mode 100644 index 0000000000..82442a3745 --- /dev/null +++ b/module/admin/css/safe.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:130px !important;} diff --git a/module/backup/css/index.css b/module/backup/css/index.css deleted file mode 100644 index e399fae36d..0000000000 --- a/module/backup/css/index.css +++ /dev/null @@ -1,2 +0,0 @@ -.actionWidth{width:140px !important;} -html[lang^='zh-'] .actionWidth{width:110px !important;} diff --git a/module/backup/css/index.en.css b/module/backup/css/index.en.css new file mode 100644 index 0000000000..e38ab72482 --- /dev/null +++ b/module/backup/css/index.en.css @@ -0,0 +1 @@ +.actionWidth{width:140px !important;} diff --git a/module/backup/css/index.zh-cn.css b/module/backup/css/index.zh-cn.css new file mode 100644 index 0000000000..451eb8c96e --- /dev/null +++ b/module/backup/css/index.zh-cn.css @@ -0,0 +1 @@ +.actionWidth{width:110px !important;} diff --git a/module/backup/css/index.zh-tw.css b/module/backup/css/index.zh-tw.css new file mode 100644 index 0000000000..451eb8c96e --- /dev/null +++ b/module/backup/css/index.zh-tw.css @@ -0,0 +1 @@ +.actionWidth{width:110px !important;} diff --git a/module/bug/css/edit.css b/module/bug/css/edit.css index ddb55edfd8..581c88c64e 100644 --- a/module/bug/css/edit.css +++ b/module/bug/css/edit.css @@ -4,6 +4,3 @@ .col-side .chosen-container[id^="resolvedBuild"] {width: 172px!important} .chosen-choices li.search-choice{word-break: break-all;} #linkBugBox > li {margin-left:-56px} - -.thWidth{width:100px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} diff --git a/module/bug/css/edit.en.css b/module/bug/css/edit.en.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/bug/css/edit.en.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/bug/css/edit.zh-cn.css b/module/bug/css/edit.zh-cn.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/bug/css/edit.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/bug/css/edit.zh-tw.css b/module/bug/css/edit.zh-tw.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/bug/css/edit.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/bug/css/resolve.css b/module/bug/css/resolve.css index eafaa6152e..097655b0a0 100644 --- a/module/bug/css/resolve.css +++ b/module/bug/css/resolve.css @@ -1,4 +1 @@ .chosen-container[id^="buildProject"] {max-width: 160px; border-radius: 0} - -.thWidth{width:130px !important;} -html[lang^='zh-'] .thWidth{width:100px !important;} diff --git a/module/bug/css/resolve.en.css b/module/bug/css/resolve.en.css new file mode 100644 index 0000000000..82442a3745 --- /dev/null +++ b/module/bug/css/resolve.en.css @@ -0,0 +1 @@ +.thWidth{width:130px !important;} diff --git a/module/bug/css/resolve.zh-cn.css b/module/bug/css/resolve.zh-cn.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/bug/css/resolve.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/bug/css/resolve.zh-tw.css b/module/bug/css/resolve.zh-tw.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/bug/css/resolve.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/bug/css/view.css b/module/bug/css/view.css index 065bf82cc4..f426ccc058 100644 --- a/module/bug/css/view.css +++ b/module/bug/css/view.css @@ -3,8 +3,3 @@ .table-data tr > td{word-break: break-all; word-wrap: break-word;} .side-col .cell{padding:0px;} .tab-pane table {border: 1px solid #ddd; border-top: none;} - -#legendBasicInfo .thWidth{width:110px !important;} -#legendLife .thWidth{width:100px !important;} -html[lang^='zh-'] #legendBasicInfo .thWidth{width:70px !important;} -html[lang^='zh-'] #legendLife .thWidth{width:90px !important;} diff --git a/module/bug/css/view.en.css b/module/bug/css/view.en.css new file mode 100644 index 0000000000..a12586a55b --- /dev/null +++ b/module/bug/css/view.en.css @@ -0,0 +1,2 @@ +#legendBasicInfo .thWidth{width:110px !important;} +#legendLife .thWidth{width:100px !important;} diff --git a/module/bug/css/view.zh-cn.css b/module/bug/css/view.zh-cn.css new file mode 100644 index 0000000000..ae536dd36e --- /dev/null +++ b/module/bug/css/view.zh-cn.css @@ -0,0 +1,2 @@ +#legendBasicInfo .thWidth{width:70px !important;} +#legendLife .thWidth{width:90px !important;} diff --git a/module/bug/css/view.zh-tw.css b/module/bug/css/view.zh-tw.css new file mode 100644 index 0000000000..ae536dd36e --- /dev/null +++ b/module/bug/css/view.zh-tw.css @@ -0,0 +1,2 @@ +#legendBasicInfo .thWidth{width:70px !important;} +#legendLife .thWidth{width:90px !important;} diff --git a/module/company/css/edit.css b/module/company/css/edit.css deleted file mode 100644 index be70b5a9c2..0000000000 --- a/module/company/css/edit.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:120px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} diff --git a/module/company/css/edit.en.css b/module/company/css/edit.en.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/company/css/edit.en.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/company/css/edit.zh-cn.css b/module/company/css/edit.zh-cn.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/company/css/edit.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/company/css/edit.zh-tw.css b/module/company/css/edit.zh-tw.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/company/css/edit.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/custom/css/required.css b/module/custom/css/required.css deleted file mode 100644 index 9c5f944bf1..0000000000 --- a/module/custom/css/required.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:250px !important;} -html[lang^='zh-'] .thWidth{width:120px !important;} diff --git a/module/custom/css/required.en.css b/module/custom/css/required.en.css new file mode 100644 index 0000000000..3f91eb211b --- /dev/null +++ b/module/custom/css/required.en.css @@ -0,0 +1 @@ +.thWidth{width:250px !important;} diff --git a/module/custom/css/required.zh-cn.css b/module/custom/css/required.zh-cn.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/custom/css/required.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/custom/css/required.zh-tw.css b/module/custom/css/required.zh-tw.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/custom/css/required.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/custom/css/set.css b/module/custom/css/set.css deleted file mode 100644 index b7f3c09196..0000000000 --- a/module/custom/css/set.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:140px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} diff --git a/module/custom/css/set.en.css b/module/custom/css/set.en.css new file mode 100644 index 0000000000..ba5d77e51b --- /dev/null +++ b/module/custom/css/set.en.css @@ -0,0 +1 @@ +.thWidth{width:140px !important;} diff --git a/module/custom/css/set.zh-cn.css b/module/custom/css/set.zh-cn.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/custom/css/set.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/custom/css/set.zh-tw.css b/module/custom/css/set.zh-tw.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/custom/css/set.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/dept/css/edit.css b/module/dept/css/edit.css deleted file mode 100644 index ebe41c894d..0000000000 --- a/module/dept/css/edit.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:130px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} diff --git a/module/dept/css/edit.en.css b/module/dept/css/edit.en.css new file mode 100644 index 0000000000..82442a3745 --- /dev/null +++ b/module/dept/css/edit.en.css @@ -0,0 +1 @@ +.thWidth{width:130px !important;} diff --git a/module/dept/css/edit.zh-cn.css b/module/dept/css/edit.zh-cn.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/dept/css/edit.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/dept/css/edit.zh-tw.css b/module/dept/css/edit.zh-tw.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/dept/css/edit.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/group/css/managepriv.css b/module/group/css/managepriv.css index c82b07f179..a7d7b2b229 100644 --- a/module/group/css/managepriv.css +++ b/module/group/css/managepriv.css @@ -6,6 +6,3 @@ #mainMenu #groupName{line-height:33px; float: left} .checkbox-right{padding-left:0px !important;} - -.thWidth{width:180px !important;} -html[lang^='zh-'] .thWidth{width:150px !important;} diff --git a/module/group/css/managepriv.en.css b/module/group/css/managepriv.en.css new file mode 100644 index 0000000000..3852bbb549 --- /dev/null +++ b/module/group/css/managepriv.en.css @@ -0,0 +1 @@ +.thWidth{width:180px !important;} diff --git a/module/group/css/managepriv.zh-cn.css b/module/group/css/managepriv.zh-cn.css new file mode 100644 index 0000000000..6ea5450c92 --- /dev/null +++ b/module/group/css/managepriv.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:150px !important;} diff --git a/module/group/css/managepriv.zh-tw.css b/module/group/css/managepriv.zh-tw.css new file mode 100644 index 0000000000..6ea5450c92 --- /dev/null +++ b/module/group/css/managepriv.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:150px !important;} diff --git a/module/group/css/manageview.css b/module/group/css/manageview.css index 6f91b77ee0..acb6d7c648 100644 --- a/module/group/css/manageview.css +++ b/module/group/css/manageview.css @@ -4,6 +4,3 @@ .checkbox-primary>label{padding-left:20px;} .pl-0px {padding-left:0px !important;} .pt-0px {padding-top:0px !important;} - -.thWidth{width:130px !important;} -html[lang^='zh-'] .thWidth{width:100px !important;} diff --git a/module/group/css/manageview.en.css b/module/group/css/manageview.en.css new file mode 100644 index 0000000000..82442a3745 --- /dev/null +++ b/module/group/css/manageview.en.css @@ -0,0 +1 @@ +.thWidth{width:130px !important;} diff --git a/module/group/css/manageview.zh-cn.css b/module/group/css/manageview.zh-cn.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/group/css/manageview.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/group/css/manageview.zh-tw.css b/module/group/css/manageview.zh-tw.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/group/css/manageview.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/my/css/changepassword.css b/module/my/css/changepassword.css deleted file mode 100644 index 142e74674d..0000000000 --- a/module/my/css/changepassword.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:130px !important;} -html[lang^='zh-'] .thWidth{width:100px !important;} diff --git a/module/my/css/changepassword.en.css b/module/my/css/changepassword.en.css new file mode 100644 index 0000000000..82442a3745 --- /dev/null +++ b/module/my/css/changepassword.en.css @@ -0,0 +1 @@ +.thWidth{width:130px !important;} diff --git a/module/my/css/changepassword.zh-cn.css b/module/my/css/changepassword.zh-cn.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/my/css/changepassword.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/my/css/changepassword.zh-tw.css b/module/my/css/changepassword.zh-tw.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/my/css/changepassword.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/project/css/all.css b/module/project/css/all.css index 827c53d254..f0b971a934 100644 --- a/module/project/css/all.css +++ b/module/project/css/all.css @@ -1,4 +1 @@ #product_chosen .chosen-single{width:180px;} - -.thWidth{width:130px !important;} -html[lang^='zh-'] .thWidth{width:100px !important;} diff --git a/module/project/css/all.en.css b/module/project/css/all.en.css new file mode 100644 index 0000000000..82442a3745 --- /dev/null +++ b/module/project/css/all.en.css @@ -0,0 +1 @@ +.thWidth{width:130px !important;} diff --git a/module/project/css/all.zh-cn.css b/module/project/css/all.zh-cn.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/project/css/all.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/project/css/all.zh-tw.css b/module/project/css/all.zh-tw.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/project/css/all.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/project/css/burn.css b/module/project/css/burn.css index b3f814d982..5154777aa2 100644 --- a/module/project/css/burn.css +++ b/module/project/css/burn.css @@ -5,6 +5,3 @@ #burnLegend > div {position: relative; padding-left: 30px;} #burnLegend > div > .barline {position: absolute; width: 20px; left: 0; top: 13px; height: 3px; background: #EEEEEE;} #burnLegend .line-real .bg-primary{background: #1183fb} - -.thWidth{width:150px !important;} -html[lang^='zh-'] .thWidth{width:120px !important;} diff --git a/module/project/css/burn.en.css b/module/project/css/burn.en.css new file mode 100644 index 0000000000..6ea5450c92 --- /dev/null +++ b/module/project/css/burn.en.css @@ -0,0 +1 @@ +.thWidth{width:150px !important;} diff --git a/module/project/css/burn.zh-cn.css b/module/project/css/burn.zh-cn.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/project/css/burn.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/project/css/burn.zh-tw.css b/module/project/css/burn.zh-tw.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/project/css/burn.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/project/css/treestory.css b/module/project/css/treestory.css deleted file mode 100644 index 168c123dd1..0000000000 --- a/module/project/css/treestory.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:120px !important;} -html[lang^='zh-'] .thWidth{width:100px !important;} diff --git a/module/project/css/treestory.en.css b/module/project/css/treestory.en.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/project/css/treestory.en.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/project/css/treestory.zh-cn.css b/module/project/css/treestory.zh-cn.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/project/css/treestory.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/project/css/treestory.zh-tw.css b/module/project/css/treestory.zh-tw.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/project/css/treestory.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/story/css/close.css b/module/story/css/close.css deleted file mode 100644 index feca0918c6..0000000000 --- a/module/story/css/close.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:150px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} diff --git a/module/story/css/close.en.css b/module/story/css/close.en.css new file mode 100644 index 0000000000..6ea5450c92 --- /dev/null +++ b/module/story/css/close.en.css @@ -0,0 +1 @@ +.thWidth{width:150px !important;} diff --git a/module/story/css/close.zh-cn.css b/module/story/css/close.zh-cn.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/story/css/close.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/story/css/close.zh-tw.css b/module/story/css/close.zh-tw.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/story/css/close.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/story/css/creat.en.css b/module/story/css/creat.en.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/module/story/css/create.zh-cn.css b/module/story/css/create.zh-cn.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/module/story/css/edit.css b/module/story/css/edit.css index 448a1e0e70..325971cb2f 100644 --- a/module/story/css/edit.css +++ b/module/story/css/edit.css @@ -1,6 +1 @@ #product_chosen .chosen-single{border-right-width:1px} - -.thWidth{width:100px !important;} -.linkThWidth{width:110px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} -html[lang^='zh-'] .linkThWidth{width:70px !important;} diff --git a/module/story/css/edit.en.css b/module/story/css/edit.en.css new file mode 100644 index 0000000000..571d243dd6 --- /dev/null +++ b/module/story/css/edit.en.css @@ -0,0 +1,2 @@ +.thWidth{width:100px !important;} +.linkThWidth{width:110px !important;} diff --git a/module/story/css/edit.zh-cn.css b/module/story/css/edit.zh-cn.css new file mode 100644 index 0000000000..433f2d837b --- /dev/null +++ b/module/story/css/edit.zh-cn.css @@ -0,0 +1,2 @@ +.thWidth{width:80px !important;} +.linkThWidth{width:70px !important;} diff --git a/module/story/css/edit.zh-tw.css b/module/story/css/edit.zh-tw.css new file mode 100644 index 0000000000..433f2d837b --- /dev/null +++ b/module/story/css/edit.zh-tw.css @@ -0,0 +1,2 @@ +.thWidth{width:80px !important;} +.linkThWidth{width:70px !important;} diff --git a/module/story/css/review.css b/module/story/css/review.css deleted file mode 100644 index ccda3106fd..0000000000 --- a/module/story/css/review.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:110px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} diff --git a/module/story/css/review.en.css b/module/story/css/review.en.css new file mode 100644 index 0000000000..b3e7551ab2 --- /dev/null +++ b/module/story/css/review.en.css @@ -0,0 +1 @@ +.thWidth{width:110px !important;} diff --git a/module/story/css/review.zh-cn.css b/module/story/css/review.zh-cn.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/story/css/review.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/story/css/review.zh-tw.css b/module/story/css/review.zh-tw.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/story/css/review.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/story/css/view.css b/module/story/css/view.css index 4ec3f19163..09f389c1f7 100644 --- a/module/story/css/view.css +++ b/module/story/css/view.css @@ -1,8 +1,3 @@ .side-col .cell{padding:0px;} .side-col #legendProjectAndTask .list-unstyled{padding:10px; border-top:0px; margin:0px;} .col-4 .cell .tab-content .text-top{padding-top: 1px} - -#legendLifeTime .thWidth{width:100px !important;} -#legendRelated .thWidth{width:110px !important;} -html[lang^='zh-'] #legendLifeTime .thWidth{width:70px !important;} -html[lang^='zh-'] #legendRelated .thWidth{width:70px !important;} diff --git a/module/story/css/view.en.css b/module/story/css/view.en.css new file mode 100644 index 0000000000..3daeffdbef --- /dev/null +++ b/module/story/css/view.en.css @@ -0,0 +1,2 @@ +#legendLifeTime .thWidth{width:100px !important;} +#legendRelated .thWidth{width:110px !important;} diff --git a/module/story/css/view.zh-cn.css b/module/story/css/view.zh-cn.css new file mode 100644 index 0000000000..84342de772 --- /dev/null +++ b/module/story/css/view.zh-cn.css @@ -0,0 +1,2 @@ +#legendLifeTime .thWidth{width:70px !important;} +#legendRelated .thWidth{width:70px !important;} diff --git a/module/story/css/view.zh-tw.css b/module/story/css/view.zh-tw.css new file mode 100644 index 0000000000..84342de772 --- /dev/null +++ b/module/story/css/view.zh-tw.css @@ -0,0 +1,2 @@ +#legendLifeTime .thWidth{width:70px !important;} +#legendRelated .thWidth{width:70px !important;} diff --git a/module/story/css/zerocase.css b/module/story/css/zerocase.css deleted file mode 100644 index 75f34ad64a..0000000000 --- a/module/story/css/zerocase.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:120px !important;} -html[lang^='zh-'] .thWidth{width:90px !important;} diff --git a/module/story/css/zerocase.en.css b/module/story/css/zerocase.en.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/story/css/zerocase.en.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/story/css/zerocase.zh-cn.css b/module/story/css/zerocase.zh-cn.css new file mode 100644 index 0000000000..6e60376bc6 --- /dev/null +++ b/module/story/css/zerocase.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:90px !important;} diff --git a/module/story/css/zerocase.zh-tw.css b/module/story/css/zerocase.zh-tw.css new file mode 100644 index 0000000000..6e60376bc6 --- /dev/null +++ b/module/story/css/zerocase.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:90px !important;} diff --git a/module/task/css/activate.css b/module/task/css/activate.css deleted file mode 100644 index 40079b4d82..0000000000 --- a/module/task/css/activate.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:90px !important;} -html[lang^='zh-'] .thWidth{width:70px !important;} diff --git a/module/task/css/activate.en.css b/module/task/css/activate.en.css new file mode 100644 index 0000000000..6e60376bc6 --- /dev/null +++ b/module/task/css/activate.en.css @@ -0,0 +1 @@ +.thWidth{width:90px !important;} diff --git a/module/task/css/activate.zh-cn.css b/module/task/css/activate.zh-cn.css new file mode 100644 index 0000000000..b9b2a977fd --- /dev/null +++ b/module/task/css/activate.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:70px !important;} diff --git a/module/task/css/activate.zh-tw.css b/module/task/css/activate.zh-tw.css new file mode 100644 index 0000000000..b9b2a977fd --- /dev/null +++ b/module/task/css/activate.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:70px !important;} diff --git a/module/task/css/edit.css b/module/task/css/edit.css deleted file mode 100644 index 75a2ee6bcb..0000000000 --- a/module/task/css/edit.css +++ /dev/null @@ -1,4 +0,0 @@ -.thWidth{width:85px !important;} -.lifeThWidth{width:120px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} -html[lang^='zh-'] .lifeThWidth{width:80px !important;} diff --git a/module/task/css/edit.en.css b/module/task/css/edit.en.css new file mode 100644 index 0000000000..431f63ee3f --- /dev/null +++ b/module/task/css/edit.en.css @@ -0,0 +1,2 @@ +.thWidth{width:85px !important;} +.lifeThWidth{width:120px !important;} diff --git a/module/task/css/edit.zh-cn.css b/module/task/css/edit.zh-cn.css new file mode 100644 index 0000000000..0845bfd2fc --- /dev/null +++ b/module/task/css/edit.zh-cn.css @@ -0,0 +1,2 @@ +.thWidth{width:80px !important;} +.lifeThWidth{width:80px !important;} diff --git a/module/task/css/edit.zh-tw.css b/module/task/css/edit.zh-tw.css new file mode 100644 index 0000000000..0845bfd2fc --- /dev/null +++ b/module/task/css/edit.zh-tw.css @@ -0,0 +1,2 @@ +.thWidth{width:80px !important;} +.lifeThWidth{width:80px !important;} diff --git a/module/task/css/finish.css b/module/task/css/finish.css deleted file mode 100644 index 168c123dd1..0000000000 --- a/module/task/css/finish.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:120px !important;} -html[lang^='zh-'] .thWidth{width:100px !important;} diff --git a/module/task/css/finish.en.css b/module/task/css/finish.en.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/task/css/finish.en.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/task/css/finish.zh-cn.css b/module/task/css/finish.zh-cn.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/task/css/finish.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/task/css/finish.zh-tw.css b/module/task/css/finish.zh-tw.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/task/css/finish.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/task/css/recordestimate.css b/module/task/css/recordestimate.css index 29f1fdaf3b..e9786a1ccf 100644 --- a/module/task/css/recordestimate.css +++ b/module/task/css/recordestimate.css @@ -1,4 +1 @@ .form-condensed .table-form {margin-bottom: 20px;} - -.thWidth{width:90px !important;} -html[lang^='zh-'] .thWidth{width:70px !important;} diff --git a/module/task/css/recordestimate.en.css b/module/task/css/recordestimate.en.css new file mode 100644 index 0000000000..6e60376bc6 --- /dev/null +++ b/module/task/css/recordestimate.en.css @@ -0,0 +1 @@ +.thWidth{width:90px !important;} diff --git a/module/task/css/recordestimate.zh-cn.css b/module/task/css/recordestimate.zh-cn.css new file mode 100644 index 0000000000..b9b2a977fd --- /dev/null +++ b/module/task/css/recordestimate.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:70px !important;} diff --git a/module/task/css/recordestimate.zh-tw.css b/module/task/css/recordestimate.zh-tw.css new file mode 100644 index 0000000000..b9b2a977fd --- /dev/null +++ b/module/task/css/recordestimate.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:70px !important;} diff --git a/module/task/css/view.css b/module/task/css/view.css index b504eafd4b..f925220cde 100644 --- a/module/task/css/view.css +++ b/module/task/css/view.css @@ -2,8 +2,4 @@ .side-col #legendProjectAndTask .list-unstyled{padding:10px; border:1px solid #ddd; border-top:0px; margin:0px;} .tab-pane table {border: 1px solid #ddd; border-top: none;} -#legendLife .thWidth{width:100px !important;} -.effortThWidth{width:90px !important;} -html[lang^='zh-'] #legendLife .thWidth{width:70px !important;} -html[lang^='zh-'] .effortThWidth{width:70px !important;} html[lang^='zh-'] .thWidth{width:80px !important;} diff --git a/module/task/css/view.en.css b/module/task/css/view.en.css new file mode 100644 index 0000000000..c470aad1aa --- /dev/null +++ b/module/task/css/view.en.css @@ -0,0 +1,2 @@ +#legendLife .thWidth{width:100px !important;} +.effortThWidth{width:90px !important;} diff --git a/module/task/css/view.zh-cn.css b/module/task/css/view.zh-cn.css new file mode 100644 index 0000000000..fdc11d4eec --- /dev/null +++ b/module/task/css/view.zh-cn.css @@ -0,0 +1,2 @@ +#legendLife .thWidth{width:70px !important;} +.effortThWidth{width:70px !important;} diff --git a/module/task/css/view.zh-tw.css b/module/task/css/view.zh-tw.css new file mode 100644 index 0000000000..fdc11d4eec --- /dev/null +++ b/module/task/css/view.zh-tw.css @@ -0,0 +1,2 @@ +#legendLife .thWidth{width:70px !important;} +.effortThWidth{width:70px !important;} diff --git a/module/testcase/css/view.css b/module/testcase/css/view.css index 097ea7a91e..8c667e34d5 100644 --- a/module/testcase/css/view.css +++ b/module/testcase/css/view.css @@ -4,8 +4,3 @@ .outer .col-side .side-handle{right:0px;top:10px;} .outer.hide-side .main-side{display:none;} .table-fixed td{white-space: unset;} - -.thWidth{width:90px !important;} -.lifeThWidth{width:100px !important;} -html[lang^='zh-'] .thWidth{width:60px !important;} -html[lang^='zh-'] .lifeThWidth{width:60px !important;} diff --git a/module/testcase/css/view.en.css b/module/testcase/css/view.en.css new file mode 100644 index 0000000000..3b04fa1321 --- /dev/null +++ b/module/testcase/css/view.en.css @@ -0,0 +1,2 @@ +.thWidth{width:90px !important;} +.lifeThWidth{width:100px !important;} diff --git a/module/testcase/css/view.zh-cn.css b/module/testcase/css/view.zh-cn.css new file mode 100644 index 0000000000..2d131540f7 --- /dev/null +++ b/module/testcase/css/view.zh-cn.css @@ -0,0 +1,2 @@ +.thWidth{width:60px !important;} +.lifeThWidth{width:60px !important;} diff --git a/module/testcase/css/view.zh-tw.css b/module/testcase/css/view.zh-tw.css new file mode 100644 index 0000000000..2d131540f7 --- /dev/null +++ b/module/testcase/css/view.zh-tw.css @@ -0,0 +1,2 @@ +.thWidth{width:60px !important;} +.lifeThWidth{width:60px !important;} diff --git a/module/todo/css/create.css b/module/todo/css/create.css index 79bfeb460a..2a9a6facd0 100644 --- a/module/todo/css/create.css +++ b/module/todo/css/create.css @@ -3,8 +3,3 @@ #end_chosen .chosen-single{border-left: none;} .cycleConfig .checkbox-primary{float:left; width:100px;} .cycleConfig .tab-pane{padding:8px 0px;} - -.thWidth{width:110px !important;} -.inputGroupWidth{width:270px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} -html[lang^='zh-'] .inputGroupWidth{width:200px !important;} diff --git a/module/todo/css/create.en.css b/module/todo/css/create.en.css new file mode 100644 index 0000000000..db36066e9e --- /dev/null +++ b/module/todo/css/create.en.css @@ -0,0 +1,2 @@ +.thWidth{width:110px !important;} +.inputGroupWidth{width:270px !important;} diff --git a/module/todo/css/create.zh-cn.css b/module/todo/css/create.zh-cn.css new file mode 100644 index 0000000000..5dbcc35dcf --- /dev/null +++ b/module/todo/css/create.zh-cn.css @@ -0,0 +1,2 @@ +.thWidth{width:80px !important;} +.inputGroupWidth{width:200px !important;} diff --git a/module/todo/css/create.zh-tw.css b/module/todo/css/create.zh-tw.css new file mode 100644 index 0000000000..5dbcc35dcf --- /dev/null +++ b/module/todo/css/create.zh-tw.css @@ -0,0 +1,2 @@ +.thWidth{width:80px !important;} +.inputGroupWidth{width:200px !important;} diff --git a/module/todo/css/view.css b/module/todo/css/view.css index 3b85559125..b978984d1f 100644 --- a/module/todo/css/view.css +++ b/module/todo/css/view.css @@ -1,5 +1,2 @@ #projectModal .modal-dialog, #productModal .modal-dialog {top: auto!important; bottom: 90px;} .body-modal #projectModal .modal-dialog, .body-modal #productModal .modal-dialog {top: auto!important; bottom: 55px;} - -.thWidth{width:100px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} diff --git a/module/todo/css/view.en.css b/module/todo/css/view.en.css new file mode 100644 index 0000000000..b0e274a3db --- /dev/null +++ b/module/todo/css/view.en.css @@ -0,0 +1 @@ +.thWidth{width:100px !important;} diff --git a/module/todo/css/view.zh-cn.css b/module/todo/css/view.zh-cn.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/todo/css/view.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/todo/css/view.zh-tw.css b/module/todo/css/view.zh-tw.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/todo/css/view.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/translate/css/choosemodule.css b/module/translate/css/choosemodule.css deleted file mode 100644 index fec930329c..0000000000 --- a/module/translate/css/choosemodule.css +++ /dev/null @@ -1,2 +0,0 @@ -.thWidth{width:150px !important;} -html[lang^='zh-'] .thWidth{width:110px !important;} diff --git a/module/translate/css/choosemodule.en.css b/module/translate/css/choosemodule.en.css new file mode 100644 index 0000000000..6ea5450c92 --- /dev/null +++ b/module/translate/css/choosemodule.en.css @@ -0,0 +1 @@ +.thWidth{width:150px !important;} diff --git a/module/translate/css/choosemodule.zh-cn.css b/module/translate/css/choosemodule.zh-cn.css new file mode 100644 index 0000000000..b3e7551ab2 --- /dev/null +++ b/module/translate/css/choosemodule.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:110px !important;} diff --git a/module/translate/css/choosemodule.zh-tw.css b/module/translate/css/choosemodule.zh-tw.css new file mode 100644 index 0000000000..b3e7551ab2 --- /dev/null +++ b/module/translate/css/choosemodule.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:110px !important;} diff --git a/module/translate/css/index.css b/module/translate/css/index.css index 4724f3d925..36d02bab5f 100644 --- a/module/translate/css/index.css +++ b/module/translate/css/index.css @@ -14,6 +14,3 @@ #finishedLangs .item{height:30px;} #finishedLangs .item h4{margin:0; height:100%; line-height:30px;} #finishedLangs .item .pull-right{color:#999; line-height:30px;} - -.thWidth{width:130px !important;} -html[lang^='zh-'] .thWidth{width:95px !important;} diff --git a/module/translate/css/index.en.css b/module/translate/css/index.en.css new file mode 100644 index 0000000000..82442a3745 --- /dev/null +++ b/module/translate/css/index.en.css @@ -0,0 +1 @@ +.thWidth{width:130px !important;} diff --git a/module/translate/css/index.zh-cn.css b/module/translate/css/index.zh-cn.css new file mode 100644 index 0000000000..d6f932be53 --- /dev/null +++ b/module/translate/css/index.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:95px !important;} diff --git a/module/translate/css/index.zh-tw.css b/module/translate/css/index.zh-tw.css new file mode 100644 index 0000000000..d6f932be53 --- /dev/null +++ b/module/translate/css/index.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:95px !important;} diff --git a/module/tree/css/edit.css b/module/tree/css/edit.css index 5fffac811f..0037a851da 100644 --- a/module/tree/css/edit.css +++ b/module/tree/css/edit.css @@ -1,4 +1 @@ body{background:white; overflow:none} - -.thWidth{width:120px !important;} -html[lang^='zh-'] .thWidth{width:80px !important;} diff --git a/module/tree/css/edit.en.css b/module/tree/css/edit.en.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/tree/css/edit.en.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/tree/css/edit.zh-cn.css b/module/tree/css/edit.zh-cn.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/tree/css/edit.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/tree/css/edit.zh-tw.css b/module/tree/css/edit.zh-tw.css new file mode 100644 index 0000000000..585844a6f4 --- /dev/null +++ b/module/tree/css/edit.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:80px !important;} diff --git a/module/user/css/batchcreate.css b/module/user/css/batchcreate.css index 54a34a9262..a00d948957 100644 --- a/module/user/css/batchcreate.css +++ b/module/user/css/batchcreate.css @@ -1,6 +1 @@ th.required:after {position: relative; right: 10px;} - -.accountThWidth{width:200px !important;} -.genderThWidth{width:140px !important;} -html[lang^='zh-'] .accountThWidth{width:180px !important;} -html[lang^='zh-'] .genderThWidth{width:90px !important;} diff --git a/module/user/css/batchcreate.en.css b/module/user/css/batchcreate.en.css new file mode 100644 index 0000000000..a3d9df2c27 --- /dev/null +++ b/module/user/css/batchcreate.en.css @@ -0,0 +1,2 @@ +.accountThWidth{width:200px !important;} +.genderThWidth{width:140px !important;} diff --git a/module/user/css/batchcreate.zh-cn.css b/module/user/css/batchcreate.zh-cn.css new file mode 100644 index 0000000000..fa09b2cae3 --- /dev/null +++ b/module/user/css/batchcreate.zh-cn.css @@ -0,0 +1,2 @@ +.accountThWidth{width:180px !important;} +.genderThWidth{width:90px !important;} diff --git a/module/user/css/batchcreate.zh-tw.css b/module/user/css/batchcreate.zh-tw.css new file mode 100644 index 0000000000..fa09b2cae3 --- /dev/null +++ b/module/user/css/batchcreate.zh-tw.css @@ -0,0 +1,2 @@ +.accountThWidth{width:180px !important;} +.genderThWidth{width:90px !important;} diff --git a/module/webhook/css/create.css b/module/webhook/css/create.css index 7d7140893c..3cc7643665 100644 --- a/module/webhook/css/create.css +++ b/module/webhook/css/create.css @@ -3,6 +3,3 @@ .objectType {margin-right: 5px !important;} #paramsTR th{padding-left:25px;} #paramsTR th label{font-weight:bold; padding-left:25px;} - -.thWidth{width:120px !important;} -html[lang^='zh-'] .thWidth{width:90px !important;} diff --git a/module/webhook/css/create.en.css b/module/webhook/css/create.en.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/webhook/css/create.en.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/webhook/css/create.zh-cn.css b/module/webhook/css/create.zh-cn.css new file mode 100644 index 0000000000..6e60376bc6 --- /dev/null +++ b/module/webhook/css/create.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:90px !important;} diff --git a/module/webhook/css/create.zh-tw.css b/module/webhook/css/create.zh-tw.css new file mode 100644 index 0000000000..6e60376bc6 --- /dev/null +++ b/module/webhook/css/create.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:90px !important;} diff --git a/module/webhook/css/edit.css b/module/webhook/css/edit.css index 7d7140893c..3cc7643665 100644 --- a/module/webhook/css/edit.css +++ b/module/webhook/css/edit.css @@ -3,6 +3,3 @@ .objectType {margin-right: 5px !important;} #paramsTR th{padding-left:25px;} #paramsTR th label{font-weight:bold; padding-left:25px;} - -.thWidth{width:120px !important;} -html[lang^='zh-'] .thWidth{width:90px !important;} diff --git a/module/webhook/css/edit.en.css b/module/webhook/css/edit.en.css new file mode 100644 index 0000000000..62f3e6f10c --- /dev/null +++ b/module/webhook/css/edit.en.css @@ -0,0 +1 @@ +.thWidth{width:120px !important;} diff --git a/module/webhook/css/edit.zh-cn.css b/module/webhook/css/edit.zh-cn.css new file mode 100644 index 0000000000..6e60376bc6 --- /dev/null +++ b/module/webhook/css/edit.zh-cn.css @@ -0,0 +1 @@ +.thWidth{width:90px !important;} diff --git a/module/webhook/css/edit.zh-tw.css b/module/webhook/css/edit.zh-tw.css new file mode 100644 index 0000000000..6e60376bc6 --- /dev/null +++ b/module/webhook/css/edit.zh-tw.css @@ -0,0 +1 @@ +.thWidth{width:90px !important;}