aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LabelBox.scss
blob: 0b195713d05fa68d4af7d1af4c0744e388aa8cbb (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
.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
    text-transform: uppercase;
    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
    }
}

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

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