I added in 'config_inc.php' this line:
$g_css_include_file = 'css/mojecss.css';
and created appropriate file ('mojecss.css'') inside that folder.
This part works. In order to reformat bugnote description field, I added to css this (to test the idea):
.mojedesc {
background:#FFFFC0 !important;
padding: 2ex !important;
}
and in 'bug_view_inc.php' file
I changed appropriately this line:
echo '<td class="mojedesc" colspan="5">', string_display_links( $t_issue['description'] ), '</td>';
*
Questions:
1.
I changed css tag in 'bug_view_inc.php' file, because I don't know whether it's used only there, or elsewhere as well.
Is there somewhere a list of css tags in use, and where they are assigned?
2.
More important:
I can't find, which css tag in which file - is responsible for comments/bugnotes (custom replies under 'Activities' section for each bug).
Default mantis theme (I use recent version, just istalled, 2.24.3 I guess) is not great readable in some aspects.
3.
General question.
I'm guessing, that in css syntax, '!important' means, to override default formatting assigned in other files.
Is there somewhere an user-friendly list of css tags used in mantis, and with what they are associated?
custom background colors per field (css)
Moderators: Developer, Contributor
-
- Posts: 10
- Joined: 06 Oct 2020, 09:01
custom background colors per field (css)
Mantisbt 2.24.3
-
- Posts: 10
- Joined: 06 Oct 2020, 09:01
Re: custom background colors per field (css)
Mantisbt 2.24.3