File size: 1,358 Bytes
b82d373
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.attachmentsList:empty {
    width: 100%;
    height: 100%;
}

.attachmentsList:empty::before {
    display: flex;
    align-items: center;
    justify-content: center;
    content: "No data";
    font-weight: bolder;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    min-height: 3rem;
}

.attachmentListItem {
    padding: 10px;
}

.attachmentListItem.disabled .attachmentListItemName {
    text-decoration: line-through;
    opacity: 0.75;
}

.attachmentListItem.disabled .attachmentFileIcon {
    opacity: 0.75;
    cursor: not-allowed;
}

.attachmentListItemSize {
    min-width: 4em;
    text-align: right;
}

.attachmentListItemCreated {
    text-align: right;
}

.attachmentListItemCheckboxContainer,
.attachmentBulkActionsContainer,
.attachmentsBulkEditCheckbox {
    display: none;
}

@supports selector(:has(*)) {
    .dataBankAttachments:has(.attachmentsBulkEditCheckbox:checked) .attachmentsBulkEditButton {
        color: var(--golden);
    }

    .dataBankAttachments:has(.attachmentsBulkEditCheckbox:checked) .attachmentBulkActionsContainer {
        display: flex;
    }

    .dataBankAttachments:has(.attachmentsBulkEditCheckbox:checked) .attachmentListItemCheckboxContainer {
        display: inline-flex;
    }

    .dataBankAttachments:has(.attachmentsBulkEditCheckbox:checked) .attachmentFileIcon {
        display: none;
    }
}