I'm using the standard Searchform function within a theme in order to provide a site search facility.
1: I'm just wondering where the CSS for this form is pulled in from?
2: Also where is the PHP file that builds this form? Basically I want to restructure the way it builds the form so that it only uses one div instead of putting the input field and the button in two separate divs.
and to change the look and feel of the results you will have to edit the Page_results.ss which you can find in your theme folder.
Also it uses the standard css file, which are layout.css, typography.css and the form.css, but you can add a new CSS you wish there by calling the Requirements::css method in the method which I mentioned above.
I think he is wanting to change the way the form itself is generated Nivanka.
I would suggest manipulating the final output with css, because changing the way forms are created in silverstripe would be a pretty complex thing to do; and in the end could leave you with broken forms else where.
You can also actually make the html for the form yourself in the template instead of calling the function.
for instance if you call $SearchForm you could do this
Thank you very much guys, that's fantastic, just what I was looking for.
I could'nt find the references to the css classes in the files you mentioned Nivanka, but I will look again.
The info regarding manually creating the form in HTML - that's what I'll do for now to get my demo site up and running! :)