Thanks Lee - that did it :)

Just for the record this is what I did ...

In my templates/admin/base_site.html

{% extends "admin/base.html" %}
{% block extrastyle %}<link rel="stylesheet" type="text/css" href="/static/css/darker.css" />{% endblock %}

Then in my /static/css/darker.css I copied the relevant section from contrib.admin's base.css like so ...

.help, p.help {
    font-size: 10px !important;
    color: #444444;
}

... and bingo I can read the help text much more easily.

Cheers

Mike

On 6/03/2012 3:37am, Lee Hinde wrote:
On Sun, Mar 4, 2012 at 8:32 PM, Mike Dewhirst<mi...@dewhirst.com.au>  wrote:
I would like to adjust the admin app's base.css. Nothing outrageous. I just
want to change all the #999 color values to something a little bit darker so
screen text is slightly easier to see.

I could write a python script to do that but it feels wrong.

I tried locating somewhere in my project to put my own adjusted base.css but
can't find exactly where to put it.

collectstatic gets base.css from contrib.admin and puts it into
/static/admin/css but anything in my project gets put straight into
/static/css

Is there a simple way to avoid editing the contrib.admin base.css?

Thanks

Mike


I think this still works:

http://www.theotherblog.com/Articles/2009/06/02/extending-the-django-admin-interface/

scroll down to "Rebranding Your Django Admin Site"


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to