mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
- review Select2 CSS;
- fixes for member directory;
This commit is contained in:
+102
-81
@@ -831,11 +831,11 @@ small.um-max-filesize span{
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
/* Select2 4.0*/
|
||||
/* Customize Select2 CSS */
|
||||
.select2-container.select2-container--open {
|
||||
z-index: 9999999;
|
||||
}
|
||||
.select2.select2-container .select2-selection{
|
||||
.select2.select2-container .select2-selection {
|
||||
display: block !important;
|
||||
height: 40px;
|
||||
padding: 0 0 0 12px !important;
|
||||
@@ -860,10 +860,24 @@ small.um-max-filesize span{
|
||||
background-color: #fff !important;
|
||||
border: 1px solid #ddd !important;
|
||||
}
|
||||
.select2.select2-container .select2-selection .select2-selection__arrow b[role=presentation]{
|
||||
display:none;
|
||||
|
||||
.select2.select2-container .select2-selection .select2-selection__arrow {
|
||||
display: inline-block !important;
|
||||
width: 34px !important;
|
||||
height: 100% !important;
|
||||
position: absolute !important;
|
||||
right: 0 !important;
|
||||
top: 0 !important;
|
||||
-moz-border-radius: 0 2px 2px 0 !important;
|
||||
-webkit-border-radius: 0 2px 2px 0 !important;
|
||||
border-radius: 0 2px 2px 0 !important;
|
||||
background-clip: padding-box !important;
|
||||
text-align: center !important;
|
||||
background: transparent !important;
|
||||
border-left: 0 !important;
|
||||
}
|
||||
.select2.select2-container .select2-selection .select2-selection__arrow:before{
|
||||
|
||||
.select2.select2-container .select2-selection .select2-selection__arrow:before {
|
||||
content: "\f3d0" !important;
|
||||
font-size: 27px !important;
|
||||
font-family: "Ionicons" !important;
|
||||
@@ -873,120 +887,127 @@ small.um-max-filesize span{
|
||||
line-height: 35px;
|
||||
color: #aaaaaa;
|
||||
}
|
||||
.select2.select2-container .select2-selection .select2-selection__arrow {
|
||||
display: inline-block !important;
|
||||
width: 34px !important;
|
||||
height: 100% !important;
|
||||
position: absolute !important;
|
||||
right: 0 !important;
|
||||
top: 0 !important;
|
||||
-moz-border-radius: 0 2px 2px 0 !important;
|
||||
-webkit-border-radius: 0 2px 2px 0 !important;
|
||||
border-radius: 0 2px 2px 0 !important;
|
||||
background-clip: padding-box !important;
|
||||
text-align: center !important;
|
||||
background: transparent !important;
|
||||
border-left: 0 !important;
|
||||
|
||||
.select2.select2-container .select2-selection .select2-selection__arrow b[role="presentation"] {
|
||||
display:none;
|
||||
}
|
||||
.select2-container.select2-container--open .select2-dropdown{
|
||||
|
||||
.select2-container.select2-container--open .select2-dropdown {
|
||||
border: 1px solid #ddd !important;
|
||||
border-radius: 0;
|
||||
}
|
||||
.select2-results li{
|
||||
|
||||
.select2-container.select2-container--open .select2-dropdown .select2-results li {
|
||||
list-style: none;
|
||||
display: list-item;
|
||||
background-image: none;
|
||||
font-size: 15px;
|
||||
margin: 5px !important;
|
||||
padding: 3px 0 !important;
|
||||
color: #666 !important;
|
||||
}
|
||||
.select2-results li {
|
||||
padding: 3px 7px 4px !important;
|
||||
cursor: pointer;
|
||||
min-height: 1em !important;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
line-height: 37px;
|
||||
.select2.select2-container .select2-selection.select2-selection--multiple {
|
||||
height: auto !important;
|
||||
line-height: 0.8 !important;
|
||||
}
|
||||
.select2-results li.select2-results__option.select2-results__option--highlighted{
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
padding-left: 0 !important;
|
||||
line-height: 37px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
||||
line-height: 37px;
|
||||
box-sizing: border-box;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 30px;
|
||||
width: 100%;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.select2-results li.select2-results__option.select2-results__option--highlighted {
|
||||
background: none !important;
|
||||
background: #f4f4f4 !important;
|
||||
color: #666 !important;
|
||||
}
|
||||
.select2-container--default .select2-results__option[aria-selected=true] {
|
||||
.select2-container--default .select2-results__option[aria-selected="true"] {
|
||||
background-color: #ddd;
|
||||
}
|
||||
.select2-selection__clear{
|
||||
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__clear,
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
||||
right: 10px;
|
||||
font-size: 30px;
|
||||
color: #aaaaaa !important;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
||||
box-sizing: border-box;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0px;
|
||||
width: 100%;
|
||||
line-height: 20px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.select2.select2-container .select2-selection.select2-selection--multiple {
|
||||
height: auto !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
top: -6px;
|
||||
margin-right: -9px;
|
||||
font-size: 15px;
|
||||
position: absolute;
|
||||
position: absolute;
|
||||
}
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice{
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
padding: 3px 3px 3px 5px;
|
||||
}
|
||||
|
||||
.select2-container .select2-search--inline {
|
||||
line-height: 38px;
|
||||
.um .um-form .select2-container .select2-search.select2-search--inline > input {
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.um-field-select .um-field-area .um-field-icon,
|
||||
.um-field-multiselect .um-field-area .um-field-icon{
|
||||
z-index: 99999999;
|
||||
}
|
||||
.um-field-select .um-field-area.um-field-area-has-icon .select2-selection__rendered{
|
||||
text-indent: 20px;
|
||||
}
|
||||
.um-field-multiselect .um-field-area.um-field-area-has-icon ul:first-child{
|
||||
margin-left: 30px !important;
|
||||
.um .um-form .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
||||
overflow-x: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/*
|
||||
- Multi-select
|
||||
*/
|
||||
.um-field .select2-selection--multiple .select2-search{
|
||||
clear: both;
|
||||
float: none;
|
||||
margin-right: 12px;
|
||||
padding-top: 0.5rem;
|
||||
position: relative;
|
||||
/*.um-field .select2-selection--multiple .select2-search{*/
|
||||
/*clear: both;*/
|
||||
/*float: none;*/
|
||||
/*margin-right: 12px;*/
|
||||
/*padding-top: 0.5rem;*/
|
||||
/*position: relative;*/
|
||||
/*}*/
|
||||
/*.um-field .select2-selection--multiple .select2-search:first-of-type{*/
|
||||
/*padding-top: 12px;*/
|
||||
/*}*/
|
||||
/*.um-field .select2-selection--multiple .select2-search::before {*/
|
||||
/*content: "\f21f";*/
|
||||
/*font-family: "Ionicons";*/
|
||||
/*font-size: 1.4rem;*/
|
||||
/*line-height: 2rem;*/
|
||||
/*right: 0.3rem;*/
|
||||
/*position: absolute;*/
|
||||
/*}*/
|
||||
/*.um-field .select2-selection--multiple .select2-search input.select2-search__field{*/
|
||||
/*background-color: rgba(128,128,128,0.1) !important;*/
|
||||
/*height: 2rem !important;*/
|
||||
/*width: 100% !important;*/
|
||||
/*}*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* @todo maybe deprecated and used only for select and multiselect */
|
||||
.um-field-select .um-field-area .um-field-icon,
|
||||
.um-field-multiselect .um-field-area .um-field-icon {
|
||||
z-index: 99999999;
|
||||
}
|
||||
.um-field .select2-selection--multiple .select2-search:first-of-type{
|
||||
padding-top: 12px;
|
||||
.um-field-select .um-field-area.um-field-area-has-icon .select2-selection__rendered {
|
||||
text-indent: 20px;
|
||||
}
|
||||
.um-field .select2-selection--multiple .select2-search::before {
|
||||
content: "\f21f";
|
||||
font-family: "Ionicons";
|
||||
font-size: 1.4rem;
|
||||
line-height: 2rem;
|
||||
right: 0.3rem;
|
||||
position: absolute;
|
||||
}
|
||||
.um-field .select2-selection--multiple .select2-search input.select2-search__field{
|
||||
background-color: rgba(128,128,128,0.1) !important;
|
||||
height: 2rem !important;
|
||||
width: 100% !important;
|
||||
.um-field-multiselect .um-field-area.um-field-area-has-icon ul:first-child {
|
||||
margin-left: 30px !important;
|
||||
}
|
||||
Reference in New Issue
Block a user