aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/SearchItem.scss
blob: 4c1d781e325824ad3b6ad90bf03626911aba765a (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
@import "globalCssVariables";

.search-item {
    width: 500px;
    background: $light-color-secondary;
    border-color: $intermediate-color;
    border-bottom-style: solid;
    padding: 10px;
    height: 70px;
}

.search-info {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.main-search-info {
    display: flex;
    flex-direction: row;
    width: 100%;
}

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

.search-title {
    text-transform: uppercase;
    text-align: left;
    width: 8vw;
    font-weight: bold;
}

.link-count {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: $dark-color;
    color: $light-color-secondary;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.search-type {
    width: 25PX;
    height: 25PX;
    display: flex;
    justify-content: center;
    align-items: center;
}


.searchBox-instances {
    float: left;
    // opacity: 0;
    opacity: 1;
    width: 150px;
    transition: all 0.2s ease;
    color: black;
    transform-origin: top right;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    // -webkit-transform: scale(1);
    // -ms-transform: scale(1);
    // transform: scale(1);
    height: 100%
}

.collection {
    border-color: $darker-alt-accent;
    border-bottom-style: solid;
}

.search-overview {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    height: 70px;
}

.parents {
    background: $lighter-alt-accent;
    padding: 10px;
}

.search-item:hover~.searchBox-instances,
.searchBox-instances:hover,  .searchBox-instances:active{
    opacity: 1;
    background: $lighter-alt-accent;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}