aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionTreeView.scss
blob: 2fa6813d7569e97c8375adfafaf6b1f45d517858 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
@import "../globalCssVariables";

.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-color-secondary;
    font-size: 13px;
    overflow: auto;
    user-select: none;
    cursor: default;
    touch-action: pan-y;

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


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

    .bullet {
        position: relative;
        width: 15px;
        color: $intermediate-color;
        margin-top: 3px;
        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: 1vw;
        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;
    height: 17px;
    background: gray;
    width: 15px;
}

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

.treeViewItem-header:hover {
    .collectionTreeView-keyHeader {
        display: inherit;
    }

    .treeViewItem-openRight {
        display: inline-block;
        height: 17px;
        background: #a8a7a7;
        width: 15px;

        // display: inline;
        svg {
            display: block;
            padding: 0px;
            margin-left: 3px;
        }
    }
}

.treeViewItem-header {
    border: transparent 1px solid;
    display: flex;

    .editableView-container-editing-oneLine {
        min-width: 15px;
    }
}

.treeViewItem-header-above {
    border-top: black 1px solid;
}

.treeViewItem-header-below {
    border-bottom: black 1px solid;
}

.treeViewItem-header-inside {
    border: black 1px solid;
}