升级bootstrap-select到最新版本v1.13.18

pull/327/head
RuoYi 2021-08-31 10:39:04 +08:00
parent e4b8b0c30c
commit 8d1ef8586e
5 changed files with 835 additions and 695 deletions

View File

@ -1,10 +1,34 @@
/*! /*!
* Bootstrap-select v1.13.10 (https://developer.snapappointments.com/bootstrap-select) * Bootstrap-select v1.13.18 (https://developer.snapappointments.com/bootstrap-select)
* *
* Copyright 2012-2019 SnapAppointments, LLC * Copyright 2012-2020 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/ */
@-webkit-keyframes bs-notify-fadeOut {
0% {
opacity: 0.9;
}
100% {
opacity: 0;
}
}
@-o-keyframes bs-notify-fadeOut {
0% {
opacity: 0.9;
}
100% {
opacity: 0;
}
}
@keyframes bs-notify-fadeOut {
0% {
opacity: 0.9;
}
100% {
opacity: 0;
}
}
select.bs-select-hidden, select.bs-select-hidden,
.bootstrap-select > select.bs-select-hidden, .bootstrap-select > select.bs-select-hidden,
select.selectpicker { select.selectpicker {
@ -90,11 +114,11 @@ select.selectpicker {
.has-error .bootstrap-select .dropdown-toggle, .has-error .bootstrap-select .dropdown-toggle,
.error .bootstrap-select .dropdown-toggle, .error .bootstrap-select .dropdown-toggle,
.bootstrap-select.is-invalid .dropdown-toggle, .bootstrap-select.is-invalid .dropdown-toggle,
.was-validated .bootstrap-select .selectpicker:invalid + .dropdown-toggle { .was-validated .bootstrap-select select:invalid + .dropdown-toggle {
border-color: #b94a48; border-color: #b94a48;
} }
.bootstrap-select.is-valid .dropdown-toggle, .bootstrap-select.is-valid .dropdown-toggle,
.was-validated .bootstrap-select .selectpicker:valid + .dropdown-toggle { .was-validated .bootstrap-select select:valid + .dropdown-toggle {
border-color: #28a745; border-color: #28a745;
} }
.bootstrap-select.fit-width { .bootstrap-select.fit-width {
@ -300,6 +324,11 @@ select.selectpicker {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
.bootstrap-select .dropdown-menu .notify.fadeOut {
-webkit-animation: 300ms linear 750ms forwards bs-notify-fadeOut;
-o-animation: 300ms linear 750ms forwards bs-notify-fadeOut;
animation: 300ms linear 750ms forwards bs-notify-fadeOut;
}
.bootstrap-select .no-results { .bootstrap-select .no-results {
padding: 3px; padding: 3px;
background: #f5f5f5; background: #f5f5f5;
@ -339,6 +368,8 @@ select.selectpicker {
height: 1em; height: 1em;
border-style: solid; border-style: solid;
border-width: 0 0.26em 0.26em 0; border-width: 0 0.26em 0.26em 0;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transform: rotate(45deg); -webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg); -ms-transform: rotate(45deg);
-o-transform: rotate(45deg); -o-transform: rotate(45deg);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -59,10 +59,10 @@
<!-- bootstrap-select下拉框插件 --> <!-- bootstrap-select下拉框插件 -->
<div th:fragment="bootstrap-select-css"> <div th:fragment="bootstrap-select-css">
<link th:href="@{/ajax/libs/bootstrap-select/bootstrap-select.css}" rel="stylesheet"/> <link th:href="@{/ajax/libs/bootstrap-select/bootstrap-select.css?v=1.13.18}" rel="stylesheet"/>
</div> </div>
<div th:fragment="bootstrap-select-js"> <div th:fragment="bootstrap-select-js">
<script th:src="@{/ajax/libs/bootstrap-select/bootstrap-select.js}"></script> <script th:src="@{/ajax/libs/bootstrap-select/bootstrap-select.js?v=1.13.18}"></script>
</div> </div>
<!-- datetimepicker日期和时间插件 --> <!-- datetimepicker日期和时间插件 -->