Dane. Designer.

Old Blog

Unpimping the WP Admin Inputs

Man, it’s 3am and I’m still going. It’s been a while since I last did that. But then, it is bachelor weekend, so… (watched MST3K the Movie yesterday while coding up new K2 hotness).

It’s shaping up quite well by the way, and if you haven’t noticed, we put up a K2 release candidate yesterday. Since then I’ve been up to my elbows in snazzifying it even more, which brings me to my problem.

I’ve been working on the sidebar manager, which is where I’ve been spending most of my dev time as of late. But I’ve hit a snag; we have standard input’s in there—like submit buttons—and as with every input element in the WP admin, it gets mauled by a horrible 1px border and grey background combo, which is just… ill conceived.

But hey; we are our own masters, at least over the K2 option pages. So we’ll just unstyle them! Hah!

But… how? How do you undo a border and background for a button? I don’t know! Do you?

PS: Yeah, I know the background is yellow; I just needed to wake up my eyes.

JournalMichael Heilemann