mirror of https://gitee.com/y_project/RuoYi.git
升级bootstrap-fileinput到最新版本5.5.2
parent
2bdf12b1e1
commit
6e176c807c
|
@ -1,11 +1,11 @@
|
||||||
/*!
|
/*!
|
||||||
* bootstrap-fileinput v5.2.4
|
* bootstrap-fileinput v5.5.2
|
||||||
* http://plugins.krajee.com/file-input
|
* http://plugins.krajee.com/file-input
|
||||||
*
|
*
|
||||||
* Krajee default styling for bootstrap-fileinput.
|
* Krajee default styling for bootstrap-fileinput.
|
||||||
*
|
*
|
||||||
* Author: Kartik Visweswaran
|
* Author: Kartik Visweswaran
|
||||||
* Copyright: 2014 - 2021, Kartik Visweswaran, Krajee.com
|
* Copyright: 2014 - 2022, Kartik Visweswaran, Krajee.com
|
||||||
*
|
*
|
||||||
* 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
|
||||||
|
@ -50,6 +50,10 @@ input[type=file].file-loading {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.file-caption .input-group {
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-file input[type=file],
|
.btn-file input[type=file],
|
||||||
.file-caption-icon,
|
.file-caption-icon,
|
||||||
.file-preview .fileinput-remove,
|
.file-preview .fileinput-remove,
|
||||||
|
@ -274,6 +278,7 @@ input[type=file].file-loading {
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
float: left;
|
float: left;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.krajee-default.file-preview-frame .kv-file-content {
|
.krajee-default.file-preview-frame .kv-file-content {
|
||||||
|
@ -281,12 +286,6 @@ input[type=file].file-loading {
|
||||||
height: 160px;
|
height: 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.krajee-default .file-preview-other-frame {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.krajee-default.file-preview-frame .kv-file-content.kv-pdf-rendered {
|
.krajee-default.file-preview-frame .kv-file-content.kv-pdf-rendered {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
}
|
}
|
||||||
|
@ -330,7 +329,7 @@ input[type=file].file-loading {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: #777;
|
color: #999;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -406,7 +405,7 @@ input[type=file].file-loading {
|
||||||
height: 2.4rem;
|
height: 2.4rem;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
text-align:center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-navigate * {
|
.btn-navigate * {
|
||||||
|
@ -426,19 +425,12 @@ input[type=file].file-loading {
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-zoom-dialog .kv-zoom-caption {
|
|
||||||
max-width: 50%;
|
|
||||||
overflow: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
.file-zoom-dialog .kv-zoom-header {
|
.file-zoom-dialog .kv-zoom-header {
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-zoom-dialog .kv-zoom-body {
|
.file-zoom-dialog .kv-zoom-body {
|
||||||
padding: 0.25rem 0.5rem 0.25rem 0;
|
padding: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-zoom-dialog .kv-zoom-description {
|
.file-zoom-dialog .kv-zoom-description {
|
||||||
|
@ -554,6 +546,10 @@ input[type=file].file-loading {
|
||||||
z-index: 3000;
|
z-index: 3000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.kv-zoom-actions {
|
||||||
|
min-width: 140px;
|
||||||
|
}
|
||||||
|
|
||||||
.kv-zoom-actions .btn-kv {
|
.kv-zoom-actions .btn-kv {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
@ -568,15 +564,6 @@ input[type=file].file-loading {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-zoom-content > * {
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.file-zoom-content .kv-spacer {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.file-zoom-content .file-preview-image {
|
.file-zoom-content .file-preview-image {
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
|
@ -668,4 +655,34 @@ input[type=file].file-loading {
|
||||||
|
|
||||||
.file-preview .kv-zoom-cache {
|
.file-preview .kv-zoom-cache {
|
||||||
display: none;
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.file-preview-other-frame, .file-preview-object, .kv-file-content, .kv-zoom-body {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-kv-rotate,
|
||||||
|
.kv-file-rotate {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rotatable:not(.hide-rotate) .btn-kv-rotate,
|
||||||
|
.rotatable:not(.hide-rotate) .kv-file-rotate {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rotatable .file-zoom-detail,
|
||||||
|
.rotatable .kv-file-content,
|
||||||
|
.rotatable .kv-file-content > :first-child {
|
||||||
|
transform-origin: center center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rotate-animate {
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.kv-overflow-hidden {
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -108,10 +108,10 @@
|
||||||
|
|
||||||
<!-- fileinput文件上传插件 -->
|
<!-- fileinput文件上传插件 -->
|
||||||
<div th:fragment="bootstrap-fileinput-css">
|
<div th:fragment="bootstrap-fileinput-css">
|
||||||
<link th:href="@{/ajax/libs/bootstrap-fileinput/fileinput.min.css?v=5.2.4}" rel="stylesheet"/>
|
<link th:href="@{/ajax/libs/bootstrap-fileinput/fileinput.min.css?v=5.5.2}" rel="stylesheet"/>
|
||||||
</div>
|
</div>
|
||||||
<div th:fragment="bootstrap-fileinput-js">
|
<div th:fragment="bootstrap-fileinput-js">
|
||||||
<script th:src="@{/ajax/libs/bootstrap-fileinput/fileinput.min.js?v=5.2.4}"></script>
|
<script th:src="@{/ajax/libs/bootstrap-fileinput/fileinput.min.js?v=5.5.2}"></script>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- duallistbox双列表框插件 -->
|
<!-- duallistbox双列表框插件 -->
|
||||||
|
|
Loading…
Reference in New Issue