_filebrowser.scss 2.71 KB
Newer Older
Liam's avatar
Liam committed
1 2
.fileupload {
    padding: 20px;
3
    border: 1px solid $gray-100;
Liam's avatar
Liam committed
4 5 6 7 8
    background-color: $body-bg;
    .intro {
        font-weight: bold;
    }
    .description {
9
        color: $gray-300;
Liam's avatar
Liam committed
10 11 12 13 14 15 16 17
        font-size: $font-size-base - 1;
    }
    .title {
        padding: 0;
        margin: 0 0 15px 0;
    }
}

18
.card-fake {
Liam's avatar
Liam committed
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
    margin-bottom: 15px;
    .title {
        padding: 0;
        margin: 15 0 15px 0;
    }
}

.resize-image {
    .help,
    label {
        display: table-cell;
    }
    .help {
        float: none;
        margin-top: 0;
    }
}

// reset margin and padding for upload file forms
.filelist.table,
.fileuploadlicense {
    .form-group {
        padding: 10px 0 !important;
        border-bottom-width: 0 !important;
    }
}

.uploadform + .fileuploadlicense {
    margin-top: 15px;
}

.fileuploadlicense {
    input, .picker {
        max-width: 200px;
    }
54 55 56
    @include media-breakpoint-between(lg, lg) {
        label {
            min-width: 100%;
Liam's avatar
Liam committed
57 58 59 60 61 62
        }
    }
}

// reset padding and margin inside collapsible
.filelist.table,
63
.filelist-wrapper.card,
Liam's avatar
Liam committed
64 65 66 67 68 69 70 71 72 73 74 75
.filebrowser.form-group {
    margin-bottom: 0;
    padding: 0 !important // override form-group padding;
}

.uploadform.userfile {
    margin-bottom: 20px;
    .fileupload-container.col-md-12 & {
        width: 50%;
        float: left;
        margin-bottom: 20px;
    }
76 77 78
    .file {
        display: block;
    }
Liam's avatar
Liam committed
79 80 81 82 83 84 85 86 87
}

.filelist {
    .file-move-list {
        list-style-type: none;
        margin-top: 10px;
        padding-left: 15px;

        li .icon {
88
            color: $theme-secondary-color;
Liam's avatar
Liam committed
89 90 91 92
        }
    }
}

93 94 95 96
.filelist-wrapper {
    border: 0;
}
.table .fileedittablewrap {
97
    background-color: $table-accent-bg;
98 99
    padding-left: 20px;
    padding-right: 20px;
Liam's avatar
Liam committed
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
}

// file browser inside modal screen
.modal-filebrowser {
    margin-top: 50px;
    padding: 10px 20px 20px;

    .close {
        width: 100%;
        text-align: right;
        float: none;
        margin-bottom: 10px;
    }
}

.folderhover td{
    background-color: $state-warning-bg;
}

.filedownload-item {
    .list-group-item-heading {
        display: inline-block;
        max-width: 80%;
    }
    .file-icon {
        width: 20px;
Evonne's avatar
Evonne committed
126
        vertical-align: top;
Liam's avatar
Liam committed
127
    }
128 129 130
    .icon-lg {
        width: 24px;
    }
Liam's avatar
Liam committed
131 132 133 134 135 136
    a {
        word-break: break-all;
    }
    .file-description {
        padding-left: 30px;
    }
137 138 139
    .text-small {
        margin-left: 28px;
    }
Liam's avatar
Liam committed
140 141 142
}

.filelist-wrapper {
143
    .card-header {
Liam's avatar
Liam committed
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
        padding: 10px 0 10px 20px;
        margin-bottom: 10px;
    }
}

.file-wrapper {
    margin-bottom: 8px;
}

.filedata-icon {
    float: left;
    margin-right: 60px;
    padding-bottom: 30px;
}

.icon-drag:hover {
    cursor: move;
}

table.filelist .filename {
    word-break: break-all;
}