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

.type-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45px;
    height: 60px;

    .type-icon {
        height: 45px;
        width: 45px;
        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;

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

    .filter-description {
        text-transform: capitalize;
        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;
    }

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