Select2 - Improve styles for disabled, loading elements
authorColeman Watts <coleman@civicrm.org>
Thu, 21 Jan 2021 16:30:23 +0000 (11:30 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 21 Jan 2021 16:30:23 +0000 (11:30 -0500)
css/civicrm.css

index b627f94813292ea680cb4b674689178ec972d11f..9a4ae97a4e6c79e57ac5cb80dd760a422baa118f 100644 (file)
@@ -2972,9 +2972,13 @@ tbody.scrollContent tr.alternateRow {
 .crm-container .select2-container-multi.crm-ajax-select .select2-choices:before {
   background-position: right -26px;
 }
+.crm-container .select2-container.select2-container-disabled .select2-choice .select2-arrow b {
+  visibility: hidden;
+}
 .crm-container .select2-container-multi.loading .select2-choices:before,
 .crm-container .select2-container.loading .select2-choice .select2-arrow b {
-  background: url('../i/loading.gif') no-repeat center center;
+  background: url('../i/loading.gif') no-repeat center center !important;
+  visibility: visible;
 }
 /* Reduce select2 size to match other inputs */
 .crm-container .select2-container-multi .select2-choices {