1
0
mirror of synced 2024-11-26 14:56:07 +03:00

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:
Amanda Myer 2013-01-24 09:04:05 -05:00
parent 20950e0f0c
commit 1949f4ce31

View File

@ -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;
} }
} }