aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/stylesheets/less/documents.less
blob: c2b0a494dc35328565b7dac318de3fc87f27c24a (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
.documents {
    .chdir-up a {
        display: block;
    }
    .options {
        text-align: right;
    }
    .bread-crumbs {
        display: inline-block;
        min-height: 1.5em;
        width: 40px;
        z-index: 1;
    
        > a, ul {
            background-color: #fff;
            padding: 5px;
        }
        > a {
            padding-bottom: 2px;
        }

        &.extendable:hover {
            > a, > ul {
                box-shadow: 0 4px 3px #aaa;
            }
            ul {
                display: flex;
                flex-direction: column-reverse;
            }
        }
    
        ul {
            display: none;
            list-style: none;
            margin: 0;
            position: absolute;
        }
        li {
            font-size: 0.85em;
            line-height: 1.5em;

            a {
                .background-icon('folder-parent', 'clickable', 24);
                background-position: left center;
                background-repeat: no-repeat;
                padding-left: 30px;
            }
            &:first-child a {
                .background-icon('folder-empty', 'clickable', 24);
            }
        }
    }
}

.document-dialog {
    @info-width: 150px;
    .clearfix;
    > aside {
        float: left;
        width: @info-width;
    }
    .document-dialog-icon {
        text-align: center;
    }
    > div {
        border-left: 1px dashed #888;
        margin-left: @info-width;
        min-height: 100%;
        max-height: 100%;
        overflow-y: auto;
    }
    dl {
        dt:after {
            content: ':';
        }
        dd {
            margin: 0 0 0.5em 0.5em;
            padding: 0;
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}

.documents.dragging {
    [data-file]:not([data-folder]) {
        background-color: @light-gray-color-40;
        opacity: 0.6;
    }
}
.documents {
    [data-folder].dropping {
        background-color: @red-40;
    }
}

.document-draggable-helper {
    background-color: @activity-color-40 !important;
    opacity: 1 !important;
    td {
        border-bottom: 0 !important;
    }
}

fieldset.document-admin-search label {
    box-sizing: border-box;
    display: inline-block;
    width: 49%;
}