On 22/04/2019 12:45, Martin Frb via lazarus wrote:
And the background on bug-notes is far to dark now.
For anyone who is interested, here is my latest greasemonkey (tested on
firefox)
And screenshots:
https://i.imgur.com/PjGYpEb.png
https://i.imgur.com/Ffkuxq1.png
https://i.imgur.com/xakd2ag.png
https://i.imgur.com/uopHcxW.png
// ==UserScript==
// @name mantis
// @version 1
// @grant none
// @include https://bugs.freepascal.org/*
// @include http://bugs.freepascal.org/*
// @require
https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// ==/UserScript==
$(".fa-status-box").each(function() {
var $this = $(this);
var col = $this.css('color');
$this.closest("td").css("background-color", col);
});
function GM_addStyle (cssStr) {
var D = document;
var newNode = D.createElement ('style');
newNode.textContent = cssStr;
var targ = D.getElementsByTagName ('head')[0] || D.body ||
D.documentElement;
targ.appendChild (newNode);
}
GM_addStyle (`
.my-buglist-id, .column-status, .bug-status {
position: relative !important;
z-index: 0 !important;
}
.table-striped>tbody>tr:nth-of-type(odd) {
background-color:#f9f9f9 !important;
}
.table-striped>tbody>tr:nth-of-type(even) {
background-color:#fff !important;
}
.my-buglist-id .fa-status-box, .column-status .fa-status-box,
.bug-status .fa-status-box {
display: none !important;
}
th.category, td.category {
background-color: #e8e8e8 !important;
}
td.bugnote-note {
background-color: #f9f9f9 !important;
}
`);
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus