Changeset 4647 for waeup


Ignore:
Timestamp:
3 Jan 2010, 16:57:35 (15 years ago)
Author:
uli
Message:

CSS to make datatables created by YUI look more like the default HTML
tables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/browser/static/purple.css

    r4642 r4647  
    3131/* Fixes to let tables appear correctly... */
    3232table, tr, th, td {font-family: arial,sans-serif;}
    33 tr.odd {background-color: #fff;}
    34 tr.even {background-color: #eee;}
     33
     34/* Odd and even table rows */
     35tr.even,
     36.yui-skin-sam tr.yui-dt-even {
     37  background-color: #fff;
     38}
     39tr.odd,
     40.yui-skin-sam tr.yui-dt-odd {
     41  background-color: #eee;
     42}
     43
     44/* unselected paginator page numbers */
     45.yui-skin-sam .yui-pg-pages a.yui-pg-page {
     46  background-color: #fff;
     47  color: #000;
     48  text-decoration: none;
     49  bo/rder: 1px solid #000;
     50  padding-left: 5px;
     51}
     52
     53/* selected paginator page, hover for unselected pages */
     54.yui-skin-sam .yui-pg-pages a.yui-pg-page:hover,
     55.yui-skin-sam span.yui-pg-page {
     56  background-color: #000;
     57  color: #fff;
     58}
     59
     60/* paginator prev, next, etc. links */
     61.yui-skin-sam .yui-dt .yui-dt-paginator a.yui-pg-first,
     62.yui-skin-sam .yui-dt .yui-dt-paginator a.yui-pg-previous,
     63.yui-skin-sam .yui-dt .yui-dt-paginator a.yui-pg-last,
     64.yui-skin-sam .yui-dt .yui-dt-paginator a.yui-pg-next {
     65  color: #000;
     66  text-decoration: none;
     67  background-color: #fff;
     68}
     69
     70/* Header row */
     71th .yui-dt-liner {
     72  color: #fff;
     73  background: #000 url();
     74}
     75
     76/* Header cells text, when not selected */
     77.yui-skin-sam .yui-dt th, .yui-skin-sam .yui-dt th a {
     78  font-weight: bold;
     79  color: #fff;
     80}
     81
     82/* Sortable header cells, when selected */
     83.yui-skin-sam th.yui-dt-desc .yui-dt-liner .yui-dt-sortable,
     84.yui-skin-sam th.yui-dt-asc .yui-dt-liner .yui-dt-sortable {
     85  color: #000;
     86}
     87
    3588
    3689
Note: See TracChangeset for help on using the changeset viewer.