| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 | /*! * bootstrap-fileinput v5.1.4 * http://plugins.krajee.com/file-input * * Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`. * * Author: Kartik Visweswaran * Copyright: 2014 - 2020, Kartik Visweswaran, Krajee.com * * Licensed under the BSD-3-Clause * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md *///colors$boston-blue: #428bca !default;$alto: #ddd !default;$tapa: #777 !default;$mystic: #e1edf7 !default;$perano: #a1abff !default;$white-smoke: #f5f5f5 !default;//fonts$font: Menlo, Monaco, Consolas, "Courier New", monospace !default;//standard measures$pad: 5px !default;//operations@function multiply($pixels, $multiplier) {    @return $pixels * $multiplier;}.theme-explorer {    .file-preview-frame {        border: multiply($pad, 0.2) solid $alto;        margin: multiply($pad, 0.4) 0;        width: 100%;        display: flex;        justify-content: space-between;        align-items: center;        samp {            font-size: 0.9rem;        }    }    .file-actions {        text-align: center;    }    .file-upload-indicator,    .file-drag-handle {        text-align: center;        position: absolute;        display: inline-block;        bottom: multiply($pad, 1.6);        right: multiply($pad, 0.8);        width: multiply($pad, 3.2);        height: multiply($pad, 3.2);        font-size: multiply($pad, 3.2);    }    .explorer-frame {        .kv-file-content {            width: multiply($pad, 32);            height: multiply($pad, 16);            padding: $pad;            text-align: left;        }    }    .file-thumb-progress {        .progress {            display: block;            white-space: nowrap;            text-overflow: ellipsis;            overflow: hidden;            margin-top: 5px;        }    }    .explorer-caption {        display: block;        white-space: nowrap;        text-overflow: ellipsis;        overflow: hidden;        padding: 5px;        color: $tapa;    }    .file-footer-buttons {        padding: 5px;        text-align: right;    }    .kvsortable-ghost {        opacity: 0.6;        background: $mystic;        border: multiply($pad, 0.4) solid $perano;    }    .file-preview {        .table {            margin: 0;        }    }    .file-error-message {        ul {            padding: 5px 0 0 20px;        }    }    .file-details-cell {        width: 60%;        font-size: 0.95rem;        text-align: left;        margin-right: auto;    }    .file-actions-cell {        position: relative;        height: multiply($pad, 16);        width: multiply($pad, 40);    }}.explorer-frame {    .file-preview-other {        text-align: center;    }    .file-preview-text {        display: inline-block;        color: $boston-blue;        border: 1px solid $alto;        font-family: $font;        outline: none;        padding: multiply($pad, 1.6);        resize: none;    }    .file-preview-html {        display: inline-block;        border: 1px solid $alto;        padding: multiply($pad, 1.6);        overflow: auto;    }    .file-other-icon {        font-size: 2.6em;    }    &:hover {        background-color: $white-smoke;    }}.file-zoom-dialog {    .explorer-frame {        .file-other-icon {            //noinspection CssOverwrittenProperties            font-size: 22em;            //noinspection CssOverwrittenProperties            font-size: 50vmin;        }    }}@media only screen and (max-width: 1249px) {    .theme-explorer {        .file-preview-frame {            .file-details-cell {                width: 40%;            }        }    }}@media only screen and (max-width: 1023px) {    .theme-explorer {        .file-preview-frame {            .file-details-cell {                width: 30%;            }        }    }}@media only screen and (max-width: 767px) {    .theme-explorer {        .file-preview-frame {            .file-details-cell {                width: multiply($pad, 40);            }        }    }}@media only screen and (max-width: 575px) {    .theme-explorer {        .file-preview-frame {            flex-direction: column;            .kv-file-content {                width: auto;                text-align: center;            }        }        .file-details-cell {            width: multiply($pad, 20);            text-align: center;            margin-right: 0;        }        .file-actions-cell {            width: 100%;            height: auto;        }        .file-footer-buttons {            text-align: left;        }    }}
 |