aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FontIconBox.scss
blob: 75bc90d7a5240203444427f3404e03a971d11299 (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
.fontIconBox-label {
    color: white;
    margin-right: 4px;
    margin-top: 1px;
    position: relative;
    text-align: center;
    font-size: 7px;
    letter-spacing: normal;
    background-color: inherit;
    border-radius: 8px;
    margin-top: -8px;
    padding: 0;
    width: 100%;
}

.fontIconBadge-container {
    position:absolute;
    z-index: 1000;
    top: 12px;

    .fontIconBadge {
        position: absolute;
        top: -10px;
        right: -10px;
        color: white;
        background: #f44b42;
        font-weight: 300;
        border-radius: 100%;
        width: 25px;
        height: 25px;
        text-align: center;
        padding-top: 4px;
        font-size: 12px;
    }
}

.menuButton-round {
    border-radius: 100%;
    background-color: black;

    .fontIconBox-label {
        margin-left: -10px; // button padding is 10px;
        bottom: 0;
        position: absolute;
    }

    &:hover {
        background-color: #aaaaa3;
    }
}

.menuButton-square {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;

    .fontIconBox-label {
        border-radius: 0px;
        margin-top: 0px;
        border-radius: "inherit";
    }
}

.menuButton,
.menuButton-round,
.menuButton-square {
    width: 100%;
    height: 100%;
    pointer-events: all;
    touch-action: none;

    .menuButton-wrap {
        touch-action: none;
        border-radius: 8px;

        // &:hover {
        //     background: rgb(61, 61, 61);
        //     cursor: pointer;
        // }
    }

    .menuButton-icon-square {
        width: auto;
        height: 29px;
        padding: 4px;
    }

    svg {
        width: 95% !important;
        height: 95%;
    }
}