add hover styling to desktop search button

pull/26459/head^2
Paul Wackerow 2 years ago
parent b5e387cb82
commit ebdd5a4fdd
No known key found for this signature in database
GPG Key ID: BB63E296FE9CAB8D
  1. 15
      src/theme/search.css

@ -7,10 +7,19 @@
padding: 1rem;
width: 200px;
gap: 1rem;
--docsearch-searchbox-shadow: transparent;
--docsearch-searchbox-focus-background: transparent;
}
.DocSearch-Button:hover {
background: none;
background: var(--chakra-colors-primary);
}
.DocSearch-Button:hover svg path,
.DocSearch-Button:hover kbd,
.DocSearch-Button:hover span {
color: var(--chakra-colors-bg);
border-color: var(--chakra-colors-bg);
}
.DocSearch-Button-Container {
@ -149,10 +158,6 @@ svg[aria-label="Algolia"] * {
padding: 2rem 1rem;
}
.DocSearch-Button:active, .DocSearch-Button:focus, .DocSearch-Button:hover {
background: var(--chakra-colors-primary);
}
.DocSearch-Search-Icon * {
color: var(--chakra-colors-bg);
}

Loading…
Cancel
Save