From 7e42694865d359ec0ba5fdb437ca28d189a4ce0d Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 21 Jan 2021 11:30:23 -0500 Subject: [PATCH] Select2 - Improve styles for disabled, loading elements --- css/civicrm.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/css/civicrm.css b/css/civicrm.css index b627f94813..9a4ae97a4e 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -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 { -- 2.25.1