|
@@ -10,75 +10,95 @@
|
|
* Licensed under the BSD 3-Clause
|
|
* Licensed under the BSD 3-Clause
|
|
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
|
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
|
*/
|
|
*/
|
|
-.kv-hidden {
|
|
|
|
|
|
+.file-loading input[type=file], input[type=file].file-loading {
|
|
|
|
+ width: 0;
|
|
|
|
+ height: 0;
|
|
|
|
+}
|
|
|
|
+.kv-hidden, .file-caption-icon, .file-zoom-dialog .modal-header:before, .file-zoom-dialog .modal-header:after, .file-input-new .file-preview, .file-input-new .close, .file-input-new .glyphicon-file, .file-input-new .fileinput-remove-button, .file-input-new .fileinput-upload-button, .file-input-new .no-browse .input-group-btn, .file-input-ajax-new .fileinput-remove-button, .file-input-ajax-new .fileinput-upload-button, .file-input-ajax-new .no-browse .input-group-btn, .hide-content .kv-file-content {
|
|
display: none;
|
|
display: none;
|
|
}
|
|
}
|
|
-
|
|
|
|
-/* exif orientations */
|
|
|
|
|
|
+.btn-file input[type=file], .file-caption-icon, .file-preview .fileinput-remove, .krajee-default .file-thumb-progress, .file-zoom-dialog .btn-navigate, .file-zoom-dialog .floating-buttons {
|
|
|
|
+ position: absolute;
|
|
|
|
+}
|
|
|
|
+.file-loading:before, .btn-file, .file-caption, .file-preview, .krajee-default.file-preview-frame, .krajee-default .file-thumbnail-footer, .file-zoom-dialog .modal-dialog {
|
|
|
|
+ position: relative;
|
|
|
|
+}
|
|
|
|
+.file-error-message pre, .file-error-message ul, .krajee-default .file-actions, .krajee-default .file-other-error {
|
|
|
|
+ text-align: left;
|
|
|
|
+}
|
|
|
|
+.file-error-message pre, .file-error-message ul {
|
|
|
|
+ margin: 0;
|
|
|
|
+}
|
|
|
|
+.krajee-default .file-drag-handle, .krajee-default .file-upload-indicator {
|
|
|
|
+ float: left;
|
|
|
|
+ margin: 5px 0 -5px;
|
|
|
|
+ width: 16px;
|
|
|
|
+ height: 16px;
|
|
|
|
+}
|
|
|
|
+.krajee-default .file-thumb-progress .progress, .krajee-default .file-thumb-progress .progress-bar {
|
|
|
|
+ height: 11px;
|
|
|
|
+ font-size: 9px;
|
|
|
|
+ line-height: 10px;
|
|
|
|
+}
|
|
|
|
+.krajee-default .file-caption-info, .krajee-default .file-size-info {
|
|
|
|
+ display: block;
|
|
|
|
+ white-space: nowrap;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ width: 160px;
|
|
|
|
+ height: 15px;
|
|
|
|
+ margin: auto;
|
|
|
|
+}
|
|
|
|
+.file-zoom-content > .file-object.type-video, .file-zoom-content > .file-object.type-flash, .file-zoom-content > .file-object.type-image {
|
|
|
|
+ max-width: 100%;
|
|
|
|
+ max-height: 100%;
|
|
|
|
+ width: auto;
|
|
|
|
+}
|
|
|
|
+.file-zoom-content > .file-object.type-video, .file-zoom-content > .file-object.type-flash {
|
|
|
|
+ height: 100%;
|
|
|
|
+}
|
|
|
|
+.file-zoom-content > .file-object.type-pdf, .file-zoom-content > .file-object.type-html, .file-zoom-content > .file-object.type-text, .file-zoom-content > .file-object.type-default {
|
|
|
|
+ width: 100%;
|
|
|
|
+}
|
|
.rotate-2 {
|
|
.rotate-2 {
|
|
transform: rotateY(180deg);
|
|
transform: rotateY(180deg);
|
|
}
|
|
}
|
|
-
|
|
|
|
.rotate-3 {
|
|
.rotate-3 {
|
|
transform: rotate(180deg);
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
-
|
|
|
|
.rotate-4 {
|
|
.rotate-4 {
|
|
transform: rotate(180deg) rotateY(180deg);
|
|
transform: rotate(180deg) rotateY(180deg);
|
|
}
|
|
}
|
|
-
|
|
|
|
.rotate-5 {
|
|
.rotate-5 {
|
|
transform: rotate(270deg) rotateY(180deg);
|
|
transform: rotate(270deg) rotateY(180deg);
|
|
}
|
|
}
|
|
-
|
|
|
|
.rotate-6 {
|
|
.rotate-6 {
|
|
transform: rotate(90deg);
|
|
transform: rotate(90deg);
|
|
}
|
|
}
|
|
-
|
|
|
|
.rotate-7 {
|
|
.rotate-7 {
|
|
transform: rotate(90deg) rotateY(180deg);
|
|
transform: rotate(90deg) rotateY(180deg);
|
|
}
|
|
}
|
|
-
|
|
|
|
.rotate-8 {
|
|
.rotate-8 {
|
|
transform: rotate(270deg);
|
|
transform: rotate(270deg);
|
|
}
|
|
}
|
|
-
|
|
|
|
-/* other styles */
|
|
|
|
-input[type=file].file-loading, .file-loading input[type=file] {
|
|
|
|
- width: 0;
|
|
|
|
- height: 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.file-loading:before {
|
|
.file-loading:before {
|
|
content: " Loading...";
|
|
content: " Loading...";
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- position: relative;
|
|
|
|
padding-left: 20px;
|
|
padding-left: 20px;
|
|
line-height: 16px;
|
|
line-height: 16px;
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
font-variant: small-caps;
|
|
font-variant: small-caps;
|
|
color: #999;
|
|
color: #999;
|
|
- background: transparent url('../img/loading.gif') top left no-repeat;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-loading[dir=rtl]:before {
|
|
|
|
- background: transparent url('../img/loading.gif') top right no-repeat;
|
|
|
|
- padding-left: 0;
|
|
|
|
- padding-right: 20px;
|
|
|
|
|
|
+ background: transparent url(../img/loading.gif) top left no-repeat;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-object {
|
|
.file-object {
|
|
margin: 0 0 -5px 0;
|
|
margin: 0 0 -5px 0;
|
|
padding: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
-
|
|
|
|
.btn-file {
|
|
.btn-file {
|
|
- position: relative;
|
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
-
|
|
|
|
.btn-file input[type=file] {
|
|
.btn-file input[type=file] {
|
|
- position: absolute;
|
|
|
|
top: 0;
|
|
top: 0;
|
|
right: 0;
|
|
right: 0;
|
|
min-width: 100%;
|
|
min-width: 100%;
|
|
@@ -89,36 +109,30 @@ input[type=file].file-loading, .file-loading input[type=file] {
|
|
cursor: inherit;
|
|
cursor: inherit;
|
|
display: block;
|
|
display: block;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-caption {
|
|
|
|
- position: relative;
|
|
|
|
|
|
+.btn-file ::-ms-browse {
|
|
|
|
+ font-size: 10000px;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-caption .file-caption-name {
|
|
.file-caption .file-caption-name {
|
|
width: 100%;
|
|
width: 100%;
|
|
- margin:0;
|
|
|
|
- padding:0;
|
|
|
|
|
|
+ margin: 0;
|
|
|
|
+ padding: 0;
|
|
box-shadow: none;
|
|
box-shadow: none;
|
|
border: none;
|
|
border: none;
|
|
background: none;
|
|
background: none;
|
|
outline: none;
|
|
outline: none;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-caption-icon {
|
|
|
|
- display: none;
|
|
|
|
- position: absolute;
|
|
|
|
- line-height: 1;
|
|
|
|
- left: 8px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.file-caption.icon-visible .file-caption-icon {
|
|
.file-caption.icon-visible .file-caption-icon {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-caption.icon-visible .file-caption-name {
|
|
.file-caption.icon-visible .file-caption-name {
|
|
padding-left: 15px;
|
|
padding-left: 15px;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+.file-caption-icon {
|
|
|
|
+ line-height: 1;
|
|
|
|
+ left: 8px;
|
|
|
|
+}
|
|
.file-error-message {
|
|
.file-error-message {
|
|
color: #a94442;
|
|
color: #a94442;
|
|
background-color: #f2dede;
|
|
background-color: #f2dede;
|
|
@@ -127,52 +141,40 @@ input[type=file].file-loading, .file-loading input[type=file] {
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
padding: 15px;
|
|
padding: 15px;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-error-message pre, .file-error-message ul {
|
|
|
|
- margin: 0;
|
|
|
|
- text-align: left;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.file-error-message pre {
|
|
.file-error-message pre {
|
|
margin: 5px 0;
|
|
margin: 5px 0;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-caption-disabled {
|
|
.file-caption-disabled {
|
|
- background-color: #eeeeee;
|
|
|
|
|
|
+ background-color: #eee;
|
|
cursor: not-allowed;
|
|
cursor: not-allowed;
|
|
opacity: 1;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-preview {
|
|
.file-preview {
|
|
border-radius: 5px;
|
|
border-radius: 5px;
|
|
border: 1px solid #ddd;
|
|
border: 1px solid #ddd;
|
|
padding: 8px;
|
|
padding: 8px;
|
|
width: 100%;
|
|
width: 100%;
|
|
margin-bottom: 5px;
|
|
margin-bottom: 5px;
|
|
- position: relative;
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-preview .btn-xs {
|
|
.file-preview .btn-xs {
|
|
padding: 1px 5px;
|
|
padding: 1px 5px;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
line-height: 1.5;
|
|
border-radius: 3px;
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-preview .fileinput-remove {
|
|
.file-preview .fileinput-remove {
|
|
- position: absolute;
|
|
|
|
top: 1px;
|
|
top: 1px;
|
|
right: 1px;
|
|
right: 1px;
|
|
line-height: 10px;
|
|
line-height: 10px;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+.file-preview .clickable {
|
|
|
|
+ cursor: pointer;
|
|
|
|
+}
|
|
.file-preview-image {
|
|
.file-preview-image {
|
|
font: 40px Impact, Charcoal, sans-serif;
|
|
font: 40px Impact, Charcoal, sans-serif;
|
|
- color: green;
|
|
|
|
|
|
+ color: #008000;
|
|
}
|
|
}
|
|
-
|
|
|
|
.krajee-default.file-preview-frame {
|
|
.krajee-default.file-preview-frame {
|
|
- position: relative;
|
|
|
|
margin: 8px;
|
|
margin: 8px;
|
|
border: 1px solid #ddd;
|
|
border: 1px solid #ddd;
|
|
box-shadow: 1px 1px 5px 0 #a2958a;
|
|
box-shadow: 1px 1px 5px 0 #a2958a;
|
|
@@ -180,20 +182,16 @@ input[type=file].file-loading, .file-loading input[type=file] {
|
|
float: left;
|
|
float: left;
|
|
text-align: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.krajee-default.file-preview-frame:not(.file-preview-error):hover {
|
|
|
|
- box-shadow: 3px 3px 5px 0 #333;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.krajee-default.file-preview-frame .kv-file-content {
|
|
.krajee-default.file-preview-frame .kv-file-content {
|
|
width: 213px;
|
|
width: 213px;
|
|
height: 160px;
|
|
height: 160px;
|
|
}
|
|
}
|
|
-
|
|
|
|
.krajee-default.file-preview-frame .file-thumbnail-footer {
|
|
.krajee-default.file-preview-frame .file-thumbnail-footer {
|
|
height: 70px;
|
|
height: 70px;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+.krajee-default.file-preview-frame:not(.file-preview-error):hover {
|
|
|
|
+ box-shadow: 3px 3px 5px 0 #333;
|
|
|
|
+}
|
|
.krajee-default .file-preview-text {
|
|
.krajee-default .file-preview-text {
|
|
display: block;
|
|
display: block;
|
|
color: #428bca;
|
|
color: #428bca;
|
|
@@ -203,29 +201,17 @@ input[type=file].file-loading, .file-loading input[type=file] {
|
|
padding: 8px;
|
|
padding: 8px;
|
|
resize: none;
|
|
resize: none;
|
|
}
|
|
}
|
|
-
|
|
|
|
.krajee-default .file-preview-html {
|
|
.krajee-default .file-preview-html {
|
|
border: 1px solid #ddd;
|
|
border: 1px solid #ddd;
|
|
padding: 8px;
|
|
padding: 8px;
|
|
overflow: auto;
|
|
overflow: auto;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.krajee-default .file-preview-other:hover {
|
|
|
|
- opacity: 0.8;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.krajee-default .file-actions, .krajee-default .file-other-error {
|
|
|
|
- text-align: left;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.krajee-default .file-other-icon {
|
|
.krajee-default .file-other-icon {
|
|
font-size: 6em;
|
|
font-size: 6em;
|
|
}
|
|
}
|
|
-
|
|
|
|
.krajee-default .file-footer-buttons {
|
|
.krajee-default .file-footer-buttons {
|
|
float: right;
|
|
float: right;
|
|
}
|
|
}
|
|
-
|
|
|
|
.krajee-default .file-footer-caption {
|
|
.krajee-default .file-footer-caption {
|
|
display: block;
|
|
display: block;
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -234,112 +220,100 @@ input[type=file].file-loading, .file-loading input[type=file] {
|
|
color: #777;
|
|
color: #777;
|
|
margin-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
}
|
|
-
|
|
|
|
.krajee-default .file-preview-error {
|
|
.krajee-default .file-preview-error {
|
|
opacity: 0.65;
|
|
opacity: 0.65;
|
|
box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.krajee-default .file-preview-frame:not(.file-preview-error) .file-footer-caption:hover {
|
|
|
|
- color: #000;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.krajee-default .file-drag-handle, .krajee-default .file-upload-indicator {
|
|
|
|
- float: left;
|
|
|
|
- margin: 5px 0 -5px 0;
|
|
|
|
- width: 16px;
|
|
|
|
- height: 16px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.krajee-default .file-thumb-progress {
|
|
.krajee-default .file-thumb-progress {
|
|
height: 11px;
|
|
height: 11px;
|
|
-}
|
|
|
|
-
|
|
|
|
-.krajee-default .file-thumb-progress .progress, .krajee-default .file-thumb-progress .progress-bar {
|
|
|
|
- height: 11px;
|
|
|
|
- font-size: 9px;
|
|
|
|
- line-height: 10px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.krajee-default .file-thumbnail-footer {
|
|
|
|
- position: relative;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.krajee-default .file-thumb-progress {
|
|
|
|
- position: absolute;
|
|
|
|
top: 37px;
|
|
top: 37px;
|
|
left: 0;
|
|
left: 0;
|
|
right: 0;
|
|
right: 0;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.krajee-default .file-caption-info,
|
|
|
|
-.krajee-default .file-size-info {
|
|
|
|
- display: block;
|
|
|
|
- white-space: nowrap;
|
|
|
|
- overflow: hidden;
|
|
|
|
- text-overflow: ellipsis;
|
|
|
|
- width: 160px;
|
|
|
|
- height: 15px;
|
|
|
|
- margin: auto;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.krajee-default.kvsortable-ghost {
|
|
.krajee-default.kvsortable-ghost {
|
|
background: #e1edf7;
|
|
background: #e1edf7;
|
|
border: 2px solid #a1abff;
|
|
border: 2px solid #a1abff;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.kv-upload-progress .progress,
|
|
|
|
-.kv-upload-progress .progress-bar {
|
|
|
|
- height: 20px;
|
|
|
|
- line-height: 20px;
|
|
|
|
|
|
+.krajee-default .file-preview-other:hover {
|
|
|
|
+ opacity: 0.8;
|
|
|
|
+}
|
|
|
|
+.krajee-default .file-preview-frame:not(.file-preview-error) .file-footer-caption:hover {
|
|
|
|
+ color: #000;
|
|
}
|
|
}
|
|
-
|
|
|
|
.kv-upload-progress .progress {
|
|
.kv-upload-progress .progress {
|
|
|
|
+ height: 20px;
|
|
|
|
+ line-height: 20px;
|
|
margin: 10px 0;
|
|
margin: 10px 0;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
-
|
|
|
|
-/* noinspection CssOverwrittenProperties */
|
|
|
|
|
|
+.kv-upload-progress .progress-bar {
|
|
|
|
+ height: 20px;
|
|
|
|
+ line-height: 20px;
|
|
|
|
+}
|
|
|
|
+/*noinspection CssOverwrittenProperties*/
|
|
.file-zoom-dialog .file-other-icon {
|
|
.file-zoom-dialog .file-other-icon {
|
|
font-size: 22em;
|
|
font-size: 22em;
|
|
font-size: 50vmin;
|
|
font-size: 50vmin;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-input-new .file-preview, .file-input-new .close, .file-input-new .glyphicon-file,
|
|
|
|
-.file-input-new .fileinput-remove-button, .file-input-new .fileinput-upload-button,
|
|
|
|
-.file-input-ajax-new .fileinput-remove-button, .file-input-ajax-new .fileinput-upload-button {
|
|
|
|
- display: none;
|
|
|
|
|
|
+.file-zoom-dialog .modal-dialog {
|
|
|
|
+ width: auto;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-caption-main {
|
|
|
|
- width: 100%;
|
|
|
|
|
|
+.file-zoom-dialog .modal-header {
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: space-between;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-input-ajax-new .no-browse .input-group-btn,
|
|
|
|
-.file-input-new .no-browse .input-group-btn {
|
|
|
|
- display: none;
|
|
|
|
|
|
+.file-zoom-dialog .btn-navigate {
|
|
|
|
+ padding: 0;
|
|
|
|
+ margin: 0;
|
|
|
|
+ background: transparent;
|
|
|
|
+ text-decoration: none;
|
|
|
|
+ outline: none;
|
|
|
|
+ opacity: 0.7;
|
|
|
|
+ top: 45%;
|
|
|
|
+ font-size: 4em;
|
|
|
|
+ color: #1c94c4;
|
|
|
|
+}
|
|
|
|
+.file-zoom-dialog .btn-navigate:not([disabled]):hover {
|
|
|
|
+ outline: none;
|
|
|
|
+ box-shadow: none;
|
|
|
|
+ opacity: 0.6;
|
|
|
|
+}
|
|
|
|
+.file-zoom-dialog .floating-buttons {
|
|
|
|
+ top: 5px;
|
|
|
|
+ right: 10px;
|
|
|
|
+}
|
|
|
|
+.file-zoom-dialog .btn-navigate[disabled] {
|
|
|
|
+ opacity: 0.3;
|
|
|
|
+}
|
|
|
|
+.file-zoom-dialog .btn-prev {
|
|
|
|
+ left: 1px;
|
|
|
|
+}
|
|
|
|
+.file-zoom-dialog .btn-next {
|
|
|
|
+ right: 1px;
|
|
|
|
+}
|
|
|
|
+.file-zoom-dialog .kv-zoom-title {
|
|
|
|
+ font-weight: 300;
|
|
|
|
+ color: #999;
|
|
|
|
+ max-width: 50%;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ white-space: nowrap;
|
|
|
|
+ text-overflow: ellipsis;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-input-ajax-new .no-browse .form-control,
|
|
|
|
.file-input-new .no-browse .form-control {
|
|
.file-input-new .no-browse .form-control {
|
|
border-top-right-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-thumb-loading {
|
|
|
|
- background: transparent url('../img/loading.gif') no-repeat scroll center center content-box !important;
|
|
|
|
|
|
+.file-input-ajax-new .no-browse .form-control {
|
|
|
|
+ border-top-right-radius: 4px;
|
|
|
|
+ border-bottom-right-radius: 4px;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-sortable .file-drag-handle {
|
|
|
|
- cursor: move;
|
|
|
|
- cursor: -webkit-grabbing;
|
|
|
|
- opacity: 1;
|
|
|
|
|
|
+.file-caption-main {
|
|
|
|
+ width: 100%;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-sortable .file-drag-handle:hover {
|
|
|
|
- opacity: 0.7;
|
|
|
|
|
|
+.file-thumb-loading {
|
|
|
|
+ background: transparent url(../img/loading.gif) no-repeat scroll center center content-box !important;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-drop-zone {
|
|
.file-drop-zone {
|
|
border: 1px dashed #aaa;
|
|
border: 1px dashed #aaa;
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
@@ -349,72 +323,39 @@ input[type=file].file-loading, .file-loading input[type=file] {
|
|
margin: 12px 15px 12px 12px;
|
|
margin: 12px 15px 12px 12px;
|
|
padding: 5px;
|
|
padding: 5px;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-drop-zone-title {
|
|
|
|
- color: #aaa;
|
|
|
|
- font-size: 1.6em;
|
|
|
|
- padding: 85px 10px;
|
|
|
|
- cursor: default;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-preview .clickable,
|
|
|
|
-.clickable .file-drop-zone-title {
|
|
|
|
- cursor: pointer;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.file-drop-zone.clickable:hover {
|
|
.file-drop-zone.clickable:hover {
|
|
border: 2px dashed #999;
|
|
border: 2px dashed #999;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-drop-zone.clickable:focus {
|
|
.file-drop-zone.clickable:focus {
|
|
border: 2px solid #5acde2;
|
|
border: 2px solid #5acde2;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-drop-zone .file-preview-thumbnails {
|
|
.file-drop-zone .file-preview-thumbnails {
|
|
cursor: default;
|
|
cursor: default;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+.file-drop-zone-title {
|
|
|
|
+ color: #aaa;
|
|
|
|
+ font-size: 1.6em;
|
|
|
|
+ padding: 85px 10px;
|
|
|
|
+ cursor: default;
|
|
|
|
+}
|
|
.file-highlighted {
|
|
.file-highlighted {
|
|
border: 2px dashed #999 !important;
|
|
border: 2px dashed #999 !important;
|
|
- background-color: #f0f0f0;
|
|
|
|
|
|
+ background-color: #eee;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-uploading {
|
|
.file-uploading {
|
|
- background: url('../img/loading-sm.gif') no-repeat center bottom 10px;
|
|
|
|
|
|
+ background: url(../img/loading-sm.gif) no-repeat center bottom 10px;
|
|
opacity: 0.65;
|
|
opacity: 0.65;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-zoom-dialog .modal-dialog {
|
|
|
|
- position: relative;
|
|
|
|
- width: auto;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-zoom-dialog .modal-header {
|
|
|
|
- display: -ms-flexbox;
|
|
|
|
- display: flex;
|
|
|
|
- -ms-flex-align: center;
|
|
|
|
- align-items: center;
|
|
|
|
- -ms-flex-pack: justify;
|
|
|
|
- justify-content: space-between;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-zoom-dialog .modal-header:before,
|
|
|
|
-.file-zoom-dialog .modal-header:after {
|
|
|
|
- display: none;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
@media (min-width: 576px) {
|
|
@media (min-width: 576px) {
|
|
.file-zoom-dialog .modal-dialog {
|
|
.file-zoom-dialog .modal-dialog {
|
|
max-width: 500px;
|
|
max-width: 500px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
@media (min-width: 992px) {
|
|
@media (min-width: 992px) {
|
|
.file-zoom-dialog .modal-lg {
|
|
.file-zoom-dialog .modal-lg {
|
|
max-width: 800px;
|
|
max-width: 800px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-zoom-fullscreen.modal {
|
|
.file-zoom-fullscreen.modal {
|
|
position: fixed;
|
|
position: fixed;
|
|
top: 0;
|
|
top: 0;
|
|
@@ -422,45 +363,22 @@ input[type=file].file-loading, .file-loading input[type=file] {
|
|
bottom: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
left: 0;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-zoom-fullscreen .modal-dialog {
|
|
.file-zoom-fullscreen .modal-dialog {
|
|
position: fixed;
|
|
position: fixed;
|
|
margin: 0;
|
|
margin: 0;
|
|
|
|
+ padding: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
max-height: 100%;
|
|
- padding: 0;
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-zoom-fullscreen .modal-content {
|
|
.file-zoom-fullscreen .modal-content {
|
|
border-radius: 0;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-zoom-fullscreen .modal-body {
|
|
.file-zoom-fullscreen .modal-body {
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-zoom-dialog .btn-navigate {
|
|
|
|
- position: absolute;
|
|
|
|
- padding: 0;
|
|
|
|
- margin: 0;
|
|
|
|
- background: transparent;
|
|
|
|
- text-decoration: none;
|
|
|
|
- outline: none;
|
|
|
|
- opacity: 0.7;
|
|
|
|
- top: 45%;
|
|
|
|
- font-size: 4em;
|
|
|
|
- color: #1c94c4;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-zoom-dialog .floating-buttons {
|
|
|
|
- position: absolute;
|
|
|
|
- top: 5px;
|
|
|
|
- right: 10px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.btn-kv {
|
|
.btn-kv {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -471,100 +389,34 @@ input[type=file].file-loading, .file-loading input[type=file] {
|
|
font-size: 0.875rem;
|
|
font-size: 0.875rem;
|
|
border-radius: 0.2rem;
|
|
border-radius: 0.2rem;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.kv-zoom-actions .btn-kv, .floating-buttons .btn-kv {
|
|
|
|
- margin-left: 3px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.floating-buttons, .floating-buttons .btn-kv {
|
|
|
|
|
|
+.floating-buttons {
|
|
z-index: 3000;
|
|
z-index: 3000;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-zoom-dialog .btn-navigate:not([disabled]):hover {
|
|
|
|
- outline: none;
|
|
|
|
- box-shadow: none;
|
|
|
|
- opacity: 0.6;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-zoom-dialog .btn-navigate[disabled] {
|
|
|
|
- opacity: 0.3;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-zoom-dialog .btn-prev {
|
|
|
|
- left: 1px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-zoom-dialog .btn-next {
|
|
|
|
- right: 1px;
|
|
|
|
|
|
+.floating-buttons .btn-kv {
|
|
|
|
+ margin-left: 3px;
|
|
|
|
+ z-index: 3000;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-zoom-content {
|
|
.file-zoom-content {
|
|
height: 480px;
|
|
height: 480px;
|
|
text-align: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-zoom-content .file-preview-image,
|
|
|
|
|
|
+.file-zoom-content .file-preview-image {
|
|
|
|
+ max-height: 100%;
|
|
|
|
+}
|
|
.file-zoom-content .file-preview-video {
|
|
.file-zoom-content .file-preview-video {
|
|
- max-height: 100%
|
|
|
|
|
|
+ max-height: 100%;
|
|
|
|
+}
|
|
|
|
+.file-zoom-content .is-portrait-gt4 {
|
|
|
|
+ margin-top: 60px;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-zoom-content > .file-object.type-image {
|
|
.file-zoom-content > .file-object.type-image {
|
|
- width: auto;
|
|
|
|
height: auto;
|
|
height: auto;
|
|
min-height: inherit;
|
|
min-height: inherit;
|
|
- max-width: 100%;
|
|
|
|
- max-height: 100%;
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-zoom-content > .file-object.type-video,
|
|
|
|
-.file-zoom-content > .file-object.type-flash {
|
|
|
|
- width: auto;
|
|
|
|
- height: 100%;
|
|
|
|
- max-width: 100%;
|
|
|
|
- max-height: 100%;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.file-zoom-content > .file-object.type-audio {
|
|
.file-zoom-content > .file-object.type-audio {
|
|
width: auto;
|
|
width: auto;
|
|
height: 30px;
|
|
height: 30px;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.file-zoom-content > .file-object.type-pdf,
|
|
|
|
-.file-zoom-content > .file-object.type-html,
|
|
|
|
-.file-zoom-content > .file-object.type-text,
|
|
|
|
-.file-zoom-content > .file-object.type-default {
|
|
|
|
- width: 100%;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-preview-initial.sortable-chosen {
|
|
|
|
- background-color: #d9edf7;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.hide-content .kv-file-content {
|
|
|
|
- display: none;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/* IE 10 fix */
|
|
|
|
-.btn-file ::-ms-browse {
|
|
|
|
- font-size: 10000px;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 100%;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-zoom-content .is-portrait-gt4 {
|
|
|
|
- margin-top: 60px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.file-zoom-dialog .kv-zoom-title {
|
|
|
|
- font-weight: 300;
|
|
|
|
- color: #999;
|
|
|
|
- max-width: 50%;
|
|
|
|
- overflow: hidden;
|
|
|
|
- white-space: nowrap;
|
|
|
|
- text-overflow: ellipsis;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
@media screen and (max-width: 767px) {
|
|
@media screen and (max-width: 767px) {
|
|
.file-preview-thumbnails {
|
|
.file-preview-thumbnails {
|
|
display: flex;
|
|
display: flex;
|
|
@@ -572,14 +424,33 @@ input[type=file].file-loading, .file-loading input[type=file] {
|
|
align-items: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
-
|
|
|
|
.file-zoom-dialog .modal-header {
|
|
.file-zoom-dialog .modal-header {
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
@media screen and (max-width: 350px) {
|
|
@media screen and (max-width: 350px) {
|
|
.krajee-default.file-preview-frame .kv-file-content {
|
|
.krajee-default.file-preview-frame .kv-file-content {
|
|
width: 160px;
|
|
width: 160px;
|
|
}
|
|
}
|
|
|
|
+}
|
|
|
|
+.file-loading[dir=rtl]:before {
|
|
|
|
+ background: transparent url(../img/loading.gif) top right no-repeat;
|
|
|
|
+ padding-left: 0;
|
|
|
|
+ padding-right: 20px;
|
|
|
|
+}
|
|
|
|
+.file-sortable .file-drag-handle {
|
|
|
|
+ cursor: move;
|
|
|
|
+ opacity: 1;
|
|
|
|
+}
|
|
|
|
+.file-sortable .file-drag-handle:hover {
|
|
|
|
+ opacity: 0.7;
|
|
|
|
+}
|
|
|
|
+.clickable .file-drop-zone-title {
|
|
|
|
+ cursor: pointer;
|
|
|
|
+}
|
|
|
|
+.kv-zoom-actions .btn-kv {
|
|
|
|
+ margin-left: 3px;
|
|
|
|
+}
|
|
|
|
+.file-preview-initial.sortable-chosen {
|
|
|
|
+ background-color: #d9edf7;
|
|
}
|
|
}
|