mirror of https://github.com/ColorlibHQ/AdminLTE
conflict resolve
- added "Fix Select2 heights" #2178 - rebuild dist files & synced to docspull/2183/head
parent
8845f6a8e5
commit
14f59c34f2
|
@ -10,17 +10,16 @@
|
|||
&:active {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.select2-selection--single {
|
||||
border: 1px solid $gray-x-light;
|
||||
//border-radius: $input-radius;
|
||||
height: 34px;
|
||||
padding: 6px 12px;
|
||||
height: $input-height;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container--default.select2-container--open {
|
||||
border-color: theme-color('primary');
|
||||
border-color: theme-color("primary");
|
||||
}
|
||||
|
||||
.select2-dropdown {
|
||||
|
@ -29,30 +28,31 @@
|
|||
}
|
||||
|
||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: theme-color('primary');
|
||||
color: $white;
|
||||
background-color: theme-color("primary");
|
||||
color: white;
|
||||
}
|
||||
|
||||
.select2-results__option {
|
||||
padding: 6px 12px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||
height: auto;
|
||||
margin-top: -4px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
height: auto;
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
.select2-container[dir='rtl'] .select2-selection--single .select2-selection__rendered {
|
||||
padding-left: 20px;
|
||||
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
||||
padding-right: 6px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 28px;
|
||||
right: 3px;
|
||||
height: 31px;
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
||||
|
@ -63,10 +63,9 @@
|
|||
.select2-search--inline {
|
||||
.select2-search__field {
|
||||
border: 1px solid $gray-x-light;
|
||||
|
||||
&:focus {
|
||||
border: 1px solid theme-color('primary');
|
||||
outline: none;
|
||||
border: 1px solid theme-color("primary");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -77,20 +76,20 @@
|
|||
|
||||
.select2-container--default .select2-results__option[aria-selected=true] {
|
||||
background-color: #ddd;
|
||||
|
||||
&,
|
||||
&:hover {
|
||||
color: $gray-700;
|
||||
color: #444;
|
||||
}
|
||||
}
|
||||
|
||||
//Multiple select
|
||||
.select2-container--default {
|
||||
.select2-selection--multiple {
|
||||
min-height: $input-height;
|
||||
border: 1px solid $gray-x-light;
|
||||
|
||||
//border-radius: $input-radius;
|
||||
&:focus {
|
||||
border-color: theme-color('primary');
|
||||
border-color: theme-color("primary");
|
||||
}
|
||||
|
||||
.select2-selection__rendered li:first-child.select2-search.select2-search--inline {
|
||||
|
@ -101,23 +100,21 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.select2-container--focus .select2-selection--multiple {
|
||||
border-color: $gray-x-light;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: theme-color('primary');
|
||||
border-color: darken(theme-color('primary'), 5%);
|
||||
background-color: theme-color("primary");
|
||||
border-color: darken(theme-color("primary"), 5%);
|
||||
padding: 0 10px;
|
||||
color: $white;
|
||||
padding: 1px 10px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin-right: 5px;
|
||||
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
&:hover {
|
||||
color: $white;
|
||||
}
|
||||
|
|
|
@ -17754,8 +17754,8 @@ html.maximized-card {
|
|||
.select2-container--default .select2-selection--single,
|
||||
.select2-selection .select2-selection--single {
|
||||
border: 1px solid #d2d6de;
|
||||
height: 34px;
|
||||
padding: 6px 12px;
|
||||
height: calc(2.25rem + 2px);
|
||||
}
|
||||
|
||||
.select2-container--default.select2-container--open {
|
||||
|
@ -17768,32 +17768,32 @@ html.maximized-card {
|
|||
|
||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #007bff;
|
||||
color: #ffffff;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.select2-results__option {
|
||||
padding: 6px 12px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||
height: auto;
|
||||
margin-top: -4px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
height: auto;
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
.select2-container[dir='rtl'] .select2-selection--single .select2-selection__rendered {
|
||||
padding-left: 20px;
|
||||
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
||||
padding-right: 6px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 28px;
|
||||
right: 3px;
|
||||
height: 31px;
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
||||
|
@ -17807,8 +17807,8 @@ html.maximized-card {
|
|||
|
||||
.select2-dropdown .select2-search__field:focus,
|
||||
.select2-search--inline .select2-search__field:focus {
|
||||
border: 1px solid #007bff;
|
||||
outline: none;
|
||||
border: 1px solid #007bff;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-results__option[aria-disabled=true] {
|
||||
|
@ -17820,10 +17820,11 @@ html.maximized-card {
|
|||
}
|
||||
|
||||
.select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[aria-selected=true]:hover {
|
||||
color: #495057;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple {
|
||||
min-height: calc(2.25rem + 2px);
|
||||
border: 1px solid #d2d6de;
|
||||
}
|
||||
|
||||
|
@ -17846,13 +17847,13 @@ html.maximized-card {
|
|||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #007bff;
|
||||
border-color: #006fe6;
|
||||
padding: 0 10px;
|
||||
color: #ffffff;
|
||||
padding: 1px 10px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin-right: 5px;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1051,7 +1051,7 @@
|
|||
$(this).data(DATA_KEY, typeof config === 'string' ? data : config);
|
||||
}
|
||||
|
||||
if (typeof config === 'string' && config.match(/remove|toggle|toggleMaximize/)) {
|
||||
if (typeof config === 'string' && config.match(/collapse|expand|remove|toggle|toggleMaximize/)) {
|
||||
data[config]();
|
||||
} else if (typeof config === 'object') {
|
||||
data._init($(this));
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -17754,8 +17754,8 @@ html.maximized-card {
|
|||
.select2-container--default .select2-selection--single,
|
||||
.select2-selection .select2-selection--single {
|
||||
border: 1px solid #d2d6de;
|
||||
height: 34px;
|
||||
padding: 6px 12px;
|
||||
height: calc(2.25rem + 2px);
|
||||
}
|
||||
|
||||
.select2-container--default.select2-container--open {
|
||||
|
@ -17768,32 +17768,32 @@ html.maximized-card {
|
|||
|
||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #007bff;
|
||||
color: #ffffff;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.select2-results__option {
|
||||
padding: 6px 12px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||
height: auto;
|
||||
margin-top: -4px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
height: auto;
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
.select2-container[dir='rtl'] .select2-selection--single .select2-selection__rendered {
|
||||
padding-left: 20px;
|
||||
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
||||
padding-right: 6px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 28px;
|
||||
right: 3px;
|
||||
height: 31px;
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
||||
|
@ -17807,8 +17807,8 @@ html.maximized-card {
|
|||
|
||||
.select2-dropdown .select2-search__field:focus,
|
||||
.select2-search--inline .select2-search__field:focus {
|
||||
border: 1px solid #007bff;
|
||||
outline: none;
|
||||
border: 1px solid #007bff;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-results__option[aria-disabled=true] {
|
||||
|
@ -17820,10 +17820,11 @@ html.maximized-card {
|
|||
}
|
||||
|
||||
.select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[aria-selected=true]:hover {
|
||||
color: #495057;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple {
|
||||
min-height: calc(2.25rem + 2px);
|
||||
border: 1px solid #d2d6de;
|
||||
}
|
||||
|
||||
|
@ -17846,13 +17847,13 @@ html.maximized-card {
|
|||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #007bff;
|
||||
border-color: #006fe6;
|
||||
padding: 0 10px;
|
||||
color: #ffffff;
|
||||
padding: 1px 10px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin-right: 5px;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1051,7 +1051,7 @@
|
|||
$(this).data(DATA_KEY, typeof config === 'string' ? data : config);
|
||||
}
|
||||
|
||||
if (typeof config === 'string' && config.match(/remove|toggle|toggleMaximize/)) {
|
||||
if (typeof config === 'string' && config.match(/collapse|expand|remove|toggle|toggleMaximize/)) {
|
||||
data[config]();
|
||||
} else if (typeof config === 'object') {
|
||||
data._init($(this));
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue