-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Applied contrib.admin IE CSS patches to IE6 and 7, and added simple h…
…acks 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
- Loading branch information
Wilson Miner
committed
Oct 31, 2008
1 parent
5053550
commit 6b82c38
Showing
2 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
44 changes: 24 additions & 20 deletions
44
django/contrib/admin/media/css/ie6.css → django/contrib/admin/media/css/ie.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters