redmine_tweaks

better style for redmine

当前为 2017-11-03 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name           redmine_tweaks
// @namespace      https://greasyfork.org/de/users/157797-lual
// @include        *dev.tiss.tuwien.ac.at/redmine*
// @version        0.5
// @description	   better style for redmine
// @author         lual
// @grant GM_addStyle
// @grant GM_getResourceURL
// ==/UserScript==
// changes:        2011-03-17 initial
//                 2017-11-01 publish on greasyfork
/////////////////////////////////////////////////////////////////////////////////////////////////////////
//schoen farbig wird der code mit <pre><code class="ruby">der code</code></pre>
//  aber die zeilennummer sind stoerend....
GM_addStyle(".syntaxhl .line-numbers {visibility: hidden;}");
//private tasks in der uebersicht als solche markieren...
GM_addStyle(".private>td.subject>a:before {content: 'PRIVAT';    background-clip: border-box;    background-color: #DD2222;    background-image: none;    background-origin: padding-box;    background-position: 0 0;    background-repeat: repeat;    background-size: auto auto;    border-bottom-left-radius: 2px;    border-bottom-right-radius: 2px;    border-top-left-radius: 2px;    border-top-right-radius: 2px;    bottom: 2px;    color: #FFFFFF;    font-size: 60%;    font-weight: bold;    margin-right: 2px;   padding-bottom: 0;    padding-left: 2px;    padding-right: 2px;    padding-top: 0;    position: relative;    text-transform: uppercase;}");