TPAC: Consolidate and simplify button styles user/dbwells/tpac_button_consolidation
authorDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 20:46:31 +0000 (16:46 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 23:22:16 +0000 (19:22 -0400)
commitdb555b22b5405600ac3e471fcbe20260afd68610
tree924f0ebf41b45c28f2b7aeca72dcf4ad04b06919
parent72e0957e73ab0fc0db1072bfc9f5e987902cbc11
TPAC: Consolidate and simplify button styles

TPAC has at least two distinct types of buttons, those created by
input tags, and those created by anchor (that is, <a>) tags.  This
commit simplifies and consolidates the styles used for both types
of buttons.

At least in Firefox, inline blocks display in a closer size rendering
to <input> tags than plain 'display:inline'.  The switch doesn't seem
to hurt in most cases in IE, FF, or Chrome, so let's do it.

Two cases where inline works better are the floating 'My Account' and
'dash' buttons'.  They already have special classes, so let's revert
those back to inline.  In fact, let's make the logged-in 'dash'
buttons share the style of the 'My Account' button which got us there,
and make all three buttons more visible when hovering.

Inputs do not inherit the body font by default, so let's apply it for
better display consistency.

Finally, Firefox inputs have some extra space around them; let's make
a modest attempt to remove that.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/css/style.css.tt2