summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/less/Search.less
blob: faa871f64c48978b95978050da5fc8cd4e7f628c (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
29
30
31
32
33
34
35
36
37
38
.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;
}