Changes for page Menu Macro
Last modified by Martin Výlet on 19.10.2024 11:15
From version 6.1
edited by Martin Výlet
on 18.06.2024 09:11
on 18.06.2024 09:11
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-menu-ui/15.10.10]
To version 4.1
edited by Administrator
on 21.07.2023 12:44
on 21.07.2023 12:44
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-menu-ui/15.5]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. vyl00221 +XWiki.xwikiadm
- XWiki.StyleSheetExtension[1]
-
- Code
-
... ... @@ -200,17 +200,10 @@ 200 200 } 201 201 } 202 202 /* When in dropdown we also have a link, reset the duplicated padding */ 203 - & > .xDropdown-header >span > a {203 + & > span > a { 204 204 padding: 0; 205 205 display: inherit; 206 206 } 207 - /* Reposition the toggle when in a dropdown of fixed size 208 - to avoid eating away at the bit of space we have for the text. */ 209 - & > .xDropdown-header > .xDropdown-header-toggle { 210 - position: absolute; 211 - right: 0; 212 - top: 0; 213 - } 214 214 } 215 215 /* Separator horizontal inside menu */ 216 216 &:empty {
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -22,11 +22,8 @@ 22 22 aria-label="${services.rendering.escape($label, 'xwiki/2.1')}" %)((( 23 23 (% class="navbar-header" %)((( 24 24 {{html}} 25 - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#$!{escapetool.xml($id)}" 26 - aria-expanded="false" aria-controls="$!{escapetool.xml($id)}"> 27 - <span class="sr-only"> 28 - $escapetool.xml($services.localization.render('menu.ui.horizontal.toggler.description')) 29 - </span> 25 + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#$!{escapetool.xml($id)}" aria-expanded="false"> 26 + <span class="sr-only"></span> 30 30 <span class="icon-bar"></span> 31 31 <span class="icon-bar"></span> 32 32 <span class="icon-bar"></span>