aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/assets/scss/_search.scss
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/assets/scss/_search.scss')
-rw-r--r--vendor/twbs/bootstrap/site/assets/scss/_search.scss22
1 files changed, 21 insertions, 1 deletions
diff --git a/vendor/twbs/bootstrap/site/assets/scss/_search.scss b/vendor/twbs/bootstrap/site/assets/scss/_search.scss
index 24c0e2dc8..01e9d036e 100644
--- a/vendor/twbs/bootstrap/site/assets/scss/_search.scss
+++ b/vendor/twbs/bootstrap/site/assets/scss/_search.scss
@@ -2,7 +2,6 @@
.bd-search {
position: relative;
- width: 100%;
@include media-breakpoint-up(lg) {
position: absolute;
@@ -24,6 +23,7 @@
--docsearch-hit-shadow: none;
z-index: 2000; // Make sure to be over all components showcased in the documentation
+ cursor: auto; // Needed because of [role="button"] in Algolia search modal. Remove once https://github.com/algolia/docsearch/issues/1370 is tackled.
@include media-breakpoint-up(lg) {
padding-top: 4rem;
@@ -57,6 +57,26 @@
opacity: 1;
}
}
+
+ @include media-breakpoint-down(lg) {
+ &,
+ &:hover,
+ &:focus {
+ background: transparent;
+ border: 0;
+ box-shadow: none;
+ }
+ &:focus {
+ box-shadow: var(--docsearch-searchbox-shadow);
+ }
+ }
+}
+
+.DocSearch-Button-Keys,
+.DocSearch-Button-Placeholder {
+ @include media-breakpoint-down(lg) {
+ display: none;
+ }
}
.DocSearch-Button-Keys {