CRM-19723 iconPicker style tweak
authorColeman Watts <coleman@civicrm.org>
Mon, 23 Jan 2017 01:25:16 +0000 (20:25 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 23 Jan 2017 01:56:59 +0000 (20:56 -0500)
css/civicrm.css
js/jquery/jquery.crmIconPicker.js

index 91f7efae72b49aa90064060c68bf54e0a0c0e1a1..d9db723990e8641d5f31225e06bfa36fa878f21b 100644 (file)
@@ -2844,6 +2844,20 @@ tbody.scrollContent tr.alternateRow {
   color: #3e3e3e;
 }
 
+.crm-container a.crm-icon-picker-button {
+  min-width: 10em;
+  text-align: inherit;
+  color: #3e3e3e;
+}
+
+.crm-container a.crm-icon-picker-button .ui-button-text {
+  color: #9f9f9f;
+}
+
+.crm-container a.crm-icon-picker-button.ui-button-text-only .ui-button-text {
+  padding: .4em .2em;
+}
+
 /* search results */
 .crm-container .crm-search-tasks,
 .crm-container .crm-tasks {
index d98028128d3f3935f6a892c56958dc543704853c..8fce94267fc2500c39f70309d862e10bb4ef6217 100644 (file)
@@ -42,8 +42,7 @@
         $button.button('option', {
           label: split[0] || ts('None'),
           icons: {primary: $input.val()}
-        })
-          .css('color', split[0] ? '#3e3e3e' : '#9f9f9f');
+        });
         $style.toggle(!!split[0]).val(split[1] || '');
       }