Team:Lethbridge Canada/sort table

From 2013hs.igem.org

Revision as of 02:01, 4 June 2013 by Adam.christiansen (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

.sortable { border: 1px solid #ccc; border-bottom: none }

.sortable th { padding: 4px 6px 6px; background: #444; color: #fff; text-align: left; color: #ccc }

.sortable td { padding: 2px 4px 4px; background: #fff; border-bottom: 1px solid #ccc }

.sortable .head { background: #444 url(Lethbridge_hs_igem_2013_sort.gif) 6px center no-repeat; cursor: pointer; padding-left: 18px }

.sortable .desc { background: #222 url(Lethbridge_hs_igem_2013_desc.gif) 6px center no-repeat; cursor: pointer; padding-left: 18px; }

.sortable .asc { background: #222 url(Lethbridge_hs_igem_2013_asc.gif) 6px center no-repeat; cursor: pointer; padding-left: 18px }

.sortable .head:hover, .sortable .desc:hover, .sortable .asc:hover { color: #fff; }

.sortable .even td { background: #f2f2f2; }

.sortable .even:hover td { background: #3399ff; } .sortable .odd td { background: #fff }

.sortable .odd:hover td { background: #3399ff; }

div#parts_section { margin-top: 10px; margin-bottom: 10px; }

h2.table_title { margin-bottom: 10px; }