mirror of https://github.com/istio/istio.io.git
Experiment with showing the sesrch bar all the time on large-enough screens.
This commit is contained in:
parent
1415c9be20
commit
e04e9bc0f1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -181,6 +181,11 @@ header {
|
|||
transition: right .5s;
|
||||
}
|
||||
|
||||
@media (min-width: $bp-xl) {
|
||||
right: 335px;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
span {
|
||||
border-bottom: solid 3px $textBrandColor;
|
||||
border-radius: 2px;
|
||||
|
@ -206,6 +211,10 @@ header {
|
|||
@media (min-width: $bp-sm) {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@media (min-width: $bp-xl) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#search-form {
|
||||
|
@ -231,6 +240,11 @@ header {
|
|||
transition: right .5s;
|
||||
}
|
||||
|
||||
@media (min-width: $bp-xl) {
|
||||
right: 1rem;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
button:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
@ -278,5 +292,9 @@ header {
|
|||
&:hover {
|
||||
color: $textBrandHighlightColor;
|
||||
}
|
||||
|
||||
@media (min-width: $bp-xl) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue