aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/ImageLabelBox.scss
blob: 819c7276091345aed61a1367fc811c9546b222e7 (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
.image-box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 10px;
    line-height: 1;
    background: none;
    z-index: 1000;
    padding: 0px;
    overflow: auto;
    cursor: default;
}

.image-label-list {
    display: flex;
    flex-direction: column;
    align-items: center; // Centers the content vertically in the flex container
    width: 100%;

    > div {
        display: flex;
        justify-content: space-between; // Puts the content and delete button on opposite ends
        align-items: center;
        width: 100%;
        margin-top: 8px; // Adds space between label rows
        background-color: black;

        p {
            text-align: center; // Centers the text of the paragraph
            font-size: large;
            vertical-align: middle;
            margin-left: 10px;
        }

        .IconButton {
            // Styling for the delete button
            margin-left: auto; // Pushes the button to the far right
        }
    }
}

.image-information-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.image-information {
    border: 1px solid;
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 2px;
    overflow-x: auto;
    overflow-y: auto;

    img {
        max-width: 200px;
        max-height: 200px;
        width: auto;
        height: auto;
    }
}

.image-information-labels {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .image-label {
        margin-top: 5px;
        margin-bottom: 5px;
        padding: 3px;
        border-radius: 2px;
        border: solid 1px;
    }
}