Files
luxtools-plugin/style.css
luxick 2e1e5feba9
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
Improve folder icon display
2026-01-06 13:17:17 +01:00

32 lines
1.1 KiB
CSS

/* LuxTools plugin styles
* Keep this minimal and scoped to the plugin container.
*/
/* DokuWiki often highlights rows on hover. Avoid highlighting header rows. */
div.filetools-plugin table thead tr:hover > * {
background-color: @ini_background_alt !important;
}
/* "Open Location" row above the header should be visually smaller. */
div.filetools-plugin table thead tr.luxtools-openlocation-row td {
font-size: 80%;
padding-top: 0.2em;
padding-bottom: 0.2em;
}
div.filetools-plugin table thead tr.luxtools-openlocation-row:hover td {
background-color: @ini_background !important;
}
/* Ensure directories use a dedicated folder icon.
* DokuWiki's icon CSS is generated primarily for file extensions; a custom
* mf_folder class may otherwise fall back to the generic file icon.
*
* The relative URL is resolved against the plugin directory by DokuWiki's CSS
* aggregator, resulting in lib/images/fileicons/svg/folder.svg.
*/
div.filetools-plugin a.media.mediafile.mf_folder,
div.filetools-plugin a.mediafile.mf_folder {
background-image: url(../../images/fileicons/svg/folder.svg) !important;
}