TPAC: Improve style.css to reduce warnings user/dbs/tpac_css_cleanup
authorDan Scott <dan@coffeecode.net>
Fri, 26 Jul 2013 04:05:49 +0000 (00:05 -0400)
committerDan Scott <dan@coffeecode.net>
Fri, 26 Jul 2013 04:05:49 +0000 (00:05 -0400)
commitec1dbe2570ed0c01383e956f1bae9d9763cf27bb
treec3717005d580edc68cbfaee67d5692481080575c
parent0033c26e92acb7e6577d490e4b7be357c21c6d14
TPAC: Improve style.css to reduce warnings

* Improve specificity: use background-image (for gradients) or
  background-color (for color) instead of just background, because we
  are only specifying the image or color, and not the rest of the
  background properties.
* Declare the background-color first, followed by the background-images;
  these will only override if recognized by the browser.
* Declare the standard (unprefixed) CSS linear-gradient last to prevent
  prefixed browser quirk versions from overriding the standardized form.
* Remove the -moz- prefix from -moz-border-radius as that has not been
  supported by Gecko since Firefox 13.0; just plain border-radius now.
* Fix bad selector ##rdetail_extras_expand (only one #, please).

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/src/templates/opac/css/style.css.tt2