aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FontIconBox.scss
blob: 31bc471dede0713c46b1dece20db359e0a721eb9 (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
.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%;
}

.menuButton-round {
    border-radius: 100%;
    .fontIconBox-label {
        margin-left: -10px; // button padding is 10px;
        bottom:0;
        position: absolute;
    }
}
.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: 32px;
        padding: 4px;
    }

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