Ticket #7733: clickable-area.diff

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

Fixed ill effect on object history tables and accounted for admindoc model list.

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

     
    5656/* TABLES */
    5757table { border-collapse:collapse; border-color:#ccc; }
    5858td, 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; }
    59 th { text-align:left; font-size:12px; font-weight:bold; }
     59th { text-align:left; font-size:12px; font-weight:bold; padding:0; }
     60th a { display:block; }
     61tbody th a { padding:5px 1em 5px 5px; }
    6062thead th,
    6163tfoot 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; }
    6264tfoot td { border-bottom:none; border-top:1px solid #ddd; }
     
    7072.row2 { background:white; }
    7173
    7274/* SORTABLE TABLES */
    73 thead th a:link, thead th a:visited { color:#666; display:block; }
     75thead th a:link, thead th a:visited { color:#666; }
    7476table thead th.sorted { background-position:bottom left !important; }
    7577table thead th.sorted a { padding-right:13px; }
    7678table thead th.ascending a { background:url(../img/admin/arrow-down.gif) right .4em no-repeat; }
     
    99101.module ul, .module ol { margin-left:1.5em; }
    100102.module h3 { margin-top:.6em; }
    101103.module h2, .module caption, .inline-group h2 { margin:0; padding:2px 5px 3px 5px; font-size:11px; text-align:left; font-weight:bold; background:#7CA0C7 url(../img/admin/default-bg.gif) top left repeat-x; color:white; }
    102 .module table { border-collapse: collapse; }
     104.module table { width:100%; border-collapse: collapse; }
    103105
    104106/* MESSAGES & ERRORS */
    105107ul.messagelist { padding:0 0 5px 0; margin:0; }
     
    139141
    140142/* OBJECT HISTORY */
    141143table#change-history { width:100%; }
    142 table#change-history tbody th { width:16em; }
     144table#change-history tbody th { width:16em; padding:5px; }
  • 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