aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FontIconBox.scss
blob: 33ac85a0ee9f46e8c14dbfd17331979ed903922b (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
.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-circle,
.menuButton-round {
    border-radius: 100%;
    background-color: black;
    padding: 0;

    .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;

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

.menuButton,
.menuButton-circle,
.menuButton-round,
.menuButton-square {
    margin-left: -5%;
    width: 110%;
    height: 100%;
    pointer-events: all;
    touch-action: none;

    .menuButton-wrap {
        touch-action: none;
        border-radius: 8px;
        width: 100%;
    }

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

    svg {
        width: 95% !important;
        height: 95%;
    }
}
.menuButton-round {
    width: 100%;
    svg {
        width: 50% !important;
        height: 50%;
        position: relative;
        bottom: 2px;
    }
}