]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1205190: TPAC: Improve style.css to reduce warnings
authorDan Scott <dan@coffeecode.net>
Fri, 26 Jul 2013 04:05:49 +0000 (00:05 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 30 Jun 2017 15:12:52 +0000 (11:12 -0400)
commit1c7b75a849ba3b4860e623a1df4376b7f88b5601
treeffa695b1bb4e7be294154e6a9fb0d8f1fbf28109
parent6b374ae95dd95fea3688b9067bba06289040b0a3
LP#1205190: 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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Conflicts:
Open-ILS/src/templates/opac/css/style.css.tt2

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Conflicts:
Open-ILS/src/templates/opac/css/style.css.tt2

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/opac/css/style.css.tt2