Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/demo-react/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ main {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.DocSearch-Button:hover {
.DocSearch-Button:hover,
.DocSearch-Button:focus-visible {
border-color: #667eea !important;
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15) !important;
transform: translateY(-1px) !important;
Expand Down
7 changes: 5 additions & 2 deletions packages/docsearch-css/src/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@
}

.DocSearch-Action:hover,
.DocSearch-AskAi-Return:hover {
.DocSearch-Action:focus-visible,
.DocSearch-AskAi-Return:hover,
.DocSearch-AskAi-Return:focus-visible {
color: var(--docsearch-highlight-color);
background: var(--docsearch-soft-primary-color);
}
Expand Down Expand Up @@ -1127,7 +1129,8 @@ assistive tech users */
transition: all 0.2s ease;
}

.DocSearch-Markdown-Content a:hover {
.DocSearch-Markdown-Content a:hover,
.DocSearch-Markdown-Content a:focus-visible {
text-decoration: underline;
opacity: 0.9;
}
Expand Down
9 changes: 6 additions & 3 deletions packages/website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
transition: all 0.2s ease-in-out;
}

.theme-announcement-bar a:hover {
.theme-announcement-bar a:hover,
.theme-announcement-bar a:focus-visible {
background-color: var(--ifm-color-primary);
color: #fff;
}
Expand Down Expand Up @@ -430,12 +431,14 @@ html[data-theme='dark'] .docsearch-logo {
color: #fff;
}

.apply-button:hover {
.apply-button:hover,
.apply-button:focus-visible {
color: #fff;
}

/* GitHub */
.header-github-link:hover {
.header-github-link:hover,
.header-github-link:focus-visible {
opacity: 0.6;
}

Expand Down