improving styles for search patient index and chaging mixins structure