mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-17 08:05:19 +00:00
39 lines
843 B
Plaintext
39 lines
843 B
Plaintext
.Search-Input {
|
|
padding: 6px;
|
|
background: transparent;
|
|
transition: top 0.5s ease;
|
|
background: #fff;
|
|
border-bottom: 1px solid @sidebar-border-color;
|
|
border-top: 1px solid @sidebar-border-color;
|
|
margin-bottom: 10px;
|
|
|
|
// Move top to hide top border
|
|
margin-top: -1px;
|
|
|
|
input, input:focus, input:hover {
|
|
width: 90%; // 10% room for clear input X
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
box-shadow: none;
|
|
outline: none;
|
|
line-height: 22px;
|
|
padding: 7px 7px;
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
.Search-Clear {
|
|
width: 10%;
|
|
display: inline-block;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
line-height: 22px;
|
|
color: @search-clear-color;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.Search-MatchSpan {
|
|
background: @search-highlight-color;
|
|
}
|