For example, how I can highlight a cell in the active_hist_searches column if the difference between two times in the _time column is greater than 60 minutes? How I can do that with javascript and CSS?
Try this app, https://splunkbase.splunk.com/app/1603/
It has ready made js and css available for your requirement