Skip to content

Commit

Permalink
chore(deps): update pydata-sphinx-theme requirement from <0.16,>=0.15…
Browse files Browse the repository at this point in the history
….4 to >=0.15.4,<0.17 (#562)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
Co-authored-by: Revathyvenugopal162 <revathy.venugopal@ansys.com>
Co-authored-by: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com>
Co-authored-by: Jorge Martínez <28702884+jorgepiloto@users.noreply.github.com>
  • Loading branch information
5 people authored Oct 23, 2024
1 parent ff89444 commit ffcb84e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions doc/changelog.d/562.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chore(deps): update pydata-sphinx-theme requirement from <0.16,>=0.15.4 to >=0.15.4,<0.17
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
]
dependencies = [
"Sphinx>=4.2.0",
"pydata-sphinx-theme>=0.15.4,<0.16",
"pydata-sphinx-theme>=0.15.4,<0.17",
"Jinja2>=3.1.2",
"importlib-metadata>=4.0",
"pdf2image>=1.17.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<li class="breadcrumb-item">{{ doc.title }}</li>
{% endif %} {%- endfor %} {# Current page title #} {% if title and pagename
!= root_doc %}
<li class="breadcrumb-item active" aria-current="page">{{ title }}</li>
<li class="breadcrumb-item active" aria-current="page"><span class="ellipsis">{{ title }}</span></li>
{% endif %}
</ul>
</nav>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<div class="search-bar" id="search-bar">
<div class="search-bar pst-js-only" id="search-bar">
<form class="bd-search d-flex align-items-center" action="{{ pathto('search') }}" method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search" class="form-control" name="q" placeholder="{{ theme_search_bar_text }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ html[data-theme="light"] .highlight {
color: var(--ast-highlight-color);
}

.bd-search input.form-control,
.bd-search input.form-control:focus,
.bd-search input.form-control:focus-visible,
.form-control:focus,
.form-control:focus-visible,
.form-control {
Expand Down Expand Up @@ -100,7 +103,8 @@ html[data-theme="light"] .highlight {
color: var(--ast-search-bar-enable-text);
}

.form-control:focus {
.form-control:focus,
.bd-search:focus-within {
box-shadow: none;
}

Expand All @@ -118,7 +122,7 @@ html[data-theme="light"] .highlight {
margin-bottom: 0px;
}

.bd-search input.expanded {
.bd-search input.form-control.expanded {
width: 600px;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const SEARCH_BAR = document.getElementById("search-bar");
const SEARCH_INPUT = SEARCH_BAR.querySelector(".bd-search input");
const SEARCH_INPUT = SEARCH_BAR.querySelector(".bd-search input.form-control");
const RESULTS = document.getElementById("search-results");
const MAIN_PAGE_CONTENT = document.querySelector(".bd-main");
let CURRENT_INDEX = -1;
Expand Down

0 comments on commit ffcb84e

Please sign in to comment.