aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionTreeView.scss
blob: 5205f43132cd641f8b6ee732d28746a076e7a07d (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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
@import "../globalCssVariables";

.collectionTreeView-dropTarget {
    border-width: $COLLECTION_BORDER_WIDTH;
    border-color: transparent;
    border-style: solid;
    border-radius: inherit;
    box-sizing: border-box;
    height: 100%;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 0px;
    background: $light-color-secondary;
    font-size: 13px;
    overflow: auto;

    ul {
        list-style: none;
        padding-left: 20px;
    }


    .no-indent {
        padding-left: 0;
    }

    .bullet {
        position: relative;
        width: 15px;
        color: $intermediate-color;
        margin-top: 4px;
        transform: scale(1.3, 1.3);
    }
    .editableView-container {
        font-weight: bold;
    }

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

    .editableView-input, .editableView-container-editing {
        display: block;
        text-overflow: ellipsis;
        font-size: 24px;
        white-space: nowrap;
    }
}
.collectionTreeView-keyHeader {
    font-style: italic;
    font-size: 8pt;
    margin-left: 3px;
    display:none;
    background: lightgray;
}

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

.docContainer {
    position: relative;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    overflow: hidden;
    // width:100%;//width: max-content;

}
.treeViewItem-openRight {
    display: none;
}

.treeViewItem-border {
    display:inherit;
    border-left: dashed 1px #00000042;
}

.treeViewItem-header:hover {
    .collectionTreeView-keyHeader {
        display:inherit;
    }
    .treeViewItem-openRight {
        display: inline-block;
        height:13px;
        margin-top:2px;
        margin-left: 5px;
        // display: inline;
        svg {
            display:block;
            padding:0px;
            margin: 0px;
        }
    }
}

.treeViewItem-header {
    border: transparent 1px solid;
    display:flex;
}
.treeViewItem-header-above {
    border-top: black 1px solid;
}
.treeViewItem-header-below {
    border-bottom: black 1px solid;
}
.treeViewItem-header-inside {
    border: black 1px solid;
}