redmine_tweaks

better style for redmine

目前為 2017-11-01 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name redmine_tweaks
  3. // @namespace *dev.tuwien.ac.at/redmine*
  4. // @include *dev.tuwien.ac.at/redmine*
  5. // @version 0.3
  6. // @description better style for redmine
  7. // @author lual
  8. // @grant GM_addStyle
  9. // @grant GM_getResourceURL
  10. // ==/UserScript==
  11. // changes: 2011-03-17 initial
  12. // 2017-11-01 publish on greasyfork
  13. /////////////////////////////////////////////////////////////////////////////////////////////////////////
  14. //schoen farbig wird der code mit <pre><code class="ruby">der code</code></pre>
  15. // aber die zeilennummer sind stoerend....
  16. GM_addStyle(".syntaxhl .line-numbers {visibility: hidden;}");
  17. //private tasks in der uebersicht als solche markieren...
  18. 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;}");