aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionTreeView.scss
blob: d370d21ab80a5700a2314ba2e20324c41f2f9236 (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
@import "../global/globalCssVariables";

.collectionTreeView-container {
    transform-origin: top left;
}
.collectionTreeView-dropTarget {
    border-width: $COLLECTION_BORDER_WIDTH;
    border-color: transparent;
    border-style: solid;
    border-radius: inherit;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    position: relative;
    top: 0;
    padding-left: 10px;
    padding-right: 10px;
    background: $light-gray;
    font-size: 13px;
    overflow: auto;
    user-select: none;
    cursor: default;
    touch-action: pan-y;

    ul {
        list-style: none;
        padding-left: $TREE_BULLET_WIDTH;
        margin-bottom: 1px; // otherwise vertical scrollbars may pop up for no apparent reason....
        > .contentFittingDocumentView  {
            width: unset;
            height: unset;
        }
    }


    .no-indent {
        padding-left: 0;
        width: max-content;
    }

    .no-indent-outline {
        padding-left: 0;
        width: 100%;
    }

    .editableView-container {
        font-weight: bold;
    }

    .delete-button {
        color: $medium-gray;
        // float: right;
        margin-left: 15px;
        // margin-top: 3px;
        display: inline;
    }

    .editableView-input,
    .editableView-container-editing {
        display: block;
        text-overflow: ellipsis;
        font-size: 1vw;
        white-space: nowrap;
    }
}

.collectionTreeView-keyHeader {
    font-style: italic;
    font-size: 8pt;
    margin-left: 3px;
    display: none;
}

.collectionTreeView-keyHeader:hover {
    background: #797777;
    cursor: pointer;
}

.collectionTreeView-subtitle {
    font-style: italic;
    font-size: 8pt;
    color: $medium-gray;
}

.docContainer {
    position: relative;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    min-width: 10px;
}
.docContainer-system {
    font-variant: all-small-caps;
    border-radius: 5px;
    background: grey;
    color: white;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 2px;
}