﻿/* 
	Uploader: 
	- These styles are the ones used on the examples. No needed to use it by any means.
	- It disables user selection to avoid some weird visuals in some browsers
	- It masks/hides the the file input behind a button
 */

.dm-uploader {
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .dm-uploader .btn {
        position: relative;
        overflow: hidden;
    }

        .dm-uploader .btn input[type="file"] {
            position: absolute;
            top: 0;
            right: 0;
            margin: 0;
            border: solid transparent;
            width: 100%;
            opacity: .0;
            filter: alpha(opacity= 0);
            cursor: pointer;
        }


#files {
    overflow-y: scroll !important;
    min-height: 100px;
}

@media (min-width: 768px) {
    #files {
        min-height: 0;
    }
}

#debug {
    overflow-y: scroll !important;
    height: 180px;
}

.dm-uploader {
    border: 0.1rem dashed #A5A5C7;
    text-align: center;
    
    padding: 5px;
}

    .dm-uploader.active {
        border-color: red;
        border-style: solid;
    }


#files {
    overflow-y: scroll !important;
    min-height: 100px;
}

@media (min-width: 768px) {
    #files {
        min-height: 0;
    }
}

#debug {
    overflow-y: scroll !important;
    height: 180px;
}

.dm-uploader {
    border: 0.1rem dashed #A5A5C7;
    text-align: center;
    padding: 5px;
}

    .dm-uploader.active {
        border-color: red;
        border-style: solid;
    }
