Ticket #7733: clikable-area.diff

File clikable-area.diff, 2.3 KB (added by Ben Spaulding, 16 years ago)

Only enlarge clickable area of links in th elements

  • django/contrib/admin/media/css/global.css

     
    5555/* TABLES */
    5656table { border-collapse:collapse; border-color:#ccc; }
    5757td, th { font-size:11px; line-height:13px; border-bottom:1px solid #eee; vertical-align:top; padding:5px; font-family:"Lucida Grande", Verdana, Arial, sans-serif; }
    58 th { text-align:left; font-size:12px; font-weight:bold; }
     58th { text-align:left; font-size:12px; font-weight:bold; padding:0; }
     59th a { display:block; }
     60tbody th a { padding:5px 1em 5px 5px; }
    5961thead th,
    6062tfoot td { color:#666; padding:2px 5px; font-size:11px; background:#e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x; border-left:1px solid #ddd; border-bottom:1px solid #ddd; }
    6163tfoot td { border-bottom:none; border-top:1px solid #ddd; }
     
    6971.row2 { background:white; }
    7072
    7173/* SORTABLE TABLES */
    72 thead th a:link, thead th a:visited { color:#666; display:block; }
     74thead th a:link, thead th a:visited { color:#666; }
    7375table thead th.sorted { background-position:bottom left !important; }
    7476table thead th.sorted a { padding-right:13px; }
    7577table thead th.ascending a { background:url(../img/admin/arrow-down.gif) right .4em no-repeat; }
  • django/contrib/admin/media/css/changelists.css

     
    77.change-list .filtered { min-height:400px; }
    88.change-list .filtered { background:white url(../img/admin/changelist-bg.gif) top right repeat-y !important; }
    99.change-list .filtered table, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull { margin-right:160px !important; width:auto !important; }
    10 .change-list .filtered table tbody th { padding-right:1em; }
    1110#changelist .toplinks { border-bottom:1px solid #ccc !important; }
    1211#changelist .paginator { color:#666; border-top:1px solid #eee; border-bottom:1px solid #eee; background:white url(../img/admin/nav-bg.gif) 0 180% repeat-x; overflow:hidden; }
    1312.change-list .filtered .paginator { border-right:1px solid #ddd; }
Back to Top