Render open-location syntax as link
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:
20
style.css
20
style.css
@@ -21,13 +21,25 @@ div.luxtools-plugin table thead tr.luxtools-openlocation-row:hover td {
|
||||
/* 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.luxtools-plugin a.media.mediafile.mf_folder,
|
||||
div.luxtools-plugin a.mediafile.mf_folder {
|
||||
background-image: url(../../images/fileicons/svg/folder.svg) !important;
|
||||
background-image: url(images/folder.svg) !important;
|
||||
}
|
||||
|
||||
/* DokuWiki templates often style .media links with higher specificity.
|
||||
* Ensure our custom color always wins.
|
||||
*/
|
||||
div.luxtools-plugin a.luxtools-open,
|
||||
div.luxtools-plugin a.luxtools-open:visited,
|
||||
a.luxtools-open,
|
||||
a.luxtools-open:visited {
|
||||
color: #b57d35 !important;
|
||||
}
|
||||
|
||||
/* Standalone {{open>...}} links are not wrapped in div.luxtools-plugin. */
|
||||
a.luxtools-open.media.mediafile.mf_folder {
|
||||
background-image: url(images/open-folder.svg) !important;
|
||||
}
|
||||
|
||||
/* Muted empty-state message when a listing has no results. */
|
||||
|
||||
Reference in New Issue
Block a user