Changes for page Solr Search

Last modified by Frank Fock on 2025/04/04 21:13

From version 3.1
edited by Frank Fock
on 2025/04/04 21:13
Change comment: Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/16.10.4]
To version 1.1
edited by Frank Fock
on 2024/02/07 14:48
Change comment: Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/15.10.5]

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -291,11 +291,22 @@
291 291   cursor: pointer;
292 292   line-height: 1.4em;
293 293   margin: 0 .2em;
294 - display: flex;
295 - justify-content: space-between;
296 - position: relative;
297 297  }
298 298  
296 +.search-facet-header:after {
297 + border-bottom: 1px dotted $theme.pageContentBackgroundColor;
298 + border-top: 1px dotted $theme.borderColor;
299 + clear: both;
300 + content: "";
301 + display: block;
302 + height: 0;
303 + margin: 2.45em 0 0;
304 + position: absolute;
305 + right: 0;
306 + top: 0;
307 + width: 100%;
308 +}
309 +
299 299  .search-facet:last-of-type .search-facet-header:after {
300 300   border: medium none;
301 301  }
... ... @@ -324,9 +324,13 @@
324 324  
325 325  .search-facet .search-facet-header .facet-toggler, button.facet-value-toggler {
326 326   background: transparent;
327 - transition: background-color .2s ease-in-out;
338 + float: right;
328 328  }
329 329  
341 +button.facet-value-toggler:not(:active) {
342 + color: $theme.btn-primary-color;
343 +}
344 +
330 330  .search-facet .search-facet-header .facet-toggler:active, button.facet-value-toggler:active {
331 331   box-shadow: unset;
332 332  }
... ... @@ -377,18 +377,7 @@
377 377   white-space: nowrap;
378 378  }
379 379  
380 -/* Override the default style for links in content. */
381 -body.content.preference-underlining-only-inline-links #xwikicontent .search-facet-body .itemName,
382 -body.content.preference-underlining-only-inline-links #xwikicontent .search-facet-body .more {
383 - text-decoration: none;
384 - /* Make sure we don't take over the default behaviour on hover with too much specificity. */
385 - &:hover, &:focus {
386 - text-decoration: underline;
387 - }
388 -}
389 -
390 390  .search-facet-body .itemName,
391 -.search-facet-body .facet-value-toggler,
392 392  .search-facet-body .more {
393 393   /* Remove link styling */
394 394   color: $theme.textColor;