aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchBox.scss
blob: 2a27bbe62b84cef43d1f15f4b137ebd0f0ae2161 (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
61
62
63
64
@import "../globalCssVariables";
@import "./NaviconButton.scss";

.searchBox-bar {
    height: 32px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 2px;
    padding-right: 2px;

    .searchBox-barChild {

        &.searchBox-collection {
            flex: 0 1 auto;
            margin-left: 2px;
            margin-right: 2px
        }

        &.searchBox-input {
            display: block;
            width: 130px;
            -webkit-transition: width 0.4s;
            transition: width 0.4s;
            align-self: stretch;
            margin-left: 2px;
            margin-right: 2px
        }

        .searchBox-input:focus {
            width: 500px;
            outline: 3px solid lightblue;
        }

        &.searchBox-filter {
            align-self: stretch;
            margin-left: 2px;
            margin-right: 2px
        }
    }
}

.searchBox-results {
    margin-left: 27px;
    top: 300px;
    display: flex;
    flex-direction: column;
    margin-right: 72px;
    height: 560px;
    overflow: hidden;
    overflow-y: auto;

    .no-result {
        width: 500px;
        background: $light-color-secondary;
        border-color: $intermediate-color;
        border-bottom-style: solid;
        padding: 10px;
        height: 50px;
        text-transform: uppercase;
        text-align: left;
        font-weight: bold;
    }
}