Changes for page Solr Search

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

From 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]
To 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]

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -291,22 +291,11 @@
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;
294 294  }
295 295  
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 -
310 310  .search-facet:last-of-type .search-facet-header:after {
311 311   border: medium none;
312 312  }
... ... @@ -335,13 +335,9 @@
335 335  
336 336  .search-facet .search-facet-header .facet-toggler, button.facet-value-toggler {
337 337   background: transparent;
338 - float: right;
327 + transition: background-color .2s ease-in-out;
339 339  }
340 340  
341 -button.facet-value-toggler:not(:active) {
342 - color: $theme.btn-primary-color;
343 -}
344 -
345 345  .search-facet .search-facet-header .facet-toggler:active, button.facet-value-toggler:active {
346 346   box-shadow: unset;
347 347  }
... ... @@ -392,7 +392,18 @@
392 392   white-space: nowrap;
393 393  }
394 394  
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 +
395 395  .search-facet-body .itemName,
391 +.search-facet-body .facet-value-toggler,
396 396  .search-facet-body .more {
397 397   /* Remove link styling */
398 398   color: $theme.textColor;