Changes for page Administration

Last modified by Thomas Coelho (local) on 2024/12/17 09:49

From version 5.1
edited by Thomas Coelho (local)
on 2024/05/16 11:01
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/16.3.1]
To version 4.1
edited by Thomas Coelho (local)
on 2023/11/03 15:25
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/15.9]

Summary

Details

Page properties
Content
... ... @@ -266,12 +266,9 @@
266 266   #sortCollectionOfMapsByField($item.children, 'order', 99999, 'asc', $children)
267 267   <div class="panel panel-default">
268 268   <a class="panel-heading#if (!$isActive) collapsed#end" id="panel-heading-$escapedId"
269 - href="$!item.url" data-toggle="collapse"#if ("$!options.id" != '') data-parent="#$options.id" #end
270 - data-target="#panel-body-$escapedId" aria-expanded="$isActive" aria-controls="panel-body-$escapedId"
271 - title="$!escapetool.xml($item.description)">
272 - <span>$!services.icon.renderHTML($item.icon)$escapetool.xml($name)</span>
273 - <div>$services.icon.renderHTML('caret-down')</div>
274 - </a>
269 + href="$!item.url" data-toggle="collapse"#if ("$!options.id" != '') data-parent="#$options.id" #end
270 + data-target="#panel-body-$escapedId" aria-expanded="$isActive" aria-controls="panel-body-$escapedId"
271 + title="$!escapetool.xml($item.description)">$!services.icon.renderHTML($item.icon)$escapetool.xml($name)</a>
275 275   <section class="panel-collapse collapse#if ($isActive) in#end" id="panel-body-$escapedId"
276 276   aria-labelledby="panel-heading-$escapedId">
277 277   <div class="list-group">
XWiki.StyleSheetExtension[0]
Code
... ... @@ -15,7 +15,7 @@
15 15  
16 16  #admin-page-content label > input[type="checkbox"],
17 17  #admin-page-content label > input[type="radio"] {
18 - vertical-align: middle;
18 + vertical-align: bottom;
19 19  }
20 20  
21 21  /**
... ... @@ -57,7 +57,7 @@
57 57  /* Override general table styles. */
58 58  /* TODO: Move to livetable.css */
59 59  
60 -#usersandgroupstable td, #alldocstable td {
60 +#userstable td, #groupstable td, #usersandgroupstable td, #alldocstable td {
61 61   border-color: transparent;
62 62  }
63 63  
... ... @@ -94,28 +94,13 @@
94 94  }
95 95  
96 96  .admin-menu a.panel-heading {
97 - display: flex;
97 + display: block;
98 98   font-size: 100%;
99 99  }
100 -
101 -.admin-menu a.panel-heading span {
102 - flex-grow: 1;
103 -}
104 -
105 105  .admin-menu a.panel-heading:not(.collapsed) {
106 106   background-color: $theme.menuBackgroundColor;
107 107   color: $theme.menuLinkColor;
108 108  }
109 -
110 -/* Rotate the carret on collapse. */
111 -.admin-menu a.panel-heading.collapsed > *:last-child {
112 - transform: rotate(90deg);
113 -}
114 -
115 -.admin-menu a.panel-heading > *:last-child {
116 - transition: transform 200ms ease-in-out;
117 -}
118 -
119 119  .admin-menu a.panel-heading:active,
120 120  .admin-menu a.panel-heading:focus,
121 121  .admin-menu a.panel-heading:hover {
... ... @@ -122,7 +122,7 @@
122 122   text-decoration: none;
123 123  }
124 124  
125 -.admin-menu .panel-heading > span > *:first-child {
110 +.admin-menu .panel-heading > *:first-child {
126 126   margin-right: .8em;
127 127  }
128 128