Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_search.scss « pages « scss « src - github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 26077d54ebd28818282348199390b7e53ff0aeb5 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#algolia-search-modal {
    display: none;

    .search-icon {
        position: absolute;
        top:      15px;
        left:     15px;
        color:    $font-color-base;
    }
    .media-content {
        font-size: 0.95em;
    }
    .search-input {
        box-sizing: border-box;
        padding:    0 130px 0 25px;
        margin:     0;
    }
    .modal-header {
        padding-bottom: 8px;
    }
    .modal-body {
        padding-top: 15px;
        // minus its padding and height of header bar and footer bar
        height:      calc(100% - 100px - 15px);
    }

    .media:nth-child(n+2) {
        padding-top: 15px;
    }
    hr {
        margin-top: 0;
    }
    .results-count {
        line-height: 50px;
        color:       $font-color-base;
    }
    .searchby-algolia {
        position: absolute;
        top:      15px;
        right:    45px;
    }
    .searchby-algolia-text {
        display:        inline-block;
        vertical-align: top;
        line-height:    20px;
        height:         20px;
    }
    .searchby-algolia-logo {
        display:        inline-block;
        vertical-align: top;
        height:         20px;
    }
    .no-result {
        display: none;
        position:  relative;
        top:       50%;
        transform: translateY(-50%);
    }
}