Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: TheListener - marraskuu 06, 2011, 10:10:17 IP

Otsikko: Search & other buttons
Kirjoitti: TheListener - marraskuu 06, 2011, 10:10:17 IP
A few buttons look like this but for the life of me I can't find where I shopuld be looking even using firebug.

help would be appreciated.
Otsikko: Re: Search & other buttons
Kirjoitti: Sir Osis of Liver - marraskuu 06, 2011, 10:13:53 IP

/css/index.css - look for 'input buttons'.

Otsikko: Re: Search & other buttons
Kirjoitti: TheListener - marraskuu 06, 2011, 10:22:55 IP
Unfortunately the search box changed colour and not the box which states 'Search.'
Otsikko: Re: Search & other buttons
Kirjoitti: Sir Osis of Liver - marraskuu 06, 2011, 11:04:58 IP

Which theme are you running?

Attach your index.css.

Otsikko: Re: Search & other buttons
Kirjoitti: ARG01 - marraskuu 07, 2011, 12:19:46 AP
index.css.

* Buttons should be styled a bit differently, in order to make them look more button'ish. */
.button_submit, .button_reset
{
background: #cde7ff url(../images/theme/submit_bg.png) no-repeat;
border: 1px solid #aaa;
cursor: pointer;
font-weight: normal;
}
input:hover, textarea:hover, button:hover, select:hover
{
border: 1px solid #454545;
}
.button_submit:hover, .button_reset:hover
{
border: 1px solid #aaa;
background: url(../images/theme/submit_bg.png) no-repeat 0 -140px #cde7ff;
}
input:focus, textarea:focus, button:focus, select:focus
{
border: 1px solid #454545;
}


Also- images/theme/submit_bg.png

;)
Otsikko: Re: Search & other buttons
Kirjoitti: Deaks - marraskuu 07, 2011, 09:08:02 AP
the blue is submit_bg a really annoying image if you ask me :)
Otsikko: Re: Search & other buttons
Kirjoitti: ARG01 - marraskuu 07, 2011, 11:02:23 AP
Lainaus käyttäjältä: Runic - marraskuu 07, 2011, 09:08:02 AP
the blue is submit_bg a really annoying image if you ask me :)

Agreed. I usually just remove the image from css and use a color instead. Maybe add mildly rounded corners.

;)