aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchItem.scss
blob: 469f062b2e03f18f01d1a17012ef7b3a3254d75e (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
@import "../globalCssVariables";

.searchItem-overview {
    display: flex;
    flex-direction: reverse;
    justify-content: flex-end;
    z-index: 0;
}

.searchBox-placeholder,
.searchItem-overview .searchItem {
    width: 100%;
    background: $light-color-secondary;
    border-color: $intermediate-color;
    border-bottom-style: solid;
    padding: 10px;
    min-height: 50px;
    max-height: 150px;
    height: auto;
    z-index: 0;
    display: flex;
    overflow: visible;

    .searchItem-body {
        display: flex;
        flex-direction: row;
        width: 100%;

        .searchItem-title-container {
            width: 100%;
            overflow: hidden;

            .searchItem-title {
                text-transform: uppercase;
                text-align: left;
                width: 100%;
                font-weight: bold;
            }
        }

        .searchItem-info {
            display: flex;
            justify-content: flex-end;

            .icon-icons {
                width: 50px
            }

            .icon-live {
                width: 175px;
                height: 0px;
            }

            .icon-icons {
                height:auto;
            }
            .icon-icons,
            .icon-live {
                margin: auto;
                overflow: visible;

                .searchItem-type {
                    display: inline-block;
                    width: 100%;
                    position: absolute;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    margin-right: 5px;
                }

                .pdfBox-cont {
                    overflow: hidden;

                    img {
                        width: 100% !important;
                        height: auto !important;
                    }
                }

                .searchItem-type:hover+.searchItem-label {
                    opacity: 1;
                }

                .searchItem-label {
                    font-size: 10;
                    position: relative;
                    right: 0px;
                    text-transform: capitalize;
                    opacity: 0;
                    -webkit-transition: opacity 0.2s ease-in-out;
                    -moz-transition: opacity 0.2s ease-in-out;
                    -o-transition: opacity 0.2s ease-in-out;
                    transition: opacity 0.2s ease-in-out;
                }
            }

            .icon-live:hover {
                .pdfBox-cont {
                    img {
                        width: 100% !important;
                    }
                }
            }
        }

        .searchItem-info:hover {
            width: 60%;
        }
    }
}

.searchItem:hover~.searchBox-instances,
.searchBox-instances:hover,
.searchBox-instances:active {
    opacity: 1;
    background: $lighter-alt-accent;
}

.searchItem:hover {
    transition: all 0.2s;
    background: $lighter-alt-accent;
}

.searchItem-highlighting {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre;
}

.searchBox-instances {
    opacity: 1;
    width:40px;
    height:40px;
    background: gray;
    transition: all 0.2s ease;
    color: black;
    overflow: hidden;
    right:-100;
    display:inline-block;
}


.searchItem-overview:hover {
    z-index: 1;
}

.searchBox-placeholder {
    min-height: 50px;
    margin-left: 150px;
    width: calc(100% - 150px);
    text-transform: uppercase;
    text-align: left;
    font-weight: bold;
}

.collection {
    display: flex;
}

.collection-item {
    width: 35px;
}