[Koha-devel] stylus on bugzilla

Fridolin SOMERS fridolin.somers at biblibre.com
Sat Nov 20 03:31:50 CET 2021


Hi,

I'd like to share a trick very useful for our bugzilla.

When backporting, bug dependencies are very important.
You see that when there is no dependency there is an input field and 
there are hyperlinks for dependencies.

So I had the idea of adding CSS via Stylus FF plugin :
https://addons.mozilla.org/en/firefox/addon/styl-us/

Here is the rule :
====
#field_label_dependson + td > a.bz_bug_link::after {
     content: '⚠️';
}
====

It adds a warning emoji next to link.
When there is no dependency there is no warning.

I have also some other cosmetic rules :
====
body, td, th, input, select, dt, #titles {
     font-size: 16px;
}
.bz_comment_text {
     width: 100em;
}
.bz_time_tracking_table {
     display: none;
}
====

Best regards,

-- 
Fridolin SOMERS <fridolin.somers at biblibre.com>
Software and system maintainer 🦄
BibLibre, France


More information about the Koha-devel mailing list