Make the edit_btn disabled in the listview css

Hello everyone ;
I want to know, how can i make the edit_btn disabled in the listview using CSS ;

i tried to add this line in the directory => root\crmPrj\themes\Suite7\css\style.css

a.edit_disabled{
color: gray;
}
But it doesnt work .
Thank u for ur help

Do you mean the edit icon? Can you provide a screen shot?

I did it , by using logic hook
1- LOGIC_HOOKS.PHP file
$hook_array[‘process_record’] = Array();
$hook_array[‘process_record’][] = Array(1, ‘hide_editbtn’,‘custom/modules/P_Contrat/hide_editbtn.php’,‘hide_editbtn’,‘hide_editbtn’,);

2- HIDE_EDITBTN.PHP file

<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); class hide_editbtn { function hide_editbtn($bean, $event, $arguments) { if($bean->statut_ctr_c =="Signed"){ echo $js = ""; } } } ?>

Great, thanks for sharing!