0 Votes

Changes for page Solr Search

Last modified by Сергей Коршунов on 2025/01/12 00:53

From version 6.1
edited by Сергей Коршунов
on 2024/05/02 13:36
Change comment: Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/16.3.0]
To version 3.1
edited by Сергей Коршунов
on 2023/10/28 16:30
Change comment: Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/15.8]

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -222,7 +222,7 @@
222 222   box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
223 223   /* Leave space for the bottom shadow. */
224 224   margin-bottom: 1em;
225 - border-radius: 7px;
225 + border-radius: 4px;
226 226  }
227 227  /* Colibri skin doesn't have the grid system. */
228 228  .skin-colibri .search-facets {
... ... @@ -291,9 +291,6 @@
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  
299 299  .search-facet-header:after {
... ... @@ -303,9 +303,10 @@
303 303   content: "";
304 304   display: block;
305 305   height: 0;
303 + margin: 2.45em 0 0;
306 306   position: absolute;
307 307   right: 0;
308 - bottom: 0;
306 + top: 0;
309 309   width: 100%;
310 310  }
311 311  
... ... @@ -337,9 +337,13 @@
337 337  
338 338  .search-facet .search-facet-header .facet-toggler, button.facet-value-toggler {
339 339   background: transparent;
340 - transition: background-color .2s ease-in-out;
338 + float: right;
341 341  }
342 342  
341 +button.facet-value-toggler:not(:active) {
342 + color: $theme.btn-primary-color;
343 +}
344 +
343 343  .search-facet .search-facet-header .facet-toggler:active, button.facet-value-toggler:active {
344 344   box-shadow: unset;
345 345  }
... ... @@ -390,18 +390,7 @@
390 390   white-space: nowrap;
391 391  }
392 392  
393 -/* Override the default style for links in content. */
394 -body.content.preference-underlining-only-inline-links #xwikicontent .search-facet-body .itemName,
395 -body.content.preference-underlining-only-inline-links #xwikicontent .search-facet-body .more {
396 - text-decoration: none;
397 - /* Make sure we don't take over the default behaviour on hover with too much specificity. */
398 - &:hover, &:focus {
399 - text-decoration: underline;
400 - }
401 -}
402 -
403 403  .search-facet-body .itemName,
404 -.search-facet-body .facet-value-toggler,
405 405  .search-facet-body .more {
406 406   /* Remove link styling */
407 407   color: $theme.textColor;