Hi Folks,
I've copied the admin css to be used for my views, but I've added in
this custom section which is a modified version of the FILTER COLUMN
from changelist.css:
/* FILTER COLUMN (CUSTOM VERSION) */
#changelist-filter-custom {position:absolute; top:0; right:0;
width:180px; border-left:1px solid #ddd; background:#efefef; margin:0;}
#changelist-filter-custom h2 {font-size:11px; padding:2px 5px;
border-bottom:1px solid #ddd;}
#changelist-filter-custom h3 {font-size:12px; margin-bottom:0;}
#changelist-filter-custom ul
{padding-left:0;margin-left:10px;_margin-right:-10px;}
#changelist-filter-custom li {list-style-type:none; margin-left:0;
padding-left:0;}
#changelist-filter-custom a {color:#999;}
#changelist-filter-custom a:hover {color:#036;}
#changelist-filter-custom li.selected {border-left:5px solid #ccc;
padding-left:5px;margin-left:-10px;}
#changelist-filter-custom li.selected a {color:#5b80b2 !important;}
Basically what I've changed is the width in the first item (from 160px
to 180px, as well as removing the z-index so that a custom calendar
item pops up okay. Problem now is best illustrated with a picture:
http://www.greenleaftech.net/members/mthaddon/django_css
As you can see I have some trailing non-aligned part of the filtered
list, and the last column of the table gets run into the filtered list
at the top.
Can anyone help out with some css magic?
Thanks, Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---