redmine_tweaks

better style for redmine

目前为 2020-10-16 提交的版本。查看 最新版本

// ==UserScript==
// @name           redmine_tweaks
// @namespace      https://gf.qytechs.cn/de/users/157797-lual
// @include        *redmine.tiss.tuwien.ac.at/*
// @version        0.7
// @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
//                 2020-09-29 kommentare optisch besser voneinander abtrennen
//                 2020-10-16 update auf redmine 4.1.1
/////////////////////////////////////////////////////////////////////////////////////////////////////////
//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("div.journal.private-notes .wiki: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; color: #FFFFFF;  font-size: 60%;    font-weight: bold;    margin-right: 2px;   padding-bottom: 0px;    padding-left: 2px;    padding-right: 2px;    padding-top: 2px;    position: relative;    text-transform: uppercase;}");

//kommentare optisch besser voneinander abtrennen...
GM_addStyle(".journal.has-notes { padding-top: 10px; border-top-width: 2px;border-top-color: ##3d454c; border-top-style: solid;}");
GM_addStyle("#history { border-bottom-width: 2px;border-bottom-style: solid; border-bottom-color: ##3d454c;}");

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址