app/django/contrib/admin/media/css/global.css
changeset 54 03e267d67478
child 323 ff1a9aa48cfd
equal deleted inserted replaced
53:57b4279d8c4e 54:03e267d67478
       
     1 body { margin:0; padding:0; font-size:12px; font-family:"Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; color:#333; background:#fff; }
       
     2 
       
     3 /* LINKS */
       
     4 a:link, a:visited { color: #5b80b2; text-decoration:none; }
       
     5 a:hover { color: #036; }
       
     6 a img { border:none; }
       
     7 
       
     8 /* GLOBAL DEFAULTS */
       
     9 p, ol, ul, dl { margin:.2em 0 .8em 0; }
       
    10 p { padding:0; line-height:140%; }
       
    11 
       
    12 h1,h2,h3,h4,h5 { font-weight:bold; }
       
    13 h1 { font-size:18px; color:#666; padding:0 6px 0 0; margin:0 0 .2em 0; }
       
    14 h2 { font-size:16px; margin:1em 0 .5em 0; }
       
    15 h2.subhead { font-weight:normal;margin-top:0; }
       
    16 h3 { font-size:14px; margin:.8em 0 .3em 0; color:#666; font-weight:bold; }
       
    17 h4 { font-size:12px; margin:1em 0 .8em 0; padding-bottom:3px; }
       
    18 h5 { font-size:10px; margin:1.5em 0 .5em 0; color:#666; text-transform:uppercase; letter-spacing:1px; }
       
    19 
       
    20 ul li { list-style-type:square; padding:1px 0; }
       
    21 ul.plainlist { margin-left:0 !important; }
       
    22 ul.plainlist li { list-style-type:none; }
       
    23 li ul { margin-bottom:0; }
       
    24 li, dt, dd { font-size:11px; line-height:14px; }
       
    25 dt { font-weight:bold; margin-top:4px; }
       
    26 dd { margin-left:0; }
       
    27 
       
    28 form { margin:0; padding:0; }
       
    29 fieldset { margin:0; padding:0; }
       
    30 
       
    31 blockquote { font-size:11px; color:#777; margin-left:2px; padding-left:10px; border-left:5px solid #ddd; }
       
    32 code, pre { font-family:"Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace; background:inherit; color:#666; font-size:11px; }
       
    33 pre.literal-block { margin:10px; background:#eee; padding:6px 8px; }
       
    34 code strong { color:#930; }
       
    35 hr { clear:both; color:#eee; background-color:#eee; height:1px; border:none; margin:0; padding:0; font-size:1px; line-height:1px; }
       
    36 
       
    37 /* TEXT STYLES & MODIFIERS */
       
    38 .small { font-size:11px; }
       
    39 .tiny { font-size:10px; }
       
    40 p.tiny { margin-top:-2px; }
       
    41 .mini { font-size:9px; }
       
    42 p.mini { margin-top:-3px; }
       
    43 .help, p.help { font-size:10px !important; color:#999; }
       
    44 p img, h1 img, h2 img, h3 img, h4 img, td img { vertical-align:middle; }
       
    45 .quiet, a.quiet:link, a.quiet:visited { color:#999 !important;font-weight:normal !important; }
       
    46 .quiet strong { font-weight:bold !important; }
       
    47 .float-right { float:right; }
       
    48 .float-left { float:left; }
       
    49 .clear { clear:both; }
       
    50 .align-left { text-align:left; }
       
    51 .align-right { text-align:right; }
       
    52 .example { margin:10px 0; padding:5px 10px; background:#efefef; }
       
    53 .nowrap { white-space:nowrap; }
       
    54 
       
    55 /* TABLES */
       
    56 table { border-collapse:collapse; border-color:#ccc; }
       
    57 td, 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; }
       
    59 thead th, 
       
    60 tfoot 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; }
       
    61 tfoot td { border-bottom:none; border-top:1px solid #ddd; }
       
    62 thead th:first-child, 
       
    63 tfoot td:first-child { border-left:none !important; }
       
    64 thead th.optional { font-weight:normal !important; }
       
    65 fieldset table { border-right:1px solid #eee; }
       
    66 tr.row-label td { font-size:9px; padding-top:2px; padding-bottom:0; border-bottom:none; color:#666; margin-top:-1px; }
       
    67 tr.alt { background:#f6f6f6; }
       
    68 .row1 { background:#EDF3FE; }
       
    69 .row2 { background:white; }
       
    70 
       
    71 /* SORTABLE TABLES */
       
    72 thead th a:link, thead th a:visited { color:#666; display:block; }
       
    73 table thead th.sorted { background-position:bottom left !important; }
       
    74 table thead th.sorted a { padding-right:13px; }
       
    75 table thead th.ascending a { background:url(../img/admin/arrow-down.gif) right .4em no-repeat; }
       
    76 table thead th.descending a { background:url(../img/admin/arrow-up.gif) right .4em no-repeat; }
       
    77 
       
    78 /* ORDERABLE TABLES */
       
    79 table.orderable tbody tr td:hover { cursor:move; }
       
    80 table.orderable tbody tr td:first-child { padding-left:14px; background-image:url(../img/admin/nav-bg-grabber.gif); background-repeat:repeat-y; }
       
    81 table.orderable-initalized .order-cell, body>tr>td.order-cell { display:none; }
       
    82 
       
    83 /* FORM DEFAULTS */
       
    84 input, textarea, select { margin:2px 0; padding:2px 3px; vertical-align:middle; font-family:"Lucida Grande", Verdana, Arial, sans-serif; font-weight:normal; font-size:11px; }
       
    85 textarea { vertical-align:top !important; }
       
    86 input[type=text], input[type=password], textarea, select, .vTextField { border:1px solid #ccc; }
       
    87 
       
    88 /*  FORM BUTTONS  */
       
    89 input[type=submit], input[type=button], .submit-row input { background:white url(../img/admin/nav-bg.gif) bottom repeat-x; padding:3px; color:black; border:1px solid #bbb; border-color:#ddd #aaa #aaa #ddd; }
       
    90 input[type=submit]:active, input[type=button]:active { background-image:url(../img/admin/nav-bg-reverse.gif); background-position:top; }
       
    91 input[type=submit].default, .submit-row input.default { border:2px solid #5b80b2; background:#7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x; font-weight:bold; color:white; }
       
    92 input[type=submit].default:active { background-image:url(../img/admin/default-bg-reverse.gif); background-position:top; }
       
    93 
       
    94 /* MODULES */
       
    95 .module { border:1px solid #ccc; margin-bottom:5px; background:white; }
       
    96 .module p, .module ul, .module h3, .module h4, .module dl, .module pre { padding-left:10px; padding-right:10px; }
       
    97 .module blockquote { margin-left:12px; }
       
    98 .module ul, .module ol { margin-left:1.5em; }
       
    99 .module h3 { margin-top:.6em; }
       
   100 .module h2, .module caption { 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; }
       
   101 .module table { border-collapse: collapse; }
       
   102 
       
   103 /* MESSAGES & ERRORS */
       
   104 ul.messagelist { padding:0 0 5px 0; margin:0; }
       
   105 ul.messagelist li { font-size:12px; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border-bottom:1px solid #ddd; color:#666; background:#ffc url(../img/admin/icon_success.gif) 5px .3em no-repeat; }
       
   106 .errornote { font-size:12px !important; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border:1px solid red; color:red;background:#ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat; }
       
   107 ul.errorlist { margin:0 !important; padding:0 !important; }
       
   108 .errorlist li { font-size:12px !important; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border:1px solid red; color:white; background:red url(../img/admin/icon_alert.gif) 5px .3em no-repeat; }
       
   109 td ul.errorlist { margin:0 !important; padding:0 !important; }
       
   110 td ul.errorlist li { margin:0 !important; }
       
   111 .error { background:#ffc; }
       
   112 .error input, .error select { border:1px solid red; }
       
   113 div.system-message { background: #ffc; margin: 10px; padding: 6px 8px; font-size: .8em; }
       
   114 div.system-message p.system-message-title { padding:4px 5px 4px 25px; margin:0; color:red; background:#ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat; }
       
   115 .description { font-size:12px; padding:5px 0 0 12px; }
       
   116 
       
   117 /* BREADCRUMBS */
       
   118 div.breadcrumbs { background:white url(../img/admin/nav-bg-reverse.gif) 0 -10px repeat-x; padding:2px 8px 3px 8px; font-size:11px;  color:#999;  border-top:1px solid white; border-bottom:1px solid #ccc; text-align:left; }
       
   119 
       
   120 /* ACTION ICONS */
       
   121 .addlink { padding-left:12px; background:url(../img/admin/icon_addlink.gif) 0 .2em no-repeat; }
       
   122 .changelink { padding-left:12px; background:url(../img/admin/icon_changelink.gif) 0 .2em no-repeat; }
       
   123 .deletelink { padding-left:12px; background:url(../img/admin/icon_deletelink.gif) 0 .25em no-repeat; }
       
   124 a.deletelink:link, a.deletelink:visited { color:#CC3434; }
       
   125 a.deletelink:hover { color:#993333; }
       
   126 
       
   127 /* OBJECT TOOLS */
       
   128 .object-tools { font-size:10px; font-weight:bold; font-family:Arial,Helvetica,sans-serif; padding-left:0; float:right; position:relative; margin-top:-2.4em; margin-bottom:-2em; }
       
   129 .form-row .object-tools { margin-top:5px; margin-bottom:5px; float:none; height:2em; padding-left:3.5em; }
       
   130 .object-tools li { display:block; float:left; background:url(../img/admin/tool-left.gif) 0 0 no-repeat; padding:0 0 0 8px; margin-left:2px; height:16px; }
       
   131 .object-tools li:hover { background:url(../img/admin/tool-left_over.gif) 0 0 no-repeat; }
       
   132 .object-tools a:link, .object-tools a:visited { display:block; float:left; color:white; padding:.1em 14px .1em 8px; height:14px; background:#999 url(../img/admin/tool-right.gif) 100% 0 no-repeat; }
       
   133 .object-tools a:hover, .object-tools li:hover a { background:#5b80b2 url(../img/admin/tool-right_over.gif) 100% 0 no-repeat; }
       
   134 .object-tools a.viewsitelink, .object-tools a.golink { background:#999 url(../img/admin/tooltag-arrowright.gif) top right no-repeat; padding-right:28px; }
       
   135 .object-tools a.viewsitelink:hover, .object-tools a.golink:hover { background:#5b80b2 url(../img/admin/tooltag-arrowright_over.gif) top right no-repeat; }
       
   136 .object-tools a.addlink { background:#999 url(../img/admin/tooltag-add.gif) top right no-repeat; padding-right:28px; }
       
   137 .object-tools a.addlink:hover { background:#5b80b2 url(../img/admin/tooltag-add_over.gif) top right no-repeat; }
       
   138 
       
   139 /* OBJECT HISTORY */
       
   140 table#change-history { width:100%; }
       
   141 table#change-history tbody th { width:16em; }