TPAC: Improve style.css to reduce warnings user/paxed/quiet-css-moz-warnings
authorDan Scott <dan@coffeecode.net>
Fri, 26 Jul 2013 04:05:49 +0000 (00:05 -0400)
committerPasi Kallinen <pasi.kallinen@pttk.fi>
Thu, 12 Sep 2013 08:39:31 +0000 (11:39 +0300)
commitba8f3a131633330e922c7f90d0ffe40b4c21c726
treea927e3644b66a988857626a7ec583f96ef79efb7
parent1c39f5eed9ac1583f9dcc3f3fe2aa89567871ea8
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>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Conflicts:
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/css/style.css.tt2