aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/IconBar.scss
blob: 41bd83dc1d6faff7d5b980a8d23ab8a6b57426f3 (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
@import "../globalCssVariables";


.icon-bar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 40px;
    width: 100%;
    flex-wrap: wrap;
    // font-size: 2em;
}

.icon-title {
    color: $light-color;
    text-transform: uppercase;
    padding: 5px;
}

.type-icon {
    height: 50px;
    width: 50px;
    color: $light-color;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font-size: 2em;
    position: absolute;
}

.ban-icon {
    width: 50px;
    height: 50px;
    color: $alt-accent;
    opacity: 0;
    position: absolute;
    float: right;

    .fontawesome-icon {
        height: 100%;
        width: 100%;
    }
}

// .type-icon.selected.add {
//     background-color: $alt-accent;
//     opacity: 1;
// }

// .type-icon.selected.removed {
//     background-color: transparent;
//     opacity: .2;
// }

// .type-icon.not-selected {
//     background-color: transparent;
//     opacity: .6;
// }

.fontawesome-icon {
    height: 28px;
    width: 28px;
}

.filter-description{
    text-transform: capitalize;
}

.type-icon:hover {
    transform: scale(1.1);
    background-color: $alt-accent;
    opacity: 1;

    +.filter-description {
        opacity: 1;
    }
}

// .type-icon:hover {
//     transform: scale(1.1);
//     // background-color: $alt-accent;
//     opacity: 1;

//     +.filter-description {
//         opacity: 1;
//     }
// }

.type-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
    height: 50px;
    position: relative;
}

.filter-description {
    font-size: 10;
    text-align: center;
    height: 15px;
    margin-top: 5px;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}