Änderungen von Dokument NavigationConfigurationSheet
Zuletzt geändert von Daniel Herrmann am 2025/07/19 16:57
Von Version 1.1
bearbeitet von admin
am 2025/02/23 10:22
am 2025/02/23 10:22
Änderungskommentar:
Install extension [org.xwiki.platform:xwiki-platform-panels-ui/17.0.0]
Auf Version
2.1
bearbeitet von Daniel Herrmann
am 2025/06/22 18:47
am 2025/06/22 18:47
Änderungskommentar:
Install extension [org.xwiki.platform:xwiki-platform-panels-ui/17.4.0]
Zusammenfassung
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.dherrman
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -295,7 +295,7 @@ 295 295 const nodeTemplate = navigationTree?._data?.core?.node; 296 296 if (!nodeTemplate) { 297 297 // The tree node template hasn't been initialized yet. 298 - $navigationTree.on('loading', function(event, data) { 298 + $navigationTree.on('loading.jstree', function(event, data) { 299 299 navigationTree = data.instance; 300 300 modifyNodeTemplate(navigationTree._data.core.node); 301 301 });
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -176,10 +176,26 @@ 176 176 .navigationPanelConfiguration .jstree-active + .jstree-actions .jstree-action-pin { 177 177 display: inline-block; 178 178 } 179 + 180 +// When a node is pinned but not in focus anymore, the pin is still shown, and we make sure an alternative text is still 181 +// available for assistive technologies. 182 +.navigationPanelConfiguration [data-pinned=true]:not(.jstree-clicked):not(.jstree-active) + .jstree-actions 183 +.jstree-action-pin-off { 184 + display: inline; 185 + position: absolute; 186 + width: 1px; 187 + height: 1px; 188 + padding: 0; 189 + margin: -1px; 190 + overflow: hidden; 191 + border: 0; 192 +} 193 + 179 179 .navigationPanelConfiguration .jstree-action-pin-on, 180 180 .navigationPanelConfiguration .jstree-action-pin-off { 181 181 display: none; 182 182 } 198 + 183 183 .navigationPanelConfiguration .jstree-active[data-pinned=true] + .jstree-actions .jstree-action-pin-off, 184 184 .navigationPanelConfiguration .jstree-clicked[data-pinned=true] + .jstree-actions .jstree-action-pin-off, 185 185 .navigationPanelConfiguration .jstree-active:not([data-pinned=true]) + .jstree-actions .jstree-action-pin-on,