~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/admin/media/css/global.css

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2009-07-29 11:26:28 UTC
  • mfrom: (1.1.8 upstream) (4.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090729112628-pg09ino8sz0sj21t
Tags: 1.1-1
* New upstream release.
* Merge from experimental:
  - Ship FastCGI initscript and /etc/default file in python-django's examples
    directory (Closes: #538863)
  - Drop "05_10539-sphinx06-compatibility.diff"; it has been applied
    upstream.
  - Bump Standards-Version to 3.8.2.

Show diffs side-by-side

added added

removed removed

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