aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LabelBox.scss
blob: e1974d6a0b874c20a737799907da62a9e9ee0f3f (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
.labelBox-outerDiv {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
}

.labelBox-mainButton {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    //letter-spacing: 2px; // bcz: doesn't work with LabelBigText
    overflow: hidden;
    display: inline-block;
    margin: auto;
    text-overflow: ellipsis;
    > span {
        max-height: 100%; // make sure top of text is in view, otherwise it would center on middle of large text span
    }
}

.answer-icon {
    position: absolute;
    right: 8px;
    bottom: 5px;
    color: black;
    display: inline-block;
    font-size: 10px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

.q-icon {
    position: absolute;
    right: 6px;
    bottom: 5px;
    color: white;
    display: inline-block;
    font-size: 10px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

.edit-icon {
    position: absolute;
    right: 20px;
    bottom: 5px;
    display: inline-block;
    font-size: 10px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

.labelBox-params {
    display: flex;
    flex-direction: row;
}

.labelBox-missingParam {
    width: 100%;
    background: lightgray;
    border: dimgray solid 1px;
}