[Lazarus] Website/Mantis back online (colors)
Michael Van Canneyt
michael at freepascal.org
Mon Apr 22 12:41:59 CEST 2019
I added another solution suggested by florian,
https://www.ryadel.com/en/mantis-bt-2-enable-row-level-coloring-like-v1-jquery-javascript/
Michael.
On Sun, 21 Apr 2019, Martin Frb via lazarus wrote:
>> 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;
>> }
>> `);
>>
>> --
>> _______________________________________________
>> lazarus mailing list
>> lazarus at lists.lazarus-ide.org
>> https://lists.lazarus-ide.org/listinfo/lazarus
>>
More information about the lazarus
mailing list