Changes for page Solr Search
Last modified by Сергей Коршунов on 2025/01/12 00:53
From version 4.1
edited by Сергей Коршунов
on 2023/11/01 10:37
on 2023/11/01 10:37
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/15.9]
To version 6.1
edited by Сергей Коршунов
on 2024/05/02 13:36
on 2024/05/02 13:36
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/16.3.0]
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -291,6 +291,9 @@ 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 296 .search-facet-header:after { ... ... @@ -300,10 +300,9 @@ 300 300 content: ""; 301 301 display: block; 302 302 height: 0; 303 - margin: 2.45em 0 0; 304 304 position: absolute; 305 305 right: 0; 306 - to p: 0;308 + bottom: 0; 307 307 width: 100%; 308 308 } 309 309 ... ... @@ -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;340 + 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 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 + 395 395 .search-facet-body .itemName, 404 +.search-facet-body .facet-value-toggler, 396 396 .search-facet-body .more { 397 397 /* Remove link styling */ 398 398 color: $theme.textColor;