DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:navi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:navi [2024-01-24 10:10] – Fix for bootstrap3 layout for main page and sidebar johngplugin:navi [2024-01-25 09:05] (current) – old revision restored (2023-04-27 22:25) - submit a pull request for changes andi
Line 81: Line 81:
   {{navi>navigationmenu?ns&js}}   {{navi>navigationmenu?ns&js}}
  
-===== Bootstrap3 fixes ===== 
  
-I use this great plugin with the [[https://www.dokuwiki.org/template:bootstrap3|bootstrap3 template]]. The included ''style.less'' provides some additional general layout plus a bootstrap3 fix. The latter however doesn't work (well enough) on my site, so I fixed it. 
- 
-__Doesn't work __ 
- 
-<code css> 
-aside#dokuwiki__aside .dw-sidebar-content .plugin__navi ul li.close { 
-    opacity: unset; 
-    font-size: unset; 
-    font-weight: unset; 
-} 
-</code> 
- 
-__Works__ 
- 
-<code css> 
-div.plugin__navi li.close { 
-    float: unset; 
-    font-size: unset; 
-    font-weight: unset; 
-    line-height: unset; 
-    color: unset; 
-    text-shadow: unset; 
-    filter: unset; 
-    opacity: unset; 
-} 
-</code> 
- 
-The latter rules completely overwrite the rules from bootstrap.min.css. These work inside the ''div.dw-content'' container inside the main page and in the sidebar. This makes sense because you need a [[#control_page_example|control page]] and a page from which you call this control page, both of which you probably edit and test using the normal DokuWiki editor. \\  
- --- [[user>johng|johng]] //2024-01-24 10:06// 
plugin/navi.1706087412.txt.gz · Last modified: 2024-01-24 10:10 by johng

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki