From 1949f4ce3158ae89d93320c05cff924c63e396cf Mon Sep 17 00:00:00 2001 From: Amanda Myer Date: Thu, 24 Jan 2013 09:04:05 -0500 Subject: [PATCH] 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). --- select2.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/select2.css b/select2.css index 3eae7318..8bfd9ce4 100644 --- a/select2.css +++ b/select2.css @@ -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 { color: #666; background: #f4f4f4; @@ -355,8 +356,8 @@ disabled look for already selected choices in the results dropdown display: list-item; cursor: default; } -*/ -.select2-results .select2-disabled { + +.select2-results .select2-selected { display: none; } @@ -570,4 +571,4 @@ disabled look for already selected choices in the results dropdown .select2-search input { background-position: 100% -21px !important; } -} \ No newline at end of file +}