Koha/koha-tmpl/intranet-tmpl/prog/en/css
Owen Leonard a46b3b4de0 Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration
Some scripts pass a template variable to facilitate an alternate table
row class for styling. Other use the 'IF (loop.odd)' construction. I
think we're at the point where the CSS3 :nth-child() selector is
widely-supported enough that we can do without template-based solutions:

http://caniuse.com/#feat=css-sel3

This patch adds such a selector to the staff client CSS and removes the
corresponding template markup from Administration pages. The last in
this series of patches will remove the redundant CSS.

Also in this patch: a few minor markup corrections.

To test, apply the patch and clear your browser cache if necessary. View
the following pages and confirm that alternate table row highlighting
works as before:

 - Administration -> Budgets
 - Acquisitions   -> Vendor -> Contracts
 - Administration -> Budgets -> Budget -> Planning
 - Administration -> Authority types
 - Administration -> Authority types -> MARC structure
 - Administration -> Authority types -> MARC structure -> subfields
 - Administration -> MARC bibliographic framework
 - Administration -> MARC bibliographic framework -> MARC structure
 - Administration -> MARC bibliographic framework -> MARC structure -> Subfields
 - Administration -> Libraries and groups
 - Administration -> Cities and towns
 - Administration -> Classification sources
 - Administration -> Circulation and fines rules
 - Administration -> Currencies and exchange rates
 - Administration -> Item types
 - Administration -> Koha to MARC mapping
 - Administration -> System preferences -> Local use
 - Administration -> Z39.50 client targets

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-15 17:59:12 -03:00
..
treeview
addbiblio.css Bug 9757: Make staff client list contents view more like search results 2013-06-26 09:04:04 -07:00
blue.css Bug 2774 - Path to theme is hard-coded in many places 2013-07-18 16:49:18 +00:00
card.css
datatables.colvis.css Bug 10212: Columns configuration for tables - Add Colvis files 2014-08-26 09:28:31 -03:00
datatables.css Bug 11578: (follow-up) add some CSS 2014-05-03 18:13:54 +00:00
help.css
hierarchy.css
humanmsg.css
label.css
login.css Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
mainpage.css Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00
preferences.css Bug 10325 - Allow system preferences to be overridable from koha-httpd.conf 2013-09-08 02:09:53 +00:00
print.css Bug 8893 - show more information on printout 2012-12-03 06:31:05 -05:00
printreceiptinvoice.css
quotes.css Bug 10558: (follow-up) styling improvements 2014-03-10 15:47:53 +00:00
right-to-left.css Bug 10406: memove div and more obsolete CSS related to YUI autocomplete 2013-06-12 07:24:30 -07:00
spinelabel.css
staff-global.css Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
tinymce.css
uploader.css