Changes for page Menu Macro

Last modified by Leon Poon on 2024/03/23 04:30

From version 2.1
edited by Leon Poon
on 2020/01/05 05:51
Change comment: Migrated property [contentJavaType] from class [XWiki.WikiMacroClass]
To version 4.1
edited by Leon Poon
on 2022/03/09 14:33
Change comment: Migrated property [priority] from class [XWiki.WikiMacroClass]

Summary

Details

XWiki.StyleSheetExtension[1]
Code
... ... @@ -307,6 +307,33 @@
307 307   padding-left: 15px;
308 308   & .icon-bar {
309 309   background-color: @navbar-default-link-color;
310 + transition: .3s ease all;
311 + &:nth-of-type(2) {
312 + opacity: 0;
313 + }
314 + &:nth-of-type(3) {
315 + transform: rotate(45deg);
316 + }
317 + &:nth-of-type(4) {
318 + transform: rotate(-45deg);
319 + margin-top: -2px;
320 + margin-bottom: 6px;
321 + }
310 310   }
323 + &.collapsed {
324 + .icon-bar {
325 + &:nth-of-type(2) {
326 + opacity: 1;
327 + }
328 + &:nth-of-type(3) {
329 + transform: rotate(0);
330 + }
331 + &:nth-of-type(4) {
332 + transform: rotate(0);
333 + margin-top: 4px;
334 + margin-bottom: 0;
335 + }
336 + }
337 + }
311 311   }
312 312  }
XWiki.WikiMacroClass[0]
Cached
... ... @@ -1,0 +1,1 @@
1 +No
Asynchronous rendering
... ... @@ -1,0 +1,1 @@
1 +No