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

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

    .type-icon {
        height: 30px;
        width: 30px;
        color: $light-color;
        // background-color: rgb(194, 194, 197);
        background-color: gray;
        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: 15px;
            width: 15px
        }
    }

    .filter-description {
        text-transform: capitalize;
        font-size: 10;
        text-align: center;
        height: 15px;
        margin-top: 5px;
        opacity: 1;
        -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;
        }
    }
}