Changes for page Show Hide Macro

Last modified by jklein on 2025/06/02 14:04

From version 9.13
edited by jklein
on 2025/06/02 10:02
Change comment: There is no comment for this version
To version 9.12
edited by jklein
on 2025/06/02 10:00
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -33,13 +33,11 @@
33 33   background-color: #fff;
34 34  }
35 35  
36 -.showhide-icon {
37 - color: #0645ad; /* typisches Link-Blau */
38 - text-decoration: underline;
39 - cursor: pointer;
36 +.showhide-header:hover {
37 + background-color: #f0f0f0;
38 + cursor: default;
40 40  }
41 41  
42 -.showhide-header:hover .showhide-icon {
41 +.showhidebutton a:hover {
43 43   text-decoration: underline;
44 - color: #0b0080; /* dunkler beim Hover */
45 45  }
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -29,7 +29,7 @@
29 29   data-hide-message="$hidemessage">
30 30   <div class="showhide-header-flex">
31 31   <div class="showhide-title">$title</div>
32 - <div class="showhide-icon">► $showmessage</div>
32 + <div class="showhide-icon"><a>► $showmessage</a></div>
33 33   </div>
34 34  </div>
35 35  {{/html}}
© Aagon GmbH 2025
Besuchen Sie unsere Aagon-Community