Improve folder icon display
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
This commit is contained in:
12
style.css
12
style.css
@@ -17,3 +17,15 @@ div.filetools-plugin table thead tr.luxtools-openlocation-row td {
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user