Skip to content

Commit

Permalink
Fix Search filter toggle buttons UI (#2408)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hetarth02 authored Jan 22, 2024
1 parent bbd7853 commit 516cb5f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Unreleased
## Unreleased

### Changed

* The search in the HTML output now prioritizes prefix matches. ([#2203], [#2375])

### Fixed

* Fix search filter toggle button styling in the HTML output. ([#2406], [#2408])

## Version [v1.2.1] - 2023-12-02

### Fixed
Expand Down Expand Up @@ -1772,7 +1776,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#2348]: https://github.com/JuliaDocs/Documenter.jl/issues/2348
[#2364]: https://github.com/JuliaDocs/Documenter.jl/issues/2364
[#2365]: https://github.com/JuliaDocs/Documenter.jl/issues/2365
<<<<<<< HEAD
[#2406]: https://github.com/JuliaDocs/Documenter.jl/issues/2406
[#2408]: https://github.com/JuliaDocs/Documenter.jl/issues/2408
=======
[#2375]: https://github.com/JuliaDocs/Documenter.jl/issues/2375
>>>>>>> origin/master
[JuliaLang/julia#36953]: https://github.com/JuliaLang/julia/issues/36953
[JuliaLang/julia#38054]: https://github.com/JuliaLang/julia/issues/38054
[JuliaLang/julia#39841]: https://github.com/JuliaLang/julia/issues/39841
Expand Down
27 changes: 8 additions & 19 deletions assets/html/scss/documenter-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,52 +132,41 @@ html.theme--#{$themename} {
border-radius: 0.7em;
transition: all 300ms;
}

.search-result-link:hover, .search-result-link:focus {
background-color: rgba(0, 128, 128, 0.1);
}

.search-result-link .property-search-result-badge {
transition: all 300ms;
}

.search-result-link:hover .property-search-result-badge, .search-result-link:focus .property-search-result-badge {
color: #333 !important;
background-color: #f1f5f9 !important;
}

.property-search-result-badge {
padding: 0.15em 0.5em;
font-size: 0.8em;
font-style: italic;
text-transform: none !important;
line-height: 1.5;
color: whitesmoke;
background-color: #33415580;
border-radius: 0.6rem;
}


.search-result-title {
color: whitesmoke;
}

.search-result-highlight {
background-color: greenyellow;
color: black;
}

.search-divider {
border-bottom: 1px solid #5e6d6f50
}

.w-100 {
width: 100%;
}

.gap-2 {
gap: 0.5rem;
}

.gap-4 {
gap: 1rem;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/html/themes/documenter-dark.css

Large diffs are not rendered by default.

0 comments on commit 516cb5f

Please sign in to comment.