summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/less/Search.less
blob: 38c18128a104e72174267cee209de4822249dcb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.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: 100%;
        background: transparent;
        border: 1px solid transparent;
        box-shadow: none;
        outline: none;
        line-height: 22px;
        padding: 7px 7px;
        color: inherit;
    }
}


.Search-MatchSpan {
    background: @search-highlight-color;
}