升级select2到最新版v4.0.13

pull/327/head
RuoYi 2021-08-31 10:23:05 +08:00
parent 6d27c8bbc7
commit 007cadbecb
6 changed files with 6601 additions and 6374 deletions

View File

@ -1,484 +1,481 @@
.select2-container { .select2-container {
box-sizing: border-box; box-sizing: border-box;
display: inline-block; display: inline-block;
margin: 0; margin: 0;
position: relative; position: relative;
vertical-align: middle; } vertical-align: middle; }
.select2-container .select2-selection--single { .select2-container .select2-selection--single {
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; cursor: pointer;
display: block; display: block;
height: 28px; height: 28px;
user-select: none; user-select: none;
-webkit-user-select: none; } -webkit-user-select: none; }
.select2-container .select2-selection--single .select2-selection__rendered { .select2-container .select2-selection--single .select2-selection__rendered {
display: block; display: block;
padding-left: 8px; padding-left: 8px;
padding-right: 20px; padding-right: 20px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; } white-space: nowrap; }
.select2-container .select2-selection--single .select2-selection__clear { .select2-container .select2-selection--single .select2-selection__clear {
position: relative; } position: relative; }
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
padding-right: 8px; padding-right: 8px;
padding-left: 20px; } padding-left: 20px; }
.select2-container .select2-selection--multiple { .select2-container .select2-selection--multiple {
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; cursor: pointer;
display: block; display: block;
min-height: 32px; min-height: 32px;
user-select: none; user-select: none;
-webkit-user-select: none; } -webkit-user-select: none; }
.select2-container .select2-selection--multiple .select2-selection__rendered { .select2-container .select2-selection--multiple .select2-selection__rendered {
display: inline-block; display: inline-block;
overflow: hidden; overflow: hidden;
padding-left: 8px; padding-left: 8px;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; } white-space: nowrap; }
.select2-container .select2-search--inline { .select2-container .select2-search--inline {
float: left; } float: left; }
.select2-container .select2-search--inline .select2-search__field { .select2-container .select2-search--inline .select2-search__field {
box-sizing: border-box; box-sizing: border-box;
border: none; border: none;
font-size: 100%; font-size: 100%;
margin-top: 5px; margin-top: 5px;
padding: 0; } padding: 0; }
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button { .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
-webkit-appearance: none; } -webkit-appearance: none; }
.select2-dropdown { .select2-dropdown {
background-color: white; background-color: white;
border: 1px solid #aaa; border: 1px solid #aaa;
border-radius: 4px; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
display: block; display: block;
position: absolute; position: absolute;
left: -100000px; left: -100000px;
width: 100%; width: 100%;
z-index: 1051; } z-index: 1051; }
.select2-results { .select2-results {
display: block; } display: block; }
.select2-results__options { .select2-results__options {
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; } padding: 0; }
.select2-results__option { .select2-results__option {
padding: 6px; padding: 6px;
user-select: none; user-select: none;
-webkit-user-select: none; } -webkit-user-select: none; }
.select2-results__option[aria-selected] { .select2-results__option[aria-selected] {
cursor: pointer; } cursor: pointer; }
.select2-container--open .select2-dropdown { .select2-container--open .select2-dropdown {
left: 0; } left: 0; }
.select2-container--open .select2-dropdown--above { .select2-container--open .select2-dropdown--above {
border-bottom: none; border-bottom: none;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-bottom-right-radius: 0; } border-bottom-right-radius: 0; }
.select2-container--open .select2-dropdown--below { .select2-container--open .select2-dropdown--below {
border-top: none; border-top: none;
border-top-left-radius: 0; border-top-left-radius: 0;
border-top-right-radius: 0; } border-top-right-radius: 0; }
.select2-search--dropdown { .select2-search--dropdown {
display: block; display: block;
padding: 4px; } padding: 4px; }
.select2-search--dropdown .select2-search__field { .select2-search--dropdown .select2-search__field {
padding: 4px; padding: 4px;
width: 100%; width: 100%;
box-sizing: border-box; } box-sizing: border-box; }
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button { .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
-webkit-appearance: none; } -webkit-appearance: none; }
.select2-search--dropdown.select2-search--hide { .select2-search--dropdown.select2-search--hide {
display: none; } display: none; }
.select2-close-mask { .select2-close-mask {
border: 0; border: 0;
margin: 0; margin: 0;
padding: 0; padding: 0;
display: block; display: block;
position: fixed; position: fixed;
left: 0; left: 0;
top: 0; top: 0;
min-height: 100%; min-height: 100%;
min-width: 100%; min-width: 100%;
height: auto; height: auto;
width: auto; width: auto;
opacity: 0; opacity: 0;
z-index: 99; z-index: 99;
background-color: #fff; background-color: #fff;
filter: alpha(opacity=0); } filter: alpha(opacity=0); }
.select2-hidden-accessible { .select2-hidden-accessible {
border: 0 !important; border: 0 !important;
clip: rect(0 0 0 0) !important; clip: rect(0 0 0 0) !important;
-webkit-clip-path: inset(50%) !important; -webkit-clip-path: inset(50%) !important;
clip-path: inset(50%) !important; clip-path: inset(50%) !important;
height: 1px !important; height: 1px !important;
overflow: hidden !important; overflow: hidden !important;
padding: 0 !important; padding: 0 !important;
position: absolute !important; position: absolute !important;
width: 1px !important; width: 1px !important;
white-space: nowrap !important; } white-space: nowrap !important; }
.select2-container--default .select2-selection--single { .select2-container--default .select2-selection--single {
background-color: #fff; background-color: #fff;
border: 1px solid #aaa; border: 1px solid #aaa;
border-radius: 4px; } border-radius: 4px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { .select2-container--default .select2-selection--single .select2-selection__rendered {
color: #444; color: #444;
line-height: 28px; } line-height: 28px; }
.select2-container--default .select2-selection--single .select2-selection__clear { .select2-container--default .select2-selection--single .select2-selection__clear {
cursor: pointer; cursor: pointer;
float: right; float: right;
font-weight: bold; } font-weight: bold; }
.select2-container--default .select2-selection--single .select2-selection__placeholder { .select2-container--default .select2-selection--single .select2-selection__placeholder {
color: #999; } color: #999; }
.select2-container--default .select2-selection--single .select2-selection__arrow { .select2-container--default .select2-selection--single .select2-selection__arrow {
height: 26px; height: 26px;
position: absolute; position: absolute;
top: 1px; top: 1px;
right: 1px; right: 1px;
width: 20px; } width: 20px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { .select2-container--default .select2-selection--single .select2-selection__arrow b {
border-color: #888 transparent transparent transparent; border-color: #888 transparent transparent transparent;
border-style: solid; border-style: solid;
border-width: 5px 4px 0 4px; border-width: 5px 4px 0 4px;
height: 0; height: 0;
left: 50%; left: 50%;
margin-left: -4px; margin-left: -4px;
margin-top: -2px; margin-top: -2px;
position: absolute; position: absolute;
top: 50%; top: 50%;
width: 0; } width: 0; }
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear { .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
float: left; } float: left; }
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
left: 1px; left: 1px;
right: auto; } right: auto; }
.select2-container--default.select2-container--disabled .select2-selection--single { .select2-container--default.select2-container--disabled .select2-selection--single {
background-color: #eee; background-color: #eee;
cursor: default; } cursor: default; }
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear { .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
display: none; } display: none; }
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
border-color: transparent transparent #888 transparent; border-color: transparent transparent #888 transparent;
border-width: 0 4px 5px 4px; } border-width: 0 4px 5px 4px; }
.select2-container--default .select2-selection--multiple { .select2-container--default .select2-selection--multiple {
background-color: white; background-color: white;
border: 1px solid #aaa; border: 1px solid #aaa;
border-radius: 4px; border-radius: 4px;
cursor: text; } cursor: text; }
.select2-container--default .select2-selection--multiple .select2-selection__rendered { .select2-container--default .select2-selection--multiple .select2-selection__rendered {
box-sizing: border-box; box-sizing: border-box;
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0 5px; padding: 0 5px;
width: 100%; } width: 100%; }
.select2-container--default .select2-selection--multiple .select2-selection__rendered li { .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
list-style: none; } list-style: none; }
.select2-container--default .select2-selection--multiple .select2-selection__placeholder { .select2-container--default .select2-selection--multiple .select2-selection__clear {
color: #999; cursor: pointer;
margin-top: 5px; float: right;
float: left; } font-weight: bold;
.select2-container--default .select2-selection--multiple .select2-selection__clear { margin-top: 5px;
cursor: pointer; margin-right: 10px;
float: right; padding: 1px; }
font-weight: bold; .select2-container--default .select2-selection--multiple .select2-selection__choice {
margin-top: 5px; background-color: #e4e4e4;
margin-right: 10px; } border: 1px solid #aaa;
.select2-container--default .select2-selection--multiple .select2-selection__choice { border-radius: 4px;
background-color: #e4e4e4; cursor: default;
border: 1px solid #aaa; float: left;
border-radius: 4px; margin-right: 5px;
cursor: default; margin-top: 5px;
float: left; padding: 0 5px; }
margin-right: 5px; .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
margin-top: 5px; color: #999;
padding: 0 5px; } cursor: pointer;
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove { display: inline-block;
color: #999; font-weight: bold;
cursor: pointer; margin-right: 2px; }
display: inline-block; .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
font-weight: bold; color: #333; }
margin-right: 2px; }
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
color: #333; } float: right; }
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline { .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
float: right; } margin-left: 5px;
margin-right: auto; }
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
margin-left: 5px; .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
margin-right: auto; } margin-left: 2px;
margin-right: auto; }
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
margin-left: 2px; .select2-container--default.select2-container--focus .select2-selection--multiple {
margin-right: auto; } border: solid black 1px;
outline: 0; }
.select2-container--default.select2-container--focus .select2-selection--multiple {
border: solid black 1px; .select2-container--default.select2-container--disabled .select2-selection--multiple {
outline: 0; } background-color: #eee;
cursor: default; }
.select2-container--default.select2-container--disabled .select2-selection--multiple {
background-color: #eee; .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
cursor: default; } display: none; }
.select2-container--default.select2-container--disabled .select2-selection__choice__remove { .select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
display: none; } border-top-left-radius: 0;
border-top-right-radius: 0; }
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
border-top-left-radius: 0; .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
border-top-right-radius: 0; } border-bottom-left-radius: 0;
border-bottom-right-radius: 0; }
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
border-bottom-left-radius: 0; .select2-container--default .select2-search--dropdown .select2-search__field {
border-bottom-right-radius: 0; } border: 1px solid #aaa; }
.select2-container--default .select2-search--dropdown .select2-search__field { .select2-container--default .select2-search--inline .select2-search__field {
border: 1px solid #aaa; } background: transparent;
border: none;
.select2-container--default .select2-search--inline .select2-search__field { outline: 0;
background: transparent; box-shadow: none;
border: none; -webkit-appearance: textfield; }
outline: 0;
box-shadow: none; .select2-container--default .select2-results > .select2-results__options {
-webkit-appearance: textfield; } max-height: 200px;
overflow-y: auto; }
.select2-container--default .select2-results > .select2-results__options {
max-height: 200px; .select2-container--default .select2-results__option[role=group] {
overflow-y: auto; } padding: 0; }
.select2-container--default .select2-results__option[role=group] { .select2-container--default .select2-results__option[aria-disabled=true] {
padding: 0; } color: #999; }
.select2-container--default .select2-results__option[aria-disabled=true] { .select2-container--default .select2-results__option[aria-selected=true] {
color: #999; } background-color: #ddd; }
.select2-container--default .select2-results__option[aria-selected=true] { .select2-container--default .select2-results__option .select2-results__option {
background-color: #ddd; } padding-left: 1em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
.select2-container--default .select2-results__option .select2-results__option { padding-left: 0; }
padding-left: 1em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
.select2-container--default .select2-results__option .select2-results__option .select2-results__group { margin-left: -1em;
padding-left: 0; } padding-left: 2em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option { .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -1em; margin-left: -2em;
padding-left: 2em; } padding-left: 3em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option { .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -2em; margin-left: -3em;
padding-left: 3em; } padding-left: 4em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -3em; margin-left: -4em;
padding-left: 4em; } padding-left: 5em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -4em; margin-left: -5em;
padding-left: 5em; } padding-left: 6em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -5em; .select2-container--default .select2-results__option--highlighted[aria-selected] {
padding-left: 6em; } background-color: #5897fb;
color: white; }
.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: #5897fb; .select2-container--default .select2-results__group {
color: white; } cursor: default;
display: block;
.select2-container--default .select2-results__group { padding: 6px; }
cursor: default;
display: block; .select2-container--classic .select2-selection--single {
padding: 6px; } background-color: #f7f7f7;
border: 1px solid #aaa;
.select2-container--classic .select2-selection--single { border-radius: 4px;
background-color: #f7f7f7; outline: 0;
border: 1px solid #aaa; background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
border-radius: 4px; background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
outline: 0; background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%); background-repeat: repeat-x;
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%); .select2-container--classic .select2-selection--single:focus {
background-repeat: repeat-x; border: 1px solid #5897fb; }
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } .select2-container--classic .select2-selection--single .select2-selection__rendered {
.select2-container--classic .select2-selection--single:focus { color: #444;
border: 1px solid #5897fb; } line-height: 28px; }
.select2-container--classic .select2-selection--single .select2-selection__rendered { .select2-container--classic .select2-selection--single .select2-selection__clear {
color: #444; cursor: pointer;
line-height: 28px; } float: right;
.select2-container--classic .select2-selection--single .select2-selection__clear { font-weight: bold;
cursor: pointer; margin-right: 10px; }
float: right; .select2-container--classic .select2-selection--single .select2-selection__placeholder {
font-weight: bold; color: #999; }
margin-right: 10px; } .select2-container--classic .select2-selection--single .select2-selection__arrow {
.select2-container--classic .select2-selection--single .select2-selection__placeholder { background-color: #ddd;
color: #999; } border: none;
.select2-container--classic .select2-selection--single .select2-selection__arrow { border-left: 1px solid #aaa;
background-color: #ddd; border-top-right-radius: 4px;
border: none; border-bottom-right-radius: 4px;
border-left: 1px solid #aaa; height: 26px;
border-top-right-radius: 4px; position: absolute;
border-bottom-right-radius: 4px; top: 1px;
height: 26px; right: 1px;
position: absolute; width: 20px;
top: 1px; background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
right: 1px; background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
width: 20px; background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%); background-repeat: repeat-x;
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%); .select2-container--classic .select2-selection--single .select2-selection__arrow b {
background-repeat: repeat-x; border-color: #888 transparent transparent transparent;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); } border-style: solid;
.select2-container--classic .select2-selection--single .select2-selection__arrow b { border-width: 5px 4px 0 4px;
border-color: #888 transparent transparent transparent; height: 0;
border-style: solid; left: 50%;
border-width: 5px 4px 0 4px; margin-left: -4px;
height: 0; margin-top: -2px;
left: 50%; position: absolute;
margin-left: -4px; top: 50%;
margin-top: -2px; width: 0; }
position: absolute;
top: 50%; .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
width: 0; } float: left; }
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear { .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
float: left; } border: none;
border-right: 1px solid #aaa;
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow { border-radius: 0;
border: none; border-top-left-radius: 4px;
border-right: 1px solid #aaa; border-bottom-left-radius: 4px;
border-radius: 0; left: 1px;
border-top-left-radius: 4px; right: auto; }
border-bottom-left-radius: 4px;
left: 1px; .select2-container--classic.select2-container--open .select2-selection--single {
right: auto; } border: 1px solid #5897fb; }
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
.select2-container--classic.select2-container--open .select2-selection--single { background: transparent;
border: 1px solid #5897fb; } border: none; }
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow { .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
background: transparent; border-color: transparent transparent #888 transparent;
border: none; } border-width: 0 4px 5px 4px; }
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
border-color: transparent transparent #888 transparent; .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
border-width: 0 4px 5px 4px; } border-top: none;
border-top-left-radius: 0;
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single { border-top-right-radius: 0;
border-top: none; background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
border-top-left-radius: 0; background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
border-top-right-radius: 0; background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%); background-repeat: repeat-x;
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
background-repeat: repeat-x; .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } border-bottom: none;
border-bottom-left-radius: 0;
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single { border-bottom-right-radius: 0;
border-bottom: none; background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
border-bottom-left-radius: 0; background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
border-bottom-right-radius: 0; background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%); background-repeat: repeat-x;
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
background-repeat: repeat-x; .select2-container--classic .select2-selection--multiple {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); } background-color: white;
border: 1px solid #aaa;
.select2-container--classic .select2-selection--multiple { border-radius: 4px;
background-color: white; cursor: text;
border: 1px solid #aaa; outline: 0; }
border-radius: 4px; .select2-container--classic .select2-selection--multiple:focus {
cursor: text; border: 1px solid #5897fb; }
outline: 0; } .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
.select2-container--classic .select2-selection--multiple:focus { list-style: none;
border: 1px solid #5897fb; } margin: 0;
.select2-container--classic .select2-selection--multiple .select2-selection__rendered { padding: 0 5px; }
list-style: none; .select2-container--classic .select2-selection--multiple .select2-selection__clear {
margin: 0; display: none; }
padding: 0 5px; } .select2-container--classic .select2-selection--multiple .select2-selection__choice {
.select2-container--classic .select2-selection--multiple .select2-selection__clear { background-color: #e4e4e4;
display: none; } border: 1px solid #aaa;
.select2-container--classic .select2-selection--multiple .select2-selection__choice { border-radius: 4px;
background-color: #e4e4e4; cursor: default;
border: 1px solid #aaa; float: left;
border-radius: 4px; margin-right: 5px;
cursor: default; margin-top: 5px;
float: left; padding: 0 5px; }
margin-right: 5px; .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
margin-top: 5px; color: #888;
padding: 0 5px; } cursor: pointer;
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove { display: inline-block;
color: #888; font-weight: bold;
cursor: pointer; margin-right: 2px; }
display: inline-block; .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
font-weight: bold; color: #555; }
margin-right: 2px; }
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover { .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
color: #555; } float: right;
margin-left: 5px;
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { margin-right: auto; }
float: right;
margin-left: 5px; .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
margin-right: auto; } margin-left: 2px;
margin-right: auto; }
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
margin-left: 2px; .select2-container--classic.select2-container--open .select2-selection--multiple {
margin-right: auto; } border: 1px solid #5897fb; }
.select2-container--classic.select2-container--open .select2-selection--multiple { .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
border: 1px solid #5897fb; } border-top: none;
border-top-left-radius: 0;
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple { border-top-right-radius: 0; }
border-top: none;
border-top-left-radius: 0; .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
border-top-right-radius: 0; } border-bottom: none;
border-bottom-left-radius: 0;
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple { border-bottom-right-radius: 0; }
border-bottom: none;
border-bottom-left-radius: 0; .select2-container--classic .select2-search--dropdown .select2-search__field {
border-bottom-right-radius: 0; } border: 1px solid #aaa;
outline: 0; }
.select2-container--classic .select2-search--dropdown .select2-search__field {
border: 1px solid #aaa; .select2-container--classic .select2-search--inline .select2-search__field {
outline: 0; } outline: 0;
box-shadow: none; }
.select2-container--classic .select2-search--inline .select2-search__field {
outline: 0; .select2-container--classic .select2-dropdown {
box-shadow: none; } background-color: white;
border: 1px solid transparent; }
.select2-container--classic .select2-dropdown {
background-color: white; .select2-container--classic .select2-dropdown--above {
border: 1px solid transparent; } border-bottom: none; }
.select2-container--classic .select2-dropdown--above { .select2-container--classic .select2-dropdown--below {
border-bottom: none; } border-top: none; }
.select2-container--classic .select2-dropdown--below { .select2-container--classic .select2-results > .select2-results__options {
border-top: none; } max-height: 200px;
overflow-y: auto; }
.select2-container--classic .select2-results > .select2-results__options {
max-height: 200px; .select2-container--classic .select2-results__option[role=group] {
overflow-y: auto; } padding: 0; }
.select2-container--classic .select2-results__option[role=group] { .select2-container--classic .select2-results__option[aria-disabled=true] {
padding: 0; } color: grey; }
.select2-container--classic .select2-results__option[aria-disabled=true] { .select2-container--classic .select2-results__option--highlighted[aria-selected] {
color: grey; } background-color: #3875d7;
color: white; }
.select2-container--classic .select2-results__option--highlighted[aria-selected] {
background-color: #3875d7; .select2-container--classic .select2-results__group {
color: white; } cursor: default;
display: block;
.select2-container--classic .select2-results__group { padding: 6px; }
cursor: default;
display: block; .select2-container--classic.select2-container--open .select2-dropdown {
padding: 6px; } border-color: #5897fb; }
.select2-container--classic.select2-container--open .select2-dropdown {
border-color: #5897fb; }

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

View File

@ -50,11 +50,11 @@
<!-- select2下拉框插件 --> <!-- select2下拉框插件 -->
<div th:fragment="select2-css"> <div th:fragment="select2-css">
<link th:href="@{/ajax/libs/select2/select2.min.css}" rel="stylesheet"/> <link th:href="@{/ajax/libs/select2/select2.min.css?v=4.0.13}" rel="stylesheet"/>
<link th:href="@{/ajax/libs/select2/select2-bootstrap.css}" rel="stylesheet"/> <link th:href="@{/ajax/libs/select2/select2-bootstrap.min.css?v=4.0.13}" rel="stylesheet"/>
</div> </div>
<div th:fragment="select2-js"> <div th:fragment="select2-js">
<script th:src="@{/ajax/libs/select2/select2.min.js}"></script> <script th:src="@{/ajax/libs/select2/select2.min.js?v=4.0.13}"></script>
</div> </div>
<!-- bootstrap-select下拉框插件 --> <!-- bootstrap-select下拉框插件 -->