summaryrefslogtreecommitdiff
path: root/django/contrib/admin/media/css
diff options
context:
space:
mode:
authorWilson Miner <wminer@gmail.com>2008-10-31 23:44:24 +0000
committerWilson Miner <wminer@gmail.com>2008-10-31 23:44:24 +0000
commit6b82c386f617fd2f0f92e3991d2d5f77ba572cd0 (patch)
tree7638fe1e80944253e58e8b5780c2178346c45bb0 /django/contrib/admin/media/css
parent50535505a9fe0b247a675b02515c9f12cc3b5e6e (diff)
Applied contrib.admin IE CSS patches to IE6 and 7, and added simple hacks to filter some rules to both and some only to IE6.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/media/css')
-rw-r--r--django/contrib/admin/media/css/ie.css (renamed from django/contrib/admin/media/css/ie6.css)44
1 files changed, 24 insertions, 20 deletions
diff --git a/django/contrib/admin/media/css/ie6.css b/django/contrib/admin/media/css/ie.css
index 50df658443..30a08e44b2 100644
--- a/django/contrib/admin/media/css/ie6.css
+++ b/django/contrib/admin/media/css/ie.css
@@ -1,47 +1,51 @@
+/* IE 6 & 7 */
+
+/* Proper fixed width for dashboard in IE6 */
+
+.dashboard #content {
+ *width: 768px;
+}
+
+.dashboard #content-main {
+ *width: 535px;
+}
+
+/* IE 6 ONLY */
+
/* Keep header from flowing off the page */
#container {
- position: static;
+ _position: static;
}
/* Put the right sidebars back on the page */
.colMS #content-related {
- margin-right: 0;
- margin-left: 10px;
- position: static;
+ _margin-right: 0;
+ _margin-left: 10px;
+ _position: static;
}
/* Put the left sidebars back on the page */
.colSM #content-related {
- margin-right: 10px;
- margin-left: -115px;
- position: static;
+ _margin-right: 10px;
+ _margin-left: -115px;
+ _position: static;
}
.form-row {
- height: 1%;
-}
-
-/* Proper fixed width for dashboard in IE6 */
-
-.dashboard #content {
- width: 768px;
-}
-
-.dashboard #content-main {
- width: 535px;
+ _height: 1%;
}
/* Fix right margin for changelist filters in IE6 */
#changelist-filter ul {
- margin-right: -10px;
+ _margin-right: -10px;
}
/* IE ignores min-height, but treats height as if it were min-height */
.change-list .filtered {
- height: 400px;
+ _height: 400px;
} \ No newline at end of file