[Lazarus] Website/Mantis back online (colors)

Martin Frb lazarus at mfriebe.de
Sun Apr 21 23:29:14 CEST 2019


> On Sun, Apr 21, 2019 at 12:42 AM Martin Frb via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>
>> I can (if needs must) get used to the look. Maybe this would help?
>> https://github.com/mantisbt-plugins/MantisBT-Colorized
> Yes, I miss the colors.
>

Until we have something better, a very crude greasemonkey script (tested 
with firefox)

// ==UserScript==
// @name     mantis
// @version  1
// @grant    none
// @include https://bugs.freepascal.org/*
// @include http://bugs.freepascal.org/*
// ==/UserScript==


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;
}
`);
GM_addStyle (`
.fa-status-box {
   width: 100% !important;
   height: 100% !important;
   position: absolute !important;
   top:  0px !important;
   left: 0px !important;
   z-index: -1 !important;
   font-size: 15em !important;
   overflow: hidden !important;
}
`);



More information about the lazarus mailing list