1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-24 14:13:06 +02:00

Move search styles, prep for responsive containers in docs

This commit is contained in:
Mark Otto
2019-07-21 16:47:51 -07:00
committed by Mark Otto
parent 0fcb0af131
commit e7890d1562
5 changed files with 23 additions and 23 deletions

View File

@@ -30,6 +30,24 @@
}
}
.bd-search {
position: relative; // To contain the Algolia search
@include media-breakpoint-down(sm) {
width: 100%;
}
.form-control:focus {
border-color: $bd-purple-bright;
box-shadow: 0 0 0 3px rgba($bd-purple-bright, .25);
}
}
.bd-search-docs-toggle {
line-height: 1;
color: $gray-900;
}
.link-dark {
font-weight: 500;
color: $dark;

View File

@@ -19,24 +19,6 @@
}
}
.bd-search {
position: relative; // To contain the Algolia search
@include media-breakpoint-down(md) {
width: 100%;
}
.form-control:focus {
border-color: $bd-purple-bright;
box-shadow: 0 0 0 3px rgba($bd-purple-bright, .25);
}
}
.bd-search-docs-toggle {
line-height: 1;
color: $gray-900;
}
.bd-sidenav {
display: none;
}