Update select2.css
Made disabled results show up disabled, and added a class "selected" for elements that have already been selected (by default, these elements are hidden).
This commit is contained in:
parent
20950e0f0c
commit
1949f4ce31
@ -343,7 +343,8 @@ Version: @@ver@@ Timestamp: @@timestamp@@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
disabled look for already selected choices in the results dropdown
|
disabled look for disabled choices in the results dropdown
|
||||||
|
*/
|
||||||
.select2-results .select2-disabled.select2-highlighted {
|
.select2-results .select2-disabled.select2-highlighted {
|
||||||
color: #666;
|
color: #666;
|
||||||
background: #f4f4f4;
|
background: #f4f4f4;
|
||||||
@ -355,8 +356,8 @@ disabled look for already selected choices in the results dropdown
|
|||||||
display: list-item;
|
display: list-item;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
.select2-results .select2-disabled {
|
.select2-results .select2-selected {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -570,4 +571,4 @@ disabled look for already selected choices in the results dropdown
|
|||||||
.select2-search input {
|
.select2-search input {
|
||||||
background-position: 100% -21px !important;
|
background-position: 100% -21px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user